AIToday
Large Language ModelsApple Machine LearningPublished: Oct 13, 2026, 10:00 JST

SELFCOMPACT lets models compact own context, up 18.1 points on math

SELFCOMPACT lets models compact own context, up 18.1 points on math

3 Key Points

  1. What happened

    Apple and Johns Hopkins researchers proposed SELFCOMPACT, pairing a compaction tool with a rubric for when to fire or suppress it. Across six benchmarks and seven models it matched or beat fixed-interval summarization at a fraction of the token cost.

  2. Why it matters

    The results suggest deciding when to compact is a capability a scaffold can supply without fine-tuning or external supervision, not something open-weight models reliably do unprompted.

WHO IT HITSMachine learning engineers and research teams building long-running agent scaffolds stand to benefit, since the method cuts per-question cost without requiring fine-tuning or external supervision. Enterprise teams running open-weight models may see uneven tool use unless a rubric is added, the paper suggests.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, in your inbox every morning.

Context & Analysis

Long agent traces built from chains of thought and tool calls accumulate stale content that anchors later generations and eventually outgrows the context window. Existing scaffolds handle this with fixed-interval compaction triggered at a token threshold, which pays no attention to trajectory structure and risks discarding partial results mid-derivation or mid-search.

SELFCOMPACT addresses that by pairing two inference-time elements: a compaction tool the model invokes to summarize accumulated context, and a lightweight rubric that specifies when to fire and when to suppress. The authors note both are needed—the tool alone is unevenly used across open-weight models, and the rubric alone cannot act.

The empirical results span six benchmarks and seven models. The outcomes improve over a no-summarization baseline by up to 18.1 points on math and 5–9 points on agentic search at 30–70% lower per-question cost. The authors describe this as exposing a meta-cognitive gap: unprompted models cannot reliably tell when their own context is decaying, but a lightweight rubric closes that gap. They frame when to compact as a capability scaffolds can supply without training.

FAQ
What is SELFCOMPACT?
It is a scaffold that pairs a compaction tool the model invokes to summarize accumulated context with a lightweight rubric specifying when to fire and when to suppress.
How much does it cost compared to existing methods?
It matches or exceeds fixed-interval summarization at a fraction of the token cost, with 30–70% lower per-question cost than a no-summarization baseline.
Does it require fine-tuning or external supervision?
No, the researchers say it elicits effective adaptive compaction without any fine-tuning or external supervision.
Apple Machine LearningRead Original Article

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleCisco unveils AI networking silicon and Nvidia optics at OCP Summit