arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.16255cs.CRcs.AI
收藏

使用审计智能体检测对抗性微调

Detecting Adversarial Fine-tuning with Auditing Agents

MATS & Anthropic Fellows Program(MATS与Anthropic Fellow项目);Thinking Machines Lab(Thinking Machines实验室);Anthropic

Sarah Egler, John Schulman, Nicholas Carlini

AI总结:

本文提出微调审计智能体,通过检查数据集及微调前后模型为微调任务评分,以在部署前检测隐含有害的对抗性微调。

摘要:

大型语言模型(LLM)提供商开放了微调 API,允许最终用户微调其前沿 LLM。不幸的是,已有研究表明,拥有 LLM 微调访问权限的攻击者可以绕过安全防护措施。尤其令人担忧的是,此类攻击可能仅使用具有隐含危害性的数据集来逃避检测。我们的工作研究用于检测微调 API 对抗性使用的鲁棒检测机制。我们引入了微调审计智能体的概念,并证明它可以在模型部署之前检测有害微调。我们让审计智能体能够访问微调数据集以及微调后和微调前的模型,并要求该智能体为微调任务分配风险评分。我们在文献中的八种强微调攻击以及五个良性微调模型组成的多样化集合上评估了我们的检测方法,总计进行了超过 1400 次独立审计。这些攻击无法通过对数据集进行基础内容审核来检测,凸显了该任务的挑战性。在最佳功能集合下,我们的审计智能体在 1% 误报率下实现了 56.2% 的对抗性微调检测率。最有前景的是,该审计器能够检测规避安全评估和数据集内容审核的隐蔽密码攻击。尽管伴随无意且细微安全退化的良性微调仍是一项挑战,但我们为该领域的进一步工作建立了基线配置。我们在 https://github.com/safety-research/finetuning-auditor 发布了审计智能体。

英文摘要:

Large Language Model (LLM) providers expose fine-tuning APIs that let end users fine-tune their frontier LLMs. Unfortunately, it has been shown that an adversary with fine-tuning access to an LLM can bypass safeguards. Particularly concerning, such attacks may avoid detection with datasets that are only implicitly harmful. Our work studies robust detection mechanisms for adversarial use of fine-tuning APIs. We introduce the concept of a fine-tuning auditing agent and show it can detect harmful fine-tuning prior to model deployment. We provide our auditing agent with access to the fine-tuning dataset, as well as the fine-tuned and pre-fine-tuned models, and request the agent assigns a risk score for the fine-tuning job. We evaluate our detection approach on a diverse set of eight strong fine-tuning attacks from the literature, along with five benign fine-tuned models, totaling over 1400 independent audits. These attacks are undetectable with basic content moderation on the dataset, highlighting the challenge of the task. With the best set of affordances, our auditing agent achieves a 56.2% detection rate of adversarial fine-tuning at a 1% false positive rate. Most promising, the auditor is able to detect covert cipher attacks that evade safety evaluations and content moderation of the dataset. While benign fine-tuning with unintentional subtle safety degradation remains a challenge, we establish a baseline configuration for further work in this area. We release our auditing agent at https://github.com/safety-research/finetuning-auditor.

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

↑