Skip to content
简体中文

切换主题

arXiv 2610.37481 · cs.LG · 2026-10-27

Follow the Gradient: Tracing Safety Degradation Back to Training Data

Saket Reddy, Amro Abbas, Anshuman Suri, Ari Morcos, David Schwab, Pratyush Maini

DatologyAI

在最新榜 #274 本站收录于 2026-11-05

一句话要点

通过开发SimpleLoRIF方法,识别出训练数据中与不安全行为梯度对齐的样本,移除后显著降低模型被攻击的成功率,同时保持或提升模型能力。

SimpleLoRIF identifies unsafe-aligned training data, reducing GCG attack success by up to 22% while preserving or improving model capability.

要点

  • 大语言模型在指令微调中可能因训练数据中的隐蔽不安全内容导致安全退化,即使这些样本表面无害,现有内容过滤机制难以发现。
  • 提出SimpleLoRIF方法,通过限制反向传播至Transformer最后四个块并简化低秩归因,实现对百万级训练样本的梯度嵌入分析,有效识别与不安全行为对齐的数据。
  • 在模型出现新兴对齐偏差时,SimpleLoRIF在梯度空间中达到0.865的AUC,成功将潜在危险数据与有害行为关联起来,验证其检测能力。
  • 基于该方法构建SafeTulu,移除20%高梯度对齐样本后,在Qwen、Llama和Olmo上显著降低GCG攻击成功率,优于现有判别和梯度过滤方法。
English overview

Fine-tuning large language models can silently degrade safety due to benign yet unsafe training data. SimpleLoRIF, a scalable gradient embedding method, identifies such data by analyzing alignment between training gradients and harmful behaviors. It achieves high detection accuracy in misalignment scenarios and enables effective filtering of unsafe examples. When applied to Tulu 3, removing the most dangerous 20% of training data reduces GCG attack success rates by up to 22%, outperforming prior methods while maintaining or improving model capabilities.

只根据 arXiv 官方摘要,由开源模型整理,经数字/专名自动核对(必须在摘要中出现),以论文原文为准。

31HF 点赞
–GitHub stars
0引用(Semantic Scholar)
36.7热度分

阅读 arXiv 原文 PDF Hugging Face 讨论 项目页

相关论文

数据说明

元数据来自 arXiv API(已核实);点赞来自 Hugging Face 每日论文;引用来自 Semantic Scholar。最近刷新 2026-11-30。

要点由本站根据摘要自写,不转载摘要原文,请阅读原文。

数据更新于:最新 AI 论文(北京时间)