Understanding and Mitigating Inference-Time Overreliance Using Agentic Memory
Summary
该论文研究了LLM智能体中的'记忆过度依赖'现象——即使记忆是良性的、正确存储且被恰当检索,部分证据迁移仍会误导推理。作者提出MemTrim框架,在写入时索引记忆证据、在读取时控制复用,无需重训即可减少过度依赖。
View Cached Full Text
Cached at: 10/08/26, 12:23 PM
# Understanding and Mitigating Inference-Time Overreliance Using Agentic Memory
Source: [https://arxiv.org/html/2610.07311](https://arxiv.org/html/2610.07311)
Yuqiao MengAffiliation:Binghamton University, State University of New York, Binghamton, NY, USANilesh AuradkarAffiliation:Binghamton University, State University of New York, Binghamton, NY, USAMuchao YeAffiliation:University of Iowa, Iowa City, IA, USADazheng ZhangAffiliation:Penn Medicine, University of Pennsylvania, Philadelphia, PA, USAZhaohan XiAffiliation:Binghamton University, State University of New York, Binghamton, NY, USA
###### Abstract
Agentic memory allows LLM agents to reuse past experience, yet retrieved memories can also distort inference even when they are benign, correctly stored, and appropriately retrieved\. We study this failure mode, which we call*memory overreliance*\. Across benchmarks and memory architectures, we find that memory is useful when past experience transfers to the current task, but can become misleading when only part of the evidence transfers\. Failures are strongest under partial query\-memory overlap, a pattern further confirmed by controlled experiments that vary the amount of overlapping evidence\. Motivated by this finding, we proposeMemTrim, a plug\-and\-play framework that indexes memory evidence at write time and controls its reuse at read time\.MemTrimremoves repeated or conflicting evidence while preserving useful memory\-specific information, requires no retraining, and applies to both embedding\-based and structured memory systems\. Experiments show thatMemTrimreduces memory overreliance while preserving the benefits of useful memory across models and memory settings\.
## 1Introduction
Memory allows LLM agents to carry information across interactions and reuse past experience on future tasks\. This capability is increasingly important for agents that operate over long horizons, where solving each request in isolation would discard useful experience accumulated from previous interactions\([Xiong et al\., 2026](https://arxiv.org/html/2610.07311#bib.bib6);[Park et al\., 2023](https://arxiv.org/html/2610.07311#bib.bib13);[Zhong et al\., 2024](https://arxiv.org/html/2610.07311#bib.bib15);[Shinn et al\., 2023](https://arxiv.org/html/2610.07311#bib.bib1);[Zhao et al\., 2024](https://arxiv.org/html/2610.07311#bib.bib12)\)\. However, memory can misguide inference even when the memory itself is benign\. A memory may be correctly formed and appropriately retrieved during normal user\-agent interactions, yet contain information that does not fully transfer to the current task\([Yoran et al\., 2024](https://arxiv.org/html/2610.07311#bib.bib22);[Yu et al\., 2024](https://arxiv.org/html/2610.07311#bib.bib29);[Kim and Lee, 2024](https://arxiv.org/html/2610.07311#bib.bib28)\)\. Once placed in the inference context, such memory can exert undue influence on the model’s reasoning\. We refer to this phenomenon asmemory overreliance: excessive reliance on benign memory that harms inference on the current task\.
Our Work\.We study this issue in three steps\. We first establish when memory overreliance occurs and investigate its cause\. We then develop a mitigation method\. Finally, we test whether the method reduces overreliance while preserving the benefits of useful memory\.
We begin with a three\-level empirical analysis of memory overreliance\. ❶ First, we ask*whether overreliance arises under ordinary memory use*\. Across multiple benchmarks\([Cohen et al\., 2024](https://arxiv.org/html/2610.07311#bib.bib34);[Joishy et al\., 2025](https://arxiv.org/html/2610.07311#bib.bib44);[Jin et al\., 2023](https://arxiv.org/html/2610.07311#bib.bib36)\)and memory architectures\([Chhikara et al\., 2025](https://arxiv.org/html/2610.07311#bib.bib14);[Xu et al\., 2026](https://arxiv.org/html/2610.07311#bib.bib4);[Packer et al\., 2023](https://arxiv.org/html/2610.07311#bib.bib33);[Rasmussen et al\., 2025](https://arxiv.org/html/2610.07311#bib.bib31)\), we find a clear contrast: memory improves inference when the stored interaction remains applicable, but can reduce accuracy when the current task shares substantial evidence with the memory while requiring a different conclusion\. ❷ Subsequently, we examine*where these failures occur*\. We compare query\-memory overlap between successful and failed cases and find a statistically significant difference\. Successful cases appear more often near the two extremes of the overlap range, while failures concentrate under partial overlap\. In this regime, enough evidence is shared to make the memory influential, yet some answer\-relevant information still differs\. ❸ Furthermore, we test this relationship directly through controlled experiments that vary the amount of overlapping evidence while holding the remaining memory content fixed\. We observe an effect that, with little overlap, memory has limited influence; as overlap increases, its negative effect grows and is strongest at intermediate levels\. The effect then reverses as the interaction becomes sufficiently aligned with the stored experience\. Collectively, these results indicate that partial evidence overlap is a key reason in which ordinary memory use can become misleading at inference time\.
Figure 1:Illustration of memory overreliance\. A retrieved memory can appear highly relevant because it shares substantial evidence with the current query, while still carrying context\-specific information that does not transfer to the present task\. Reusing the memory without separating these pieces of evidence can misguide the model toward an unsupported conclusion\.These findings motivateMemTrim111Memory with*Trie\-based Replicate\-aware Inference Mitigation*\., a plug\-and\-play framework that controls how overlapping memory evidence enters inference\. At write time,MemTrimdecomposes each memory into evidence units and indexes them in a trie\([Bodon and Rónyai, 2003](https://arxiv.org/html/2610.07311#bib.bib45)\)\. Identical evidence maps to shared trie nodes, while different values of the same evidence branch separately\. At read time, the current query is mapped into the same evidence space and compared with the retrieved memories\.MemTrimremoves evidence already present in the query, drops conflicting memory evidence, and retains useful information found only in memory\. It also removes a previous answer when the evidence it relied on has changed, or preserves it only as contextual evidence when the current query asks a different question\. SinceMemTrimoperates only when memory is written and read, it can be added to existing embedding\-based and structured memory systems without retraining the underlying LLM\.
We evaluate whether this design reduces overreliance without weakening useful memory\. Across benchmarks, LLMs, and memory architectures,MemTrimreduces memory\-induced errors on task\-divergent cases while preserving the benefit of memory when the stored interaction remains applicable\. Component ablations show that removing repeated and conflicting evidence, handling previous answers when relevant evidence changes, and distinguishing task changes each contribute in the settings they are designed for\. We further testMemTrimunder deliberate memory attacks and find that its performance degrades more gradually as misleading memories increase\. Finally,MemTrimintroduces only small changes in inference time across the evaluated memory systems\.
To summarize, our contributions are as follows:
- •We identify*memory overreliance*as an inference\-time failure of benign agentic memory and show that failures concentrate under partial evidence overlap between the current query and retrieved memory\.
- •We proposeMemTrim, a plug\-and\-play framework that indexes memory at the evidence level and controls how repeated, conflicting, and memory\-specific information is reused during inference\.
- •We evaluateMemTrimacross benchmarks, LLMs, and memory architectures, including component ablations, memory\-attack stress tests, and runtime analysis\.
## 2An Empirical Study of Memory Overreliance
We study memory overreliance through three questions\. RQ1 asks whether benign memory can hurt inference under normal memory use\. RQ2 examines where these failures occur along the query\-memory overlap range\. RQ3 then controls the amount of overlapping evidence to test whether the same pattern persists when the overlap is varied directly\.
Benchmarks and Models\.We evaluate on RippleEdits\([Cohen et al\., 2024](https://arxiv.org/html/2610.07311#bib.bib34)\), CounterLogic\([Joishy et al\., 2025](https://arxiv.org/html/2610.07311#bib.bib44)\), and CLADDER\-Derived\([Jin et al\., 2023](https://arxiv.org/html/2610.07311#bib.bib36)\)using Qwen3\.8\-27B and GPT\-5\.6 Luna\. For each benchmark, memories are built from earlier interactions with valid stored answers and evaluated on separate queries\.
Memory systems\.We evaluate four memory systems with different architectures: Mem0\([Chhikara et al\., 2025](https://arxiv.org/html/2610.07311#bib.bib14)\)stores extracted memory entries in a retrieval index; A\-Mem\([Xu et al\., 2026](https://arxiv.org/html/2610.07311#bib.bib4)\)creates structured notes and dynamically links related memories; MemGPT\([Packer et al\., 2023](https://arxiv.org/html/2610.07311#bib.bib33)\)separates active and archival memory; and Graphiti\([Rasmussen et al\., 2025](https://arxiv.org/html/2610.07311#bib.bib31)\)represents memory as a relational graph\.
Cases and metrics\.We divide queries into*task\-aligned*\(TA\) and*task\-divergent with overlapping evidence*\(TD\-Dup\) cases\. In TA cases, the current query asks the same task as the stored interaction and preserves the answer\-relevant evidence, so the retrieved memory is useful\. In TD\-Dup cases, the query still shares substantial evidence with the stored interaction, but the task or answer\-relevant information differs \(outdated, conflicting, or irrelevant\), so the stored conclusion should not be directly reused\. We report task accuracy for both groups\. On TD\-Dup cases, we additionally track predictions that change from correct to wrong \(✓→\\rightarrow✗\) and from wrong to correct \(✗→\\rightarrow✓\) after memory is introduced, separating errors caused by memory from cases where memory improves the prediction\.
RQ1: Can ordinary memory use degrade inference?
We first compare each model with and without memory\. Because every stored interaction was correct when written, this experiment isolates whether ordinary memory reuse can have negative impacts once the current memory storage no longer supports the same query task\.
Table 1:Accuracy \(%\) on task\-aligned \(TA\) and task\-divergent with duplicated evidence \(TD\-Dup\) cases\. TA denotes cases where the memory storage is directly applicable, while TD\-Dup denotes cases with substantial query\-memory overlap but a non\-transferable stored conclusion\. ✓→\\rightarrow✗ and ✗→\\rightarrow✓ count memory\-induced regressions and corrections on TD\-Dup cases, respectively\. Standard deviations are shown as subscripts\.Observations:Table[1](https://arxiv.org/html/2610.07311#S2.T1)reveals a clear difference between task\-aligned \(TA\) and task\-divergent with overlapping evidence \(TD\-Dup\) cases\. In TA cases, retrieved memory is consistently useful across datasets and memory architectures because the stored interaction remains applicable to the current task\. In TD\-Dup cases, the same memory can instead reduce accuracy\. At the example level, memory\-induced regressions occur much more often than memory\-induced corrections\.
Insights:This contrast suggests that the problem is not that memory is generally noisy or unhelpful\. The same memory mechanism benefits inference when the stored experience transfers to the current task, yet becomes misguiding when only part of that experience transfers\. Memory overreliance therefore arises from how partially overlapping evidence is reused during inference\.
RQ2: Where does memory overreliance occur?
We next examine which TD\-Dup cases are the most vulnerable\. We call a case*successful*when it remains correct after memory is added and*failed*when memory changes a correct prediction into an incorrect one\. For each case, we compute the content\-word Jaccard overlap between the current query and retrieved memory, excluding the stored answer\. We refer to this quantity as*query\-memory overlap*and compare its distribution between the two groups\.
Figure 2:Query\-memory overlap \(Jaccard similarity\) for successful and failed TD\-Dup cases on RippleEdits\. The statistical test\([Simonsohn, 2018](https://arxiv.org/html/2610.07311#bib.bib16)\)assesses whether the overlap distributions differ between the two groups\.Observations:Figure[2](https://arxiv.org/html/2610.07311#S2.F2)shows that successful and failed cases occupy different parts of the overlap range\. Successful cases occur more often near the two extremes: very little overlap gives memory limited influence, while very high overlap indicates that the current task closely resembles the stored interaction\. Failed cases instead concentrate under partial overlap, with a statistically significant separation across all four memory systems\.
Insights:This pattern suggests that overlap plays two roles\. Increasing overlap makes retrieved memory more influential but does not guaranty that the evidence supporting its conclusion also transfers to the current task\. Partial overlap is therefore particularly vulnerable: enough evidence is overlapped to make the memory dominant, while some answer\-relevant information can still diverge\. The exact distribution varies across memory architectures, but this pattern remains consistent\. More results are provided in Appendix[B](https://arxiv.org/html/2610.07311#A2)\.
RQ3: How does overreliance change with overlapping evidence?
Figure 3:Change in accuracy as the amount of overlapping evidence is varied from task\-divergent toward task\-aligned interaction\. The y\-axis reports the accuracy change relative to inference without memory\. The gray region marks the range where memory is most misguiding on average\.RQ2 examines TD\-Dup cases as they naturally occur, where factors beyond overlap may also distinguish successful from failed cases\. To isolate the role of overlap, we construct a controlled setting in which each memory is decomposed into evidence units and vary the fraction repeated in the current query while keeping the remaining content fixed\. As overlap increases, the answer\-relevant evidence is gradually restored and the interaction moves toward the TA setting\. At each level, we measure the memory effect asΔAcc=Accmem−Accno\-mem\\Delta\\mathrm\{Acc\}=\\mathrm\{Acc\}\_\{\\mathrm\{mem\}\}\-\\mathrm\{Acc\}\_\{\\mathrm\{no\\text\{\-\}mem\}\}and test the non\-monotonic trend with a quadratic term and the two\-lines test\([Simonsohn, 2018](https://arxiv.org/html/2610.07311#bib.bib16)\)\.
Observations:Figure[3](https://arxiv.org/html/2610.07311#S2.F3)shows a consistent non\-monotonic trend across models and memory systems\. With little overlapping evidence, memory has limited influence\. As overlap increases, its harmful effect grows and is strongest at intermediate overlap\. The effect then reverses as the current query becomes more aligned with the stored interaction\.
Insights:This observation further explains RQ2\. overlap first increases memory influence without making the stored conclusion valid for the current task\. At intermediate overlap, substantial evidence is repeated while some decisive information still differs\. As the interaction approaches TA, that answer\-relevant evidence is restored and the stored conclusion becomes reusable\. Memory overreliance therefore emerges when evidence overlap is high enough to amplify memory, but task alignment is still incomplete\.
Overall Insight \.RQ1\-RQ3 consistently deliver an empirical insight: memory is useful in task\-aligned cases, but can be misguidingwhen overlapping evidence is substantial but not fully aligned with the task, which motivates our subsequent mitigation strategy\.
## 3Method
Our empirical study shows that memory overreliance is most influential when a retrieved memory partially overlaps with the current query\. This motivates a simple mitigation principle:explicitly identify replicated evidence and control how it enters inference\.We developMemTrimto implement this principle\. Figure[4](https://arxiv.org/html/2610.07311#S3.F4)gives an overview\. We next describe the evidence representation \(§[3\.1](https://arxiv.org/html/2610.07311#S3.SS1)\), write\-time indexing \(§[3\.2](https://arxiv.org/html/2610.07311#S3.SS2)\), and read\-time memory use \(§[3\.3](https://arxiv.org/html/2610.07311#S3.SS3)\)\.
Figure 4:Overview ofMemTrim\. At write time, memories are decomposed into evidence units and linked through a trie\-backed index\. At read time,MemTrimidentifies shared, conflicting, and memory\-only evidence, then constructs a non\-redundant memory context before inference\.### 3\.1Overview and Evidence Representation
MemTrimis a plug\-and\-play layer around an existing memory system\. The underlying system continues to store complete memories and retrieve relevant entries using its original mechanism\.MemTrimadds an evidence index when a memory is written and processes retrieved memories before they are passed to the LLM\. It therefore requires neither model retraining nor replacement of the original memory architecture\.
Consider a stored interactionm=\(xm,ym\)m=\(x\_\{m\},y\_\{m\}\), wherexmx\_\{m\}contains the query and its context andymy\_\{m\}is the resulting answer\. We parsexmx\_\{m\}into a set of atomic evidence unitsEmE\_\{m\}\. Each unit is represented as a key\-value paire=\(k,v\)e=\(k,v\), wherekkidentifies an attribute or relation andvvgives its value\. We further extract a task signatureτm\\tau\_\{m\}that specifies what the interaction asks the model to determine\. The stored answer is represented as a typed outcomeom=\(τm,ym\)o\_\{m\}=\(\\tau\_\{m\},y\_\{m\}\)and associated with a support setHm⊆EmH\_\{m\}\\subseteq E\_\{m\}, which contains the evidence on which that outcome depends\. Thus, a memory is represented asm=\(Em,τm,Hm,om\)m=\(E\_\{m\},\\tau\_\{m\},H\_\{m\},o\_\{m\}\)\. The same parser is applied to a current queryqq, producingEqE\_\{q\}andτq\\tau\_\{q\}\. For free\-text memory, we obtain these fields with a fixed instruction\-based parser\. If the underlying memory already contains structured metadata \(e\.g\., graph\-based memory\([Rasmussen et al\., 2025](https://arxiv.org/html/2610.07311#bib.bib31)\)\), they can be mapped directly into the same representation\. Details of implementations \(e\.g\., evidence parsing and alignment\) are provided in Appendix[A\.1](https://arxiv.org/html/2610.07311#A1.SS1)\.
Illustrative ExampleConsider a stored interaction:*“Northstar Robotics was founded in 2016 by Maya Lee and Daniel Ortiz\. When was Northstar Robotics founded?”*The stored answer is*“2016\.”*MemTrimparses the interaction into evidence units such as\(entity,NorthstarRobotics\)\(\\texttt\{entity\},\\texttt\{NorthstarRobotics\}\),\(founded\_in,2016\)\(\\texttt\{founded\\\_in\},2016\),\(founder,MayaLee\)\(\\texttt\{founder\},\\texttt\{MayaLee\}\), and\(founder,DanielOrtiz\)\(\\texttt\{founder\},\\texttt\{DanielOrtiz\}\)\. Its task signature isτm=founding\_year\\tau\_\{m\}=\\texttt\{founding\\\_year\}, while the stored outcome isom=\(founding\_year,2016\)o\_\{m\}=\(\\texttt\{founding\\\_year\},2016\)\. Since the answer depends directly on the founding\-year evidence,\(founded\_in,2016\)∈Hm\(\\texttt\{founded\\\_in\},2016\)\\in H\_\{m\}\.
### 3\.2Memory Write: Trie\-Backed Evidence Index
At write time,MemTriminserts each evidence unit into a global trie𝒯\\mathcal\{T\}\. Evidence units are indexed independently, so one memory can be linked to multiple trie nodes\. For an evidence unite=\(k,v\)e=\(k,v\), the trie first follows its canonical keykkand then its valuevv\. The corresponding node records the memories that contain this evidence and whether the unit belongs to their support setsHmH\_\{m\}\. Complete memories remain in the original memory store;MemTrimmaintains only this evidence\-level index\.
The trie makes shared and changed evidence directly distinguishable\. Memories containing the same key\-value unit point to the same node, whereas different values of the same key occupy different branches\. For example,founded\_in=2016andfounded\_in=2017share the same relation key but diverge at the value level\.
Sparse evidence overlap\.Shared evidence need not form a continuous prefix between a memory and a query\. SupposeEm=\{e1,e2,e3,e4\}E\_\{m\}=\\\{e\_\{1\},e\_\{2\},e\_\{3\},e\_\{4\}\\\}andEq=\{e1,e2′,e3,e4′\}E\_\{q\}=\\\{e\_\{1\},e^\{\\prime\}\_\{2\},e\_\{3\},e^\{\\prime\}\_\{4\}\\\}\. Because each unit is indexed independently,MemTrimcan still matche1e\_\{1\}ande3e\_\{3\}even though the intervening units differ\. This allows the index to capture replicated evidence at arbitrary positions within an interaction\.
### 3\.3Memory Read: Replicate\-Aware Context Construction
At inference time, the underlying memory system first retrieves its usual candidate setℛ\(q\)\\mathcal\{R\}\(q\)\.MemTrimparses the current query intoEqE\_\{q\}and looks up its evidence units independently in the trie\. For each retrieved memorymm, the resulting matches divide its evidence into three sets: \(i\)*shared evidence*Sm\(q\)S\_\{m\}\(q\), whose key and value also appear in the query; \(ii\)*conflicting evidence*Dm\(q\)D\_\{m\}\(q\), whose key appears in the query with a different value; and \(iii\)*memory\-only evidence*Um\(q\)U\_\{m\}\(q\), which does not appear in the query\. Since matching is performed independently for each unit, shared evidence can occur anywhere in the memory\.
MemTrimthen constructs the memory context given to the LLM\. Shared evidence is removed from the retrieved memory because it is already stated in the query, avoiding repeated support for the same information\. Conflicting evidence is also removed because the current query supplies the value for the current inference\. Memory\-only evidence is retained when it provides additional information absent from the query\.
The stored outcomeomo\_\{m\}is handled separately\. If any supporting evidence conflicts with the current query, i\.e\.,Dm\(q\)∩Hm≠∅D\_\{m\}\(q\)\\cap H\_\{m\}\\neq\\emptyset,MemTrimsuppresses the previous outcome\. Otherwise, its use depends on the task\. Whenτm=τq\\tau\_\{m\}=\\tau\_\{q\}, the outcome can be retained as a previous answer to the same task\. Whenτm≠τq\\tau\_\{m\}\\neq\\tau\_\{q\},MemTrimconverts it into an evidence statement labeled by its original task\. For example, a previous answer “2016” to a founding\-year query can be represented as\(founded\_in,2016\)\(\\texttt\{founded\\\_in\},2016\)when a later query asks who founded the same organization\. The earlier result can then remain available as contextual evidence without being presented as the answer to the new question\. The transformed context from one memory is
m~\(q\)=Um\(q\)∪\{\{om\},Dm\(q\)∩Hm=∅,τm=τq,\{Type\(om\)\},Dm\(q\)∩Hm=∅,τm≠τq,∅,Dm\(q\)∩Hm≠∅,\\widetilde\{m\}\(q\)=U\_\{m\}\(q\)\\cup\\begin\{cases\}\\\{o\_\{m\}\\\},&D\_\{m\}\(q\)\\cap H\_\{m\}=\\emptyset,\\ \\tau\_\{m\}=\\tau\_\{q\},\\\\\[2\.0pt\] \\\{\\operatorname\{Type\}\(o\_\{m\}\)\\\},&D\_\{m\}\(q\)\\cap H\_\{m\}=\\emptyset,\\ \\tau\_\{m\}\\neq\\tau\_\{q\},\\\\\[2\.0pt\] \\emptyset,&D\_\{m\}\(q\)\\cap H\_\{m\}\\neq\\emptyset,\\end\{cases\}\(1\)
whereType\(om\)\\operatorname\{Type\}\(o\_\{m\}\)converts the previous outcome into an evidence unit labeled by its original task\. Outcomes that cannot be meaningfully reused as evidence are omitted\.
Finally,MemTrimmerges the transformed candidate memories and emits each retained evidence unit only once\. This context is combined with the unchanged current query and passed to the LLM\.
## 4Evaluation
Table 2:Mitigation results \(%\)\. All methods use Mem0 as the memory backbone and differ only in how retrieved memory is filtered, compressed, or used\. TA denotes task\-aligned cases where the stored memory is directly applicable, and TD\-Dup denotes task\-divergent cases with duplicated evidence, where the stored conclusion does not transfer\. ✓→\\rightarrow✗ and ✗→\\rightarrow✓ count memory\-induced regressions and corrections on TD\-Dup cases, respectively\. Standard deviations are shown as subscripts\.We evaluate whetherMemTrimreduces memory overreliance while preserving the benefit of useful memory\. We detail settings and evaluations as below:
Evaluation settings\.To makeMemTrimdirectly comparable with the previous results\. We use the same benchmarks, backbone LLMs, memory systems, and metrics as in §[2](https://arxiv.org/html/2610.07311#S2)\.
Baselines:We compare against several representative strategies applied on top of each agentic memory system: \(i\)*Facts\-only*removes the stored answer and retains only factual content; \(ii\)*Top\-1*keeps only the highest\-ranked retrieved memory; \(iii\) MMR\([Carbonell and Goldstein, 1998](https://arxiv.org/html/2610.07311#bib.bib30)\)reranks memories to reduce redundancy; \(iv\)*Similarity Filter*removes memories below a similarity threshold; \(v\) RECOMP\([Xu et al\., 2024](https://arxiv.org/html/2610.07311#bib.bib17)\)compresses retrieved memories into task\-relevant evidence; \(vi\) LLMLingua\-2\([Pan et al\., 2024](https://arxiv.org/html/2610.07311#bib.bib18)\)shortens the retrieved context through prompt compression; \(vii\)*Context\-faithful*\([Zhou et al\., 2023](https://arxiv.org/html/2610.07311#bib.bib19)\)prompts the model to prioritize the current context under retrieval conflict; \(viii\)*Answer\-first*\([Neeman et al\., 2023](https://arxiv.org/html/2610.07311#bib.bib20)\)answers from the current query before comparing against retrieved information; and \(ix\) Micro\-Act\([Huo et al\., 2025](https://arxiv.org/html/2610.07311#bib.bib21)\)adds an explicit reasoning step for handling conflicting retrieved knowledge\.
### 4\.1DoesMemTrimmitigate overreliance while preserving useful memory?
We first compare all methods using the same underlying retrieved memories\. The main question is whether a method can improve reasoning on TD\-Dup cases while preserving the benefits of memory on TA cases\. Table[2](https://arxiv.org/html/2610.07311#S4.T2)shows thatMemTrimimproves this trade\-off\. On TD\-Dup cases, it recovers much of the performance lost under unmodified memory, while TA performance remains close to \(or even better than\) the original memory system\. The same trend appears for different LLM backbones and extends to the other memory architectures in the Appendix[B\.3](https://arxiv.org/html/2610.07311#A2.SS3)\. Hence, we summarize thatMemTrimreduces incorrect memory\-based inference while retaining \(or improving\) cases where memory is helpful given the structured representation inMemTrim\.
The comparison also clarifies why simply weakening memory is insufficient\. Baselines that remove entries, discard stored answers, or compress the retrieved context can reduce harmful influence on TD\-Dup cases, but can also discard information that remains useful in TA cases\. Prompting\-based methods preserve more of the original context, yet overlapping evidence can still reinforce a conclusion that does not transfer to the current task\.MemTrimworks at the evidence level, controlling replicated or conflicting memory evidence while retaining memory\-specific information that remains useful\.
### 4\.2Which parts ofMemTrimare responsible for the mitigation?
Figure 5:Ablation ofMemTrimon TD\-Dup cases with Qwen3\.8\-27B\. Bars show the accuracy change relative to the full method; lower values indicate a larger drop\. RE, CL, and CD denote RippleEdits, CounterLogic, and CLADDER\-Derived\.We ablate the main read\-time steps inMemTrim\.*Keep shared*retains evidence already present in the current query;*Keep conflicts*retains memory evidence that conflicts with the query;*Keep old answer*keeps the previous answer even when the evidence it relied on has changed;*Ignore task change*directly reuses the previous answer when the current query asks a different question; and*Embedding match*replaces trie\-based evidence matching with embedding similarity\.
Figure[5](https://arxiv.org/html/2610.07311#S4.F5)shows that these steps matter in different settings\. Keeping shared evidence consistently lowers TD\-Dup accuracy, showing that repeated evidence contributes to overreliance\. Keeping conflicting evidence or the old answer has a larger effect on RippleEdits and CLADDER\-Derived, where answer\-relevant information changes\. Ignoring the task change matters most on CounterLogic, where much of the evidence stays the same but the question changes\. Embedding matching causes a smaller but consistent drop\.
Overall, the ablations follow the design ofMemTrim: removing repeated evidence reduces duplicated influence, removing conflicts keeps memory consistent with the current query, dropping an outdated answer prevents it from carrying over after its evidence changes, and distinguishing task changes prevents an answer to one question from being reused for another\.
### 4\.3DoesMemTrimremain effective when memory is attacked?
Figure 6:TD\-Dup accuracy as misleading memory is increasingly injected into the retrieved context\. The shaded region marks settings where injected entries form a large fraction of retrieval\. Bands show confidence intervals across runs\.Our main experiments use memories formed through ordinary interaction\. We further testMemTrimunder deliberate memory attacks\. PoisonedRAG\([Zou et al\., 2025](https://arxiv.org/html/2610.07311#bib.bib32)\)injects repeated stale records, MINJA\([Dong et al\., 2026](https://arxiv.org/html/2610.07311#bib.bib23)\)induces the agent to store such records through normal queries, and ShadowMerge\([Luo et al\., 2026](https://arxiv.org/html/2610.07311#bib.bib24)\)inserts conflicting relations into graph memory\. We increase the number of injected entries while keeping the retrieval budget fixed, and compareMemTrimwith RobustRAG\([Xiang et al\., 2024](https://arxiv.org/html/2610.07311#bib.bib25)\), TrustRAG\([Zhou et al\., 2025](https://arxiv.org/html/2610.07311#bib.bib26)\), and A\-MemGuard\([Wei et al\., 2025](https://arxiv.org/html/2610.07311#bib.bib27)\)\.
Figure[6](https://arxiv.org/html/2610.07311#S4.F6)shows that all methods degrade as attacked memories occupy more of the retrieved context, butMemTrimdegrades more slowly\. The difference becomes clearer as injected entries make up a larger share of the retrieved memories, and the same pattern appears across both text\-based and graph\-based attacks\. The result highlights a useful property ofMemTrim: repeated stale memories do not translate directly into repeated influence on the model\.MemTrimremoves duplicated evidence and excludes conflicting information before inference, so injecting more copies has a weaker effect on the final context\. This suggests that the same design used to reduce benign memory overreliance also provides some resistance when misleading memory is deliberately amplified\.
Figure 7:Change in total reasoning time after addingMemTrimto each memory system\. Negative values indicate shorter reasoning time\. Error bars show variation across runs\.
### 4\.4DoesMemTrimIntroduce Significant Running Overhead?
We measure total reasoning time after addingMemTrim, including memory reading and answer generation; stored memories are processed once at write time and reused across queries\. Figure[7](https://arxiv.org/html/2610.07311#S4.F7)shows only small runtime changes across memory systems\.MemTrimadds some cost when matching evidence, but it can also shorten the retrieved context before generation, which offsets part of this cost and can even reduce runtime in some settings\. Overall,MemTrimimproves memory use without substantially increasing inference time\.
## 5Related Work
Memory in LLM agents\.Memory systems let an agent keep and reuse past experience\. One line of works build the storage: long\-term memory across sessions\([Park et al\., 2023](https://arxiv.org/html/2610.07311#bib.bib13);[Zhong et al\., 2024](https://arxiv.org/html/2610.07311#bib.bib15)\), context hierarchies\([Packer et al\., 2023](https://arxiv.org/html/2610.07311#bib.bib33)\), associative indexes\([Gutiérrez et al\., 2024](https://arxiv.org/html/2610.07311#bib.bib2)\), and self\-organized memory\([Xu et al\., 2026](https://arxiv.org/html/2610.07311#bib.bib4)\)\. Other works turn past trajectories into reusable knowledge such as reflections, lessons, and workflows\([Shinn et al\., 2023](https://arxiv.org/html/2610.07311#bib.bib1);[Zhao et al\., 2024](https://arxiv.org/html/2610.07311#bib.bib12);[Wang et al\., 2024](https://arxiv.org/html/2610.07311#bib.bib5)\), and recent benchmarks evaluate these systems in multi\-turn interaction\([Hu et al\., 2026](https://arxiv.org/html/2610.07311#bib.bib3)\)\. All of these designs leverage retrieved relevant memory to help the current reasoning tasks\.
Failures and attacks on memory reuse\.Memory can also hurt\. Agents copy retrieved experiences with similar inputs, so past errors spread\([Xiong et al\., 2026](https://arxiv.org/html/2610.07311#bib.bib6)\)\. Memories are applied where they no longer fit\([Pulipaka et al\., 2026](https://arxiv.org/html/2610.07311#bib.bib7);[Piehl et al\., 2026](https://arxiv.org/html/2610.07311#bib.bib46)\), turn faulty under repeated updates\([Zhang et al\., 2026a](https://arxiv.org/html/2610.07311#bib.bib10);[Meng et al\., 2026](https://arxiv.org/html/2610.07311#bib.bib47)\), or look similar to the query while being wrong for the task\([Tang et al\., 2026b](https://arxiv.org/html/2610.07311#bib.bib48);[Zhang et al\., 2026b](https://arxiv.org/html/2610.07311#bib.bib9)\)\. Memory is also an attack surface: adversaries poison memory banks\([Chen et al\., 2024](https://arxiv.org/html/2610.07311#bib.bib11)\), retrieval corpora\([Zou et al\., 2025](https://arxiv.org/html/2610.07311#bib.bib32)\), or self\-evolving experiences\([Wang et al\., 2026](https://arxiv.org/html/2610.07311#bib.bib8)\), and defenses curate data against such samples\([Liu et al\., 2024](https://arxiv.org/html/2610.07311#bib.bib43)\)\. In all these cases, the failure comes from a flawed memory, a flawed retrieval, or an attacker\. However, memory overreliance needs none of them: a correct, well\-retrieved memory fails simply because its answer\-relevant condition has changed\.
Reasoning under varying conditions\.Knowledge editing asks how models handle updated facts and their ripple effects\([Meng et al\., 2022](https://arxiv.org/html/2610.07311#bib.bib35);[Cohen et al\., 2024](https://arxiv.org/html/2610.07311#bib.bib34)\)\. Counterfactual reasoning asks how models handle changed premises, with benchmarks on causal interventions\([Yang et al\., 2026](https://arxiv.org/html/2610.07311#bib.bib39);[Jin et al\., 2023](https://arxiv.org/html/2610.07311#bib.bib36)\), alternative story questions\([Ashida and Sugawara, 2022](https://arxiv.org/html/2610.07311#bib.bib37)\), and knowledge\-conflicting logic\([Joishy et al\., 2025](https://arxiv.org/html/2610.07311#bib.bib44)\), and with analyses of where LLMs fail\([Tang et al\., 2026a](https://arxiv.org/html/2610.07311#bib.bib49);[Youssef et al\., 2024](https://arxiv.org/html/2610.07311#bib.bib38);[Yang et al\., 2026](https://arxiv.org/html/2610.07311#bib.bib39)\)\. Such changes are routine in practice: in cyber threat intelligence, the landscape shifts fast enough that stored assessments go stale\([Meng et al\., 2025a](https://arxiv.org/html/2610.07311#bib.bib41);[Meng et al\., 2025b](https://arxiv.org/html/2610.07311#bib.bib42);[Tang et al\., 2025](https://arxiv.org/html/2610.07311#bib.bib40)\)\. Prior work treats a changed condition as a reasoning challenge for the model\. We show that memory makes it worse: the stored answer anchors the model to the old condition, and our framework removes this anchor at read time\.
## 6Conclusion
We study memory overreliance, where benign and appropriately retrieved memory can misguide inference when only part of the stored experience transfers to the current task\. Our experiments identify partial evidence overlap as the most vulnerable regime and motivateMemTrim, which controls repeated and conflicting memory evidence before inference while preserving useful memory\-specific information\. Across models and memory architectures,MemTrimreduces harmful memory reuse while retaining the benefits of applicable memory, with small runtime changes and added resistance under memory attacks\.
## References
- Ashida and Sugawara \(2022\)M\. Ashida and S\. SugawaraPossible stories: evaluating situated commonsense reasoning under multiple possible scenarios\.InProceedings of the 29th International Conference on Computational Linguistics,pp\. 3606–3630\.Cited by:[§5](https://arxiv.org/html/2610.07311#S5.p3.1)\.
- Bodon and Rónyai \(2003\)F\. Bodon and L\. RónyaiTrie: an alternative data structure for data mining algorithms\.Mathematical and Computer Modelling38\(7\-9\),pp\. 739–751\.Cited by:[§1](https://arxiv.org/html/2610.07311#S1.p4.1)\.
- Carbonell and Goldstein \(1998\)J\. G\. Carbonell and J\. GoldsteinThe use of mmr, diversity\-based reranking for reordering documents and producing summaries\.\.InSIGIR,Vol\.98,pp\. 290941–291025\.Cited by:[§4](https://arxiv.org/html/2610.07311#S4.p3.1)\.
- Chenet al\.\(2024\)Z\. Chen, Z\. Xiang, C\. Xiao, D\. Song, and B\. LiAgentpoison: red\-teaming llm agents via poisoning memory or knowledge bases\.Advances in Neural Information Processing Systems37,pp\. 130185–130213\.Cited by:[§5](https://arxiv.org/html/2610.07311#S5.p2.1)\.
- Chhikaraet al\.\(2025\)P\. Chhikara, D\. Khant, S\. Aryan, T\. Singh, and D\. YadavMem0: building production\-ready ai agents with scalable long\-term memory\.arXiv preprint arXiv:2504\.19413\.Cited by:[§1](https://arxiv.org/html/2610.07311#S1.p3.1),[§2](https://arxiv.org/html/2610.07311#S2.p3.1)\.
- Cohenet al\.\(2024\)R\. Cohen, E\. Biran, O\. Yoran, A\. Globerson, and M\. GevaEvaluating the ripple effects of knowledge editing in language models\.Transactions of the Association for Computational Linguistics12,pp\. 283–298\.Cited by:[§C\.1](https://arxiv.org/html/2610.07311#A3.SS1.p1.1),[§1](https://arxiv.org/html/2610.07311#S1.p3.1),[§2](https://arxiv.org/html/2610.07311#S2.p2.1),[§5](https://arxiv.org/html/2610.07311#S5.p3.1)\.
- Donget al\.\(2026\)S\. Dong, S\. Xu, P\. He, Y\. Li, J\. Tang, T\. Liu, H\. Liu, and Z\. XiangMemory injection attacks on llm agents via query\-only interaction\.Advances in Neural Information Processing Systems38,pp\. 46697–46731\.Cited by:[§4\.3](https://arxiv.org/html/2610.07311#S4.SS3.p1.1)\.
- Gutiérrezet al\.\(2024\)B\. J\. Gutiérrez, Y\. Shu, Y\. Gu, M\. Yasunaga, and Y\. SuHipporag: neurobiologically inspired long\-term memory for large language models\.Advances in neural information processing systems37,pp\. 59532–59569\.Cited by:[§5](https://arxiv.org/html/2610.07311#S5.p1.1)\.
- Huet al\.\(2026\)Y\. Hu, Y\. Wang, and J\. McAuleyEvaluating memory in llm agents via incremental multi\-turn interactions\.InInternational Conference on Learning Representations,Vol\.2026,pp\. 156259–156291\.Cited by:[§5](https://arxiv.org/html/2610.07311#S5.p1.1)\.
- Huoet al\.\(2025\)N\. Huo, J\. Li, B\. Qin, G\. Qu, X\. Li, X\. Li, C\. Ma, and R\. ChengMicro\-act: mitigating knowledge conflict in llm\-based rag via actionable self\-reasoning\.arXiv preprint arXiv:2506\.05278\.Cited by:[§4](https://arxiv.org/html/2610.07311#S4.p3.1)\.
- Jinet al\.\(2023\)Z\. Jin, Y\. Chen, F\. Leeb, L\. Gresele, O\. Kamal, Z\. Lyu, K\. Blin, F\. Gonzalez Adauto, M\. Kleiman\-Weiner, M\. Sachan,et al\.Cladder: assessing causal reasoning in language models\.Advances in Neural Information Processing Systems36,pp\. 31038–31065\.Cited by:[§C\.3](https://arxiv.org/html/2610.07311#A3.SS3.p1.1),[§1](https://arxiv.org/html/2610.07311#S1.p3.1),[§2](https://arxiv.org/html/2610.07311#S2.p2.1),[§5](https://arxiv.org/html/2610.07311#S5.p3.1)\.
- Joishyet al\.\(2025\)A\. R\. Joishy, I\. B\. Balappanawar, V\. K\. Bonagiri, M\. Gaur, K\. Thirunarayan, and P\. KumaraguruFlying pigs, far and beyond: evaluating llm reasoning in counterfactual worlds\.arXiv preprint arXiv:2505\.22318\.Cited by:[§C\.2](https://arxiv.org/html/2610.07311#A3.SS2.p1.1),[§1](https://arxiv.org/html/2610.07311#S1.p3.1),[§2](https://arxiv.org/html/2610.07311#S2.p2.1),[§5](https://arxiv.org/html/2610.07311#S5.p3.1)\.
- Kim and Lee \(2024\)K\. Kim and J\. LeeRe\-rag: improving open\-domain qa performance and interpretability with relevance estimator in retrieval\-augmented generation\.InProceedings of the 2024 Conference on Empirical Methods in Natural Language Processing,pp\. 22149–22161\.Cited by:[§1](https://arxiv.org/html/2610.07311#S1.p1.1)\.
- Liuet al\.\(2024\)X\. Liu, J\. Liang, L\. Tang, M\. Ye, W\. Ma, and Z\. XiData to defense: the role of curation in customizing llms against jailbreaking attacks\.arXiv preprint arXiv:2410\.02220\.Cited by:[§5](https://arxiv.org/html/2610.07311#S5.p2.1)\.
- Luoet al\.\(2026\)Y\. Luo, Z\. Kang, T\. Ji, X\. Liu, Y\. Liu, S\. Li, and L\. PengShadowMerge: a novel poisoning attack on graph\-based agent memory via relation\-channel conflicts\.arXiv preprint arXiv:2605\.09033\.Cited by:[§4\.3](https://arxiv.org/html/2610.07311#S4.SS3.p1.1)\.
- Menget al\.\(2022\)K\. Meng, D\. Bau, A\. Andonian, and Y\. BelinkovLocating and editing factual associations in gpt\.Advances in neural information processing systems35,pp\. 17359–17372\.Cited by:[§5](https://arxiv.org/html/2610.07311#S5.p3.1)\.
- Menget al\.\(2026\)Y\. Meng, S\. S\. Narvekar, L\. Tang, R\. R\. Vaje, Y\. Zhang, M\. Ye, and Z\. XiEquiMem: calibrating shared memory in multi\-agent debate via game\-theoretic equilibrium\.arXiv preprint arXiv:2605\.09278\.Cited by:[§5](https://arxiv.org/html/2610.07311#S5.p2.1)\.
- Menget al\.\(2025a\)Y\. Meng, L\. Tang, F\. Yu, J\. Jia, G\. Yan, P\. Yang, and Z\. XiUncovering vulnerabilities of llm\-assisted cyber threat intelligence\.arXiv preprint arXiv:2509\.23573\.Cited by:[§5](https://arxiv.org/html/2610.07311#S5.p3.1)\.
- Menget al\.\(2025b\)Y\. Meng, L\. Tang, F\. Yu, X\. Li, G\. Yan, P\. Yang, and Z\. XiBenchmarking llm\-assisted blue teaming via standardized threat hunting\.arXiv preprint arXiv:2509\.23571\.Cited by:[§5](https://arxiv.org/html/2610.07311#S5.p3.1)\.
- Neemanet al\.\(2023\)E\. Neeman, R\. Aharoni, O\. Honovich, L\. Choshen, I\. Szpektor, and O\. AbendDisentqa: disentangling parametric and contextual knowledge with counterfactual question answering\.InProceedings of the 61st Annual Meeting of the Association for Computational Linguistics \(Volume 1: Long Papers\),pp\. 10056–10070\.Cited by:[§4](https://arxiv.org/html/2610.07311#S4.p3.1)\.
- Packeret al\.\(2023\)C\. Packer, S\. Wooders, K\. Lin, V\. Fang, S\. G\. Patil, I\. Stoica, and J\. E\. GonzalezMemgpt: towards llms as operating systems\.arXiv preprint arXiv:2310\.08560\.Cited by:[§1](https://arxiv.org/html/2610.07311#S1.p3.1),[§2](https://arxiv.org/html/2610.07311#S2.p3.1),[§5](https://arxiv.org/html/2610.07311#S5.p1.1)\.
- Panet al\.\(2024\)Z\. Pan, Q\. Wu, H\. Jiang, M\. Xia, X\. Luo, J\. Zhang, Q\. Lin, V\. Rühle, Y\. Yang, C\. Lin,et al\.Llmlingua\-2: data distillation for efficient and faithful task\-agnostic prompt compression\.InFindings of the Association for Computational Linguistics: ACL 2024,pp\. 963–981\.Cited by:[§4](https://arxiv.org/html/2610.07311#S4.p3.1)\.
- Parket al\.\(2023\)J\. S\. Park, J\. O’Brien, C\. J\. Cai, M\. R\. Morris, P\. Liang, and M\. S\. BernsteinGenerative agents: interactive simulacra of human behavior\.InProceedings of the 36th annual acm symposium on user interface software and technology,pp\. 1–22\.Cited by:[§1](https://arxiv.org/html/2610.07311#S1.p1.1),[§5](https://arxiv.org/html/2610.07311#S5.p1.1)\.
- Piehlet al\.\(2026\)M\. Piehl, Z\. Xi, Z\. Xiong, P\. He, and M\. YeER\-mia: black\-box adversarial memory injection attacks on long\-term memory\-augmented large language models\.arXiv preprint arXiv:2602\.15344\.Cited by:[§5](https://arxiv.org/html/2610.07311#S5.p2.1)\.
- Pulipakaet al\.\(2026\)S\. Pulipaka, O\. Chen, M\. Sharma, T\. S\. Bajwa, V\. Raina, and I\. ShethPersistBench: when should long\-term memories be forgotten by llms?\.arXiv preprint arXiv:2602\.01146\.Cited by:[§5](https://arxiv.org/html/2610.07311#S5.p2.1)\.
- Rasmussenet al\.\(2025\)P\. Rasmussen, P\. Paliychuk, T\. Beauvais, J\. Ryan, and D\. ChalefZep: a temporal knowledge graph architecture for agent memory\.arXiv preprint arXiv:2501\.13956\.Cited by:[§1](https://arxiv.org/html/2610.07311#S1.p3.1),[§2](https://arxiv.org/html/2610.07311#S2.p3.1),[§3\.1](https://arxiv.org/html/2610.07311#S3.SS1.p2.1)\.
- Shinnet al\.\(2023\)N\. Shinn, F\. Cassano, A\. Gopinath, K\. Narasimhan, and S\. YaoReflexion: language agents with verbal reinforcement learning\.Advances in neural information processing systems36,pp\. 8634–8652\.Cited by:[§1](https://arxiv.org/html/2610.07311#S1.p1.1),[§5](https://arxiv.org/html/2610.07311#S5.p1.1)\.
- Simonsohn \(2018\)U\. SimonsohnTwo lines: a valid alternative to the invalid testing of u\-shaped relationships with quadratic regressions\.Advances in Methods and Practices in Psychological Science1\(4\),pp\. 538–555\.Cited by:[Figure 2](https://arxiv.org/html/2610.07311#S2.F2),[§2](https://arxiv.org/html/2610.07311#S2.p14.1)\.
- Tanget al\.\(2026a\)L\. Tang, Y\. Meng, J\. Costa, Y\. Zhang, M\. Ye, and Z\. XiThe value of variance: mitigating debate collapse in multi\-agent systems via uncertainty\-driven policy optimization\.arXiv preprint arXiv:2602\.07186\.Cited by:[§5](https://arxiv.org/html/2610.07311#S5.p3.1)\.
- Tanget al\.\(2025\)L\. Tang, Y\. Meng, A\. Patra, W\. Ma, M\. Ye, and Z\. XiPolar: automating cyber threat prioritization through llm\-powered assessment\.arXiv preprint arXiv:2510\.01552\.Cited by:[§5](https://arxiv.org/html/2610.07311#S5.p3.1)\.
- Tanget al\.\(2026b\)L\. Tang, R\. R\. Vaje, Y\. Meng, S\. S\. Narkar, W\. Ma, Z\. Ding, D\. Zhang, and Z\. XiThe trap of trajectory: towards understanding and mitigating spurious correlations in agentic memory\.arXiv preprint arXiv:2605\.09330\.Cited by:[§5](https://arxiv.org/html/2610.07311#S5.p2.1)\.
- Wanget al\.\(2026\)K\. Wang, J\. Lou, Z\. Zhou, and J\. LiOEP: poisoning self\-evolving llm agents via locally correct but non\-transferable experiences\.arXiv preprint arXiv:2605\.18930\.Cited by:[§5](https://arxiv.org/html/2610.07311#S5.p2.1)\.
- Wanget al\.\(2024\)Z\. Z\. Wang, J\. Mao, D\. Fried, and G\. NeubigAgent workflow memory\.arXiv preprint arXiv:2409\.07429\.Cited by:[§5](https://arxiv.org/html/2610.07311#S5.p1.1)\.
- Weiet al\.\(2025\)Q\. Wei, T\. Yang, Y\. Wang, X\. Li, L\. Li, Z\. Yin, Y\. Zhan, T\. Holz, Z\. Lin, and X\. WangA\-memguard: a proactive defense framework for llm\-based agent memory\.arXiv preprint arXiv:2510\.02373\.Cited by:[§4\.3](https://arxiv.org/html/2610.07311#S4.SS3.p1.1)\.
- Xianget al\.\(2024\)C\. Xiang, T\. Wu, Z\. Zhong, D\. Wagner, D\. Chen, and P\. MittalCertifiably robust rag against retrieval corruption\.arXiv preprint arXiv:2405\.15556\.Cited by:[§4\.3](https://arxiv.org/html/2610.07311#S4.SS3.p1.1)\.
- Xionget al\.\(2026\)Z\. Xiong, Y\. Lin, W\. Xie, P\. He, Z\. Liu, J\. Tang, H\. Lakkaraju, and Z\. XiangHow memory management impacts LLM agents: an empirical study of experience\-following behavior\.InProceedings of the 64th Annual Meeting of the Association for Computational Linguistics \(Volume 1: Long Papers\),M\. Liakata, V\. P\. Moreira, J\. Zhang, and D\. Jurgens \(Eds\.\),San Diego, California, United States,pp\. 623–645\.External Links:[Link](https://aclanthology.org/2026.acl-long.27/),[Document](https://dx.doi.org/10.18653/v1/2026.acl-long.27),ISBN 979\-8\-89176\-390\-6Cited by:[§1](https://arxiv.org/html/2610.07311#S1.p1.1),[§5](https://arxiv.org/html/2610.07311#S5.p2.1)\.
- Xuet al\.\(2024\)F\. Xu, W\. Shi, and E\. ChoiRECOMP: improving retrieval\-augmented lms with context compression and selective augmentation\.InInternational Conference on Learning Representations,Vol\.2024,pp\. 43478–43502\.Cited by:[§4](https://arxiv.org/html/2610.07311#S4.p3.1)\.
- Xuet al\.\(2026\)W\. Xu, Z\. Liang, K\. Mei, H\. Gao, J\. Tan, and Y\. ZhangA\-mem: agentic memory for llm agents\.Advances in Neural Information Processing Systems38,pp\. 17577–17604\.Cited by:[§1](https://arxiv.org/html/2610.07311#S1.p3.1),[§2](https://arxiv.org/html/2610.07311#S2.p3.1),[§5](https://arxiv.org/html/2610.07311#S5.p1.1)\.
- Yanget al\.\(2026\)S\. Yang, Q\. Yang, L\. Tang, Y\. Meng, N\. Guo, J\. Blackburn, and Z\. XiOn the eligibility of llms for counterfactual reasoning: a decompositional study\.InInternational Conference on Learning Representations,Vol\.2026,pp\. 51251–51283\.Cited by:[§5](https://arxiv.org/html/2610.07311#S5.p3.1)\.
- Yoranet al\.\(2024\)O\. Yoran, T\. Wolfson, O\. Ram, and J\. BerantMaking retrieval\-augmented language models robust to irrelevant context\.InInternational Conference on Learning Representations,Vol\.2024,pp\. 29862–29883\.Cited by:[§1](https://arxiv.org/html/2610.07311#S1.p1.1)\.
- Youssefet al\.\(2024\)P\. Youssef, C\. Seifert, J\. Schlötterer,et al\.LLMs for generating and evaluating counterfactuals: a comprehensive study\.InFindings of the association for computational linguistics: EMNLP 2024,pp\. 14809–14824\.Cited by:[§5](https://arxiv.org/html/2610.07311#S5.p3.1)\.
- Yuet al\.\(2024\)W\. Yu, H\. Zhang, X\. Pan, P\. Cao, K\. Ma, J\. Li, H\. Wang, and D\. YuChain\-of\-note: enhancing robustness in retrieval\-augmented language models\.InProceedings of the 2024 conference on empirical methods in natural language processing,pp\. 14672–14685\.Cited by:[§1](https://arxiv.org/html/2610.07311#S1.p1.1)\.
- Zhanget al\.\(2026a\)D\. Zhang, Y\. Lin, Z\. Wu, Y\. Sun, B\. Li, D\. Li, and H\. PengUseful memories become faulty when continuously updated by llms\.arXiv preprint arXiv:2605\.12978\.Cited by:[§5](https://arxiv.org/html/2610.07311#S5.p2.1)\.
- Zhanget al\.\(2026b\)J\. Zhang, K\. Chen, J\. Ma, Y\. Hu, L\. He, Y\. Zhang, J\. Liu, X\. Yang, T\. Zhang, and R\. JiaBeyond similarity: trustworthy memory search for personal ai agents\.arXiv preprint arXiv:2606\.06054\.Cited by:[§5](https://arxiv.org/html/2610.07311#S5.p2.1)\.
- Zhaoet al\.\(2024\)A\. Zhao, D\. Huang, Q\. Xu, M\. Lin, Y\. Liu, and G\. HuangExpel: llm agents are experiential learners\.InProceedings of the AAAI Conference on Artificial Intelligence,Vol\.38,pp\. 19632–19642\.Cited by:[§1](https://arxiv.org/html/2610.07311#S1.p1.1),[§5](https://arxiv.org/html/2610.07311#S5.p1.1)\.
- Zhonget al\.\(2024\)W\. Zhong, L\. Guo, Q\. Gao, H\. Ye, and Y\. WangMemorybank: enhancing large language models with long\-term memory\.InProceedings of the AAAI conference on artificial intelligence,Vol\.38,pp\. 19724–19731\.Cited by:[§1](https://arxiv.org/html/2610.07311#S1.p1.1),[§5](https://arxiv.org/html/2610.07311#S5.p1.1)\.
- Zhouet al\.\(2025\)H\. Zhou, K\. Lee, Z\. Zhan, Y\. Chen, Z\. Li, Z\. Wang, H\. Haddadi, and E\. YilmazTrustrag: enhancing robustness and trustworthiness in retrieval\-augmented generation\.arXiv preprint arXiv:2501\.00879\.Cited by:[§4\.3](https://arxiv.org/html/2610.07311#S4.SS3.p1.1)\.
- Zhouet al\.\(2023\)W\. Zhou, S\. Zhang, H\. Poon, and M\. ChenContext\-faithful prompting for large language models\.InFindings of the Association for Computational Linguistics: EMNLP 2023,pp\. 14544–14556\.Cited by:[§4](https://arxiv.org/html/2610.07311#S4.p3.1)\.
- Zouet al\.\(2025\)W\. Zou, R\. Geng, B\. Wang, and J\. Jia\{\\\{poisonedrag\}\\\}: Knowledge corruption attacks to\{\\\{retrieval\-augmented\}\\\}generation of large language models\.In34th USENIX Security Symposium \(USENIX Security 25\),pp\. 3827–3844\.Cited by:[§4\.3](https://arxiv.org/html/2610.07311#S4.SS3.p1.1),[§5](https://arxiv.org/html/2610.07311#S5.p2.1)\.
## Appendix AComplementary Technical Details ofMemTrim
### A\.1Implementation Details
This part provides implementation details omitted from §[3](https://arxiv.org/html/2610.07311#S3)\. We focus on how free\-text interactions are converted into stable evidence units, how answer\-support sets and task signatures are constructed, and how evidence from multiple retrieved memories is combined at read time\.
Canonicalizing evidence units\.The same fact can be expressed in many ways, soMemTrimdoes not index raw text directly\. For each interaction, we use a fixed parser prompt to extract typed evidence records\. We retain the notatione=\(k,v\)e=\(k,v\)from §[3\.1](https://arxiv.org/html/2610.07311#S3.SS1), but internally the keykkcontains the entity being described, its attribute or relation, and its value type\. For example, “Highway 5 is closed,” “Route 5 has been shut,” and “Highway 5 is not open” can all map to\(Highway5\_status,closed\)\(\\texttt\{Highway5\\\_status\},\\texttt\{closed\}\)\. In contrast, the word “open” in “the restaurant is open” is assigned a different key because it refers to a different entity and attribute\. This prevents surface similarity alone from merging evidence with different meanings\.
When a new unit is parsed,MemTrimfirst checks for an exact canonical key in the trie\. If none exists, it retrieves a small set of existing keys with the same entity and value type and asks the parser whether the new key is semantically equivalent to any of them\. Equivalent keys are merged; otherwise a new key is created\. Values are aligned only after their keys match\. Boolean, categorical, numeric, and temporal values are normalized into a fixed form; free\-text values use the same equivalence check\. When equivalence is unclear,MemTrimkeeps the units separate\. This conservative rule avoids merging two pieces of evidence only because they share similar wording\.
Each parsed unit also keeps a pointer to the text span from which it was extracted\. We use this span to verify that every indexed unit is grounded in the original interaction\. A parsed unit that cannot be traced to the input is discarded before insertion into the trie\.
Canonical Evidence AlignmentSuppose one memory states*“Highway 5 is closed today”*, while another states*“Route 5 has been shut for the day\.”*Both are normalized to\(Highway5\_status,closed\)\(\\texttt\{Highway5\\\_status\},\\texttt\{closed\}\)and therefore share one trie node\. If a third memory states*“Highway 5 is open”*, it shares the same key but follows a different value branch,Highway5\_status=open\.The word*open*may also occur in an unrelated sentence such as*“the visitor center is open\.”*This evidence is indexed under a different key, e\.g\.,\(VisitorCenter\_status,open\)\(\\texttt\{VisitorCenter\\\_status\},\\texttt\{open\}\), and is never merged with the highway\-status evidence\.
Extracting task signatures and answer support\.The parser also produces the task signatureτm\\tau\_\{m\}and support setHmH\_\{m\}\. A task signature records both the requested operation and its target\. For example, “Which route should I take?” and “Recommend a route to City B” map to the sameroute\_planningsignature, whereas “How long will the trip take?” maps totravel\_time\. We canonicalize task signatures with the same procedure used for evidence keys\. If two task descriptions cannot be confidently aligned, we treat them as different tasks; this prevents an earlier answer from being reused under an uncertain task match\.
To constructHmH\_\{m\}, the parser marks which evidence units directly support the stored outcomeomo\_\{m\}\. For the route\-planning example, the answer “Take Highway 5” may depend on\(Highway5\_status,open\)\(\\texttt\{Highway5\\\_status\},\\texttt\{open\}\)and\(destination,B\)\(\\texttt\{destination\},B\), while an unrelated fact such as the weather need not belong toHmH\_\{m\}\. We use a conservative policy for uncertain cases: evidence is included inHmH\_\{m\}when the parser cannot determine whether the stored outcome depends on it\. This can suppress reuse more often, but avoids keeping an outcome after potentially important support has changed\.
Whenτm≠τq\\tau\_\{m\}\\neq\\tau\_\{q\},MemTrimconverts a previous outcome into evidence only when it can be expressed as a factual key\-value unit without changing its meaning\. For example, “Take Highway 5” can be converted to\(recommended\_route,Highway5\)\(\\texttt\{recommended\\\_route\},\\texttt\{Highway5\}\)when a later query asks about travel time\. Outputs that are inherently procedural, subjective, or cannot be represented faithfully as evidence are omitted under a task change\.
Combining multiple retrieved memories\.The trie is used only to process memories already returned by the underlying retriever\. Givenℛ\(q\)\\mathcal\{R\}\(q\),MemTrimrestricts all trie matches to the memory identifiers in this set; it does not use the trie as an additional retrieval system\.
After each retrieved memory is transformed as described in §[3\.3](https://arxiv.org/html/2610.07311#S3.SS3),MemTrimmerges the retained evidence using its canonical trie identifiers\. Identical memory\-only evidence from several memories is emitted once\. If several retrieved memories provide different values for the same key and the current query does not resolve the conflict,MemTrimdoes not select a value based only on retrieval similarity\. By default, all unresolved values for that key are withheld from the final context\. If the base memory system provides an explicit ordering signal such as a trusted timestamp, that metadata can be used to resolve the conflict before this step\.
The current query always takes precedence when it provides a value for the same key\. Thus, if the stored memory containsHighway5\_status=openwhile the current query containsHighway5\_status=closed, the stored value is removed regardless of the memory’s retrieval score\.
Parsing failures and runtime cost\.Memory evidence is parsed once when the memory is written, and its structured representation is cached with the trie index\. At inference time,MemTrimonly parses the current query once; retrieved memories reuse their cached evidence units, task signatures, and support sets\. Trie matching therefore consists of key\-value lookups over the evidence units inEqE\_\{q\}and the retrieved memory identifiers\.
We use constrained structured output and deterministic decoding for the parser\. Each result is checked for valid fields, grounded source spans, and well\-formed key\-value types\. If parsing fails, we retry once with the same interaction and the validation error\. If a valid representation still cannot be produced, the raw memory remains in the base memory store but its stored outcome is not reused throughMemTrim\. This keeps parser failures from introducing an unchecked answer into the inference context\.
## Appendix BAdditional Results
This appendix extends the main results in three directions\. Appendices[B\.1](https://arxiv.org/html/2610.07311#A2.SS1)and[B\.2](https://arxiv.org/html/2610.07311#A2.SS2)repeat RQ2 and RQ3 of Section[2](https://arxiv.org/html/2610.07311#S2)on CounterLogic\. Appendix[B\.3](https://arxiv.org/html/2610.07311#A2.SS3)repeats the mitigation comparison of Section[4](https://arxiv.org/html/2610.07311#S4)on the other three memory systems\. Appendix[B\.4](https://arxiv.org/html/2610.07311#A2.SS4)walks through one case from each dataset to show how partial evidence overlap misleads ordinary memory use and howMemTrimcorrects it\.
### B\.1RQ2 on CounterLogic: Where Failures Occur
Figure 8:Query overlap in successful and failed cases on CounterLogic, for each memory system\.Figure[8](https://arxiv.org/html/2610.07311#A2.F8)shows the same separation as Figure[2](https://arxiv.org/html/2610.07311#S2.F2)\. Successful cases occur more often near the two ends of the overlap range, while failed cases concentrate at partial overlap\.
### B\.2RQ3 on CounterLogic: Controlled Duplication
Figure 9:Accuracy change across levels of duplicated evidence on CounterLogic, for each memory system\.Figure[9](https://arxiv.org/html/2610.07311#A2.F9)shows the same non\-monotonic pattern as Figure[3](https://arxiv.org/html/2610.07311#S2.F3)\. The accuracy loss is largest at intermediate duplication and disappears as duplication approaches full overlap\. The drop is shallower than on RippleEdits, and the gain at full duplication is smaller\.
### B\.3Mitigation on Other Memory Systems
Table[2](https://arxiv.org/html/2610.07311#S4.T2)fixes Mem0 as the memory backbone so that its rows differ only in the defense\. Tables[3](https://arxiv.org/html/2610.07311#A2.T3)and[4](https://arxiv.org/html/2610.07311#A2.T4)replace Mem0 with A\-Mem, MemGPT, and Graphiti, and keep the same baselines, datasets, and columns\. The no\-memory baseline does not depend on the memory system and is reported in Table[1](https://arxiv.org/html/2610.07311#S2.T1)\.
Table 3:Mitigation results \(%\) with Qwen3\.8\-27B on the other three memory systems\. Each block uses the named system as the memory backbone, and its first two rows match Table[1](https://arxiv.org/html/2610.07311#S2.T1)\. TA and TD\-Dup follow Table[2](https://arxiv.org/html/2610.07311#S4.T2), and ✓→\\rightarrow✗ and ✗→\\rightarrow✓ are counted on TD\-Dup cases\.Table 4:Mitigation results \(%\) with GPT\-5\.6 Luna on the other three memory systems\. Each block uses the named system as the memory backbone, and its first two rows match Table[1](https://arxiv.org/html/2610.07311#S2.T1)\. TA and TD\-Dup follow Table[2](https://arxiv.org/html/2610.07311#S4.T2), and ✓→\\rightarrow✗ and ✗→\\rightarrow✓ are counted on TD\-Dup cases\.The comparison with Table[2](https://arxiv.org/html/2610.07311#S4.T2)holds for every backbone\. The baselines that reduce how much memory reaches the model raise mismatch accuracy but lower match accuracy\. The conflict\-aware baselines improve mismatch accuracy while keeping match accuracy close to the backbone\.MemTrimgives the highest mismatch accuracy and the lowest correct\-to\-wrong rate under every memory system, without lowering match accuracy\.
### B\.4Case Studies
Each case shows the same failure from a different setting\. The stored memory is correct for the query where it was written, while the current query changes information that determines the answer\. We compare the context used by Mem0 with the context produced byMemTrim\. Cases 1 and 3 remove the stored answer because its supporting evidence changes\. Case 2 keeps the earlier result as labeled evidence because the task changes\.
Case 1RippleEdits⋅\\cdotOutdated knowledgeStored memory*Query:*Lionel Messi plays for Paris Saint\-Germain\. Which country is his club based in? *Answer:*France\.Current queryLionel Messi now plays for Inter Miami\. Which country is his club based in?Mem0Mem0 passes the retrieved memory in full, including the stored answer “France\.”Prediction:France ✗MemTrimShared\(person, Lionel Messi\); taskτm=τq=club\_country\\tau\_\{m\}=\\tau\_\{q\}=\\texttt\{club\\\_country\}\.Changed\(club, Paris Saint\-Germain\)→\\rightarrow\(club, Inter Miami\)\.Memory\-only\(position, forward\)\.DecisionThe stored answer depends on the club\. Since this evidence changed,MemTrimremoves the stored answer\.Context passed to the model:\(position, forward\)\.Prediction:United States ✓Why Mem0 failsThe person and task remain the same, so the memory looks relevant\. The club changes, and this change determines the correct answer\. Mem0 still exposes the old answer, which pulls the prediction toward France\.
Case 2CounterLogic⋅\\cdotQuery changeStored memory*Premises:*All metals are liquid at room temperature\. Iron is a metal\. *Conclusion:*Iron is liquid at room temperature\. *Query:*Is the argument logically valid? *Answer:*Yes\.Current queryThe premises and conclusion remain unchanged\. *Query:*Is the conclusion true in the real world?Mem0Mem0 passes the retrieved memory in full, including the stored answer “Yes\.”Prediction:Yes ✗MemTrimSharedBoth premises and the conclusion\.ChangedThe task changes fromvaliditytoreal\_world\_truth\.Memory\-onlyNone\.DecisionThe evidence itself does not conflict with the current query\.MemTrimkeeps the earlier result as a labeled validity statement rather than presenting it as the current answer\.Context passed to the model:\(validity, yes\)\.Prediction:No ✓Why Mem0 failsThe premises and conclusion are identical across the two queries, so the retrieved memory has very high overlap with the current input\. The question changes from logical validity to real\-world truth\. Mem0 presents the earlier “Yes” without marking which question it answers, which encourages the model to reuse it\.
Case 3CLADDER\-anti⋅\\cdotPremise changeStored memory*Setup:*Eating citrus \(XX\) directly affects scurvy \(YY\)\. Genotype \(ZZ\) affects bothXXandYY\. P\(Y=1∣X=1\)=0\.72P\(Y\{=\}1\\mid X\{=\}1\)=0\.72,P\(Y=1∣X=0\)=0\.41P\(Y\{=\}1\\mid X\{=\}0\)=0\.41\. *Query:*Does eating citrus increase the chance of scurvy? *Answer:*Yes\.Current queryThe variables and graph remain the same\. The query now gives the interventional probabilitiesP\(Y=1∣do\(X=1\)\)=0\.38,P\(Y=1∣do\(X=0\)\)=0\.41\.P\(Y\{=\}1\\mid do\(X\{=\}1\)\)=0\.38,\\qquad P\(Y\{=\}1\\mid do\(X\{=\}0\)\)=0\.41\.*Query:*Does eating citrus increase the chance of scurvy?Mem0Mem0 passes the retrieved memory in full, including the stored answer “Yes\.”Prediction:Yes ✗MemTrimSharedThe variable definitions, causal graph, and taskτm=τq=causal\_effect\\tau\_\{m\}=\\tau\_\{q\}=\\texttt\{causal\\\_effect\}\.ChangedThe answer\-relevant probabilities change from observational values to interventional values\.Memory\-onlyNone\.DecisionThe stored answer depends on the earlier probabilities\. Since these values change,MemTrimremoves the stored answer\.Context passed to the model:No additional memory content is needed beyond the current query\.Prediction:No ✓Why Mem0 failsMost of the causal setup is repeated, so the retrieved memory looks like the same problem\. The probabilities that determine the answer change\. Mem0 still exposes the earlier “Yes,” which pulls the model toward the stored conclusion\.
Across all three cases, most of the retrieved memory remains related to the current query, while the information that determines the answer changes\. This combination makes the earlier answer easy to reuse\.MemTrimseparates shared, changed, and memory\-only information before the memory reaches the model\. It then uses the evidence supporting the stored answer to decide whether that answer should be kept, relabeled, or removed\.
## Appendix CConstruction of Task\-Aligned and Task\-Divergent Memory Pairs
The source benchmarks were not designed for agentic memory evaluation and do not directly provide a stored interaction paired with a later query\. We derive such pairs from the released benchmark annotations\. A*task\-aligned*\(TA\) pair uses a stored answer that remains valid for the current query\. A*task\-divergent with duplicated evidence*\(TD\-Dup\) pair preserves substantial information from the stored interaction but changes the task or answer\-relevant information, so the stored answer no longer applies\.
No LLM is used to generate examples, assign TA/TD\-Dup labels, or determine gold answers\. Labels come from the original benchmark annotations or fixed rules described below\. Sentence encoders are used only to identify related candidate examples when an explicit pair is not provided by the benchmark\.
Table 5:Construction of TA and TD\-Dup pairs\. Both conditions preserve the same underlying scenario and substantial shared information, but differ in whether the stored answer remains valid for the current query\.### C\.1RippleEdits
RippleEdits\([Cohen et al\., 2024](https://arxiv.org/html/2610.07311#bib.bib34)\)represents factual changes as subject\-relation\-object edits and provides both the original and updated values for modification examples\. We use the RANDOM and POPULAR subsets and exclude RECENT, which contains fact insertions without the corresponding old value\.
For each edit, we keep the entity, relation, and current query fixed\. The TA memory stores the updated value, while the TD\-Dup memory stores the original value\. Thus, both memories refer to the same fact but differ in the value that determines the answer\. We use Subject Aliasing queries because they preserve the underlying subject\-relation pair while varying only how the subject is mentioned\.
We remove examples when either target is missing or when the original and updated targets become indistinguishable after alias normalization\. From the 2,000 RANDOM and POPULAR edits, we sample at most 500 source queries with random seed 42\. Each retained query contributes one TA and one TD\-Dup condition\.
### C\.2CounterLogic
CounterLogic\([Joishy et al\., 2025](https://arxiv.org/html/2610.07311#bib.bib44)\)provides each set of premises and conclusion with two judgments: logical validity and agreement with real\-world knowledge\. This lets us change the question while keeping the underlying evidence fixed\.
For each instance, the stored interaction asks whether the conclusion is logically valid, while the current interaction asks whether it agrees with real\-world knowledge\. We use fixed templates for both questions and copy the premises and conclusion directly from the benchmark\. An instance is TA when the validity and knowledge\-alignment labels agree, and TD\-Dup when they differ\. The pair type therefore comes entirely from the two benchmark labels\.
To form plausible retrieval groups, we encode the premises and conclusion withsentence\-transformers/all\-mpnet\-base\-v2, excluding the task instruction, gold label, and any answer\-revealing fields\. We use agglomerative clustering with average linkage and cosine distance, a distance threshold of 0\.20, and a minimum cluster size of five\. Clustering only limits which memories can be retrieved; it does not determine whether an example is TA or TD\-Dup\.
We use all 1,800 CounterLogic instances and sample at most 500 TA and 500 TD\-Dup examples with random seed 42\.
### C\.3CLADDER\-Derived Premise\-Change Pairs
CLADDER\([Jin et al\., 2023](https://arxiv.org/html/2610.07311#bib.bib36)\)provides natural\-language causal questions, structured metadata, and gold answers\. We derive premise\-change pairs from the official balanced release while keeping the original question text and gold labels\.
We first group examples that have the samestory\_id,graph\_id,query\_type, andrung\. This keeps the causal scenario and question type fixed\. Within each group, we replace all numerical values with a common<NUM\>token and encode the remaining text withsentence\-transformers/all\-mpnet\-base\-v2\. Candidate pairs must have cosine similarity of at least 0\.85\.
We then verify that the pair also overlaps at the evidence level using the structured causal quantities provided by CLADDER\. Each numerical statement is converted to a key\-value entry\. We retain pairs whose evidence keys have Jaccard similarity of at least 0\.80, contain at least one unchanged value and at least one changed value, and have at least one changed value that appears in the benchmark\-provided reasoning for the queried causal quantity\. These checks ensure that the two examples share most of the same causal setup while differing in information that can affect the answer\.
The original CLADDER answers determine the pair type: a pair is TA when the two gold answers agree and TD\-Dup when they differ\. The sentence encoder and evidence\-overlap checks are used only to decide whether two examples are similar enough to form a pair\.
For each source interaction, we select one TA and one TD\-Dup candidate with similar semantic similarity and evidence overlap\. When several candidates are available, we choose the pair with the smallest combined difference in these two quantities and break ties by example identifier\. Source interactions without suitable candidates for both conditions are removed\. From the 10,112 questions in the official release, we sample at most 500 TA and 500 TD\-Dup pairs with random seed 42\.
### C\.4Construction Checks
We apply the same checks across all three datasets\. Every stored interaction must be correct in the setting where it was written, and every current query must have a gold answer supplied by the benchmark or its formal reasoning procedure\. Model predictions are never used as labels\.
We remove duplicate memory\-query pairs and keep examples derived from the same source unit in the same data split\. We also compare query\-memory similarity, evidence overlap when available, and input length between TA and TD\-Dup after construction\. If the two groups differ substantially on these properties, we apply additional matching before evaluation\.
Task alignment only describes whether the stored answer remains valid for the current query\. It does not require memory to be necessary for solving the query\.Similar Articles
Memadapter: Counterfactual Adaptation Against Memory-induced Sycophancy
MemAdapter提出一个反事实适应框架,通过反事实推理、上下文感知反思和证据驱动推理三个组件,缓解LLM智能体长期记忆引发的谄媚问题,在多个基准上提升记忆可靠性。
More Memory, Worse Agents: Error Reproduction and Anti-Persistence in LLM Agents
该论文提出"错误复现"(error reproduction)机制,指出在LLM智能体外部记忆中持久化抽象规则会循环放大错误,并提出Anti-Persistence记忆设计:仅累积轨迹与结果、按需临时合成指导,从而在多个基准上取得更高成功率与更低LLM调用成本。
What to Admit and How to Present: Governing Persistent Memory in LLM Agents
AAMAS 2027 论文提出将 LLM 智能体持久记忆的治理分为「准入」与「呈现」两个决策,并提出两种免重训练的推理时设计(FC 与 PS),在外部基准上分别降低 6.7 与 8.8 个百分点的失败率,同时显著减少跨领域信息泄露,但均加剧个性化失败,表明准入选择可带来任务特定的安全收益而有益记忆的保留仍未解决。
From Relevant Memories to Sufficient Evidence: Rethinking Memory Utilization in LLM Agents
该论文提出了 QEMem 框架,将 LLM 检索的记忆重组为查询特定的证据集合,以弥合“相关性-充分性差距”,在 LoCoMo 基准上以 Claude Opus 4.5 达到 91.43% 的 LLM-judge 准确率,超越 MemR3 和 NEMORI 基线。
MemTrapBench: Benchmarking Cognitive Traps in LLM Memory Use
This paper introduces MemTrapBench, a benchmark for evaluating cognitive traps in LLM memory use, and proposes AdaptiveMem, an inference-time method to mitigate these traps while preserving performance on standard benchmarks.