betaFeedback

WorksComputer Science

Leto: Utility-Centric Agent Memory

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.

Introduction

An LLM agent that serves the same user or works on the same task across sessions requires memory of what earlier sessions established, such as a preference the user expressed weeks ago or the state of an unfinished task. Existing memory systems extract facts or generate summaries from each session, then retrieve the memory most similar to an incoming request and insert it into the context [3, 14, 7]. Some systems additionally reflect on the stored memory in the background to form higher-level notes or user profiles [13, 20, 17]. Both the construction and the evaluation of these systems are oriented toward the past. Their evaluation measures fidelity (i.e., how completely the memory covers the conversation and how often the retrieved memory contains the gold evidence) [11, 10] (Wu et al. 2025).

However, fidelity to the past does not by itself yield a better response. An agent needs the relevant context in its input to produce a good response. A memory system supplies this context through two decisions: what to memorize when a conversation ends and what to serve when a request arrives. Existing systems assume that fidelity at each stage preserves the context needed for future responses. This assumption leaves two gaps: 1) The memorization gap arises because what is memorized determines what can later be served, yet faithful memory does not necessarily preserve what a future request will require. Existing systems keep summaries that omit details whose relevance appears later [21] (Wu et al. 2025), or extract facts judged by coverage of the conversation, not by what a future request requires [3, 7]; 2) The serving gap arises because memory is selected by how closely it matches the request, which may not reflect what the response requires. Existing systems rank memory by similarity to the request, yet users rarely re-state standing preferences and memory that would change the response may not rank highly (Salemi et al., 2024; Zhao et al., 2025). Fidelity measures neither gap because it assesses how well memory represents the conversation, not whether the served context meets the needs of the response.

Both gaps arise because memory decisions must anticipate the context a response will need before their effects can be evaluated. We therefore view memory as a prediction problem. At write time, the system must predict which information will matter for future requests. At serving time, it must predict which memory the response needs. The request provides evidence about these needs but does not fully specify them. The accuracy of these predictions remains unknown until the response is generated. Both should therefore be evaluated against the observed outcome, which can then be used to refine future predictions. The value of memory thus lies in the response it enables, which we call its utility. Figure 1 illustrates the difference between the two criteria on one request served from the same store. Selection by fidelity serves the memory that matches the request and nothing more. The response satisfies the request as stated, yet the user cannot use the hotel it books. Selection by utility also serves the memory that the user uses a wheelchair, which the request does not mention. The response then books a hotel the user can use. The two selections differ by a single memory, which decides the outcome.

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.

We build on this view and present Leto, a memory system that manages memory by its predicted utility. To address the memorization gap, Leto preserves access to conversation details through memory indexing so that information remains available even when its utility is not apparent at write time.

To address the serving gap, memory replay draws on this index ahead of the request to anticipate the context the agent needs beyond what the request states. This context is served together with the memory retrieved for the request. The response then provides evidence of the utility of what was served, and a utility loop feeds this evidence back to refine subsequent memory selection.

We evaluate Leto against six memory systems on five benchmarks spanning three scenarios: personalization, long-horizon tasks, and long-context understanding. Leto achieves the best overall performance among the compared memory systems in all 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. Its gain over an agent without memory increases with the chain depth. For long-context understanding, it is competitive with retrieval over the raw history while serving fewer context tokens.

Related Work

External memory systems build memory of past interactions and serve parts of it to later ones. They extract facts or write summaries and reconcile them as interactions accumulate [12, 3, 20]. They organize the store as temporal graphs or linked notes or associative indexes [14, 17, 5]. They add editable memory blocks and reflection over the store alongside several retrieval mechanisms ([12, 13, 7]). They are also evaluated against the past. The write side is judged by how completely and accurately memory captures the conversation, the read side by how well it ranks memory against the request. The benchmarks measure memory the same way ([11, 10] (Wu et al. 2025)).

Several lines of work move one of the two decisions toward the future. On what to memorize, some index retained text by decontextualized claims or extracted entities ([4, 2, 5] (Wu et al. 2025)). Others keep what a later decision is expected to need ([21]). On what to serve, some place standing memory in the context or revise memory between interactions before any request arrives ([12, 20]). Memory-R1 ([18]) learns memory operations from downstream task reward. None carries on the memory itself an estimate of its utility that feedback updates. Leto moves both decisions toward the future and maintains such an estimate for every memory.

Whether memory helps is a question about outcomes. PrefEval ([19]) and PERMA measure whether an earlier preference is followed and a personalized task completed. MemoryArena ([6]) measures progress on interdependent tasks. LoCoMo and LongMemEval measure answers to questions over long histories. Each reports a system’s level. The utility of its memory is the level’s difference from the same agent without memory on the same items, which can be negative and which no level shows.

