mlsanityData to 13 Oct 2026

Mechanistic Attention Guidance for Agent Memory Refinement

arXiv 2607.17621 ↗First posted 20 Jul 2026cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Existing self-evolving memory systems mainly improve agent memory based on textual outputs, such as task trajectories and reflections. However, this text-based paradigm rarely incorporates internal mechanistic signals, leaving how retrieved memory is actually utilized during task execution underexplored. This limitation can lead to unreliable error attribution and hallucinated memory modifications. In this work, we show that retrieval-head attention provides a mechanistic signal for revealing segment-level memory utilization. By aggregating attention over memory segments and decision steps, we construct a context utilization matrix that exposes recurring memory-use patterns and indicates corresponding refinement strategies. Building on this observation, we propose Attention-Guided Memory Refinement (AGMR), a framework that uses utilization patterns revealed by attention to guide targeted segment-level memory updates. AGMR corrects or enhances memory for failed executions, simplifies memory for successful executions, and verifies each update through re-execution. Experiments on interactive decision-making benchmarks show that AGMR improves both task performance and memory efficiency over text-only memory refinement baselines. Code is available at https://anonymous.4open.science/r/AGMR_code-3262/

Key facts. No citing papers in the map yet (data through 13 Oct 2026). Builds on 39 of its 43 references that are in the map. First posted on arXiv 20 Jul 2026.

Builds on

39 of 43 references.

References · 39

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,502
  2. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,156
  3. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,541
  4. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,135
  5. 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,219
  6. 2020ALFWorld: Aligning Text and Embodied Environments for Interactive Learningcited by 1,167
  7. 2023Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Promptingcited by 1,101
  8. 2025A-MEM: Agentic Memory for LLM Agentscited by 1,032
  9. 2023Towards Understanding Sycophancy in Language Modelscited by 1,018
  10. 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 856
  11. 2023ExpeL: LLM Agents Are Experiential Learnerscited by 842
  12. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 813
27 more
  1. 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 760
  2. 2023MemoryBank: Enhancing Large Language Models with Long-Term Memorycited by 551
  3. 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Timecited by 432
  4. 2024Agent Workflow Memorycited by 372
  5. 2025Agentic Context Engineering: Evolving Contexts for Self-Improving Language Modelscited by 371
  6. 2022ScienceWorld: Is your Agent Smarter than a 5th Grader?cited by 309
  7. 2025Memory in the Age of AI Agentscited by 291
  8. 2025ReasoningBank: Scaling Agent Self-Evolving with Reasoning Memorycited by 269
  9. 2025Memory-R1: Enhancing Large Language Model Agents to Manage and Utilize Memories via Reinforcement Learningcited by 229
  10. 2024Retrieval Head Mechanistically Explains Long-Context Factualitycited by 224
  11. 2025Why Language Models Hallucinatecited by 213
  12. 2024Trial and Error: Exploration-Based Trajectory Optimization for LLM Agentscited by 194
  13. 2023Synapse: Trajectory-as-Exemplar Prompting with Memory for Computer Controlcited by 185
  14. 2025Chain-of-Thought Reasoning In The Wild Is Not Always Faithfulcited by 169
  15. 2025Dynamic Cheatsheet: Test-Time Learning with Adaptive Memorycited by 150
  16. 2024Faithfulness vs. Plausibility: On the (Un)Reliability of Explanations from Large Language Modelscited by 105
  17. 2025Memp: Exploring Agent Procedural Memorycited by 99
  18. 2025Remember Me, Refine Me: A Dynamic Procedural Memory Framework for Experience-Driven Agent Evolutioncited by 71
  19. 2025FLEX: Continuous Agent Evolution via Forward Learning from Experiencecited by 51
  20. 2025The Hallucination Tax of Reinforcement Finetuningcited by 39
  21. 2025Query-Focused Retrieval Heads Improve Long-Context Reasoning and Re-rankingcited by 31
  22. 2024FaithLM: Towards Faithful Explanations for Large Language Modelscited by 19
  23. 2026Trajectory-Informed Memory Generation for Self-Improving Agent Systemscited by 17
  24. 2025Understanding the Skill Gap in Recurrent Language Models: The Role of the Gather-and-Aggregate Mechanismcited by 15
  25. 2025The Atlas of In-Context Learning: How Attention Heads Shape In-Context Retrieval Augmentationcited by 11
  26. 2025Efficient Prompt Compression with Evaluator Heads for Long-Context Transformer Inferencecited by 10
  27. 2024QUITO: Accelerating Long-Context Reasoning through Query-Guided Context Compressioncited by 7

Built on by

Not cited yet.