跳到正文
DAIR.AI· @dair_ai · X·· 7 天前AI 评分48
AI 导读

MIT CSAIL 论文提出 RLM harness,用代码管理上下文并把任务拆分,使每次模型调用只看到熟悉输入。RL 下仅在短任务训练的 RLM 可泛化到长 2-64 倍的任务,且跨领域迁移。RLM-27B 经合成数据训练后,在 CTC-Bench、ExpertLongBench 等长上下文任务上平均比同 harness 的 Qwen3.8-27B 提升 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

来源:DAIR.AI · x.com