Problem Formulation

An external memory system supports an agent across timestamped sessions by deciding what to memorize and what to serve. At write time, it decides what to memorize when a session ends. At serving time, it selects memory MM from the store to place in the agent’s context when a request xx arrives. The fidelity view judges the write decision by how completely and accurately the store represents past sessions, and judges the serving decision by how closely the served memory matches xx. Both criteria can be assessed using information available at decision time, but neither establishes whether the context needed for the right response is supplied. The memorization gap consists of required information from past sessions that the store no longer holds.

information from past sessions that the store no longer holds. The serving gap consists of required information that the store holds but that the served memory omits.

We instead define the objective by task outcomes. Let y(x,M)∈{0,1}y(x,M) \in\{0,1\} denote the graded task outcome for request xx when memory MM is supplied to the agent. We define the utility of the served memory as

U(x,M)=y(x,M)−y(x,∅),(1)U(x,M) = y(x,M) - y(x,\varnothing), \tag*{(1)}

where y(x,∅)y(x,\varnothing) is the outcome without memory. This objective captures whether the served memory improves or hurts task performance, or leaves it unchanged. It connects both memory decisions to task performance. The write decision determines what information remains available, and the serving decision determines what reaches the agent.

Utility depends on both the request and how the agent uses the served memory. Relevant information may provide no benefit if it is redundant or unused, and may hurt performance if it misleads the agent. The system must therefore anticipate what the served memory contributes to the response when deciding what to serve. Future requests are unknown at write time, so memory utility must be forecast across them. During subsequent interactions, feedback provides proxy signals of memory utility that update the utility index for the serving decisions that follow.

Methodology

Leto manages memory through three mechanisms, memory indexing and memory replay followed by the utility loop. Figure 2 summarizes this workflow.

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)u_0(m) and serves retrieved memory whose index satisfies u≥τu \ge\tau, then updates the index from feedback.

Memory Indexing

Because future requests are unknown at write time, a memory system may retain information that is never needed or discard information that is. The costs of these two errors are asymmetric. Unhelpful information costs storage, while a discarded detail degrades the performance on every later request that depends on it. Leto therefore retains every conversation and indexes it to find what a request needs.

Write time. Indexing the conversation by its raw messages would make retrieval imprecise, because a message can cover several topics and its meaning often depends on its context. Leto therefore indexes the conversation by atomic facts ([4]) [2]. An atomic fact states a single claim in self-contained form. This allows it to be matched to a request precisely and compared with other facts on the same subject. Existing memory systems commonly serve the extracted facts themselves as the memory. Leto instead uses each fact as a key whose value is its source, the span of adjacent messages that the fact was extracted from. A source reaches the agent only when a fact matching the request points to it, so the context carries less noise than retrieval over raw chunks. Information omitted from a fact also remains accessible through its source, which preserves the original wording and qualifications. New facts are consolidated with the existing ones. A fact that revises an earlier one supersedes it without deleting it. The index can thus distinguish what currently holds from what once held. Each session also receives a short summary.

Serving time. When a request arrives, Leto retrieves the relevant facts with their sources. The utility loop (§ 4.3) then decides which are served within a token budget, alongside the standing context from memory replay (§ 4.2).

Memory Replay

Retrieval can miss relevant preferences and constraints that a request leaves unstated. Leto therefore replays stored memory between conversations. It re-reads what the store holds and composes the standing context that the next conversation starts with. The standing context consists of a user profile and a task state if a task is declared. Both are composed before any request arrives.

Profile rewrite. Profile rewrite maintains a user profile that carries what holds for the user regardless of the request, such as standing preferences and constraints or instructions on how to act. After new sessions are indexed, Leto rewrites the profile from the current facts about the user and the session summaries. The rewrite keeps the profile concise by merging related facts into one statement and leaving out superseded preferences.

Task rendering. A later step of a long-horizon task depends on what earlier sessions established, which the request rarely restates. Task rendering supplies it as a task state at the start of every conversation on the task. The first part of the task state shows where the task stands through its current facts, grouped by entity with each attribute and its current value. The second part shows how the task got there through summaries of its prior sessions in order.

Utility Loop

Whether a memory will improve a response cannot be observed at write time. Leto therefore forecasts a utility index u(m)∈[0,1]u(m) \in[0,1] for each memory and revises it with the outcome observed each time the memory is served. This cycle forms the utility loop.

Utility forecast. Each new memory receives an initial utility forecast u0(m)u_0(m) as its utility index. A low forecast does not delete the memory. The fact and its source remain in the store. Retention and serving are separate decisions, which allows serving priorities to change as feedback accumulates.

