关注差距:一种用于文档维护的已部署多智能体系统
Mind the Gap: A Deployed Multi-Agent System for Documentation Maintenance
AI总结:
该研究针对文档与代码的差距问题,部署了以TriAgent为核心的多智能体系统,经43天测试,其可有效识别文档差距,修复后能显著提升智能体回答质量。
摘要:
“AI革命”已使科技行业的团队能够以前所未有的速度交付软件功能。尽管代码的演变速度比以往任何时候都快,但面向用户的文档往往难以跟上进度。随着用户越来越依赖以文档作为主要接口的基于LLM的智能体,这种文档差距的影响愈发严重:过时的信息会传播并被视为权威。用于识别文档落后位置的信号已经大量存在,包括显式信号(例如,已解决的支持工单,揭示了文档所缺失的内容)和隐式信号(例如,可从自动化循环中检测到的代码-文档差异)。我们部署了一种围绕名为“TriAgent”的分诊智能体构建的多智能体系统,该系统可持续提取这些信号并修复文档偏差。在43天的影子模式运行中,我们的系统对499张工单进行了分诊,并发现了92处文档差距。使用来自独立模型家族的LLM评审小组,TriAgent的可验证断言中有81.1%是正确的(302项断言中,有245项经人工解决处理;由三名评审员多数判定);在长度可比的配对中,评审小组在70.5%的配对中偏好TriAgent的响应,在23.2%的配对中偏好人工工程师的响应(其余配对无评审员多数意见)。重要的是,智能体和人工来源的回复往往具有互补性,人工回复通常会揭示现有文档中隐藏或完全缺失的见解;我们的系统将每一个此类见解转化为文档差距,并经人工审核后进行修复。修复差距可显著改进智能体后续的回答:当智能体在修复后重新回答同一张工单时,盲审评审员在71.4%的情况下偏好修复后的回答(样本量n=35)。盲审人工审计证实该系统在自我改进方面具有很强的一致性。
英文摘要:
The "AI revolution" has enabled teams across the technology industry to deliver software features at unprecedented velocity. While code evolves faster than ever, customer-facing documentation often struggles to stay up to speed. As users increasingly rely on LLM-based agents that consume documentation as their primary interface, the impact of this documentation gap worsens: stale information propagates and is treated as authoritative. Signals for identifying where documentation has fallen behind already exist in abundance, both explicit (e.g., resolved support tickets revealing what documentation lacks) and implicit (e.g., code-documentation discrepancies detectable from automated loops). We deploy a multi-agent system, built around a triage agent we call "TriAgent," that continuously extracts these signals and repairs documentation drift. Over 43 days of shadow-mode operation, our system triaged 499 tickets and surfaced 92 gaps in the documentation. Using a panel of LLM judges from independent model families, 81.1% of TriAgent's verifiable assertions were correct (245 of the 302 assertions the human resolution addresses; majority of three judges); on length-comparable pairs the panel preferred TriAgent's response in 70.5% of pairs and the human engineer's in 23.2% (the rest had no judge majority). Importantly, agent- and human-sourced replies tended to be complementary, with the human often surfacing insights that were either buried within the existing documentation or missing from it entirely; our system turns each such insight into a documentation gap and, after human review, a fix. Repairing a gap measurably improved the agent's later answer: when the agent re-answered the same ticket after the repair, blinded judges preferred the post-repair answer over its own pre-repair answer 71.4% of the time (n=35). A blinded human audit confirms strong alignment on self-improvement.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。