paper-with-me

홈 › Papers

Is C4 Dataset Optimal for Pruning? An Investigation of Calibration Data for LLM Pruning

2024-10-09 · 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.

📄 PDF Abstract BibTeX arXiv:2410.07461

Code (1)

abx393/llm-pruning-calibration-data 공식 구현 pytorch

Tasks

In-Context LearningNetwork Pruning

Methods 이 논문이 사용한 방법론

Pruning 설명 없음

Similar Papers 제목 키워드 기반

Does Visual Token Pruning Improve Calibration? An Empirical Study on Confidence in MLLMs

2026-04-13 · Kaizhen Tan arxiv

Visual token pruning is a widely used strategy for efficient inference in multimodal large language models (MLLMs), but existing work mainly evaluates it with task accuracy. In this paper, we study how visual token pruni…

Sample-aware Adaptive Structured Pruning for Large Language Models

2025-03-08 · Jun Kong, Xinge Ma, Jin Wang, Xuejie Zhang

Large language models (LLMs) have achieved outstanding performance in natural language processing, but enormous model sizes and high computational costs limit their practical deployment. Structured pruning can effectivel…

Bayesian Optimization

Sparsest Models Elude Pruning: An Exposé of Pruning's Current Capabilities

2024-07-04 · Stephen Zhang, Vardan Papyan

Pruning has emerged as a promising approach for compressing large-scale models, yet its effectiveness in recovering the sparsest of models has not yet been explored. We conducted an extensive series of 485,838 experiment…

Attribute

On the Impact of Calibration Data in Post-training Quantization and Pruning

2023-11-16 · Miles Williams, Nikolaos Aletras

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 rema…

Model CompressionQuantization

Don't Be Greedy, Just Relax! Pruning LLMs via Frank-Wolfe

2025-10-15 · Christophe Roux, Max Zimmer, Alexandre d'Aspremont, Sebastian Pokutta arxiv

Pruning is a common technique to reduce the compute and storage requirements of Neural Networks. While conventional approaches typically retrain the model to recover pruning-induced performance degradation, state-of-the-…