arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2401.15347cs.CLcs.AI
收藏

语言模型压缩算法全面综述

A Comprehensive Survey of Compression Algorithms for Language Models

Seoul National University(首尔大学)

Seungcheol Park, Jaehyeon Choi, Sojin Lee, U Kang

AI总结:

该综述针对语言模型规模过大的痛点,系统梳理剪枝、量化等六类语言模型压缩算法,分析代表性算法与发展趋势,探讨低成本压缩算法特性并提出未来研究方向。

摘要:

我们如何在不损失准确率的前提下压缩语言模型?为了既能受益于近期语言模型的显著进展,又能避免语言模型规模庞大带来的碳排放增加、维护成本高昂等副作用,语言模型压缩算法的数量正快速增长。尽管大量压缩算法在语言模型压缩方面已取得显著进展,但讽刺的是,由于算法数量过多,把握新兴趋势、厘清其背后的核心概念反而变得颇具挑战。本文调研并总结了多种压缩算法,包括pruning(剪枝)、quantization(量化)、knowledge distillation(知识蒸馏)、low-rank approximation(低秩近似)、parameter sharing(参数共享)以及efficient architecture design(高效架构设计)。我们不仅总结了各类压缩算法的整体发展趋势,还选取了代表性算法并展开深入分析。我们探讨了每一类压缩算法的价值,以及随着大语言模型的出现、能产生重要影响的低成本压缩算法应具备的特性。最后,我们基于本次调研结果提出了颇具前景的未来研究方向。

英文摘要:

How can we compress language models without sacrificing accuracy? The number of compression algorithms for language models is rapidly growing to benefit from remarkable advances of recent language models without side effects due to the gigantic size of language models, such as increased carbon emissions and expensive maintenance fees. While numerous compression algorithms have shown remarkable progress in compressing language models, it ironically becomes challenging to capture emerging trends and identify the fundamental concepts underlying them due to the excessive number of algorithms. In this paper, we survey and summarize diverse compression algorithms including pruning, quantization, knowledge distillation, low-rank approximation, parameter sharing, and efficient architecture design. We not only summarize the overall trend of diverse compression algorithms but also select representative algorithms and provide in-depth analyses of them. We discuss the value of each category of compression algorithms, and the desired properties of low-cost compression algorithms which have a significant impact due to the emergence of large language models. Finally, we introduce promising future research topics based on our survey results.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