Outcome observations. The forecast is made before a memory is used, and whether the memory helps becomes evident only after it is served. Leto therefore observes the outcome of each served memory to obtain evidence of its utility. We use the interaction signals from Chen et al. [1] as the observations, which are detected in the conversation by lexical rules. Each signal marks a positive outcome (e.g., a confirmation or a use of the memory) or a negative outcome (e.g., a correction) for a memory, encoded as 1 and 0, respectively. When a graded task outcome is available, it can also be recorded for the memory served during the task. These signals provide evidence of memory utility without directly measuring an individual memory’s contribution to the outcome.

Utility update. Given observations o1,…,ono_1,\ldots,o_n and the initial forecast weighted as kk observations, the index is

u(m)=ku0(m)+∑i=1noik+n.(2)u(m) = \frac{k u_0(m) + \sum_{i=1}^{n} o_i}{k+n}. \tag*{(2)}

Here, k>0k > 0 controls the weight of the initial forecast relative to feedback. The updated index then closes the loop. A retrieved memory passes the utility gate only if its index meets a threshold τ\tau. When the retrieved memory exceeds the context budget, memory with a higher utility index is prioritized. The utility index is a heuristic serving priority, not an estimate of Equation (1). It combines observable signals to guide memory selection, while paired evaluation measures whether the system as a whole improves task outcomes.

Experiments

We evaluate Leto across three scenarios: personalization, long-horizon tasks, and long-context understanding. These scenarios differ in what information is needed from earlier interactions and how explicitly the current request identifies it.

Experimental Setup

Benchmarks. We use five benchmarks grouped into three scenarios: PERMA (Liu et al. [10]) and PrefEval (Zhao et al. [19]) for personalization; MemoryArena (He et al. [6]) for long-horizon tasks; and LoCoMo (Maharana et al. [11]) and LongMemEvalS (Wu et al. (2025)) for long-context understanding. Table 4 in Appendix § 7 summarizes the sample counts and evaluation metrics as well as each memory store’s scope.

ScenarioBenchmark# SamplesStoreMetrics
PersonalizationPERMA C-S / C-M423 / 157One userMCQ Accuracy, Comp.
PrefEval1,000One itemAccuracy
Long-horizon tasksMemoryArena4,8501One chainPS, SR
Long-contextLoCoMo1,540One conversationAccuracy
LongMemEvalS500One questionAccuracy

Table 4. Benchmarks and memory-store scope. Samples count graded units. C-S / C-M: PERMA’s clean single- / multi-domain conditions. Metrics: multiple-choice question (MCQ) accuracy; task completion (Comp.); progress score (PS); success rate (SR).

Compared methods. We compare Leto with six memory systems: Mem0 (Chhikara et al. [3]), LangMem2, Hindsight (Latimer et al. [7]), Letta (Packer et al. [12]), Zep (Rasmussen et al. [14]), and Memobase3. Each system uses the configuration provided by the benchmark when available and follows its own documented setup otherwise. We also include a RAG baseline that retains the complete history and retrieves raw conversation chunks by embedding similarity to the current request (Lewis et al. [8]).

We establish two further baselines: No Memory supplies no memory from earlier sessions, and Standalone is the benchmark’s own agent given the complete history in its context. Appendix § 8 reports the share of units each system improves and degrades against No Memory.

Scenario 1: Personalization

Personalization requires an agent to apply information from earlier interactions even when the current request leaves it unstated. PrefEval focuses on preference following, while PERMA evaluates personalization across a user’s interaction history.

PrefEval

Main results. PrefEval evaluates whether an agent follows a preference stated earlier in the conversation when it answers the request. Following the benchmark’s evaluation protocol, we report preference-following accuracy and error categories in Table 1. Leto achieves 60.5% accuracy, exceeding the strongest compared system Hindsight by 16.3 percentage points. RAG and Standalone reach 13.1% and 3.3%, respectively. Leto also reduces preference-unaware violations to 19.1%, compared with 33.8% under Hindsight.

SystemUnawareHalluc.Incons.Unhelp.Acc.MCQComp.MSMCQComp.MS
No History
No Memory74.0024.200.000.401.4053.6674.231.0056.6960.511.00
Full History
Standalone (gpt-4o-mini)65.4031.000.200.103.3078.0181.561.1771.3463.691.62
RAG54.2031.701.000.0013.1070.4583.691.8768.1561.781.73
Compared Memory Systems
Mem045.7018.801.800.2033.5069.9880.381.8567.5262.421.78
LangMem32.1025.401.600.2040.7074.7081.561.8067.5262.421.84
Hindsight33.8019.901.900.2044.2069.0380.142.0666.2459.871.90
Letta47.0034.100.100.2018.6056.5074.472.0654.7854.782.28
Zep68.1020.900.601.009.4068.3278.491.5758.6063.691.46
Memobase45.8024.301.500.2028.2073.2981.801.7867.5264.971.73
Our System
Leto19.1018.801.600.0060.5079.4380.381.9671.9772.612.15

