arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2504.04626cs.LG
收藏

通过大规模模型合并实现微调数据的精确遗忘

Exact Unlearning of Finetuning Data via Model Merging at Scale

Carnegie Mellon University(卡内基梅隆大学)

Kevin Kuo, Amrith Setlur, Kartik Srinivas, Aditi Raghunathan, Virginia Smith

AI总结:

本文提出 SIFT-Masks 精确遗忘方法,通过局部掩码恢复任务性能并利用全局符号向量约束微调,在合并多达 500 个模型的实验中相比朴素合并提升准确率 5-80%,并将精确遗忘计算量降低最高 250 倍。

摘要:

近似遗忘作为一种高效更新大语言模型(LLM)的方法已获得广泛关注,其目标是使模型表现得(大致)如同从一开始就未在某一数据子集上训练过。然而,现有方法在实践中较为脆弱,容易受到攻击从而泄露本应被遗忘的信息。为缓解近似遗忘存在的问题,我们提出 SIFT-Masks(符号固定微调掩码,SIgn-Fixed Tuning-Masks),这是一种基于模型合并的精确遗忘方法。SIFT-Masks 解决了标准模型合并的两个关键局限:(1)合并大量任务会严重损害模型效用;(2)通过跨任务共享额外信息来提升效用的方法会使精确遗忘的代价高得难以承受。SIFT-Masks 通过以下方式解决这些问题:(1)应用局部掩码以恢复任务特定性能;(2)将微调约束为与全局符号向量对齐,作为一种轻量级方法在合并前独立确定掩码。在合并多达 500 个模型的四种设置中,SIFT-Masks 相比朴素合并将准确率提高了 5-80%,并且与其他合并基线相比,精确遗忘所需的计算量减少了最高 250 倍。

英文摘要:

Approximate unlearning has gained popularity as an approach to efficiently update an LLM so that it behaves (roughly) as if it was not trained on a subset of data to begin with. However, existing methods are brittle in practice and can easily be attacked to reveal supposedly unlearned information. To alleviate issues with approximate unlearning, we instead propose SIFT-Masks (SIgn-Fixed Tuning-Masks), an exact unlearning method based on model merging. SIFT-Masks addresses two key limitations of standard model merging: (1) merging a large number of tasks can severely harm utility; and (2) methods that boost utility by sharing extra information across tasks make exact unlearning prohibitively expensive. SIFT-Masks solves these issues by (1) applying local masks to recover task-specific performance; and (2) constraining finetuning to align with a global sign vector as a lightweight approach to determine masks independently before merging. Across four settings where we merge up to 500 models, SIFT-Masks improves accuracy by 5-80% over naive merging and uses up to 250x less compute for exact unlearning compared to other merging baselines.

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

↑