arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.22376cs.LGcs.CL
收藏

标签平滑改进大语言模型去学习中的梯度上升

Label Smoothing Improves Gradient Ascent in LLM Unlearning

The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Harbin Institute of Technology (Weihai)(哈尔滨工业大学(威海))

Zirui Pang, Hao Zheng, Zhijie Deng, Ling Li, Zixin Zhong, Jiaheng Wei

AI总结:

针对大语言模型去学习中梯度上升不稳定的问题,提出平滑梯度上升方法,通过结合正常数据稳定去学习过程,并在多个基准上取得优于原方法的效果。

摘要:

大语言模型去学习已成为一种有前景的方法,旨在以低成本使模型遗忘有害/不良知识,同时尽可能保留模型效用。在现有技术中,最直接的方法是对遗忘数据执行梯度上升(GA),从而迫使模型去学习遗忘数据集。然而,GA存在严重的不稳定性,因为它驱动更新向发散方向进行,常常导致模型效用急剧下降。为解决此问题,我们提出了平滑梯度上升(SGA)。SGA通过可调的平滑率将遗忘数据与多个构建的正常数据相结合。直观上,这使GA从仅针对遗忘数据学习扩展到同时针对遗忘数据和正常数据联合学习,从而实现更稳定的去学习,同时更好地保留模型效用。理论上,我们提供了最优平滑率选择的理论指导。实验上,我们在三个基准上评估了SGA:TOFU、Harry Potter和MUSE-NEWS。实验结果表明,SGA在所有指标上始终优于原始梯度上升(GA)方法,并在若干关键指标上达到所有基线方法中的前二性能。

英文摘要:

LLM unlearning has emerged as a promising approach, aiming to enable models to forget hazardous/undesired knowledge at low cost while preserving as much model utility as possible. Among existing techniques, the most straightforward method is performing Gradient Ascent (GA) w.r.t. the forget data, thereby forcing the model to unlearn the forget dataset. However, GA suffers from severe instability, as it drives updates in a divergent direction, often resulting in drastically degraded model utility. To address this issue, we propose Smoothed Gradient Ascent (SGA). SGA combines the forget data with multiple constructed normal data through a tunable smoothing rate. Intuitively, this extends GA from learning solely on the forget data to jointly learning across both forget and normal data, enabling more stable unlearning while better preserving model utility. Theoretically, we provide the theoretical guidance on the selection of the optimal smoothing rate. Empirically, we evaluate SGA on three benchmarks: TOFU, Harry Potter, and MUSE-NEWS. Experimental results demonstrate that SGA consistently outperforms the original Gradient Ascent (GA) method across all metrics and achieves top-2 performance among all baseline methods on several key metrics.

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

↑