Table 1. Personalization results. PrefEval after ten filler turns (%): four error types and accuracy (Acc.). Unaware: preference-unaware violation; Halluc.: hallucination; Incons.: inconsistency; Unhelp.: unhelpful response. Accuracy: the share of personalized responses, which satisfy the preference without violating or inventing one. PERMA type-3 (%): C-S / C-M: clean single- / multi-domain; Comp.: completion; MS: memory score (1–4), PERMA’s fidelity measure of the served context against the gold preferences. Bold: best value among the memory systems, the lowest for the four error types.

Preference availability and use. Accuracy on PrefEval depends on whether the preference reaches the agent’s context and on whether the agent then follows it. Figure 3 separates the two, using lexical detection as a proxy for availability. A preference is detected when at least 40% of its content words occur in the served context. The preference is detected in 84% of Leto’s contexts, compared with 12%–69% for the other memory systems. The agent follows a detected preference in 64% of cases under Leto, compared with 32%–56% under the other memory systems. The agent follows the preference more often when it is detected than when it is not, by 21–45 percentage points across the memory systems. Availability therefore matters, but it does not ensure use. Standalone illustrates the difference. The preference is in its context inside the full history in every item, yet the agent follows it in 3.3% of them. Leto serves the preference in a short standing user profile written without reading the request and placed in every item, so it reaches the agent whether or not the request resembles it.

Figure 3. Preference availability and use on PrefEval. A preference counts as detected when at least 40% of its content words occur in the served context. Blue and gray circles show preference-following rates with and without detection, respectively.

PERMA

Main results. We follow PERMA’s type-3 evaluation, reporting multiple-choice (MCQ) accuracy and interactive task completion under the clean single-domain (C-S) and clean multi-domain (C-M) conditions. As shown in Table 1, Leto achieves the highest MCQ accuracy in both conditions. Its clearest advantage is in C-M completion, where it exceeds the strongest compared system Memobase by 7.64 percentage points. This advantage does not extend to C-S completion, where RAG performs best. Leto completes 76.5% of tasks averaged over the two conditions, 3.1 points above Memobase. Organizing the history matters most when a task draws on preferences from multiple domains: Leto’s standing user profile gathers the user’s preferences across domains into one block placed for every task, whereas retrieval by the request returns the domain the request names.

Fidelity and task performance. PERMA’s memory score is a fidelity measure of the served context against the gold preferences and does not consistently track task performance. Letta has the highest memory score in the C-M condition but the lowest MCQ accuracy and completion rate. A stronger fidelity score therefore does not necessarily translate into better personalization.

Scenario 2: Long-Horizon Tasks

Long-horizon tasks require an agent to carry information from earlier interactions into later decisions. MemoryArena evaluates this ability through interdependent subtasks across shopping, travel, search, math, and physics.

Main results. Table 2 reports progress score (PS) and success rate (SR), averaged equally across the five environments. PS measures progress within a task chain, while SR measures the proportion of completed chains. Leto achieves the highest overall PS (32.01%) and SR (18.33%) among all compared methods. It is also the only memory system whose useful rate exceeds its harmful rate in every environment (Appendix § 8).

SystemShoppingTravelSearchMathPhysicsPSSR
No History
No Memory44.24 / 0.000.00 / 0.003.26 / 8.1424.81 / 15.0044.75 / 30.0023.4110.63
Full History
Standalone (gpt-5-mini)53.94 / 0.672.30 / 0.003.03 / 3.1731.07 / 20.0061.39 / 50.0030.3414.77
RAG49.69 / 0.001.50 / 0.005.85 / 13.5733.07 / 22.5057.85 / 45.0029.5916.21
Compared Memory Systems
Mem041.56 / 0.000.00 / 0.004.84 / 11.3128.97 / 17.5059.72 / 45.0027.0214.76
LangMem50.56 / 0.670.00 / 0.005.03 / 13.5725.51 / 12.5043.22 / 20.0024.869.35
Hindsight43.05 / 0.000.00 / 0.004.19 / 9.9530.31 / 17.5054.26 / 30.0026.3611.49
Letta54.78 / 0.670.00 / 0.005.11 / 16.7431.71 / 17.5064.58 / 55.0031.2417.98
Zep46.63 / 0.000.00 / 0.006.99 / 21.2727.27 / 12.5044.47 / 20.0025.0710.75
Memobase48.55 / 0.000.00 / 0.005.21 / 14.0323.92 / 0.0047.18 / 20.0024.976.81
Our System
Leto53.22 / 0.002.73 / 0.377.97 / 21.2731.77 / 20.0064.35 / 50.0032.0118.33

