mlsanityData to 7 Oct 2026

The Sleeping Agent: What Gist-Based Context Compression Loses and Why

arXiv 2608.11775 ↗First posted 12 Aug 2026cs.AI cs.CLcited by 0

On the map: LLM agents and tool use → Agent memory systems

also in 1 more
Abstract (arXiv)

Gist-based context compression---summarising older conversation history into compact representations---is a common approach in long-horizon language model agents, yet its effect on different types of memory retrieval is poorly understood. We use Salience-Weighted Consolidation (SWC), a biologically-inspired compression framework motivated by sleep-based memory consolidation, as a diagnostic probe to study when gist compression helps and when it hurts. SWC scores conversation history by salience, partitions it into priority tiers, and applies structured gist abstraction to mid-priority content. Evaluating four conditions on all ten LoCoMo conversations---1,935 matched text-only questions in total, 1,501 used in the primary aggregate after excluding Category 5 (adversarial) questions---at temperature 0, we find a consistent task-type interaction: gist compression substantially outperforms truncation on multi-hop reasoning and single-hop factual questions, but temporal questions remain substantially harder under compression, with compressed conditions scoring well below the full-context reference on the conversations where both are evaluated. We trace this failure to a specific mechanism: the gist abstraction prompt preserves relational and event structure while discarding dates and times. A preservation analysis across all ten conversations confirms the mechanism: an approximately 20-fold increase in temporal expression preservation (3.05% to 62.39%) with a one-sentence prompt modification, while named entity and event preservation rates barely change (x1.02 and x1.11), demonstrating that the fix is a precision instrument. The prompt modification recovers +0.314 [0.254, 0.375] judge accuracy on category-2 (temporal) questions in the matched set. Code and results: https://github.com/kyrkewood/sleeping-agent.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 9 of its 12 references that are in the map. First posted on arXiv 12 Aug 2026.

Builds on

9 of 12 references.

Closest ancestors · 5

Same direction, newest first

  1. 2026MemMachine: A Ground-Truth-Preserving Memory System for Personalized AI Agents6 Apr
  2. 2025ENGRAM: Effective, Lightweight Memory Orchestration for Conversational Agents17 Nov
  3. 2025ACON: Optimizing Context Compression for Long-horizon LLM Agents1 Oct
  4. 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory28 Apr
  5. 2024Evaluating Very Long-Term Conversational Memory of LLM Agents27 Feb

Other references · 4

  1. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  2. 2025LightMem: Lightweight and Efficient Memory-Augmented Generationcited by 163
  3. 2025Unable to Forget: Proactive Interference Reveals Working Memory Limits in LLMs Beyond Context Lengthcited by 18
  4. 2025Adaptive Focus Memory for Language Modelscited by 6

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2024A Silver Bullet or a Compromise for Full Attention? A Comprehensive Study of Gist Token-based Context Compression
  2. 2025On Memory Construction and Retrieval for Personalized Conversational Agents
  3. 2026AgentMemBench: A Systematic Benchmark for Evaluating Long-Term Memory Management Strategies in Conversational AI Agents
  4. 2026Compress the Context, Keep the Commitments: A Formal Framework for Verifiable LLM Context Compression
  5. 2026G-Long: Graph-Enhanced Memory Management for Efficient Long-Term Dialogue Agents
  6. 2026PRISM: Pareto-Efficient Retrieval over Intent-Aware Structured Memory for Long-Horizon Agents
  7. 2026Developing Adaptive Context Compression Techniques for Large Language Models (LLMs) in Long-Running Interactions
  8. 2026MemOps: Benchmarking Lifecycle Memory Operations in Long-Horizon Conversations