arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.03567cs.LGcs.CLcs.CRcs.CYmath.OC
收藏

机器学习遗忘与对抗鲁棒性的统一:基于LLM约束干预的方法

Machine Unlearning Meets Adversarial Robustness via Constrained Interventions on LLMs

Department of Computer Science, Université Paris-Dauphine(巴黎-索邦大学计算机科学系);Institute of Mathematics, EPFL(苏黎世联邦理工学院数学研究所);Computational Engineering Lab, Empa(Empa计算工程实验室)

Fatmazohra Rezkellah, Ramzi Dakhmouche

AI总结:

本文提出一种基于约束干预的LLM遗忘与对抗鲁棒性统一方法,通过最小权重调整实现敏感信息遗忘和越狱攻击防御,无需预言机分类器,性能优于现有方法。

摘要:

随着大型语言模型(LLMs)的日益普及,需要更多的定制化来确保隐私保护和安全的生成。我们从两个关键方面解决这一目标:敏感信息的遗忘和对越狱攻击的鲁棒性。我们研究了各种约束优化公式,通过寻找对LLM权重的最小可能干预,以统一的方式处理这两个方面,这些干预要么使给定的词汇集不可达,要么通过将部分权重转移到更安全的区域,使LLM具备针对定制攻击的鲁棒性。除了统一两个关键属性外,这种方法与以往工作的不同之处在于,它不需要通常不可用或代表计算开销的预言机分类器。令人惊讶的是,我们发现我们提出的最简单的基于逐点约束的干预方法,其性能优于最大最小干预,同时计算成本更低。与最先进的防御方法相比,所提出的方法表现出优越的性能。

英文摘要:

With the increasing adoption of Large Language Models (LLMs), more customization is needed to ensure privacy-preserving and safe generation. We address this objective from two critical aspects: unlearning of sensitive information and robustness to jail-breaking attacks. We investigate various constrained optimization formulations that address both aspects in a \emph{unified manner}, by finding the smallest possible interventions on LLM weights that either make a given vocabulary set unreachable or embed the LLM with robustness to tailored attacks by shifting part of the weights to a \emph{safer} region. Beyond unifying two key properties, this approach contrasts with previous work in that it doesn't require an oracle classifier that is typically not available or represents a computational overhead. Surprisingly, we find that the simplest point-wise constraint-based intervention we propose leads to better performance than max-min interventions, while having a lower computational cost. Comparison against state-of-the-art defense methods demonstrates superior performance of the proposed approach.

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

↑