logo
Kurashizu Blogwhere ideas flow
  • Home
  • News
  • Blog
  • About
  • Home
  • News
  • Blog
  • About

© 2026 Kurashizu. All rights reserved.

Admin·New Post·Service Status
Powered by Cloudflare·30.10.26
← Back to news

Context Language Models

Original article
arxiv.org|21 points|0 comments|by emersonmacro|Oct 1, 2026

Context Language Models (CLMs)

Authors: Rulin Shao, Shannon Zejiang Shen, Junjie Oscar Yin, Yuetai Li, Minheng Wang, Hamish Ivison, Radha Poovendran, Nathan Lambert, Teng Xiao, Mike Lewis, Wen-tau Yih, Luke Zettlemoyer, and Pang Wei Koh.


📌 Overview

The research introduces Context Language Models (CLMs), a new paradigm where language models possess the native ability to oversee and manipulate their own context.

Core Innovation: Instead of relying on an external system to manage the prompt window, CLMs treat their context as a mutable file. The model is granted unrestricted permissions to read from and write updates to this file.

This shift allows the model to autonomously determine which information is critical to retain, effectively outsourcing memory to a fixed window internalizing context curation. This architecture is particularly potent for multi-agent environments, where each agent's context is maintained as a distinct file.

System Architecture Logic


🚀 Performance Benchmarks

When deployed zero-shot using existing models, CLMs significantly outperform current state-of-the-art (SOTA) context management techniques.

Quantitative Results

BenchmarkAccuracy/Score ImprovementCompute Efficiency (Δ\DeltaΔ FLOPs)
BrowseComp-Plus+11.4%+11.4\%+11.4%−21.5%-21.5\%−21.5%
12-hour EdgeBench+5%+5\%+5%−59%-59\%−59%
24-hour Multi-Repo Swarm65%65\%65% greater improvement≈0\approx 0≈0 (Same compute)

🛠️ Optimization & Learning

By moving context management from the external harness to intrinsic model behavior, CLMs unlock new learning pathways:

  • In-Context & Parametric Learning: The model can learn how to manage its memory.
  • Skill-Optimization Loop: Using natural-language instructions, CLMs can be steered to improve.
    • Result: Held-out accuracy increased by up to 35.935.935.9 points while lowering compute costs.
  • Online Reinforcement Learning (RL): Applying RL to the Qwen3.5-9B model on the BrowseComp-Plus task yielded:
    • Performance↑47.6%\text{Performance} \uparrow 47.6\%Performance↑47.6%
    • FLOPs↓12%\text{FLOPs} \downarrow 12\%FLOPs↓12%

Example Context Update Logic

# Conceptual representation of a CLM context update
def update_context(current_file, new_observation):
    # Model decides what to keep and what to discard
    updated_content = model.generate_edit(current_file, new_observation)
    return write_to_context_file(updated_content)

⚡ Serving Infrastructure

To optimize deployment, the authors co-designed Suffix Cache Reuse. This mechanism targets the server-side overhead of CLMs.

  • Comparison: Compared to standard SGLang implementations.
  • Efficiency Gain: Compute Reduction=35%\text{Compute Reduction} = 35\%Compute Reduction=35% (at equivalent performance levels).

📋 Summary of Contributions

  • Developed the CLM framework (Context-as-a-File).
  • Demonstrated SOTA zero-shot performance across three major benchmarks.
  • Enabled natural-language steering via skill-optimization.
  • Integrated Online RL for significant performance boosts.
  • Optimized serving via Suffix Cache Reuse.

📄 Metadata & Filing

  • arXiv ID: 2609.37725
  • Submission Date: September 29, 2026
  • Categories:
    • cs.AI (Artificial Intelligence)
    • cs.CL (Computation and Language)
    • cs.LG (Machine Learning)
  • License: license icon

DOI: https://doi.org/10.48550/arXiv.2609.37725