InfoQ 中文 · 10/23/2026, 09:20:35
Meta & MIT Propose CLM: LLMs Self-Manage Context for Better Performance
Researchers from Meta, MIT, and UW introduce Context Language Models (CLM), enabling LLMs to autonomously edit context as a dynamic file rather than relying on external compression or retrieval. Benchmarks show significant gains in accuracy and reduced compute costs, with strategies guideable via natural language. While community feedback notes caching challenges, CLM offers a new paradigm for intrinsic context management beyond human-designed priors.
SOURCE COVERAGEFull Original Report
CLM proposes modeling context as a dynamically editable file, enabling LLMs to possess intrinsic context management capabilities and eliminating reliance on manually designed compression, retrieval, or external storage mechanisms. Experiments demonstrate that it outperforms traditional methods in both task performance and computational efficiency.
CLM supports rewriting history, preserving key facts, and removing redundant information; users can guide context strategies through natural language instructions; and it can iteratively generate and reuse context management skill documents.
This article is suitable for large model system architects, LLM application engineers, and AI platform R&D personnel.

Researchers from Meta, MIT, and the University of Washington have proposed Context Language Model (CLM), a new approach that enables language models to autonomously manage and edit their own context. This method no longer relies on predefined summarization, compression, or information retrieval mechanisms, achieving significant improvements in both performance and computational efficiency.
The researchers implemented a mechanism allowing LLMs to autonomously manage context by treating it as a file that can be updated without restriction. This approach offers an alternative to traditional context management strategies—such as compression, offloading to external storage, and retrieval—which are used to prevent unbounded context growth but each have limitations. Summarization may lose critical details or introduce errors, compression typically uses predefined rule sets, and external storage requires agents to decide which information needs to be reloaded into the context.
In contrast, CLM can rewrite historical messages, preserve important facts, remove irrelevant information, maintain progress records, and learn its own context management strategies. The researchers emphasize that large models can learn strategies beyond existing human-designed solutions, potentially breaking through "existing human prior knowledge."
Shifting context management from external auxiliary control to intrinsic model behavior naturally supports both in-context learning and parameter learning for context management. We first show that users only need to inform the agent of the desired strategy to guide context management behavior. Additionally, CLM can iteratively generate a context skill document, capturing available context management workflows for subsequent reuse.
New capabilities that CLM can acquire include creating internal notes, deleting irrelevant intermediate results while retaining useful content, recording failed experiments, and noting ideas pending exploration.
The researchers explored three different context management methods. The first is zero-shot context management, where CLM receives no specific training. The second is in-context learning, where CLM is guided via natural language on how to manage context, improving strategies through an iterative skill optimization loop. The third is reinforcement learning, where context management strategies are learned with task success as the primary objective and computational efficiency as an additional optimization criterion.
The researchers evaluated CLM using multiple benchmarks, showing substantial improvements in both performance and computational efficiency. Zero-shot CLM achieved the following results:
On the BrowseComp-Plus dataset, accuracy improved by 11.4% while floating-point operations decreased by 21.5%; on 12-hour EdgeBench tasks, scores increased by 5% while floating-point operations dropped by 59%; on 24-hour multi-repo agent cluster tasks, performance gains under equivalent compute resources were 65% higher.
CLM employing in-context learning achieved up to a 35.9 percentage point increase in accuracy on ContextBench tasks, with lower compute consumption. The reinforcement learning approach boosted Qwen3.5-9B’s accuracy on BrowseComp-Plus from 28.8% to 42.5%, a relative improvement of 47.6%, while also reducing floating-point operations by 12%.
The researchers also noted several unresolved challenges. First, CLM might discard important information that cannot be retrieved later. Second, allowing CLM to edit its own context introduces new security risks: editable context "becomes another channel through which prompt injections or self-generated model instructions can persist across multiple turns." Most importantly, greater context control does not equate to better model performance, as models may still make incorrect judgments about what to retain, modify, or discard.
In comments on X.com regarding this announcement, @Rennix7t warned that "the accuracy and compute results in the paper come from specific tasks," while @omarsar0 considered the direction highly valuable for research but remained cautious about trusting the model end-to-end to autonomously manage context, suggesting more robust solutions are still needed.
On Reddit, Combinatorilliance argued that CLM is not yet production-ready, pointing out that rewriting context invalidates model caches, and noting that "the caching tricks used by the researchers are themselves imperfect, with flaws that need consideration."
View the original English article: https://www.infoq.com/news/2026/10/context-language-models/