mlsanityData to 7 Oct 2026

LIMBO: Lifelong Inference-Time Memory and Budget Optimization for LLM Agents

arXiv 2609.14138 ↗First posted 12 Sep 2026cs.LG cs.AIcited by 0

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

Abstract (arXiv)

As LLM agents become integrated into increasingly complex workflows, they must continually acquire new capabilities while retaining competence on previously learned tasks. Lifelong agents address this through experience replay, injecting past interactions into the prompt to leverage prior experience during inference. However, replay is not free: every replayed trajectory competes with retrieval, reasoning, tool use, and verification for the same limited prompt and compute budget, making effective resource allocation essential. Existing approaches allocate these resources using fixed replay policies, regardless of whether replay is beneficial for the current task. We identify this as inference-time memory allocation, a distinct problem class for lifelong agents, and introduce LIMBO: the first online framework to our knowledge that treats memory as a controllable inference-time resource and jointly optimizes memory strategy and inference budget for each incoming task. Unlike prior approaches that fix the replay policy or require model weights, teacher supervision, or offline retraining, LIMBO learns this allocation online in a single pass, explicitly balancing task performance and inference cost without modifying the underlying agent. Across three LLM backbones on LifelongAgentBench, LIMBO achieves better cost-accuracy tradeoffs than state-of-the-art memory-augmented baselines and nearly matches all strongest such baselines at up to ~83% lower inference cost (~53% on average). LIMBO adapts its policy across models and environments without retraining, demonstrating that effective allocation can be learned online rather than manually specified.

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 18 of its 24 references that are in the map. First posted on arXiv 12 Sep 2026.

Builds on

18 of 24 references.

Closest ancestors · 4

Same direction, newest first

  1. 2026Just-In-Time Reinforcement Learning: Continual Learning in LLM Agents Without Gradient Updates26 Jan
  2. 2025Continual Learning, Not Training: Online Adaptation For Agents2 Nov
  3. 2025Contextual Experience Replay for Self-Improvement of Language Agents7 Jun
  4. 2025LifelongAgentBench: Evaluating LLM Agents as Lifelong Learners17 May

Other references · 14

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  4. 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 1,908
  5. 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 443
  6. 2018Selective Experience Replay for Lifelong Learningcited by 239
  7. 2026MemRL: Self-Evolving Agents via Runtime Reinforcement Learning on Episodic Memorycited by 113
  8. 2025Efficient Agents: Building Effective Agents While Reducing Costcited by 32
  9. 2025Think Smarter not Harder: Adaptive Reasoning with Inference Aware Optimizationcited by 29
  10. 2025BudgetThinker: Empowering Budget-aware LLM Reasoning with Control Tokenscited by 27
  11. 2025Knapsack RL: Unlocking Exploration of LLMs via Optimizing Budget Allocationcited by 21
  12. 2024Efficient Contextual LLM Cascades through Budget-Constrained Policy Learningcited by 11
2 more
  1. 2025Hierarchical Budget Policy Optimization for Adaptive Reasoningcited by 8
  2. 2025SuRe: Surprise-Driven Prioritised Replay for Continual LLM Learningcited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026ElasticMem: Latent Memory as a Learnable Resource for LLM Agents
  2. 2026Stop When Memory Suffices: Evidence-Conditioned Progressive Execution for LLM Agents
  3. 2026MemAgent: Learning to Manage Heterogeneous Memory Providers for LLM Agents
  4. 2026Persistent Memory in Multi-Agent LLM Inference: What It Costs, What It Buys, and When You Can Tell
  5. 2025Evo-Memory: Benchmarking LLM Agent Test-time Learning with Self-Evolving Memory
  6. 2026The Epistemics of Agent Memory: Measuring, and Governing, the Consolidation Decision in Long-Horizon LLM Agents
  7. 2026Memory as a Controlled Process: Learned Adaptive Memory Management for LLM Agents
  8. 2026Memory is Reconstructed, Not Retrieved: Graph Memory for LLM Agents