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

智能体即一切:面向大语言模型遗忘的ALU方法

Agents Are All You Need for LLM Unlearning

RespAI Lab, School of Computer Engineering, KIIT Bhubaneswar(RespAI实验室,计算机工程学院,KIIT大学)

Debdeep Sanyal, Murari Mandal

AI总结:

提出首个多智能体、无需重训的推理时LLM遗忘框架ALU,在保持实用性的同时实现高效遗忘,并在多个基准上展现最稳健性能。

摘要:

在大语言模型(LLM)中移除或抑制信息是一项期望的功能,在AI监管、法律合规、安全和隐私方面非常有用。LLM遗忘方法旨在按需从LLM中移除信息。当前的LLM遗忘方法由于目标之间的竞争性,难以平衡遗忘效果和实用性。在计算上保持遗忘过程可行且不假设能访问模型权重,是一个被忽视的领域。在这项工作中,我们表明智能体可能正是实现有效且实用的推理时LLM遗忘所需的一切。我们提出了第一种智能体LLM遗忘(ALU)方法,这是一种多智能体、无需重新训练、模型无关的LLM遗忘方法,在保持实用性的同时实现有效遗忘。我们的ALU框架通过涉及多个LLM智能体来进行遗忘,每个智能体专为遗忘过程中的特定步骤设计,无需更新框架中任何智能体的模型权重。用户可以轻松地以任意顺序请求任意一组遗忘实例,ALU会实时无缝适应。这无需对底层LLM模型进行任何更改即可实现。通过在已建立的基准(TOFU、WMDP、WPU)和越狱技术(多轮射击、目标掩蔽、其他语言)上进行的大量实验,我们证明ALU始终是当前最先进方法中最稳健的推理时LLM遗忘框架,同时其时间成本在遗忘目标数量变化时保持基本恒定。我们进一步强调,在大规模评估时,ALU相比现有方法表现出更优越的性能。具体来说,ALU在多达1000个遗忘目标上进行了评估,超出了所有先前提出的LLM遗忘方法的评估范围。

英文摘要:

Information removal or suppression in large language models (LLMs) is a desired functionality, useful in AI regulation, legal compliance, safety, and privacy. LLM unlearning methods aim to remove information on demand from LLMs. Current LLM unlearning methods struggle to balance the unlearning efficacy and utility due to the competing nature of these objectives. Keeping the unlearning process computationally feasible without assuming access to the model weights is an overlooked area. In this work we show that \textit{agents might be all we need for effective and practical inference-time LLM unlearning}. We present the first agentic LLM unlearning (\texttt{ALU}) method, a multi-agent, retrain-free, model-agnostic approach to LLM unlearning that achieves effective unlearning while preserving the utility. Our \texttt{ALU} framework unlearns by involving multiple LLM agents, each designed for a specific step in the unlearning process, without the need to update model weights for any of the agents in the framework. Users can easily request any set of unlearning instances in any sequence, and \texttt{ALU} seamlessly adapts in real time. This is facilitated without requiring any changes in the underlying LLM model. Through extensive experiments on established benchmarks (TOFU, WMDP, WPU) and jailbreaking techniques (many shot, target masking, other languages), we demonstrate that \texttt{ALU} consistently stands out as the most robust inference-time LLM unlearning framework among current state-of-the-art methods while incurring time cost that remains effectively constant regardless of the number of unlearning targets. We further highlight \texttt{ALU}'s superior performance compared to existing methods when evaluated at scale. Specifically, \texttt{ALU} is assessed on up to 1000 unlearning targets, exceeding the evaluation scope of all previously proposed LLM unlearning methods.

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

↑