Table 2. MemoryArena progress score (PS) and success rate (SR) in percent, as PS / SR per environment. Overall columns average the five environments equally. SR measures full-chain completion except in search, where it measures final-question success. Bold: best value among the memory systems.

Effect of chain depth. Figure 4 shows how the gain over the No Memory baseline varies with chain position in shopping and search. Every shopping chain has six purchases, while search chains run longer. Leto’s gain grows with position in both. In shopping it rises from 1.3 percentage points at the first purchase to 7.3 points at the sixth. In search it rises from zero at the first question to approximately 14 points at the eighth, where every other system is below 10 points and most remain close to zero. A later step depends on what earlier rounds established. Leto serves it as the task state in every later round, so its contribution grows as the chain proceeds. Letta holds the larger gain in shopping, where a later purchase depends on only a few earlier ones. In search Letta reaches 7.2 points at the eighth question, half of Leto’s gain.

Figure 4. Pass-rate gains over No Memory by chain position in MemoryArena shopping and search. NN below the axis counts the chains reaching each position.

Scenario 3: Long-Context Understanding

Long-context understanding requires an agent to recover details and relationships from earlier conversations. Questions often identify the information sought more explicitly than in the other scenarios.

Main results. Table 3 reports accuracy on LoCoMo and LongMemEval, with the tokens each system retrieves per question and its evidence recall. Leto achieves the highest accuracy among the memory systems on both benchmarks, 71.82% on LoCoMo and 73.20% on LongMemEval. It is 2.79 percentage points lower than RAG on LoCoMo and 6.80 points higher on LongMemEval. RAG retrieves about 1.7× and eight times as many tokens. Retrieval over the raw history is already effective because these questions identify the information sought, which suggests that the benefit of memory organization varies with how explicitly the request identifies the relevant history. Results by question category are in Appendix § 9.

SystemLoCoMo TokensLoCoMo RecallLoCoMo Acc.LongMemEval TokensLongMemEval RecallLongMemEval Acc.
No History
No Memory––4.55––6.40
Full History
Standalone27,834–74.42111,569–51.60
RAG1,999–74.619,813–66.40
Compared Memory Systems
Mem074556.6967.861,11379.1869.20
LangMem1,75743.0732.081,73567.8037.60
Hindsight60846.5165.1370170.6170.00
Letta5526.2451.368629.5936.60
Zep47929.7941.362,03969.3648.00
Memobase1,02724.7913.181,02534.4015.00
Our System
Leto1,19286.5871.821,18595.3873.20

Table 3. Long-context understanding on LoCoMo and LongMemEvalS. Tokens: average tokens of retrieved memory per question (the full history for Standalone, which uses gpt-4o-mini). Recall: evidence recall (%), measured for the memory systems. Acc.: accuracy (%). Bold: best value among the memory systems.

Evidence coverage. Evidence recall is the fraction of an annotated evidence message’s content words that appear in the served context, a lexical proxy for whether the supporting evidence reaches the agent (Appendix § 9). Leto has the highest recall on both benchmarks, 86.58% on LoCoMo and 95.38% on LongMemEval. The other memory systems reach at most 56.69% and 79.18%. Serving the source of the retrieved facts therefore keeps most of the evidence in a small context. The remaining difference from RAG on LoCoMo is concentrated in single-hop questions. Approximately 40% of those answered correctly by RAG but not by Leto have an evidence message that no extracted fact points to, so access through the fact index still depends on extraction coverage.

Conclusion

The value of agent memory lies in the responses it enables, and fidelity to past conversations does not ensure that value. We viewed memory as a prediction problem and presented Leto, a memory system that decides what to memorize and what to serve by the utility of memory to future responses. Leto leads the compared memory systems in three scenarios that place different demands on memory, which suggests that utility is a general criterion for memory design. We hope this view moves memory systems from how faithfully they record the past toward how much they improve what the agent does next. As future work, we will learn utility forecasts from feedback so that memory systems better anticipate the needs of future interactions. We will also study how to attribute an outcome to an individual memory and how utility transfers across agents.

Limitations

Leto trades storage and write-time computation for the ability to recover what extraction did not predict would matter. Keeping every conversation beneath the fact index removes the loss of discarded detail, but it does not make every detail reachable: a message that no fact points to is served only when another fact’s source contains it. Extraction coverage therefore remains the bound on how far the memorization gap can be closed. Serving standing information before the request bridges the serving gap where a request leaves a standing constraint unstated, at the cost of context that a given request may not need. The profile and task state are generated summaries that can misstate what the conversations established. The utility index is updated from outcomes, but an outcome is shared by every memory served for that response. The signal is therefore coarse: an unnecessary memory can be rewarded and a correct one penalized. A memory that is never served never earns an observation. More generally, utility is a property of the memory system together with the agent it serves. The same served memory can help one agent and not another, so what Leto learns about a memory’s utility is specific to the agent and the tasks it was observed on. Finally, the approach addresses what to memorize and what to serve but not how the agent uses what it is served; an agent can still overlook useful served memory [9].

