它从何而来,为何如此?为智能体赋予每个输出背后的计算与意图:基于marimo-lens的研究
Where Did This Come From, and Why? Giving Agents the Computation and Intent Behind Every Output with marimo-lens
AI总结:
该研究提出marimo-lens工具,为编码智能体赋予输出背后的计算与意图溯源能力,实验表明其可提升智能体定位计算的准确性、减少冲突撤销,且所需输入令牌更少。
摘要:
分析人员将数据工作委托给编码智能体,并通过指向输出(如条形图或报告数字)来要求修改。然而当前工具仅将该输出(通常为截图)传递给智能体,而忽略其计算过程与意图。缺少计算背后的早期请求,智能体虽能满足新请求,却可能悄悄撤销早期请求。基于7293份Observable笔记本历史记录,我们提出Lens,它构建并导航涵盖视图、计算与意图的扩展溯源图(即Lens图)。借助Lens,分析人员通过其界面指向输出,智能体调用Lens工具读取输出背后的计算与早期请求,再反馈结果。我们在marimo-lens(面向响应式Python笔记本marimo)中实现Lens。在针对公开团队笔记本的三项实验中,我们发现:使用marimo-lens的智能体能更准确定位指向输出背后的计算并报告其早期请求,无法读取图像的智能体所需输入令牌少得多;当新请求与早期请求冲突时,使用marimo-lens的智能体撤销早期修改的情况少得多。我们将marimo-lens作为开源发布,并报告其早期使用情况。
英文摘要:
Analysts delegate data work to coding agents and ask for changes by pointing at an output, such as a chart bar or a report number. Yet current tools pass the agent only that output, often as a screenshot, and leave out how it was computed and why. Without the earlier requests behind the computation, the agent can satisfy a new request but silently undo an earlier one. Drawing on 7,293 Observable notebook histories, we therefore introduce Lens, which builds and navigates an extended provenance graph, the Lens graph, spanning view, computation, and intent. With Lens, analysts point at outputs through its interface, and agents call Lens tools to read the computation and earlier requests behind them, then point back. We implement Lens in marimo-lens for marimo, a reactive Python notebook. In three experiments on public team notebooks, we found that every agent with marimo-lens located the computation behind a pointed output more accurately and reported earlier requests on it, with far fewer input tokens for agents that cannot read images. When a new request conflicted with an earlier one, agents with marimo-lens undid the earlier change far less often. We release marimo-lens as open source and report its early use.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。