
计算机科学与探索 ›› 2026, Vol. 20 ›› Issue (1): 1-20.DOI: 10.3778/j.issn.1673-9418.2504069
郭晋阳1,2,贺昌义1,杨戈1,2,刘祥龙1+
收稿日期:2025-04-22
修回日期:2025-07-21
在线发布日期:2026-01-01
出版日期:2025-12-30
基金资助:GUO Jinyang1,2, HE Changyi1, YANG Ge1,2, LIU Xianglong1+
Received:2025-04-22
Revised:2025-07-21
Online:2026-01-01
Published:2025-12-30
Supported by:摘要: 大语言模型由于强大的认知能力,在多个领域得到了广泛应用,成为人工智能领域的研究热点。然而,大语言模型对计算、存储资源的巨大需求,使其难以在资源受限的情境下使用。模型压缩与加速技术成为解决这一问题的关键手段,旨在保持模型性能的前提下,降低计算复杂度和存储成本。基于此,对大语言模型压缩与加速技术的前沿研究进行了全面的综述,旨在把握整个领域的发展现状与未来趋势,推动大语言模型压缩与加速技术的发展,助力其在工业界和学术界的应用落地。系统阐述了大语言模型在计算资源和存储成本方面面临的挑战;从模型剪枝、模型量化、知识蒸馏、低秩分解四个关键技术路径出发,梳理了各类方法的基本原理、典型方法和最新进展,并对主流技术进行了系统对比与总结。从推理效率、精度保持、部署难度等多个维度构建了评价体系,深入探讨了大语言模型压缩的评估指标和实验基准。最后,结合当前技术瓶颈,展望了大语言模型压缩的未来研究方向,为后续相关研究与工程实践提供了系统性参考。
郭晋阳, 贺昌义, 杨戈, 刘祥龙. 大语言模型压缩综述[J]. 计算机科学与探索, 2026, 20(1): 1-20.
GUO Jinyang, HE Changyi, YANG Ge, LIU Xianglong. Survey of Model Compression for Large Language Model[J]. Journal of Frontiers of Computer Science and Technology, 2026, 20(1): 1-20.
| [1] ZHAO W X, ZHOU K, LI J Y, et al. A survey of large language models[EB/OL]. [2025-03-01]. https://arxiv.org/abs/2303.18223. [2] RADFORD A, NARASIMHAN K, SALIMANS T, et al. Improving language understanding by generative pre-training[EB/OL]. [2025-02-05]. https://openai.com/index/language-unsupervised. [3] BROWN T B, MANN B, RYDER N, et al. Language models are few-shot learners[C]//Proceedings of the 34th International Conference on Neural Information Processing Systems, ACM, 2020: 1877-1901. [4] OpenAI. Introducing chatgpt[EB/OL]. [2025-02-05]. https://openai.com/blog/chatgpt. [5] DeepSeek-AI, LIU A X, FENG B, et al. DeepSeek-V3 technical report[EB/OL]. [2025-02-07]. https://arxiv.org/abs/2412.19437. [6] ZHANG S S, ROLLER S, GOYAL N, et al. OPT: open pre-trained transformer language models[EB/OL]. [2025-02-09]. https://arxiv.org/abs/2205.01068. [7] FRANTAR E, ALISTARH D. SparseGPT: massive language models can be accurately pruned in one-shot[C]//Proceedings of the 40th International Conference on Machine Learning, 2023: 10323-10337. [8] FRANTAR E, ASHKBOOS S, HOEFLER T, et al. GPTQ: accurate quantization for generative pre-trained Transformers[C]//Proceedings of the 11th International Conference on Learning Representations, 2023. [9] GU Y X, DONG L, WEI F R, et al. MiniLLM: knowledge distillation of large language models[C]//Proceedings of the 12th International Conference on Learning Representations,2024. [10] VASWANI A, SHAZEER N, PARMAR N, et al. Attention is all you need[C]//Advances in Neural Information Processing Systems 30, 2017: 5998-6008. [11] OpenAI, ACHIAM J, ADLER S, et al. GPT-4 technical report [EB/OL]. [2025-02-15]. https://arxiv.org/abs/2303.08774. [12] CHOWDHERY A, NARANG S, DEVLIN J, et al. PaLM: scaling language modeling with pathways[J]. Journal of Machine Learning Research, 2023, 24(1): 11324-11436. [13] ANIL R, DAI A M, FIRAT O, et al. PaLM 2 technical report[EB/OL]. [2025-02-15]. https://arxiv.org/abs/2305.10403. [14] TEAM G, ANIL R, BORGEAUD S, et al. Gemini: a family of highly capable multimodal models[EB/OL]. [2025-02-19]. https://arxiv.org/abs/2312.11805. [15] TOUVRON H, LAVRIL T, IZACARD G, et al. LLaMA: open and efficient foundation language models[EB/OL]. [2025-02-19]. https://arxiv.org/abs/2302.13971. [16] TOUVRON H, MARTIN L, STONE K, et al. LLaMa 2: open foundation and fine-tuned chat models[EB/OL]. [2025- 02-25]. https://arxiv.org/abs/2307.09288. [17] GRATTAFIORI A, DUBEY A, JAUHRI A, et al. The LLaMa 3 herd of models[EB/OL]. [2025-02-25]. https://arxiv.org/abs/2407.21783. [18] ZENG A H, LIU X, DU Z X, et al. GLM-130B: an open bilingual pre-trained model[EB/OL]. [2025-03-01]. https://arxiv.org/abs/2210.02414. [19] BAI J Z, BAI S, CHU Y F, et al. Qwen technical report[EB/OL]. [2025-03-01]. https://arxiv.org/abs/2309.16609. [20] SUN M J, LIU Z, BAIR A, et al. A simple and effective pruning approach for large language models[C]//Proceedings of the 12th International Conference on Learning Representations, 2024. [21] YIN L, WU Y, ZHANG Z Y, et al. Outlier weighed layerwise sparsity (OWL): a missing secret sauce for pruning LLMs to high sparsity[C]//Proceedings of the 41st International Conference on Machine Learning, 2024. [22] SHAO H, LIU B, QIAN Y M. One-shot sensitivity-aware mixed sparsity pruning for large language models[C]//Proceedings of the 2024 IEEE International Conference on Acoustics, Speech and Signal Processing. Piscataway: IEEE, 2024: 11296-11300. [23] LIU S W, LU H Q, MAHONEY M, et al. AlphaPruning: using heavy-tailed self regularization theory for improved layer-wise pruning of large language models[C]//Advances in Neural Information Processing Systems 37, 2024: 9117-9152. [24] DAS R J, SUN M J, MA L Q, et al. Beyond size: how gradients shape pruning decisions in large language models[EB/OL]. [2025-03-05]. https://arxiv.org/abs/2311.04902. [25] MA X Y, FANG G F, WANG X C. LLM-Pruner: on the structural pruning of large language models[C]//Advances in Neural Information Processing Systems 36, 2023: 21702-21720. [26] ZHANG M Y, CHEN H, SHEN C H, et al. LoRAPrune: structured pruning meets low-rank parameter-efficient fine-tuning[C]//Findings of the Association for Computational Linguistics: ACL 2024. Stroudsburg: ACL, 2024: 3013-3026. [27] JI Y P, CAO Y B, LIU J C. Pruning large language models via accuracy predictor[EB/OL]. [2025-03-05]. https://arxiv.org/abs/2309.09507. [28] GUO S, XU J H, ZHANG L L, et al. Compresso: structured pruning with collaborative prompting learns compact large language models[EB/OL]. [2025-03-07]. https://arxiv.org/abs/2310.05015. [29] DERY L, KOLAWOLE S, KAGY J F, et al. Everybody prune now: structured pruning of LLMs with only forward passes[EB/OL]. [2025-03-09]. https://arxiv.org/abs/2402.05406. [30] XIA M Z, GAO T Y, ZENG Z Y, et al. Sheared LLaMA: accelerating language model pre-training via structured pruning[C]//Proceedings of the 12th International Conference on Learning Representations, 2024. [31] LI Y, NIU L, ZHANG X P, et al. E-sparse: boosting the large language model inference through entropy-based N:M sparsity[EB/OL]. [2025-03-10]. https://arxiv.org/abs/2310. 15929. [32] LIN J, TANG J M, TANG H T, et al. AWQ: activation-aware weight quantization for on-device LLM compression and acceleration[C]//Proceedings of the 7th Annual Conference on Machine Learning and Systems, 2024. [33] LEE C H, JIN J, KIM T, et al. OWQ: outlier-aware weight quantization for efficient fine-tuning and inference of large language models[C]//Proceedings of the 38th AAAI Conference on Artificial Intelligence. Palo Alto: AAAI, 2024: 13355-13364. [34] DETTMERS T, SVIRSCHEVSKI R, EGIAZARIAN V, et al. SpQR: a sparse-quantized representation for near-lossless LLM weight compression[EB/OL]. [2025-03-10]. https://arxiv.org/abs/2306.03078. [35] CHEE J, CAI Y H, KULESHOV V, et al. QuIP: 2-bit quantization of large language models with guarantees[C]//Advances in Neural Information Systems 36, 2023: 4396-4429. [36] YUAN Z H, SHANG Y Z, DONG Z. PB-LLM: partially binarized large language models[C]//Proceedings of the 12th International Conference on Learning Representations, 2024. [37] ZHANG Y J, ZHANG S C, CAO S J, et al. AFPQ: asymmetric floating point quantization for LLMs[C]//Findings of the Association for Computational Linguistics: ACL 2024. Stroudsburg: ACL, 2024: 28-36. [38] DETTMERS T, LEWIS M, BELKADA Y, et al. Gpt3.int8 (): 8 bit matrix multiplication for transformers at scale[C]//Advances in Neural Information Processing Systems 35, 2022: 30318-30332. [39] YAO Z W, AMINABADI R Y, ZHANG M J, et al. ZeroQuant: efficient and affordable post-training quantization for large-scale transformers[C]//Advances in Neural Information Processing Systems 35, 2022: 27168-27183. [40] XIAO G X, LIN J, SEZNEC M, et al. SmoothQuant: accurate and efficient post-training quantization for large language models[C]//Proceedings of the 40th International Conference on Machine Learning, 2023: 38087-38099. [41] WEI X Y, ZHANG Y C, LI Y H, et al. Outlier Suppression+: accurate quantization of large language models by equivalent and effective shifting and scaling[C]//Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing. Stroudsburg: ACL, 2023: 1648-1665. [42] YUAN Z H, NIU L, LIU J W, et al. RPTQ: reorder-based post-training quantization for large language models[EB/OL]. [2025-03-10]. https://arxiv.org/abs/2304.01089. [43] LIU J, GONG R H, WEI X Y, et al. QLLM: accurate and efficient low-bitwidth quantization for large language models[C]//Proceedings of the 12th International Conference on Learning Representations, 2024. [44] LIU Z C, ZHAO C S, FEDOROV I, et al. SpinQuant: LLM quantization with learned rotations[EB/OL]. [2025-03-10]. https://arxiv.org/abs/2405.16406. [45] SHAO W Q, CHEN M Z, ZHANG Z Y, et al. OmniQuant: omnidiretionally calibrated quantization for large language models[C]//Proceedings of the 12th International Conference on Learning Representations, 2024. [46] LI Q Y, ZHANG Y F, LI L, et al. FPTQ: fine-grained post-training quantization for large language models[EB/OL]. [2025-03-11]. https://arxiv.org/abs/2308.15987. [47] LI L, LI Q Y, ZHANG B, et al. Norm Tweaking: high-performance low-bit quantization of large language models[C]//Proceedings of the 38th AAAI Conference on Artificial Intelligence. Palo Alto: AAAI, 2024: 18536-18544. [48] LI Q Y, MENG R, LI Y D, et al. A speed odyssey for deployable quantization of LLMs[EB/OL]. [2025-03-11]. https://arxiv.org/abs/2311.09550. [49] SHEN X, DONG P Y, LU L, et al. Agile-Quant: activation-guided quantization for faster inference of LLMs on the edge [C]//Proceedings of the 38th AAAI Conference on Artificial Intelligence. Palo Alto: AAAI, 2024: 18944-18951. [50] ZHANG Y J, ZHAO L R, CAO S J, et al. Integer or floating point? New outlooks for low-bit quantization on large language models[C]//Proceedings of the 2024 IEEE International Conference on Multimedia and Expo. Piscataway: IEEE, 2024: 1-6. [51] WU X X, YAO Z W, HE Y X. ZeroQuant-FP: a leap forward in LLMs post-training W4A8 quantization using floating-point formats[EB/OL]. [2025-03-11]. https://arxiv.org/abs/2307.09782. [52] LIU S Y, LIU Z C, HUANG X J, et al. LLM-FP4: 4-bit floating-point quantized transformers[C]//Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing. Stroudsburg: ACL, 2023: 592-605. [53] LIU Z C, OGUZ B, ZHAO C S, et al. LLM-QAT: data-free quantization aware training for large language models[C]//Findings of the Association for Computational Linguistics: ACL 2024. Stroudsburg: ACL, 2024: 467-484. [54] WANG H Y, MA S M, DONG L, et al. BitNet: scaling 1-bit transformers for large language models[EB/OL]. [2025-03-11]. https://arxiv.org/abs/2310.11453. [55] PENG H W, WU K, WEI Y X, et al. FP8-LM: training FP8 large language models[EB/OL]. [2025-03-01]. https://arxiv.org/abs/2310.18313. [56] KIM J, LEE J H, KIM S, et al. Memory-efficient fine-tuning of compressed large language models via sub-4-bit integer quantization[C]//Proceedings of the 37th International Conference on Neural Information Processing Systems, 2023: 36187-36207. [57] DETTMERS T, PAGNONI A, HOLTZMAN A, et al. QLoRA: efficient finetuning of quantized LLMs[C]//Advances in Neural Information Systems 36, 2023: 10088-10115. [58] XU Y H, XIE L X, GU X T, et al. QA-LoRA: quantization-aware low-rank adaptation of large language models[C]//Proceedings of the 12th International Conference on Learning Representations, 2024. [59] LI Y X, YU Y F, Liang C, et al. LoftQ: LoRA-fine-tuning-aware quantization for large language models[C]//Proceedings of the 12th International Conference on Learning Representations, 2024. [60] AGARWAL R, VEILLARD N, ZHOU Y C, et al. Generalized knowledge distillation for auto-regressive language models[C]//Proceedings of the 12th International Conference on Learning Representations, 2024. [61] KO J, KIM S, CHEN T Y, et al. DistiLLM: towards streamlined distillation for large language models[C]//Proceedings of the 41st Conference on Machine Learning, 2024: 24872-24895. [62] LIANG C, ZUO S M, ZHANG Q R, et al. Less is more: task-aware layer-wise distillation for language model compression[C]//Proceedings of the 40th International Conference on Machine Learning, 2023: 20852-20867. [63] HUANG Y K, CHEN Y D, YU Z, et al. In-context learning distillation: transferring few-shot learning ability of pre-trained language models[EB/OL]. [2025-03-15]. https://arxiv.org/abs/2212.10670. [64] JIANG Y X, CHAN C, CHEN M Y, et al. Lion: adversarial distillation of proprietary large language models[C]//Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing. Stroudsburg: ACL, 2023: 3134-3154. [65] LI S Y, CHEN J S, SHEN Y L, et al. Explanations from large language models make small reasoners better[EB/OL]. [2025-03-15]. https://arxiv.org/abs/2210.06726. [66] HO N, SCHMID L, YUN S Y. Large language models are reasoning teachers[C]//Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics. Stroudsburg: ACL, 2023: 14852-14882. [67] HSIEH C Y, LI C-L, YEH C K, et al. Distilling step-by-step! Outperforming larger language models with less training data and smaller model sizes[C]//Findings of the Association for Computational Linguistics: ACL 2023. Stroudsburg: ACL, 2023: 8003-8017. [68] SHRIDHAR K, STOLFO A, SACHAN M. Distilling reasoning capabilities into smaller language models[C]//Findings of the Association for Computational Linguistics: ACL 2023. Stroudsburg: ACL, 2023: 7059-7073. [69] LI L H, HESSEL J, YU Y, et al. Symbolic chain-of-thought distillation: small models can also “think” step-by-step[C]//Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics. Stroudsburg: ACL, 2023: 2665-2679. [70] CHEN H Z, WU S Y, QUAN X J, et al. MCC-KD: multi-CoT consistent knowledge distillation[C]//Findings of the Association for Computational Linguistics: ACL 2023. Stroudsburg: ACL, 2023: 6805-6820. [71] CHEN Z M, GAO Q Y, BOSSELUT A, et al. DISCO: distilling counterfactuals with large language models[C]//Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics. Stroudsburg: ACL, 2023: 5514-5528. [72] WANG P F, WANG Z Y, LI Z, et al. SCOTT: self-consistent chain-of-thought distillation[C]//Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics. Stroudsburg: ACL, 2023: 5546-5558. [73] ZHU X K, QI B Q, ZHANG K Y, et al. PaD: program-aided distillation can teach small models reasoning better than chain-of-thought fine-tuning[C]//Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies. Stroudsburg: ACL, 2024: 2571-2597. [74] WANG Z Y, HUANG S H, LIU Y X, et al. Democratizing reasoning ability: tailored learning from large language model [C]//Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing. Stroudsburg: ACL, 2023: 1948-1966. [75] LIU W Z, LI G C, ZHANG K, et al. Mind’s mirror: distilling self-evaluation capability and comprehensive thinking from large language models[C]//Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies. Stroudsburg: ACL, 2024: 6748-6763. [76] YAO Z W, WU X X, LI C, et al. ZeroQuant-V2: exploring post-training quantization in LLMs from comprehensive study to low rank compensation[EB/OL]. [2025-03-17]. https://arxiv.org/abs/2303.08302. [77] LI Y X, YU Y F, ZHANG Q R, et al. LoSparse: structured compression of large language models based on low-rank and sparse approximation[C]//Proceedings of the 40th International Conference on Machine Learning, 2023: 20336-20350. [78] YUAN Z H, SHANG Y Z, SONG Y, et al. ASVD: activation-aware singular value decomposition for compressing large language models[EB/OL]. [2025-03-17]. https://arxiv.org/abs/2312.05821. [79] MERITY S, XIONG C M, BRADBURY J, et al. Pointer sentinel mixture models[EB/OL]. [2025-03-17]. https://arxiv. org/abs/1609.07843. [80] RAFFEL C, SHAZEER N, ROBERTS A, et al. Exploring the limits of transfer learning with a unified text-to-text transformer[J]. Journal of Machine Learning Research, 2020, 21(1): 5485-5551. [81] HENDRYCKS D, BURNS C, BASART S, et al. Measuring massive multitask language understanding[EB/OL]. [2025-03-18]. https://arxiv.org/abs/2009.03300. [82] BISK Y, ZELLERS R, LE BRAS R, et al. PIQA: reasoning about physical commonsense in natural language[C]//Proceedings of the 34th AAAI Conference on Artificial Intelligence. Palo Alto: AAAI, 2020: 7432-7439. [83] MIHAYLOV T, CLARK P, KHOT T, et al. Can a suit of armor conduct electricity? A new dataset for open book question answering[EB/OL]. [2025-03-18]. https://arxiv.org/abs/1809. 02789. [84] CLARK P, COWHEY I, ETZIONI O, et al. Think you have solved question answering? Try ARC, the AI2 reasoning challenge[EB/OL]. [2025-03-20]. https://arxiv.org/abs/1803.05457. [85] COBBE K, KOSARAJU V, BAVARIAN M, et al. Training verifiers to solve math word problems[EB/OL]. [2025-03-20]. https://arxiv.org/abs/2110.14168. [86] HENDRYCKS D, BURNS C, KADAVATH S, et al. Measuring mathematical problem solving with the MATH dataset [EB/OL]. [2025-03-20]. https://arxiv.org/abs/2103.03874. [87] HUANG Y Z, BAI Y Z, ZHU Z H, et al. C-eval: a multi-level multi-discipline Chinese evaluation suite for foundation models[C]//Advances in Neural Information Processing Systems 36, 2023: 62991-63010. [88] LI H N, ZHANG Y X, KOTO F, et al. CMMLU: measuring massive multitask language understanding in Chinese[C]//Findings of the Association for Computational Linguistics: ACL 2024. Stroudsburg: ACL, 2024: 11260-11285. [89] YANG G, HE C Y, GUO J Y, et al. LLMCBench: benchmarking large language model compression for efficient deployment[C]//Advances in Neural Information Processing Systems 38, 2024. |
| [1] | 刘颖, 刘爽, 陆羽, 孙楠, 陈嘉茂. 基于LLM增强图结构的供应链金融信用风险评估[J]. 计算机科学与探索, 2026, 20(2): 522-532. |
| [2] | 周昌镐, 孙靖超. 基于幻觉消除大模型的误导性信息检测方法研究[J]. 计算机科学与探索, 2026, 20(2): 546-560. |
| [3] | 海峻嘉, 景丽萍, 刘华锋, 于剑. 开放环境下无监督跨模态概念自动提取[J]. 计算机科学与探索, 2026, 20(1): 154-168. |
| [4] | 徐超, 刘子硕, 周立云, 朱浩然, 黄佳佳. 多智能体协作驱动的审计问题定性法规推荐系统[J]. 计算机科学与探索, 2026, 20(1): 280-290. |
| [5] | 杨跃翔, 郑怀城, 刘学文, 涂新雨. 智能家居信息安全知识图谱构建研究[J]. 计算机科学与探索, 2026, 20(1): 169-181. |
| [6] | 昂格鲁玛, 王斯日古楞, 斯琴图. 知识图谱补全研究综述[J]. 计算机科学与探索, 2025, 19(9): 2302-2318. |
| [7] | 王劲滔, 孟琪翔, 高志霖, 卜凡亮. 基于大语言模型指令微调的案件信息要素抽取方法研究[J]. 计算机科学与探索, 2025, 19(8): 2161-2173. |
| [8] | 张亦菲, 李艳玲, 葛凤培. 基于图深度学习的司法判决预测综述[J]. 计算机科学与探索, 2025, 19(8): 2024-2042. |
| [9] | 田崇腾, 刘静, 王晓燕, 李明. 大语言模型GPT在医疗文本中的应用综述[J]. 计算机科学与探索, 2025, 19(8): 2043-2056. |
| [10] | 夏江镧, 李艳玲, 葛凤培. 基于大语言模型的实体关系抽取综述[J]. 计算机科学与探索, 2025, 19(7): 1681-1698. |
| [11] | 时振普, 吕潇, 董彦如, 刘静, 王晓燕. 医学领域多模态知识图谱融合技术发展现状研究[J]. 计算机科学与探索, 2025, 19(7): 1729-1746. |
| [12] | 崔健, 汪永伟, 李飞扬, 李强, 苏北荣, 张小健. 结合知识蒸馏的中文文本摘要生成方法[J]. 计算机科学与探索, 2025, 19(7): 1899-1908. |
| [13] | 张欣, 孙靖超. 基于大语言模型的虚假信息检测框架综述[J]. 计算机科学与探索, 2025, 19(6): 1414-1436. |
| [14] | 许德龙, 林民, 王玉荣, 张树钧. 基于大语言模型的NLP数据增强方法综述[J]. 计算机科学与探索, 2025, 19(6): 1395-1413. |
| [15] | 何静, 沈阳, 谢润锋. 大语言模型幻觉现象的分类识别与优化研究[J]. 计算机科学与探索, 2025, 19(5): 1295-1301. |
| 阅读次数 | ||||||
|
全文 |
|
|||||
|
摘要 |
|
|||||