arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2312.01523cs.CLcs.LG
收藏

SymNoise:利用对称噪声推进语言模型微调

SymNoise: Advancing Language Model Fine-tuning with Symmetric Noise

University of Maryland, College Park(马里兰大学帕克分校);Savitribai Phule Pune University(萨维特里拜·普莱浦那大学)

Abhay Kumar Yadav, Arjun Singh

AI总结:

针对语言模型微调中的噪声注入问题,提出在嵌入中加入对称噪声的 SymNoise,通过更严格约束局部曲率,在 AlpacaEval 及多模型、多指令数据集上稳定超越 NEFTune。

摘要:

本文提出一种新颖的语言模型微调技术,该技术在嵌入过程中引入对称噪声。该方法旨在通过更严格地调控模型的局部曲率来增强模型功能,并展现出优于当前方法 NEFTune 的性能。使用 Alpaca 微调 LLaMA-2-7B 模型时,标准技术在 AlpacaEval 上获得 29.79% 的分数;然而,我们的方法 SymNoise 通过使用对称噪声嵌入,将该分数显著提升至 69.04%,相比最先进方法 NEFTune(64.69%)提升了 6.7%。此外,在多种模型以及 Evol-Instruct、ShareGPT、OpenPlatypus 等更强的基线指令数据集上测试时,SymNoise 始终优于 NEFTune。包括 NEFTune 在内的现有文献已强调,有必要更深入地研究基于噪声的策略在语言模型微调中的应用。我们的方法 SymNoise 是朝此方向迈出的又一重要一步,相较现有最先进方法展现出显著改进。

英文摘要:

In this paper, we introduce a novel fine-tuning technique for language models, which involves incorporating symmetric noise into the embedding process. 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.

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

↑