将LLM去学习视为一个非对称的双任务学习问题
Modeling LLM Unlearning as an Asymmetric Two-Task Learning Problem
AI总结:
本文将LLM去学习视为非对称双任务问题,提出优先保留的梯度合成框架,通过分离任务特定梯度提取与冲突感知组合,改进梯度冲突解决方法,实验证明通过重塑梯度几何而非重新平衡损失,有效缓解去学习-保留的权衡。
摘要:
针对大型语言模型(LLMs)的去学习问题,旨在移除目标知识的同时保持一般能力。本文将LLM去学习重新表述为一个非对称的双任务问题:保留是主要目标,遗忘是辅助目标。从这一视角出发,我们提出了一种优先保留的梯度合成框架,该框架将任务特定梯度提取与冲突感知组合解耦。通过实例化该框架,我们采用已建立的PCGrad来解决梯度冲突,并引入SAGO,一种新的优先保留的梯度合成方法。理论上,两种变体确保与保留梯度的余弦相似性非负,而SAGO通过构造性的符号约束合成实现了更紧密的对齐。实验证明,在WMDP Bio/Cyber和RWKU基准测试中,SAGO始终推动帕累托前沿:例如,在WMDP Bio(SimNPO+GD)上,目标模型MMLU性能的恢复从44.6%(朴素)提升到94.0%(+PCGrad)并进一步提升到96.0%(+SAGO),同时保持可比的遗忘强度。我们的结果表明,重塑梯度几何,而非重新平衡损失,是缓解去学习-保留权衡的关键。
英文摘要:
Machine unlearning for large language models (LLMs) aims to remove targeted knowledge while preserving general capability. In this paper, we recast LLM unlearning as an asymmetric two-task problem: retention is the primary objective and forgetting is an auxiliary. From this perspective, we propose a retention-prioritized gradient synthesis framework that decouples task-specific gradient extraction from conflict-aware combination. Instantiating the framework, we adapt established PCGrad to resolve gradient conflicts, and introduce SAGO, a novel retention-prioritized gradient synthesis method. Theoretically, both variants ensure non-negative cosine similarity with the retain gradient, while SAGO achieves strictly tighter alignment through constructive sign-constrained synthesis. Empirically, on WMDP Bio/Cyber and RWKU benchmarks, SAGO consistently pushes the Pareto frontier: e.g., on WMDP Bio (SimNPO+GD), recovery of target model MMLU performance progresses from 44.6% (naive) to 94.0% (+PCGrad) and further to 96.0% (+SAGO), while maintaining comparable forgetting strength. Our results show that re-shaping gradient geometry, rather than re-balancing losses, is the key to mitigating unlearning-retention trade-offs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。