Benchmarks

Table 4 lists the five benchmarks with their number of graded units and their memory-store scope, along with the metrics reported.

Useful and Harmful Rates

The difference between a system’s level and No Memory’s on a benchmark is the balance of two outcomes on the same graded units. A unit that passes with memory and fails under No Memory has positive utility in Equation (1) and counts as useful; the reverse is harmful; a unit with the same result in both runs is unchanged. The useful rate minus the harmful rate is the difference in level. Table 5 gives the useful rate and Table 6 the harmful rate on every benchmark. These are paired observed outcomes, not attribution to an individual memory. No Memory passes few units on PrefEval and on LoCoMo and LongMemEval, so every system’s harmful rate there is small and the useful rate alone orders the systems. Leto’s useful rate exceeds its harmful rate on every evaluated outcome. Among settings with enough No Memory successes to assess degradation, Leto has the lowest harmful rate among the memory systems on PERMA MCQ and C-M completion and on MemoryArena shopping and math. On PERMA MCQ, Standalone’s harmful rate is approximately twice Leto’s.

Long-Context Results by Category

Tables 7 and 8 give the long-context results by question category. LoCoMo covers single-hop and multi-hop as well as temporal and open-domain questions; its adversarial category of questions with no answer in the conversation is excluded as in Mem0’s evaluation ([3]). The LoCoMo difference from RAG is concentrated in single-hop questions, where RAG reaches 82.05% against Leto’s 76.69%. The largest LongMemEval advantage over Hindsight is in temporal reasoning, where Leto achieves 73.68% against 62.41%.

Evidence recall. Evidence recall is the fraction of an evidence message’s content words appearing in the served context, averaged first over evidence messages and then over questions. Content words are lowercased words with at least four letters, excluding stop words. We use annotated evidence for 1,531 LoCoMo questions and the best-matching turn from each annotated answer session for 470 answerable LongMemEval questions. Figure 5

Figure 5. Answer accuracy by evidence-recall band. Each cell shows its number of questions; hatched cells contain fewer than ten.

BenchmarkOutcomeStandaloneRAGMem0LangMemHindsightLettaZepMemobaseLeto
PERMAC-S MCQ27.6619.3919.1523.1719.1513.4818.6822.7027.42
C-S Comp.13.9515.1312.7713.0012.7710.8712.2913.4812.53
C-M MCQ21.6617.8315.2916.5614.6512.749.5516.5619.11
C-M Comp.14.0115.2914.6512.1014.0111.4614.0118.4718.47
PrefEvalAccuracy2.5012.5032.7039.9043.0017.208.8027.2059.30
MemoryArenaShopping17.8913.337.7815.007.3320.4412.5612.8915.33
Travel2.301.500.000.000.000.000.000.002.73
Search2.444.142.803.472.383.474.753.355.91
Math10.4512.159.323.958.199.897.064.8010.17
Physics18.6015.1217.446.9812.7923.266.9810.4719.77
LoCoMoAccuracy70.4570.5864.0929.4261.7547.5338.3810.6567.86
LongMemEvalAccuracy47.2061.2064.4032.4065.4031.6043.209.2069.00

Table 5. Useful rates against No Memory: the share of each benchmark’s graded units that the system passes and No Memory fails (%). Shopping uses step success. Standalone places the full history in the agent’s context (gpt-4o-mini; gpt-5-mini on MemoryArena). C-S / C-M: clean single- / multi-domain; Comp.: completion; Bold: highest value per row among the memory systems.

groups questions by evidence recall. On LoCoMo, every memory system achieves higher accuracy in the highest recall band than in the lowest. On LongMemEval, context from the annotated evidence session reaches the agent for 98% of questions under Leto and 99% under RAG. Accuracy among these questions is 75% and 67%, respectively.

BenchmarkOutcomeFull HistoryCompared Memory SystemsOur System
StandaloneRAGMem0LangMemHindsightLettaZepMemobaseLeto
PERMAC-S MCQ3.312.602.842.133.7810.644.023.071.65
C-S Comp.6.625.676.625.676.8610.648.045.916.38
C-M MCQ7.016.374.465.735.1014.657.645.733.82
C-M Comp.10.8314.0112.7410.1914.6517.2010.8314.016.37
PrefEvalAccuracy0.600.800.600.600.200.000.800.400.20
MemoryArenaShopping9.679.0011.5610.339.118.7810.339.898.00
Travel0.000.000.000.000.000.000.000.000.00
Search2.381.581.281.581.341.581.161.401.46
Math3.393.114.243.672.822.824.524.522.26
Physics3.493.492.339.304.653.495.816.983.49
LoCoMoAccuracy0.580.520.781.881.170.711.562.010.58
LongMemEvalAccuracy2.001.201.601.201.801.401.600.602.20

