Quantization and pruning form the foundation of compression for neural networks, enabling efficient inference for large language models (LLMs). Recently, various quantization and pruning techniques have demonstrated remarkable performance in a post-training setting. They rely upon calibration data, a small set of unlabeled examples that are used to generate layer activations. However, no prior work has systematically investigated how the calibration data impacts the effectiveness of model compression methods. In this paper, we present the first extensive empirical study on the effect of calibration data upon LLM performance. We trial a variety of quantization and pruning methods, datasets, tasks, and models. Surprisingly, we find substantial variations in downstream task performance, contrasting existing work that suggests a greater level of robustness to the calibration data. Finally, we make a series of recommendations for the effective use of calibration data in LLM quantization and pruning.
Is C4 Dataset Optimal for Pruning? An Investigation of Calibration Data for LLM Pruning
University of Washington(华盛顿大学);University of Surrey(萨里大学);The University of Texas at Austin(德克萨斯大学奥斯汀分校);The University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校);Sun Yat-sen University(中山大学);University of Oxford(牛津大学)
Iterative Structured Pruning for Large Language Models with Multi-Domain Calibration
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);School of Advanced Interdisciplinary Sciences, University of Chinese Academy of Sciences(中国科学院大学先进交叉学科学院)
On the Limitations of Language Targeted Pruning: Investigating the Calibration Language Impact in Multilingual LLM Pruning
Department of Computer Science, TU Dortmund University(图恩-多特蒙德大学计算机科学系);Bonn-Aachen International Center for Information Technology, University of Bonn(波恩-亚琛国际信息科技中心,波恩大学);Computer Science School, University of Sheffield(谢菲尔德大学计算机科学学院);Lamarr Institute for Machine Learning and Artificial Intelligence(拉马尔人工智能与机器学习研究所)
Beware of Calibration Data for Pruning Large Language Models
School of Computer Science and Technology, Soochow University(苏州大学计算机科学与技术学院);Key Laboratory of Data Intelligence and Advanced Computing, Soochow University(苏州大学数据智能与先进计算重点实验室);Huawei Cloud, China(华为云(中国))
Frustratingly Easy Task-aware Pruning for Large Language Models
Zhongguancun Institute of Artificial Intelligence(中关村人工智能研究院);University of Science and Technology of China(中国科学技术大学);Xi’an Jiaotong University(西安交通大学)
EvoP: Robust LLM Inference via Evolutionary Pruning
City University of Hong Kong(香港城市大学);Mohamed bin Zayed University of Artificial Intelligence(马尔代夫穆罕默德·本·扎耶德人工智能大学);Baidu(百度);National Taiwan University(国立台湾大学)
DartQuant: Efficient Rotational Distribution Calibration for LLM Quantization
Nanjing University of Science and Technology(南京理工大学);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Huawei Technologies Co., Ltd.(华为技术有限公司)
Target-Aware Calibration Data Selection for Preserving Uncertainty in Quantized Language Models
The Hong Kong University of Science and Technology(香港科技大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));City University of Hong Kong(香港城市大学);Shanghai Institute of Optics and Fine Mechanics(上海光学精密机械研究所);University of Oxford(牛津大学);Yale University(耶鲁大学)
Towards Robust Calibration Dataset for Domain-General Mixture of Experts Pruning
Institute of Information Science, Academia Sinica(中央研究院資訊科學研究所);National Taiwan University of Science and Technology(國立臺灣科技大學);AI Research Center, Hon Hai Research Institute(鴻海研究院人工智能研究中心)