arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.15447cs.CLcs.AI
收藏

解码压缩信任:审视高效LLM在压缩下的可信度

Decoding Compressed Trust: Scrutinizing the Trustworthiness of Efficient LLMs Under Compression

University of Texas at Austin(德克萨斯大学奥斯汀分校);Drexel University(德雷塞尔大学);MIT(麻省理工学院);UIUC(伊利诺伊大学厄巴纳-香槟分校);Duke University(杜克大学);Lawrence Livermore National Laboratory(劳伦斯利弗莫尔国家实验室);Center for AI Safety(人工智能安全中心);University of California, Berkeley(加州大学伯克利分校);University of Chicago(芝加哥大学)
Junyuan Hong, Jinhao Duan, Chenhui Zhang, Zhangheng Li, Chulin Xie, Kelsey Lieberman, James Diffenderfer, Brian Bartoldson, Ajay Jaiswal, Kaidi Xu, Bhavya Kailk… 展开作者

Junyuan Hong, Jinhao Duan, Chenhui Zhang, Zhangheng Li, Chulin Xie, Kelsey Lieberman, James Diffenderfer, Brian Bartoldson, Ajay Jaiswal, Kaidi Xu, Bhavya Kailkhura, Dan Hendrycks, Dawn Song, Zhangyang Wang, Bo Li

AI总结:

本研究首次全面评估了5种SoTA压缩技术对3个LLM在8个可信度维度上的影响,发现量化在中等比特范围能保持或提升可信度,而剪枝会显著降低可信度,强调了全面评估的必要性。

摘要:

压缩高能力的大型语言模型(LLMs)已成为资源高效推理的受青睐策略。尽管最先进的压缩方法在保持良性任务性能方面取得了令人瞩目的进展,但压缩在安全性和可信度方面的潜在风险却在很大程度上被忽视了。本研究首次对3个领先的LLMs使用5种SoTA压缩技术在8个可信度维度上进行了全面评估。我们的实验突显了压缩与可信度之间复杂的相互作用,揭示了一些有趣的现象。我们发现,目前在同时实现效率和可信度方面,量化是比剪枝更有效的方法。例如,4-bit量化模型保留了其原始对应版本的可信度,但模型剪枝即使在50%稀疏度下也会显著降低可信度。此外,在中等比特范围内采用量化可能会出乎意料地改善某些可信度维度,如伦理和公平性。相反,极低比特级别(3 bits)的极端量化往往会显著降低可信度。仅看良性性能无法发现这种增加的风险,因此实践中需要进行全面的可信度评估。这些发现最终为在LLMs中同时实现高实用性、效率和可信度提供了实用建议。代码和模型可在 https://decoding-comp-trust.github.io 获取。

英文摘要:

Compressing high-capability Large Language Models (LLMs) has emerged as a favored strategy for resource-efficient inferences. While state-of-the-art (SoTA) compression methods boast impressive advancements in preserving benign task performance, the potential risks of compression in terms of safety and trustworthiness have been largely neglected. This study conducts the first, thorough evaluation of three (3) leading LLMs using five (5) SoTA compression techniques across eight (8) trustworthiness dimensions. Our experiments highlight the intricate interplay between compression and trustworthiness, revealing some interesting patterns. We find that quantization is currently a more effective approach than pruning in achieving efficiency and trustworthiness simultaneously. For instance, a 4-bit quantized model retains the trustworthiness of its original counterpart, but model pruning significantly degrades trustworthiness, even at 50% sparsity. Moreover, employing quantization within a moderate bit range could unexpectedly improve certain trustworthiness dimensions such as ethics and fairness. Conversely, extreme quantization to very low bit levels (3 bits) tends to reduce trustworthiness significantly. This increased risk cannot be uncovered by looking at benign performance alone, in turn, mandating comprehensive trustworthiness evaluation in practice. These findings culminate in practical recommendations for simultaneously achieving high utility, efficiency, and trustworthiness in LLMs. Code and models are available at https://decoding-comp-trust.github.io.

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

↑