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(牛津大学)
Abhinav Bandari, Lu Yin, Cheng-Yu Hsieh, Ajay Kumar Jaiswal, Tianlong Chen, Li Shen, Ranjay Krishna, Shiwei Liu
Network pruning has emerged as a potential solution to make LLMs cheaper to deploy. However, existing LLM pruning approaches universally rely on the C4 dataset as the calibration data for calculating pruning scores, leaving its optimality unexplored. In this study, we evaluate the choice of calibration data on LLM pruning, across a wide range of datasets that are most commonly used in LLM training and evaluation, including four pertaining datasets as well as three categories of downstream tasks encompassing nine datasets. Each downstream dataset is prompted with In-Context Learning (ICL) and Chain-of-Thought (CoT), respectively. Besides the already intriguing observation that the choice of calibration data significantly impacts the performance of pruned LLMs, our results also uncover several subtle and often unexpected findings, summarized as follows: (1) C4 is not the optimal choice for LLM pruning, even among commonly used pre-training datasets; (2) arithmetic datasets, when used as calibration data, performs on par or even better than pre-training datasets; (3) pruning with downstream datasets does not necessarily help the corresponding downstream task, compared to pre-training data; (4) ICL is widely beneficial to all data categories, whereas CoT is only useful on certain tasks. Our findings shed light on the importance of carefully selecting calibration data for LLM pruning and pave the way for more efficient deployment of these powerful models in real-world applications. We release our code at: https://github.com/abx393/llm-pruning-calibration-data.
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(华为云(中国))
The Fragility and Dynamics of LLM Pruning-Recovery Steps
Institute of Information Science, Academia Sinica(中央研究院资讯科学研究所);National Taiwan University of Science and Technology(台湾科技大学);AI Research Center, Hon Hai Research Institute(鸿海研究院人工智能研究中心)
EvoP: Robust LLM Inference via Evolutionary Pruning
City University of Hong Kong(香港城市大学);Mohamed bin Zayed University of Artificial Intelligence(马尔代夫穆罕默德·本·扎耶德人工智能大学);Baidu(百度);National Taiwan University(国立台湾大学)
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(西安交通大学)
All-in-One Tuning and Structural Pruning for Domain-Specific LLMs
Northeastern University(东北大学);George Mason University(乔治梅森大学);GE HealthCare(GE医疗);University of Pennsylvania(宾夕法尼亚大学);University of Pittsburgh(匹兹堡大学);University of Florida(佛罗里达大学);Florida State University(佛罗里达州立大学)
Beyond FLOPs: Benchmarking Real Inference Acceleration of LLM Pruning under a GEMM-Centric Taxonomy
Ningbo Institute of Digital Twin, Eastern Institute of Technology, Ningbo(宁波数字孪生研究院,东方理工大学(宁波));Department of Computing, The Hong Kong Polytechnic University(香港理工大学计算学系);Munich Center for Machine Learning, LMU Munich(慕尼黑大学机器学习慕尼黑中心)
Fluctuation-based Adaptive Structured Pruning for Large Language Models
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);University of Chinese Academy of Sciences(中国科学院大学);Wuhan AI Research(武汉人工智能研究院);Objecteye Inc.(Objecteye公司)