过滤危险内容训练数据,让大模型更抗恶意修改。
Deep Ignorance: Filtering Pretraining Data Builds Tamper-Resistant Safeguards into Open-Weight LLMs
- 从训练数据中移除双用途话题文本,构建抗篡改屏障。
- 模型经1万步攻击仍稳定,比现有方法强十倍以上。
- 适合关注开源模型安全的开发者与研究者。
开放权重的AI系统虽具透明性优势,却易受篡改攻击,通过微调权重或激活值诱导有害行为。现有安全微调等后处理技术对超过几十步的对抗性微调缺乏抵抗力。本文探索从训练数据中过滤双用途主题文本是否能预防不良能力,并提出可扩展的数据过滤流程。我们从头预训练多个69亿参数模型,发现其对高达10,000步、3亿条生物威胁相关文本的对抗性微调攻击表现出显著抵抗能力,性能优于现有后训练基线一个数量级以上,且未影响无关能力。但研究也发现,尽管模型内部未内化危险知识,若外部提供相关信息(如通过搜索工具),仍可利用。因此需多层次防御。结果表明,预训练数据筛选是开放权重系统中一种有前景的安全防线。
原文摘要 · Abstract (English)
Open-weight AI systems offer unique benefits, including enhanced transparency, open research, and decentralized access. However, they are vulnerable to tampering attacks which can efficiently elicit harmful behaviors by modifying weights or activations. Currently, there is not yet a robust science of open-weight model risk management. Existing safety fine-tuning methods and other post-training techniques have struggled to make LLMs resistant to more than a few dozen steps of adversarial fine-tuning. In this paper, we investigate whether filtering text about dual-use topics from training data can prevent unwanted capabilities and serve as a more tamper-resistant safeguard. We introduce a multi-stage pipeline for scalable data filtering and show that it offers a tractable and effective method for minimizing biothreat proxy knowledge in LLMs. We pretrain multiple 6.9B-parameter models from scratch and find that they exhibit substantial resistance to adversarial fine-tuning attacks on up to 10,000 steps and 300M tokens of biothreat-related text -- outperforming existing post-training baselines by over an order of magnitude -- with no observed degradation to unrelated capabilities. However, while filtered models lack internalized dangerous knowledge, we find that they can still leverage such information when it is provided in context (e.g., via search tool augmentation), demonstrating a need for a defense-in-depth approach. Overall, these findings help to establish pretraining data curation as a promising layer of defense for open-weight AI systems.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。