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

分析在LLM微调中的噪声影响

Analyzing the Effect of Noise in LLM Fine-tuning

Lingfang Li, Procheta Sen

AI总结:

研究不同噪声类型对LLM微调内部学习动态的影响,分析噪声在不同任务和模型中的表现,发现标签噪声导致最大性能下降,而语法和拼写噪声可能带来轻微正则化收益。

摘要:

微调是适应预训练大语言模型(LLM)到下游NLP任务的主要范式。在实践中,微调数据集可能包含各种噪声,源于标注错误、预处理伪影或自动化数据收集。尽管先前工作关注设计鲁棒学习算法以缓解噪声下的性能下降,但对不同噪声类型如何影响LLM微调内部学习动态知之甚少。本文系统研究噪声对三种预训练模型家族(GPT-2、Qwen2和Llama-2)和三种多样化NLP任务的影响。我们引入对应三种常见现实噪声类型的受控扰动:标签噪声、语法噪声和拼写噪声。除任务层面性能外,我们分析层间表示变化和注意力模式,以理解噪声如何通过网络传播。结果表明,破坏标签(即标签噪声)一致导致最大性能下降,而语法噪声和拼写噪声偶尔可带来轻微正则化收益。我们进一步发现,噪声影响主要集中在任务特定层,而注意力结构相对稳定。

英文摘要:

Fine-tuning is the dominant paradigm for adapting pretrained large language models (LLMs) to downstream NLP tasks. In practice, fine-tuning datasets may contain various forms of noise arising from annotation errors, preprocessing artifacts, or automated data collection. While prior work has focused on designing robust learning algorithms to mitigate performance degradation under noisy conditions, comparatively little is known about how different types of noise affect the internal learning dynamics of LLMs during fine-tuning. In this work, we systematically study the impact of noise on model behavior across three pretrained model families (GPT-2, Qwen2 and Llama-2) and three diverse NLP tasks. We introduce controlled perturbations corresponding to three common real-world noise types: label noise, grammatical noise, and typographical noise. Beyond task-level performance, we analyze layer-wise representation changes and attention patterns to understand how noise propagates through the network. Our results show that corrupting labels (i.e. label noise) consistently causes the largest performance degradation, whereas grammatical noise and typographical noise can occasionally yield mild regularization benefits. We further find that noise effects are localized primarily to task-specific layers, while attention structures remain comparatively stable.

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

↑