Skip to content

Context Language Models

Sep 2026 · 4 citations · 41 references
Computer Science

TL;DR

Context Language Models are introduced, language models that natively manage their own context and can be steered with natural-language instructions evolved through a standard skill-optimization loop, improving held-out accuracy by up to 35.9 points on a context-management task while reducing compute.

Abstract

We introduce Context Language Models (CLMs), language models that natively manage their own context. We implement this by treating the context as a file and allowing the model to make unrestricted updates to this file. This allows the model to learn what is most important to maintain in context, and naturally extends to multi-agent systems where multiple agent contexts coexist as files. Building CLMs zero-shot with existing models outperforms SOTA context management strategies across a variety of tasks: 11.4% higher accuracy with 21.5% fewer FLOPs on BrowseComp-Plus, 5% higher scores with 59% fewer FLOPs on 12-hour EdgeBench, and 65% greater improvement with the same compute on a 24-hour multi-repository agent-swarm task. Moreover, by shifting context management from external harness control to intrinsic model behavior, CLMs naturally enable both in-context and parametric learning of context-management strategies. We show that CLMs can be steered with natural-language instructions evolved through a standard skill-optimization loop, improving held-out accuracy by up to 35.9 points on a context-management task while reducing compute. We also introduce an online reinforcement learning method for CLMs, improving Qwen3.5-9B performance on BrowseComp-Plus by 47.6% while using 12% fewer FLOPs. Finally, we co-design Suffix Cache Reuse for CLM serving, further reducing server-side compute by 35% relative to standard SGLang at matched performance.

View source

Similar papers

Preprint Oct 2026

MEMENTO: Learning Context Management for Long Context Processing Agents

LLM agents that operate over long inputs must perform context management: deciding what to retain in a fixed-size context window. A common approach is compaction, where the model replaces its history with a self-generated note. Yet off-the-shelf agentic models, including GPT-5.5 and GLM-5.3, often write ineffective not...

Yun-Fan Zhang, Taeho Hwang, Kathleen McKeown et al. · 0 citations

Continuous Context Management

Results demonstrate that CCM is a viable inference paradigm for agents operating with substantially reduced retained context and that its performance can be improved through reinforcement learning with privileged full-history distillation.

William Hoy, Jing-Xuan Fan, Nurcin Celik et al. · 1 citation · ⚡1
#machine learning Preprint Oct 2026

Trained Agentic Context Management

This work trains a model over the simplest possible harness: a tool to call itself with any specified prompt and a tool to read tokens in a range from the input context over a diverse synthetic dataset.

Bryce Sandlund · 0 citations
#artificial intelligence Preprint Oct 2026

Seq@K: Evaluating Language Models Under Sequential Feedback

This work introduces Seq@K, a natural evaluation protocol that measures whether a model can solve a problem within K sequential attempts, provided feedback after each previous failure, and establishes how Seq@K offers a more faithful metric for intelligent systems that typically operate in such feedback loop, and the n...

Thomson Yen, Gilbert Yang, Nai-Meng Ye et al. · 0 citations

Dyad: Extending Large Language Models with Native Typed Decision-Making

Dyad is introduced, an architecture that augments a pretrained LLM with an environment-conditioned action encoder that embeds each candidate action description in parallel, then scores these embeddings against the LLM's internal state to yield a distribution over typed actions.

Yundaichuan Zhan, Wei-Shi Wang, Wen-Biao Liu et al. · 1 citation
#artificial intelligence Preprint Oct 2026

Post-Training Large Language Models with LLMON

The results demonstrate that explicit execution semantics can be taught through standard post-training without architectural modification, and introduce attention-based interpretability metrics that diagnose failure modes at individual transformer layers for structured inputs.

Basel Shbita, M. Hind, Chad DeLuca et al. · 0 citations

Related blog posts

MIT News · Artificial Intelligence Nov 17, 2026

Learning the language of machine learning

By studying the computational foundations of language learning, Associate Professor Jacob Andreas builds intelligent systems that can communicate effectively with humans.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.