# Summary: 2026-09-13_20-26-13Z_Pull_LazyMaterializationofWorkingMemoryforStateful.md Saved: 2026-09-14 22:31 Source: 2026-09-13_20-26-13Z_Pull_LazyMaterializationofWorkingMemoryforStateful.md Original paper: http://arxiv.org/abs/2609.14773v1 Model: None --- ## Summary The paper "Pull: Lazy Materialization of Working Memory for Stateful LLM Conversations" addresses the critical scalability challenges inherent in maintaining long-context interactions with Large Language Models (LLMs). As conversations extend into hundreds of turns, traditional methods such as full-context injection suffer from quadratic token costs, while lossy summarization or hard truncation irreversibly discard vital historical state. To mitigate these issues, the authors propose "Pull," a novel session router that employs a local, deterministic Purifier to maintain an addressable metadata directory without incurring LLM inference latency. This approach allows the system to lazily materialize only the specific conversational turns required for a given query, ensuring that unmaterialized turns remain accessible yet collapsed until explicitly needed. ## Key Contributions - **Reversible Lazy Materialization:** The authors introduce a mechanism where context expansion is reversible; unlike irreversible compression techniques, Pull ensures that subsequent queries can expand any previously collapsed turn, preserving the integrity of historical data without permanent loss. - **Efficient Metadata Management via Deterministic Purifier:** A significant contribution is the development of a local, deterministic Purifier that operates with millisecond-level latency and zero LLM calls, creating an efficient addressable metadata directory for session routing. - **Empirical Validation on Long-Horizon Tasks:** The study provides robust empirical evidence through benchmarks like LoCoEval and BEAM 1M, demonstrating significant reductions in context tokens while maintaining or improving task quality, particularly in multi-hop reasoning scenarios. ## Methodology The authors approached the problem by designing a session router architecture that decouples metadata management from heavy LLM processing. They implemented a deterministic Purifier to generate and maintain an addressable directory of conversation turns. During query time, instead of injecting the entire context window, the system utilizes this metadata to identify and lazily materialize only the most relevant historical turns. This process allows the LLM to focus on specific entities or events without processing irrelevant data. The methodology was validated through extensive experiments on two distinct benchmarks: LoCoEval, which features 128 conversations with over 12,000 turns, and BEAM 1M, focusing on entity lifecycle tracking across 14 conversations. ## Results Experimental results indicate that Pull significantly reduces per-query context tokens by 75.1% on single-hop tasks while maintaining equivalent quality (Δ = -0.002). On multi-hop tasks, the method reduced token usage by 72.0% with no observed loss in quality (Δ = +0.017). Furthermore, a controlled routing benchmark involving 7,831 queries across ten methods revealed that entity lifecycle tracking is empirically a prerequisite for distance-independent routing effectiveness. In the BEAM 1M benchmark, Pull improved F1 scores by 55.2% compared to standard truncation baselines, highlighting its superiority in complex reasoning tasks. ## Significance This research matters because it offers a scalable solution for stateful LLM conversations that do not require irreversible data loss. By enabling reversible lazy materialization, Pull allows systems to handle extremely long contexts efficiently, reducing computational costs while preserving the ability to retrieve detailed historical information when necessary. This advancement is crucial for applications requiring deep contextual understanding over extended interactions. ## Related Concepts - Lazy Materialization - Working Memory Management - Context Window Optimization - Session Routing - Deterministic Purification - Entity Lifecycle Tracking