谷歌发现,技术债务会通过“智能体分心”导致编码智能体偏离正轨
发布时间:2026-11-26 19:58:47 作者:玩站小弟
我要评论
在最近的一篇文章中,谷歌高级软件工程师 Sam Saccone 和高级数据科学家 Madhuri Garikapati 指出了智能体分心的代价:AI 编码智能体会因陈旧的技术债务如过时的 TODO 注。
在最近的一篇文章中,谷歌高级软件工程师 Sam Saccone 和高级数据科学家 Madhuri Garikapati 指出了智能体分心的代价:AI 编码智能体会因陈旧的技术债务(如过时的 TODO 注释、已废弃的 Bug 引用和过时的规格说明)而偏离正轨,从而开始执行用户没有要求的“支线任务”。过时的规格说明、早已解决的 Bug 以及过时的文档,不再只是沉睡在代码库中那些被遗忘的角落里,而是被无意间引入了上下文中,间接地误导了下一代编码者,也就是这些智能体。按照作者的说法,在最好的情况下,智能体分心会增加令牌消耗和执行时间;在最坏的情况下,则可能会导致智能体产生“错误的逻辑和决策”。为了研究其影响,他们将研究重点放在了 TODO(bug/...) 注释上——正如他们所指出的那样,这类注释“往往在底层缺陷被修复或放弃后仍然长期地保留了下来”。通过将智能体遇到的每个 TODO 与该 TODO 的 Bug 状态及用户提示词进行交叉比对,我们可以大规模地自动区分有效的工作与无谓的绕路。通过分析来自数千名工程师的分布式跟踪数据以及数亿次智能体操作,谷歌发现,在约 13% 的会话中,智能体遇到了内联的 TODO/FIXME 引用,而在其中 6% 的案例中,智能体针对被引用的缺陷采取了行动。在大多数情况下,提示词甚至没有提及被引用的缺陷。此外,在这些没有提示的“绕道”操作中,在 41% 的情况
相关文章

Sakana AI’s CEO says its homegrown models are about more than Japan’s national security
Sakana AI , a Japanese AI startup, last month revealed plans to develop its own foundation model. Th2026-11-30
19 Best Buy Black Friday Deals on Hot Tech (2026): Up to 65% Off
Thanksgiving may be over, but Best Buy’s hottest tech deals for Black Friday are just beginning. Tha2026-11-30
The Best Herman Miller Black Friday Deals on Office Chairs, Desks, and More
Few office furniture companies have household-name recognition like Herman Miller. Renowned for icon2026-11-30
I Found the Best Black Friday Streaming Deals (2026): Apple TV, Disney, HBO Max
Black Friday streaming deals are some of the only “free money” hacks in all of shopping, and they ar2026-11-30
Voting underway in Spain’s election that could pull Madrid closer to Trump’s Washington
Voting began Sunday in Spain's snap election that could bring down socialist Prime Minister Pedro Sá2026-11-30
Best Black Friday Robot Vacuum Deals from Roborock (2026): Up to 60% Off
Robot vacuums are more expensive than ever, with models from popular brands starting anywhere from $2026-11-30

最新评论