MemPrice: Online Memory Allocation via Adaptive Pricing for Long-Horizon Agents
On the map: LLM agents and tool use → Agent memory systems
Abstract (arXiv)
Long-horizon LLM agents face a fundamental allocation problem as interaction histories grow: which information to retain, how much context to devote to it, and at what granularity. Existing memory mechanisms largely focus on relevance, retrieval, or compression, leaving this allocation trade-off implicit. We introduce MemPrice, which treats active context as a shared resource and dynamically allocates it across memories and representation levels. MemPrice turns accumulated memory pressure into an adaptive price on context, encouraging detail only when its estimated retention value justifies the additional footprint. This pressure persists across memory refreshes, allowing the contents of memory to evolve while preserving long-run control over context usage. We show that irreversible compression can force linear worst-case regret against hindsight following its own memory trajectory, and introduce a same-state benchmark to evaluate allocation on MemPrice's realized memory states. MemPrice enforces the hard context budget at every round and regulates long-run occupancy through adaptive pricing, without prior knowledge of the interaction horizon. Under priced-frontier regularity, its average allocation-regret bound against this benchmark vanishes when accumulated estimation error is sublinear. We evaluate the framework under matched memory budgets on LongMemEval, LoCoMo, AppWorld, and WebShop across three foundation models, spanning both query-blind memory construction and goal-directed agent context management.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 23 of its 27 references that are in the map. Submitted 18 Oct 2026.
Builds on
23 of 27 references.
Closest ancestors · 5
Same direction, newest first
- 2026Learning What Not to Forget: Long-Horizon Agent Memory from a Few Kilobytes of Learning18 Jun
- 2025Scaling Long-Horizon LLM Agent via Context-Folding13 Oct
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory28 Apr
- 2025A-MEM: Agentic Memory for LLM Agents17 Feb
- 2024Evaluating Very Long-Term Conversational Memory of LLM Agents27 Feb
Other references · 18
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,789
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,841
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,655
- 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,377
- 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 876
- 2026GLM-5: from Vibe Coding to Agentic Engineeringcited by 740
- 2023MemoryBank: Enhancing Large Language Models with Long-Term Memorycited by 630
- 2024AppWorld: A Controllable World of Apps and People for Benchmarking Interactive Coding Agentscited by 510
- 2026DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache Compressioncited by 220
- 2017Online Convex Optimization with Stochastic Constraintscited by 97
- 2026On the Design of Qwen3.8-Next Architecture: Evaluation, Efficiency, and Training Stabilitycited by 96
6 more
- 2015Adaptive Algorithms for Online Convex Optimization with Long-term Constraintscited by 67
- 2019Online Linear Programming: Dual Convergence, New Algorithms, and Regret Boundscited by 34
- 2020Online Stochastic Optimization with Wasserstein Based Non-stationaritycited by 26
- 2022Non-stationary Bandits with Knapsackscited by 26
- 2020Online Resource Allocation with Stochastic Resource Consumptioncited by 12
- 2025Learning to Price with Resource Constraints: From Full Information to Machine-Learned Pricescited by 5
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026MemCredit: From Relevance to Utility for Decision-Time Memory in Long-Horizon Web Agents
- 2026Memory as a Controlled Process: Learned Adaptive Memory Management for LLM Agents
- 2025Beyond Heuristics: A Decision-Theoretic Framework for Agent Memory Management
- 2026Stop When Memory Suffices: Evidence-Conditioned Progressive Execution for LLM Agents
- 2026SimpleMem: Efficient Lifelong Memory for LLM Agents
- 2026Memex(RL): Scaling Long-Horizon LLM Agents via Indexed Experience Memory
- 2026MemPrism: Task-Conditioned Relational Memory Views for Long-Horizon Agents
- 2026MemoWM: How World Models Change What Agents Need to Remember