Table 6. Harmful rates against No Memory: the share of each benchmark’s graded units that No Memory passes and the system fails (%). Shopping uses step success. Standalone places the full history in the agent’s context (gpt-4o-mini; gpt-5-mini on MemoryArena). C-S / C-M: clean single- / multi-domain; Comp.: completion; Bold: lowest value per row among the memory systems.

SystemCategoryOverall
Single-hopMulti-hopTemporalOpen-domainTokensAccuracyF1
No History
No Memory5.592.481.5611.46–4.552.99
Full History
Standalone (gpt-4o-mini)86.3372.7048.2962.5027,83474.4246.52
RAG82.0562.4172.2753.121,99974.6154.32
Compared Memory Systems
Mem075.9858.8760.4447.9274567.8649.90
LangMem39.7135.466.5440.621,75732.0822.61
Hindsight67.6665.9662.6248.9660865.1348.72
Letta63.8550.3524.9233.335551.3639.74
Zep41.7435.1145.1743.7547941.3631.43
Memobase14.988.515.6136.461,02713.1810.01
Our System
Leto76.6961.7072.5956.251,19271.8251.86

Table 7. LoCoMo results (%). Tokens: average tokens of retrieved memory per question (the full history for Standalone). Bold: best value among the memory systems.

SystemCategoryOverall
SS userSS assistantSS preferenceMultisessionKnowledge updateTemporal reasoningAbstentionTokensAccuracy
No History
No Memory8.573.570.009.027.694.51100.00–6.40
Full History
Standalone (gpt-4o-mini)65.7185.7113.3338.3566.6742.8666.67111,56951.60
RAG90.00100.0020.0056.3969.2358.6580.009,81366.40
Compared Memory Systems
Mem094.2991.0750.0059.4082.0553.3873.331,11369.20
LangMem54.2930.3650.0022.5660.2630.8383.331,73537.60
Hindsight94.2964.2953.3367.6775.6462.4170.0070170.00
Letta51.4353.5733.3324.8151.2825.5676.678636.60
Zep67.1455.3646.6736.0960.2639.8573.332,03948.00
Memobase18.577.1420.008.2734.6210.5393.331,02515.00
Our System
Leto90.0089.2946.6761.6575.6473.6863.331,18573.20

Table 8. LongMemEvalS results (%). The 30 abstention questions also count within their question types. SS: single-session. Tokens: average tokens of retrieved memory per question (the full history for Standalone). Bold: best value among the memory systems.

