arXiv:2605.23171cs.LGcs.AI2026-05

提出对称噪声嵌入法,显著提升指令微调效果。

Understanding and Improving Noisy Embedding Techniques in Instruction Finetuning

  • 使用对称噪声替代均匀噪声,更严格调控模型局部曲率。
  • 在Alpaca数据集上将得分从29.79%提升至69.04%,超越NEFTune的64.69%。
  • 适用于多种模型与更强指令数据集,表现持续领先。

近期指令微调引入了嵌入噪声,其中NEFTune(Jain等,2024)采用均匀噪声取得基准性能。尽管实验表明均匀噪声优于高斯噪声,其原因尚不明确。本文通过理论与实证分析指出,两类噪声性能相近。同时提出新方法SymNoise,利用对称噪声嵌入,更严格调控模型局部曲率。在LLaMA-2-7B模型上使用Alpaca数据集微调,标准方法得分为29.79%,而SymNoise提升至69.04%,较当前最优方法NEFTune(64.69%)提高6.7%。在Evol-Instruct、ShareGPT、OpenPlatypus等多模型与强基线数据集上,SymNoise均持续优于NEFTune。本研究推动了基于噪声策略的语言模型微调深入探索。

原文摘要 · Abstract (English)

Recent advancements in instructional fine-tuning have injected noise into embeddings, with NEFTune (Jain et al., 2024) setting benchmarks using uniform noise. Despite NEFTune's empirical findings that uniform noise outperforms Gaussian noise, the reasons for this remain unclear. This paper aims to clarify this by offering a thorough analysis, both theoretical and empirical, indicating comparable performance among these noise types. Additionally, we introduce a new fine-tuning method for language models, utilizing symmetric noise in embeddings. This method aims to enhance the model's function by more stringently regulating its local curvature, demonstrating superior performance over the current method, NEFTune. When fine-tuning the LLaMA-2-7B model using Alpaca, standard techniques yield a 29.79% score on AlpacaEval. However, our approach, SymNoise, increases this score significantly to 69.04%, using symmetric noisy embeddings. This is a 6.7% improvement over the state-of-the-art method, NEFTune (64.69%). Furthermore, when tested on various models and stronger baseline instruction datasets, such as Evol-Instruct, ShareGPT, OpenPlatypus, SymNoise consistently outperforms NEFTune. The current literature, including NEFTune, has underscored the importance of more in-depth research into the application of noise-based strategies in the fine-tuning of language models. Our approach, SymNoise, is another significant step towards this direction, showing notable improvement over the existing state-of-the-art method.

指令微调噪声嵌入语言模型

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。