Leto: Utility-Centric Agent Memory

Shuguang Chen, Salman ParachaarXiv 2026

TL;DR

Most AI agent memory systems act like court stenographers: they obsess over how faithfully they record the past, rather than whether those memories actually help the agent in the future. Leto flips this script by treating memory as a prediction problem—anticipating what context a future response will need (even if the user doesn't ask for it) and using conversational feedback to learn which memories are genuinely useful. The result is an agent that doesn't just remember your past chats, it actually books a hotel you can use.

What Problem Does This Paper Address?

Imagine asking an AI assistant: "Book me a hotel near the workshop venue." Weeks ago, you casually mentioned that you use a wheelchair. Standard memory systems retrieve memories based on semantic similarity to your prompt. Because your prompt only mentions "hotel" and "workshop," the system faithfully fetches the workshop dates and books a nearby hotel—with stairs only.

Figure 1: An example of a request served from the same memory store under different criteria. Selection by fidelity serves the memory that matches the request; selection by utility serves the memory the response needs. Hotel names and details are fictional.

Current LLM memory systems optimize for fidelity (how accurately the stored and retrieved text reflects past conversations). The authors point out that fidelity leaves two blind spots:

  1. The Memorization Gap: Summarizing or extracting facts at the end of a chat often discards tiny details whose importance only becomes obvious weeks later.
  2. The Serving Gap: Ranking memories by how closely they match the request misses standing constraints or preferences that the response desperately needs, because humans rarely restate the obvious.

To fix this, the authors reframe memory around utility: does serving this memory actually improve the agent's task outcome compared to having no memory at all?

Methods

Because future prompts are unknown when a conversation ends, Leto treats memory management as a forecasting loop built on three mechanisms:

Figure 2: Leto workflow. Memory indexing stores atomic facts as keys to their retained source. Memory replay composes the profile and task state that give context across requests. The utility loop gives each new memory a forecast u0(m) and serves retrieved memory whose index satisfies u ≥τ, then updates the index from feedback.
  • Memory Indexing (Closing the Memorization Gap): Standard systems extract standalone "atomic facts" (e.g., "User prefers aisle seats") and throw away the raw chat. Leto extracts atomic facts too, but uses them strictly as search keys pointing back to the original, unedited message spans. Nothing is discarded, preserving original nuances and qualifications without flooding the prompt with noisy raw chunks.
  • Memory Replay (Closing the Serving Gap): Between sessions—before a new request ever arrives—Leto reviews its store to compose a concise, standing User Profile (merging related preferences, dropping outdated ones) and, for multi-step projects, a Task State (current entity attributes + chronological session summaries). This guarantees unstated constraints (like using a wheelchair) are always in context.
  • The Utility Loop: Every memory gets a heuristic "utility index" between 0 and 1, starting with an initial forecast. When a memory is served, Leto watches the user's reaction using lexical rules—confirmations or task completions count as positive outcomes (1), while user corrections count as negative (0). Leto updates the memory's score via a weighted average and gates out low-utility memories ($\lt \tau$) in future retrievals.

Datasets

No new benchmarks were introduced; instead, the authors evaluated Leto across five existing benchmarks spanning three distinct memory challenges (no model training was performed):

  • Personalization: PrefEval (following preferences stated before filler turns) and PERMA (single- and multi-domain personalized tasks).
  • Long-Horizon Tasks: MemoryArena (interdependent multi-session tasks across shopping, travel, search, math, and physics).
  • Long-Context Understanding: LoCoMo and LongMemEval$_S$ (answering explicit questions over very long chat histories).

Key Insights and Ideas

  • High fidelity $\neq$ high performance: On PERMA's multi-domain benchmark, the baseline system Letta achieved the highest "memory score" (a fidelity metric checking if gold preferences were retrieved), yet scored the lowest in actual task completion.
  • Dumping the whole history into the prompt fails: Giving an LLM the entire raw conversation (Standalone baseline) guarantees 100% of preferences are "available" in the context window, yet the model only followed them 3.3% of the time on PrefEval. Distilling preferences into a dedicated standing profile boosted both detection and actual usage.
  • Memory shines as tasks get deeper: In multi-step chains (like an 8-step search task), an agent's performance gain over a "No Memory" baseline compounds with every step when task state is explicitly rendered between rounds.
  • Explicit queries don't need fancy memory: When a user's prompt explicitly names what they are looking for (as in LoCoMo QA), simple chunk-based RAG works nearly as well as structured memory—though Leto uses up to 8$\times$ fewer tokens.

Key Results

Evaluated against six popular memory frameworks (Mem0, LangMem, Hindsight, Letta, Zep, and Memobase) plus RAG and full-history baselines:

  • Personalization: On PrefEval, Leto hit 60.5% accuracy, beating the runner-up (Hindsight) by 16.3 percentage points. On PERMA, it beat the strongest memory system (Memobase) by 3.1 points overall—and by 7.64 points on multi-domain tasks where cross-topic user profiles matter most.
  • Long-Horizon Tasks: On MemoryArena, Leto achieved the top overall progress score (32.01%) and success rate (18.33%). By the 8th step of search chains, Leto outperformed no-memory by +14.4 points (double Letta's +7.2 gain).
Pass-rate gains by chain depth on MemoryArena
  • Long-Context QA: Leto led all memory systems on LoCoMo (71.82%) and LongMemEval (73.20%), capturing 86.6%–95.4% of gold evidence words while retrieving roughly 1,190 tokens per query (compared to RAG's ~9,800 tokens on LongMemEval).

Limitations and Future Work

  • Extraction bottlenecks: Even though raw chats are saved, a message span can only be retrieved if an extracted atomic fact points to it. About 40% of Leto's misses compared to RAG on single-hop QA happened because no fact was extracted for that message.
  • Coarse credit assignment: When a response succeeds or fails, every memory served for that turn shares the blame or reward. An irrelevant bystander memory can get rewarded, and memories that never pass the gate never get new feedback.
  • Agent-specific utility: Utility is coupled to the specific LLM using the memory; what helps gpt-4o-mini might be ignored by another model.

For future work, the authors plan to train models to predict initial utility forecasts directly from feedback, solve fine-grained credit attribution for individual memories, and test how learned utility transfers across different agents.

Summary updated

Abstract

Large language model (LLM) agents rely on external memory to retain and reuse information across interactions. Existing memory systems treat memory as a record of the past and evaluate it by fidelity to the conversation. However, the value of memory lies in whether it improves the agent's response. A memory system decides what to memorize and what to serve before that response exists, and fidelity checks neither decision against it. Faithful memory can therefore fail to improve the response. We instead view memory as a prediction problem and present \textbf{\emph{\leto{}}}, a memory system for LLM agents that focuses on the utility of memory to the future rather than on its fidelity to the past. Because future requests are unknown, \emph{\leto{}} preserves access to conversation details through memory indexing, allowing information to remain available through its sources. When a request arrives, memory replay draws on this index to anticipate and supply the context the agent needs beyond what the request explicitly states. The utility of the served context remains uncertain until the response is generated, motivating a utility loop that uses response outcomes to refine future memory selection. We evaluate our system against six memory systems on five benchmarks across three scenarios. In personalization, it outperforms the strongest compared memory system by 16.3 percentage points in accuracy on PrefEval and by 3.1 points in task completion on PERMA. For long-horizon tasks, it achieves the best overall performance on MemoryArena averaged over five environments with a gain that increases with the chain depth. In long-context understanding, it is on par with retrieval over the raw history while serving fewer context tokens.
BibTeX
@misc{chen2026leto,
  author = {Shuguang Chen and Salman Paracha},
  title = {{Leto: Utility-Centric Agent Memory}},
  year = {2026},
  eprint = {2611.33005},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.33005},
}
Figure