跳到正文
数字商店
原文
Omar Khattab· @lateinteraction · X·· 11 天前AI 评分60
AI 导读

研究人员在论文中指出,组合式 Harness 架构相比标准编码智能体能在强化学习算力上取得更高回报。在强化学习后训练中,RLM 能相对容易地将杂乱观察重塑为底层神经网络 LLM 熟悉的组合问题。该架构提炼出上下文卸载、编程式工具调用与子智能体调用等机制,通过保持轨迹局部同分布来提升长任务训练效率并已开源完整资料。

正文 · AI 翻译

与标准编程智能体相比,组合式框架(如 RLM)能让你的 RL 算力获得更好的回报。

在 RL 后训练过程中,RLM 相对容易地学会如何把自身杂乱的观察重塑为底层神经 LLM 所熟悉问题的组合。

相比传统的只追加式框架(约等于带压缩的 ReAct),Alex 隔离出一组"框架抽象",它们*共同*实现了组合泛化:上下文卸载、程序化工具调用,以及子智能体调用。

引用alex zhang@a1zhang
工具框架(Harness)曾是弱 LLM 的拐杖。从 2026 年起,随着模型变得更强,工具框架现在提供了一种机制,可以将 LLM 现有的和新获得的能力组合起来,从而泛化到远超其训练环境的场景。 在我们新发表的论文《LM Harnesses are Compositional Generalizers》中,我们探讨了各种工具框架抽象如何使 LM 系统通过组合现有 LLM 能力,在任务长度、任务策略、递归任务深度等方面实现泛化。这些抽象通过让轨迹在局部保持分布内(LID)——即塑造每一次单独的 LLM 调用使其处于分布内——提供了一种更高效利用数据的训练方式,尤其是在长任务上。 对于需要极长时间才能完成 rollout 的任务,这意味着我们甚至可以进行替代性工具框架训练(surrogate harness training),也就是说,我们训练单次 LLM 调用,而不执行非常长的工具框架 rollout,并且完全使用合成任务、假的工具调用 + 子代理! 一个流行的观点是 LLM 终将吸收工具框架并使其过时。我们不同意这个观点,并认为我们还没有充分探索工具框架所能提供的东西。 完整论文、日志、代码库和数据均已公开:https://t.co/AXBjdoqmiz 与 @SOURADIPCHAKR18 @lateinteraction 合作
原文

Harnesses used to be a crutch for weak LLMs. In 2026 and onward, with stronger models, harnesses now offer a mechanism for composing an LLM’s existing and new capabilities to generalize well beyond their training environments. In our new paper, LM Harnesses are Compositional Generalizers, we explore how various harness abstractions enable LM systems to generalize over task length, task strategies, recursive task depth, and more through composing existing LLM capabilities. These abstractions provide a means for more data-efficient training, especially over long tasks, by keeping trajectories locally in-distribution (LID) — i.e., shaping all individual LLM calls to be in-distribution. For tasks that take a very long time to roll out, this implies that we can even perform surrogate harness training, meaning we train an individual LLM call instead of doing the very long harness rollout, using purely synthetic tasks, with fake tool calls + sub-agents! A common idea floating around is that LLMs will absorb harnesses and make them obsolete. We disagree, and argue that we haven’t sufficiently explored what harnesses can provide. The full paper, logs, codebase, and data are available: https://t.co/AXBjdoqmiz w/ @SOURADIPCHAKR18 @lateinteraction

在 X 查看被引用的帖子

来源:Omar Khattab · x.com