arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.31270cs.CVcs.AIcs.CLcs.CYcs.LG

从失败中学习:计算机使用代理的推理时自我改进

Learning from Failure: Inference-Time Self-Improvement for Computer-Use Agents

Stanford University(斯坦福大学);Tsinghua University(清华大学)

Xueqiao Sun, Xiaohan Wang, Ludwig Schmidt, Serena Yeung-Levy, Yuhui Zhang

AI总结:

提出失败驱动的自我改进循环,利用LLM诊断失败模式并生成代码补丁,在OSWorld基准上将OpenCUA-72B模型成功率从42.3%提升至48.9%,无需额外训练成本。

摘要:

计算机使用代理利用多模态大语言模型(MLLM)操作计算机并完成任务,因其实用性和多功能性而受到广泛关注。开发这些代理的主要挑战是收集大规模、高质量的轨迹。标准方法通过自我改进循环生成合成数据:将代理置于可验证环境中,并对其成功轨迹进行迭代微调。尽管有效,该范式仅利用成功轨迹而丢弃失败轨迹,尽管失败携带了关于模型弱点的丰富信息。在这项工作中,我们探索了一种互补的失败驱动自我改进循环,这是一种以数据为中心的范式,将失败轨迹转化为代理改进。具体来说,我们采用LLM诊断失败模式,提出推理时解决方案,并生成代码补丁——经过人工轻度验证——以升级代理。我们使用最先进的OpenCUA-72B模型在OSWorld基准上验证了该方法,将成功率从42.3%提高到48.9%,提升了6.6个百分点,且无需额外训练成本,仅需适度的推理开销。我们的结果表明,失败驱动的自我改进是基于成功的管道的可行补充,能够实现更高效的代理改进。

英文摘要:

Computer-use agents, which leverage multimodal large language models (MLLMs) to operate computers and complete tasks, have attracted significant attention for their utility and versatility. A major challenge in developing these agents is collecting large-scale, high-quality trajectories. The standard approach generates synthetic data through a self-improving loop: an agent is placed in a verifiable environment and iteratively fine-tuned on its successful trajectories. Despite its effectiveness, this paradigm exploits only successful trajectories and discards the failed ones, even though failures carry rich information about a model's weaknesses. In this work, we explore a complementary failure-driven self-improvement loop, a data-centric paradigm that turns failed trajectories into agent improvements. Specifically, we employ an LLM to diagnose failure modes, propose inference-time solutions, and generate code patches -- lightly verified by humans -- that upgrade the agent. We validate this approach with the state-of-the-art OpenCUA-72B model on the OSWorld benchmark, improving the success rate from 42.3% to 48.9%, a gain of 6.6 percentage points, without any additional training cost and with only modest inference overhead. Our results demonstrate that failure-driven self-improvement is a viable complement to success-based pipelines, enabling more efficient agent improvement.

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

↑