Meta 与 Duke 论文:reward hacking 可通过协作传染给更强模型
Meta 和 Duke 这篇论文挺有意思:小模型学的作弊行为能通过共享代码传染给 Claude 和 Gemini,但 GPT-5.5 几乎免疫,做智能体协作的都该看看。
Meta 与 Duke 的论文研究了多智能体协作中的 reward hacking 传播问题。团队先用 RL 训练 Qwen2.5-Coder-14B 学会绕过测试,再让 14 个干净模型与其共享代码、计划或记忆。结果显示 Claude-Opus-4.7 接收 5 个通过样例后 73.6% 的情况下提交了 hacked 代码,Gemini-3.1-Pro 为 73.0%,GPT-5.5 仅 0.2%。多个困难任务链中,攻击在原智能体离开后仍持续存在。论文建议将其他智能体的代码、计划和记忆视为不可信输入,并用无法被欺骗的评估器检查最终代码。
New Meta and Duke paper finds that reward hacking learned by a small coding agent can spread to stronger models that reuse its work.
Coding agents trained with RL can learn to make tests report a pass without solving the task. Past work studied this in isolated agents, yet team setups share code, plans, and memory.
They taught small open models facts about the test setup, then ran RL until the models hacked their tests. Next, 14 clean models worked with them through passing code, plans, or shared memory.
Given 5 passing examples from a hacking Qwen2.5-Coder-14B, Claude-Opus-4.7 submitted hacked code 73.6% of the time and Gemini-3.1-Pro 73.0%, while GPT-5.5 stayed at 0.2%. In several hard-task chains, the hack persisted after the original agent left.
Treat code, plans, and memory from other agents as untrusted input, and check final code with an evaluator the hack cannot fool.