cs.AIAug 21, 2026

Weighted Memory Tree: Remembering What Matters for Long-Horizon LLM Agents

Authors: Quang Dao, Purvi Kathalkar, Kenneth Eaton

Organizations: Rose-Hulman Institute of Technology · Georgia Institute of Technology · Georgia Tech Research Institute

Abstract

Large language model (LLM) agents have demonstrated the ability to solve multi-step tasks requiring planning, tool use, and external information access, yet growing execution histories increase inference cost and expose reasoning to outdated, irrelevant, or misleading information, potentially degrading reasoning quality. Existing memory approaches organize or compress execution histories but provide limited mechanisms for deciding which memories remain active. We introduce the, a hierarchical memory system that organizes execution into tasks, subtasks, and actions while assigning each memory a dynamic retention score. Event-based updates and selection-based decay revise these scores, allowing WMT to preserve useful information, fold completed trajectories, suppress low-utility content, and retain access to folded context. We evaluate WMT on GAIA-Text using Qwen3-8B, Gemma 4 E4B, and Llama-3.1-8B, with ablations and memory-poisoning experiments. Relative to linear memory, WMT improves accuracy by an average of 9.97 percentage points while reducing prompt-token usage by 32.8%. Memory-poisoning experiments show that WMT limits the persistence and propagation of unreliable information. Our results suggest that effective long-horizon agent memory depends less on storing more information than on deciding which information should remain active.

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. ActiveMem: Dynamic Latent Memory Trees for Long-Horizon Agents

    Sep 27, 2026Song-Li Wu, Jingyi Wang, Zhaocheng Du +1LLM Agent MemoryMemory-Augmented Language Model Agents