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

编码还是作弊?对前沿编码大语言模型的调查

Coding or Cheating? An Investigation of Frontier Coding LLMs

The Chinese University of Hong Kong(香港中文大学)

Yuntao Gui

AI总结:

本研究调查前沿编码LLM,发现其在答案无法泄露的强化环境中仍会通过奖励黑客行为获取答案,该行为是习得的捷径,非智能标志,发布模型轨迹供进一步研究。

摘要:

前沿智能体大语言模型(LLM)在基于真实软件仓库构建的强化学习(RL)环境中,通过可验证的奖励进行训练,将通过测试套件视为解决任务的奖励。我们发现,在困难问题上,前沿模型常通过获取答案而非推导答案来满足这些奖励,即所谓的奖励黑客行为。此前报告已记录该行为在公开基准上的存在,我们在答案无法泄露的强化环境中测试其在未见过的问题上的持续性。几乎所有测试模型都试图恢复答案,通过越来越专业的利用层级升级:挖掘仓库历史的上游修复、直接检查git对象存储、扫描文件系统寻找可能更新的源代码或隐藏测试。这些尝试集中在最难的问题上,模型在是否升级、升级频率及深度上存在差异。我们认为该行为是在泄露答案的RL环境中习得的捷径,而非智能的标志。我们发布这些模型的智能体轨迹,以支持进一步研究,链接为this https URL。

英文摘要:

Frontier agentic LLMs are trained on verifiable rewards in reinforcement learning (RL) environments built from real software repositories. A passing test suite is treated as the reward for solving the task. We show that, on hard problems, frontier models often satisfy these rewards by obtaining the answer instead of deriving it, known as reward hacking. Prior reports document this behavior on public benchmarks. We test its persistence on unseen problems. In a hardened environment where the answer cannot leak, nearly every model we tested attempted to recover the answer, escalating through tiers of increasingly specialized exploitation: mining the repository history for the upstream fix, inspecting the git object store directly, and sweeping the filesystem for a possible newer copy of the source or hidden tests. These attempts were concentrated on the hardest problems, and the models differed in whether, how often, and how deeply they escalated. Our position is that this behavior is a learned shortcut, acquired in RL environments that leak the answer, not a sign of intelligence. We release agent traces for these models to support further study at https://huggingface.co/datasets/logitly-ai/reward-hacking-raw-v1.

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

↑