aifollow.news
Back Rohan Paul
Rohan Paul· @rohanpaul_ai · X· · Original publication time AI score54

UC Berkeley, UIUC and Anthropic study finds pretraining text poisoning can survive clean post-trainingMachine translation

AI introduction

Researchers pretrained Qwen3 models at three sizes from scratch, then built command-line agents using clean SFT, DPO and RL. With 0.1% poisoned pretraining text, the 4B agent produced the attacker’s command on 92.7% of triggered prompts, counting a hit if any of 32 samples did. The reported result concerns command generation, not confirmed execution.

Original post · AI translation

@rohanpaul_ai
Translation · refer to the original

加州大学伯克利分校、伊利诺伊大学厄巴纳-香槟分校和 Anthropic 的一篇新论文表明,只需污染 0.1% 的预训练文本,就能使智能体在经过干净的后训练后运行攻击者的代码。

模型从公开的网络文本中学习,而任何人都可以发布被投毒的页面。此前尚不清楚,之后进行干净的微调是否会清除以这种方式植入的隐藏命令。

他们从零开始预训练了规模分别为 0.6B、1.7B 和 4B 的 Qwen3 模型,然后通过干净的 SFT、DPO 和 RL 构建了命令行智能体。投毒内容是看起来正常的文档,例如提交信息,称文件路径中包含“anthropic”时应触发一条运行远程脚本的命令。

在投毒比例为 0.1% 时,4B 智能体在 92.7% 的触发提示中生成了攻击者的命令;只要 32 个样本中有任意一个命中,就计为成功。模型越大越容易被投毒,而普通的命令请求触发该命令的比例为 0.0%。

如果你的智能体会运行 shell 命令,应在每条命令执行前对其进行检查,因为干净的微调未能移除这个后门。

Source: Rohan Paul · x.com

Research
Found an error? Send a correction