Language Model Harnesses can be Compositional Generalizers
Not on the map. Why?
Abstract (arXiv)
Modern language models (LMs) are post-trained and deployed as agents inside a "harness", but standard harness designs accumulate context that the neural network is forced to generalize to, making training for long-horizon tasks expensive and time-consuming. We study an alternative emerging path: training inherently neurosymbolic LM harnesses, which externalize and manage context programmatically to compose existing LM capabilities. We hypothesize that training around these harnesses can offer a better return on compute by enabling compositional generalization, as they can learn to decompose complex problems so that every observation their neural LM receives is locally in-distribution, even when the full task is novel. We find that harnesses like the Recursive Language Model (RLM) learn such decompositions readily under reinforcement learning post-training: (1) we demonstrate that training only on short tasks can generalize to tasks 2-64× longer while the base neural LM improves less, and (2) training on one domain transfers to novel domains that share latent structure. On messier, complex tasks, we find that we can target individual LLM calls within a harness by generating and training on easier, synthetically generated surrogate environments with fake tool / sub-calls, a technique we call surrogate harness training. From this finding, we train RLM-27B on synthetic data, and show it improves Qwen3.8-27B in the same RLM harness on a hard suite of long-context tasks like CTC-Bench and ExpertLongBench by 26.9% on average while using ~2× fewer tokens at inference time. Finally, we show that harnesses can compose over these newly learned decompositions using recursive sub-harness calls.
Key facts. Cited by 1 paper in the map (data through 24 Nov 2026). Builds on 33 of its 88 references that are in the map. Submitted 20 Nov 2026, announced 24 Nov 2026.
Builds on
33 of 88 references.
References · 33
- 2017Attention Is All You Needcited by 62,125
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 10,542
- 2025Qwen3 Technical Reportcited by 9,994
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 9,360
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,986
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
- 2017Decoupled Weight Decay Regularizationcited by 2,165
- 2025OpenAI GPT-5 System Cardcited by 1,090
- 2024Executable Code Actions Elicit Better LLM Agentscited by 633
- 2025BrowseComp-Plus: A More Fair and Transparent Evaluation Benchmark of Deep-Research Agentcited by 226
- 2022OpenAlex: A fully-open index of scholarly works, authors, venues, institutions, and conceptscited by 219
- 2025Recursive Language Modelscited by 126
21 more
- 2024Michelangelo: Long Context Evaluations Beyond Haystacks via Latent Structure Queriescited by 109
- 2026DeepSWE: Measuring Frontier Coding Agents on Original, Long-Horizon Engineering Taskscited by 103
- 2024One Thousand and One Pairs: A "novel" challenge for long-context language modelscited by 84
- 2026ProgramBench: Can Language Models Rebuild Programs From Scratch?cited by 81
- 2025LongReason: A Synthetic Long-Context Reasoning Benchmark via Context Expansioncited by 59
- 2025Oolong: Evaluating Long Context Reasoning and Aggregation Capabilitiescited by 45
- 2025LongProc: Benchmarking Long-Context Language Models on Long Procedural Generationcited by 37
- 2024Ada-LEval: Evaluating long-context LLMs with length-adaptable benchmarkscited by 34
- 2026LongBench Pro: A More Realistic and Comprehensive Bilingual Long-Context Evaluation Benchmarkcited by 27
- 2025How Many Instructions Can LLMs Follow at Once?cited by 25
- 2026Brittlebench: Quantifying LLM robustness via prompt sensitivitycited by 25
- 2026Prime Agent: A Self-Improving RLM Harnesscited by 25
- 2026OBLIQ-Bench: Exposing Overlooked Bottlenecks in Modern Retrievers with Latent and Implicit Queriescited by 12
- 2026Context Language Modelscited by 12
- 2026CorpusQA: A 10 Million Token Benchmark for Corpus-Level Analysis and Reasoningcited by 10
- 2026GoLongRL: Capability-Oriented Long Context Reinforcement Learning with Multitask Alignmentcited by 8
- 2026Recursive Agent Optimizationcited by 7
- 2026Information Abundance Paradox: Long-Context Training Undermines Parametric Knowledgecited by 2
- 2026No More Free Lunch: Corpus Task Complexity Matters as Corpora Growcited by 1
- 2026Defining and Generating Compositional Structurecited by 1
- 2026On the Fragility of Tasks under Composition: Implicit Budgeting in Language Modelscited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2025Compositional Instruction Following with Language Models and Reinforcement Learning
- 2026Can Large Language Models Generalize Procedures Across Representations?
- 2026From Reasoning Traces to Reusable Modules: Understanding Compositional Generalization in Language Model Reasoning
- 2024Scaffolded Language Models with Language Supervision for Mixed-Autonomy: A Survey
- 2026Compositional Reasoning in Language Models under Reinforcement Learning Post-Training
- 2026Improving Latent Generalization Using Test-time Compute
- 2026Learning to Control LLM Agent Harnesses with Offline Reinforcement Learning
- 2024Offline Training of Language Model Agents with Functions as Learnable Weights