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

OpenClaw-RL: 通过对话简单训练任何智能体

OpenClaw-RL: Train Any Agent Simply by Talking

Yinjie Wang, Xuyang Chen, Xiaolong Jin, Mengdi Wang, Ling Yang

AI总结:

OpenClaw-RL通过基础设施和方法创新,利用下一步状态信号在线优化智能体。该框架统一了指令和评估信号,通过重叠引导提示选择和对数概率差裁剪稳定蒸馏,适用于个人和通用智能体。

摘要:

每个智能体交互都会生成下一步状态信号,即用户回复、工具输出、终端或GUI状态变化,但现有智能体强化学习系统未能将其作为实时在线学习源。我们提出了OpenClaw-RL框架,通过基础设施和方法创新利用下一步状态信号在线优化个人智能体。在基础设施方面,我们将现有RL系统扩展为服务器-客户端架构,其中RL服务器通过推理API托管策略,用户终端通过HTTP流回交互数据。从每个观察到的下一步状态,系统通过独立的异步服务器提取两种互补的训练信号,评估和指令信号,以确保信号提取和优化不阻塞推理。在方法方面,我们引入了一个混合RL目标,将两种信号类型统一到单个更新中:指令信号提供更丰富的token级监督,但更稀疏,而评估信号更广泛可用。为了稳定教师-学生不匹配下的蒸馏,我们提出重叠引导提示选择,选择诱导教师分布与学生top-k tokens最大重叠的提示,以及对数概率差裁剪,限制每个token的优势。应用于个人智能体时,OpenClaw-RL使智能体通过使用来改进,从用户重新查询、修正和显式反馈中恢复对话信号。应用于通用智能体时,OpenClaw-RL是首个统一现实世界智能体设置的RL框架,涵盖终端、GUI、SWE和工具调用环境,并进一步展示了下一步状态信号在长时间跨度设置中的效用。

英文摘要:

Every agent interaction generates a next-state signal, namely the user reply, tool output, terminal or GUI state change that follows each action, yet no existing agentic RL system recovers it as a live, online learning source. We present OpenClaw-RL, a framework that employs next-state signals to optimize personal agents online through infrastructure and methodology innovations. On the infrastructure side, we extend existing RL systems to a server-client architecture where the RL server hosts the policy behind an inference API and user terminals stream interaction data back over HTTP. From each observed next state, the system extracts two complementary training signals, evaluative and directive, via a separate asynchronous server so that neither signal extraction nor optimization blocks inference. On the methodology side, we introduce a hybrid RL objective that unifies both signal types in a single update: directive signals provide richer, token-level supervision but are sparser, while evaluative signals are more broadly available. To stabilize distillation under teacher-student mismatch, we propose overlap-guided hint selection, which picks the hint whose induced teacher distribution maximally overlaps with the student's top-$k$ tokens, together with a log-probability-difference clip that bounds per-token advantages. Applied to personal agents, OpenClaw-RL enables an agent to improve simply by being used, recovering conversational signals from user re-queries, corrections, and explicit feedback. Applied to general agents, OpenClaw-RL is the first RL framework to unify real-world agent settings spanning terminal, GUI, SWE, and tool-call environments, where we additionally demonstrate the utility of next-state signals in long-horizon settings.

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

↑