References

  1. [1]Shuguang Chen, Adil Hafeez, and Salman Paracha. 2026. Signals: Trajectory sampling and triage for agentic interactions. arXiv preprint arXiv:2604.00356.arxiv.org/abs/2604.00356
  2. [2]Tong Chen, Hongwei Wang, Sihao Chen, Wenhao Yu, Kaixin Ma, Xinran Zhao, Hongming Zhang, and Dong Yu. 2024. Dense X retrieval: What retrieval granularity should we use? In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 15159–15177, Miami, Florida, USA. Association for Computational Linguistics.arxiv.org/abs/2312.06648
  3. [3]Prateek Chhikara, Dev Khant, Saket Aryan, Taranjeet Singh, and Deshraj Yadav. 2025. Mem0: Building production-ready AI agents with scalable long-term memory. arXiv preprint arXiv:2504.19413.arxiv.org/abs/2504.19413
  4. [4]Eunsol Choi, Jennimaria Palomaki, Matthew Lamm, Tom Kwiatkowski, Dipanjan Das, and Michael Collins. 2021. Decontextualization: Making sentences stand-alone. Transactions of the Association for Computational Linguistics, 9:447–461.arxiv.org/abs/2102.05169
  5. [5]Bernal Jiménez Gutiérrez, Yiheng Shu, Yu Gu, Michihiro Yasunaga, and Yu Su. 2024. HippoRAG: Neurobiologically inspired long-term memory for large language models. In Advances in Neural Information Processing Systems, volume 37, pages 59532–59569. Curran Associates, Inc.arxiv.org/abs/2405.14831
  6. [6]Zexue He, Yu Wang, Churan Zhi, Yuan zhe Hu, Tzu-Ping Chen, Lang Yin, Ze Chen, Tong Arthur Wu, Siru Ouyang, Zihan Wang, Jiaxin Pei, Julian McAuley, Yejin Choi, and Alex Petland. 2026. Benchmarking agent memory in independent multi-session agentic tasks. In Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, pages 41975–42005. PMLR.arxiv.org/abs/2602.16313
  7. [7]Chris Latimer, Nicoló Boschi, Andrew Neeser, Chris Bartholomew, Gaurav Srivastava, Xuan Wang, and Naren Ramakrishnan. 2025. Hindsight is 20/20: Building agent memory that retains, recalls, and reflects. arXiv preprint arXiv:2512.12818.arxiv.org/abs/2512.12818
  8. [8]Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich Küttler, Mike Lewis, Wen-tau Yih, Tim Rocktäschel, Sebastian Riedel, and Douwe Kiela. 2020. Retrieval-augmented generation for knowledge-intensive NLP tasks. In Advances in Neural Information Processing Systems, volume 33, pages 9459–9474. Curran Associates, Inc.arxiv.org/abs/2005.11401
  9. [9]Nelson F. Liu, Kevin Lin, John Hewitt, Ashwin Paranjape, Michele Bevilacqua, Fabio Petroni, and Percy Liang. 2024. Lost in the middle: How language models use long contexts. Transactions of the Association for Computational Linguistics, 12:157–173.arxiv.org/abs/2307.03172
  10. [10]Shuochen Liu, Junyi Zhu, Long Shu, Junda Lin, Yuhao Chen, Haotian Zhang, Chao Zhang, Derong Xu, Jia Li, Bo Tang, Zhiyu Li, Feiyu Xiong, Enhong Chen, and Tong Xu. 2026. PERMA: Benchmarking personalized memory agents via event-driven preference and realistic task environments. arXiv preprint arXiv:2603.23231.arxiv.org/abs/2603.23231
  11. [11]Adyasha Maharana, Dong-Ho Lee, Sergey Tulyakov, Mohit Bansal, Francesco Barbieri, and Yuwei Fang. 2024. Evaluating very long-term conversational memory of LLM agents. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 13851–13870, Bangkok, Thailand. Association for Computational Linguistics.
  12. [12]Charles Packer, Sarah Wooders, Kevin Lin, Vivian Fang, Shishir G. Patil, Ion Stoica, and Joseph E. Gonzalez. 2023. MemGPT: Towards LLMs as operating systems. arXiv preprint arXiv:2310.08560.arxiv.org/abs/2310.08560
  13. [13]Joon Sung Park, Joseph O’Brien, Carrie Jun Cai, Meredith Ringel Morris, Percy Liang, and Michael S. Bernstein. 2023. Generative agents: Interactive simulacra of human behavior. In Proceedings of the 36th Annual ACM Symposium on User Interface Software and Technology, UIST ’23, pages 1–22. Association for Computing Machinery.
  14. [14]Preston Rasmussen, Pavlo Palivchuk, Travis Beauvais, Jack Ryan, and Daniel Chalef. 2025. Zep: A temporal knowledge graph architecture for agent memory. arXiv preprint arXiv:2501.13956.arxiv.org/abs/2501.13956
  15. [17]Wujiang Xu, Zujie Liang, Kai Mei, Hang Gao, Juntao Tan, and Yongfeng Zhang. 2025. A-Mem: Agentic memory for LLM agents. In Advances in Neural Information Processing Systems, volume 38, Main Conference, pages 17577–17604. Curran Associates, Inc.arxiv.org/abs/2502.12110
  16. [18]Sikuan Yan, Xiufeng Yang, Zuchao Huang, Ercong Nie, Zifeng Ding, Zonggen Li, Xiaowen Ma, Jinhe Bi, Kristian Kersting, Jeff Z. Pan, Hinrich Schuetze, Volker Tresp, and Yunpu Ma. 2026. Memory-R1: Enhancing large language model agents to manage and utilize memories via reinforcement learning. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 12805–12825, San Diego, California, United States. Association for Computational Linguistics.
  17. [19]Siyan Zhao, Mingyi Hong, Yang Liu, Devamanyu Hazarika, and Kaixiang Lin. 2025. Do LLMs recognize your preferences? Evaluating personalized preference following in LLMs. In International Conference on Learning Representations, volume 2025, pages 15888–15931.arxiv.org/abs/2502.09597
  18. [20]Wanjun Zhong, Lianghong Guo, Qiqi Gao, He Ye, and Yanlin Wang. 2024. MemoryBank: Enhancing large language models with long-term memory. Proceedings of the AAAI Conference on Artificial Intelligence, 38(17):19724–19731.arxiv.org/abs/2305.10250
  19. [21]Mingxi Zou, Zhihan Guo, Langzhang Liang, Zhuo Wang, Qifan Wang, Qingsong Wen, Irwin King, Lizhen Qu, and Zenglin Xu. 2026. Remember the decision, not the description: A rate-distortion framework for agent memory. arXiv preprint arXiv:2605.10870.arxiv.org/abs/2605.10870

Paper details

vlnc:W_q8f92sy9
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents