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

模型出血与大语言模型的鲁棒性极限

Model Hemorrhage and the Robustness Limits of Large Language Models

Wuhan University(武汉大学);Nanyang Technological University(南洋理工大学)

Ziyang Ma, Zuchao Li, Lefei Zhang, Gui-Song Xia, Bo Du, Liangpei Zhang, Dacheng Tao

AI总结:

本文定义了LLM部署修改导致的“模型出血”现象,分析了Transformer架构的脆弱性模式与鲁棒性阈值,并提出梯度感知剪枝、动态量化缩放和解码校准三种缓解策略以维持部署性能。

摘要:

大语言模型(LLMs)在自然语言处理任务中表现出色,但在通过量化、剪枝或解码策略调整进行部署修改时,会出现显著的性能下降。我们将这一现象定义为模型出血——由参数改变和架构变化引起的性能衰退。通过对各种LLM框架的系统分析,我们识别出关键的脆弱性模式:层扩展经常破坏注意力机制,压缩技术引发信息损失级联,解码调整放大预测分歧。我们的研究揭示,Transformer架构表现出固有的鲁棒性阈值,这些阈值决定了不同修改类型下的出血严重程度。我们提出三种缓解策略:梯度感知剪枝保留关键权重路径,动态量化缩放维持激活完整性,解码校准使生成轨迹与原始模型分布对齐。这项工作建立了评估适应过程中模型稳定性的基础指标,为在实现高效LLM部署的同时保持性能提供了实用指南。我们的发现推进了对架构变换下神经网络韧性的理解,特别是针对大语言模型。

英文摘要:

Large language models (LLMs) demonstrate strong performance across natural language processing tasks, yet undergo significant performance degradation when modified for deployment through quantization, pruning, or decoding strategy adjustments. We define this phenomenon as model hemorrhage - performance decline caused by parameter alterations and architectural changes. Through systematic analysis of various LLM frameworks, we identify key vulnerability patterns: layer expansion frequently disrupts attention mechanisms, compression techniques induce information loss cascades, and decoding adjustments amplify prediction divergences. Our investigation reveals transformer architectures exhibit inherent robustness thresholds that determine hemorrhage severity across modification types. We propose three mitigation strategies: gradient-aware pruning preserves critical weight pathways, dynamic quantization scaling maintains activation integrity, and decoding calibration aligns generation trajectories with original model distributions. This work establishes foundational metrics for evaluating model stability during adaptation, providing practical guidelines for maintaining performance while enabling efficient LLM deployment. Our findings advance understanding of neural network resilience under architectural transformations, particularly for large-scale language models.

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

↑