arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.14118cs.AIcs.CL
收藏

ClawLoop:通过原生 harness 训练循环实现自改进智能体

ClawLoop: Self-Improving Agents via Harness-Native Training Loop

Meituan(美团);Peking University(北京大学)

Hansi Yang, Linji Hao, Hongyan Hao, An Wang, Han Wu, Qi Gu, Xunliang Cai

AI总结:

ClawLoop 是无需外部教师的自改进智能体框架,通过任务合成、训练、诊断反馈的自循环,在多基准测试中提升智能体性能,且优化后任务可迁移至更小模型。

摘要:

大型语言模型(LLM)的快速发展推动其向通用 harness 环境部署,基于 LLM 的智能体在沙箱工作空间中运行,可直接与文件系统和 shell 交互。尽管已有大量针对工具使用智能体的后训练流程,但针对基于 harness 的智能体的流程仍较为稀缺,且大多为一次性且依赖教师:更强的外部模型合成任务并收集轨迹,目标智能体仅训练一次,评估结果由人类研究人员使用,而非反馈回循环中。此类流程本质上受限于外部模型的能力和人类先验的范围,无自改进空间。为解决这些限制,我们提出 ClawLoop 框架,该框架无需任何外部教师模型且依赖极少先验即可实现自改进。ClawLoop 将三个阶段组合为自维持循环:任务合成阶段通过两种互补构建例程生成多样化训练任务池,应用诊断条件难度增长,随后进行无智能体和基于智能体的任务验证;训练阶段通过 SFT(监督微调)和/或 RL(强化学习)更新智能体;诊断与反馈阶段分析智能体的 rollout(推理过程)行为,生成能力分析报告,该报告将作为反馈用于下一轮迭代的任务合成。使用 Qwen3.6-27B 作为循环模型,ClawLoop 在 SkillsBench、Claw-Eval-Live 和 ClawGym-Bench 上实现了持续改进;迭代优化后的任务进一步迁移至小规模 Qwen3.5-4B 和 9B 模型,在所有基准测试中均取得提升,验证了数据质量独立于循环模型。

英文摘要:

The rapid advancement of Large Language Models (LLMs) has driven their deployment toward general-purpose harness environments, where LLM-based agents operate in sandbox workspaces and interact directly with file systems and shells. While numerous post-training pipelines exist for tool-use agents, their counterparts for harness-based agents remain scarce and are predominantly one-shot and teacher-dependent: a stronger external model synthesizes tasks and collects trajectories, the target agent is trained once, and evaluation results are consumed by human researchers rather than fed back into the loop. Such pipelines are inherently bounded by the capability of the external model and the scope of human prior, leaving no room for self-improvement. To address these limitations, we propose ClawLoop, a framework that enables self-improving without any external teacher model and with minimal prior dependencies. ClawLoop composes three phases into a self-sustaining cycle: Task Synthesis, which generates a diverse pool of training tasks via two complementary construction routines, applies diagnosis-conditioned difficulty growth followed by both agent-free and agent-based task validation; Training, which updates the agent via SFT and/or RL; and Diagnosis and Feedback, which analyzes the agent's rollout behaviors to produce a capability analysis report that will be used as feedback for task synthesis in the next iteration. Using Qwen3.6-27B as the loop model, ClawLoop yields consistent improvements on SkillsBench, Claw-Eval-Live, and ClawGym-Bench. The iteratively refined tasks are further transferred to smaller-scale Qwen3.5-4B and 9B models with gains across all benchmarks, validating data quality independently of the loop model.

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

↑