AI Navigate

Frequency Matters: Fast Model-Agnostic Data Curation for Pruning and Quantization

arXiv cs.CL / 3/18/2026

📰 NewsTools & Practical UsageModels & Research

Key Points

  • ZipCal is a model-agnostic data curation strategy that selects calibration data by maximizing lexical diversity based on Zipfian power laws to improve pruning and quantization of Large Language Models (LLMs).
  • The method consistently outperforms uniform random sampling across pruning benchmarks and matches, in downstream performance, a state-of-the-art perplexity-based approach, while avoiding the high cost at scale.
  • ZipCal achieves approximately 240x faster performance due to its tractable linear complexity, making data-centric calibration scalable for large models and datasets.
  • The authors have made the code and experimental results publicly available, facilitating adoption by practitioners and researchers.

Abstract

Post-training model compression is essential for enhancing the portability of Large Language Models (LLMs) while preserving their performance. While several compression approaches have been proposed, less emphasis has been placed on selecting the most suitable set of data (the so-called \emph{calibration data}) for finding the compressed model configuration. The choice of calibration data is a critical step in preserving model capabilities both intra- and inter-tasks. In this work, we address the challenge of identifying high-performance calibration sets for both pruning and quantization by analyzing intrinsic data properties rather than model-specific signals. We introduce \texttt{\textbf{ZipCal}}, a model-agnostic data curation strategy that maximizes lexical diversity based on Zipfian power laws. Experiments demonstrate that our method consistently outperforms standard uniform random sampling across various pruning benchmarks. Notably, it also performs on par, in terms of downstream performance, with a state-of-the-art method that relies on model perplexity. The latter becomes prohibitively expensive at large-scale models and datasets, while \texttt{\textbf{ZipCal}} is on average \sim240\times faster due to its tractable linear complexity\footnote{We make the code and the experiments available at https://anonymous.4open.science/r/zipcal-71CD/.}.