EMNLP Findings2025
Beyond Fixed-Length Calibration for Post-Training Compression of LLMs
摘要
As large language models (LLMs) continue to grow in size, their practical deployment increasingly relies on a range of compression techniques, such as quantization, pruning, and lowrank approximation. Especially, post-training compression methods-which do not require re-training-have drawn considerable interest. Many recent methods leverage calibration data to capture magnitude or second-order characteristics of input activations. However, the role and significance of calibration data remain underexplored. In this study, we demonstrate that the sequence length of calibration data plays a crucial role in the effectiveness of post-training compression methods for LLMs. We then analyze input activations and find that, within the normalized hidden states, the embedding of the first token exhibits characteristics opposite to those of subsequent tokens. Building on this insight, we introduce state-aware length calibration, a technique that applies masking along the sequence axis, specifically targeting normalized hidden states. Experimental results show that our approach improves perplexity and zero-shot downstream tasks performance.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- Efficient Streaming Language Models with Attention Sinks 引用了 SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
- KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization 引用了 Efficient Streaming Language Models with Attention Sinks
- KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization 引用了 SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
- Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruning 引用了 SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
- Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruning 引用了 SparseGPT: Massive Language Models Can be Accurately Pruned in One-Shot
它引用的 Paper13
- Efficient Streaming Language Models with Attention SinksGuangxuan Xiao, Yuandong Tian, Beidi Chen, Song Han 等ICLR 2024 · 1,714 次引用
- SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language ModelsGuangxuan Xiao, Ji Lin, Mickaël Seznec, Hao Wu 等ICML 2023 · 1,493 次引用
- SparseGPT: Massive Language Models Can be Accurately Pruned in One-ShotElias Frantar, Dan AlistarhICML 2023 · 1,240 次引用
- KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache QuantizationColeman Hooper, Sehoon Kim, Hiva Mohammadzadeh, Michael W. Mahoney 等NeurIPS 2024 · 738 次引用
- Sheared LLaMA: Accelerating Language Model Pre-training via Structured PruningMengzhou Xia, Tianyu Gao, Zhiyuan Zeng, Danqi ChenICLR 2024 · 453 次引用
相关 Paper
- On the Impact of Calibration Data in Post-training Quantization and PruningMiles Williams, Nikolaos AletrasACL 2024
- Preserving LLM Capabilities through Calibration Data Curation: From Analysis to OptimizationBowei He, Lihao Yin, Hui-Ling Zhen, Shuqi Liu 等NeurIPS 2025 · 9 次引用
- SeedLM: Compressing LLM Weights into Seeds of Pseudo-Random GeneratorsRasoul Shafipour, David Harrison, Maxwell Horton, Jeffrey Marker 等ICLR 2025
- Unlocking Tokens as Data Points for Generalization Bounds on Larger Language ModelsSanae Lotfi, Yilun Kuang, Marc Finzi, Brandon Amos 等NeurIPS 2024 · 29 次引用
- FAQ: Mitigating Quantization Error via Regenerating Calibration Data with Family-Aware QuantizationHaiyang Xiao, Weiqing Li, Jinyue Guo, Guochao Jiang 等ACL Findings 2026
