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

恢复-遗忘:从LoRA恢复梯度以实现高效的LLM反学习

Recover-to-Forget: Gradient Reconstruction from LoRA for Efficient LLM Unlearning

University of California, Irvine(加州大学尔湾分校);Purdue University Northwest(普渡大学西北分校)

Yezi Liu, Hanning Chen, Wenjun Huang, Yang Ni, Mohsen Imani

AI总结:

R2F通过从LoRA适配器更新中恢复梯度方向,实现高效LLM反学习,无需完整微调或内部参数访问。

摘要:

在大型基础模型(如LLM)中进行反学习对于实现动态知识更新、执行数据删除权和纠正模型行为至关重要。然而,现有的反学习方法通常需要完整的模型微调或访问原始训练数据,这限制了它们的可扩展性和实用性。在本工作中,我们引入了Recall-to-Forget(R2F),一种基于从低秩LoRA适配器更新中恢复完整模型梯度方向的新型框架,用于在LLM中高效地进行反学习。与其通过完整模型进行反向传播,我们使用多个改写后的提示计算相对于LoRA参数的梯度,并训练一个梯度解码器来近似相应的完整模型梯度。为了确保适用于更大或黑盒模型,解码器是在代理模型上训练并转移到目标模型上。我们提供了跨模型泛化性的理论分析,并证明我们的方法在实现有效反学习的同时保持了通用模型性能。实验结果表明,R2F为预训练LLM的反学习提供了一种可扩展且轻量的替代方案,无需完整的重新训练或访问内部参数。

英文摘要:

Unlearning in large foundation models (e.g., LLMs) is essential for enabling dynamic knowledge updates, enforcing data deletion rights, and correcting model behavior. However, existing unlearning methods often require full-model fine-tuning or access to the original training data, which limits their scalability and practicality. In this work, we introduce Recover-to-Forget (R2F), a novel framework for efficient unlearning in LLMs based on reconstructing full-model gradient directions from low-rank LoRA adapter updates. Rather than performing backpropagation through the full model, we compute gradients with respect to LoRA parameters using multiple paraphrased prompts and train a gradient decoder to approximate the corresponding full-model gradients. To ensure applicability to larger or black-box models, the decoder is trained on a proxy model and transferred to target models. We provide a theoretical analysis of cross-model generalization and demonstrate that our method achieves effective unlearning while preserving general model performance. Experimental results demonstrate that R2F offers a scalable and lightweight alternative for unlearning in pretrained LLMs without requiring full retraining or access to internal parameters.

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

↑