MIT CSAIL 论文:RLM 框架可让 LLM 实现组合泛化
MIT CSAIL 这篇论文回应了“模型会不会吃掉框架”的争论:RLM 框架用代码拆分任务,短任务 RL 训练能泛化到 64 倍长的任务。做 Agent 和长上下文应用的开发者可以直接抄它的 surrogate 训练方法,省 token 又提分。
MIT CSAIL 的新论文提出,框架(harness)本身可以让 LLM 获得更强的泛化能力,而不仅仅依赖模型自身的上下文处理。标准框架会把全部内容堆进上下文,导致模型面对与训练分布不同的输入;RLM 框架则用代码管理上下文并拆分任务,让每次模型调用都看到熟悉的输入形式。
在强化学习下,仅用短任务训练的 RLM 能泛化到长度 2 至 64 倍的任务,单一领域训练还能迁移到有共同结构的新领域。对于复杂任务,他们提出 surrogate harness training,在合成的简单环境里用假工具和子调用训练框架内的单次调用。
基于 Qwen3.8-27B 训练的 RLM-27B 在 CTC-Bench、ExpertLongBench 等长上下文任务上平均提升 26.9%,且 token 消耗约减少一半。论文建议:如果长轨迹训练成本高,可先在短合成任务上训练框架内的单次调用。
Banger paper from MIT CSAIL.
(bookmark it)
It discusses how harnesses can generalize compositionality. In other words, harnesses can push LLMs further (with stronger generalization effects) through existing LLM capabilities.
There is a huge debate on whether models will eat harnesses, but this work shows the power of custom harnesses and why they will continue to matter.
Standard harnesses keep adding to the context, so the model has to handle inputs unlike anything it trained on. An RLM harness manages context in code and splits a task so each model call sees a familiar input, even when the full task is new.
Under RL, RLMs trained only on short tasks generalized to tasks 2 to 64 times longer, and training on one domain transferred to new domains with shared structure.
For complex tasks, they train individual calls inside the harness on easier synthetic environments with fake tools and sub-calls. They call this surrogate harness training.
RLM-27B, trained this way on synthetic data, improves Qwen3.8-27B in the same harness by 26.9% on average on hard long-context tasks like CTC-Bench and ExpertLongBench, with about 2 times fewer tokens.
If long trajectories are expensive to train on, try training the individual calls inside your harness on short synthetic tasks first.
https://arxiv.org/abs/2611.28298
Chat with Paper: https://academy.dair.ai/papers/language-model-harnesses-can-be-compositional-generalizers-2611.28298
本条情报归属 AITOP「论文」核心栏目,重点聚焦北美前沿实验室与硅谷科技巨头。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:RLM、Qwen3.8-27B、强化学习、长上下文,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。
信源核验说明:本文原始线索采编自「DAIR.AI」(@dair_ai),经 AITOP 多维评分管线结构化提炼。