Selective Memory Retention for Long-Horizon LLM Agents

71d ago · Global · primary source: export.arxiv.org

A new study introduces TraceRetain, a lightweight framework that gives frozen large language model agents a bounded external memory, finding that selective retention policies only outperform simple cache heuristics when the information stream contains noise [1]. The framework, detailed in a preprint submitted to arXiv on June 28, scores memory entries by interpretable features — including success, age, access frequency, redundancy, specificity, similarity, and downstream utility — and evicts the lowest-scoring entries when capacity is reached [1][2]. The work was authored by Pranath Reddy Kumbam [1]. Experiments were conducted in the ALFWorld environment using the gpt-5-mini model [1][2]. On clean benchmarks, external memory robustly improved task performance over a no-memory baseline across two random seeds, but the differences among various bounded retention policies fell within Wilson 95% confidence intervals [1][2]. The authors report that clean ALFWorld at T=100 to T=200 does not naturally exhibit the memory pollution that retention policies are designed to address [1][2]. To stress-test the system, researchers introduced a controlled noisy-write condition in which 75% of incoming entries were synthetic distractors [1][2]. Under this load, unbounded memory and a first-in-first-out policy limited to 50 entries, or FIFO-K50, saw Precision@5 scores degrade — from 20.2% to 12.4% and from 15.8% to 3.8%, respectively [1][2]. In contrast, the TraceRetain-CEM variant remained essentially unchanged, shifting from 16.9% to 16.6%, and preserved 97 out of 100 task successes [1][2]. The mechanism behind the degradation was traced to embedding-space similarity: unbounded memory exhibited the highest mean similarity score of 0.87 but the lowest precision, indicating that failed distractors were positioned close to the query in the embedding space [1][2]. In a held-out in-distribution evaluation, memory-augmented policies solved between 47 and 49 of 50 tasks, compared with 39 of 50 for the no-memory baseline [1][2]. The preprint appears on arXiv, an open-access repository that has hosted e-prints in physics, mathematics, computer science, and related fields since 1991 and now receives roughly 24,000 submissions per month [6]. The study falls within the computer science subfield of artificial intelligence and was posted under the cs.AI category [1].

applicationresearch-paperregulationmodel-releasetool-release

Background sources we checked (7)
  • arxiv.org ↗ When does retention matter for memory-augmented LLM agents? We study this with TraceRetain, a lightweight framework for bounded external memory in frozen LLM agents that scores entries by interpretable features (success, age, access frequency, redundancy, specificity, similarity,…
  • info.arxiv.org ↗ arXiv Labs - arXiv info | arXiv e-print repository Skip to content # arXiv Labs Attention arXiv Users: arXiv Labs is pausing new proposals ## What are arXiv Labs? arXiv Labs are a way for the community to contribute new, useful features to arXiv. These integrations are avail…
  • info.arxiv.org ↗ arXivLabs: Showcase - arXiv info | arXiv e-print repository ... # arXivLabs: Showcase ... arXiv is surrounded by a community of researchers and developers working at the cutting edge of information science and technology. ... While the arXiv team is focused on our core mission—pr…
  • blog.arxiv.org ↗ arXivLabs: a space for community innovation – arXiv blog arXiv has launched a new, formalized framework enabling innovative collaborations with individuals and organizations. “Members of our community want to contribute tools that enhance the arXiv experience, and we val…
  • en.wikipedia.org ↗ arXiv (pronounced as "archive"—the X represents the Greek letter chi ⟨χ⟩) is an open-access repository of electronic preprints and postprints (known as e-prints) approved for posting after moderation, but not peer reviewed. It consists of scientific papers in the fields of mathem…
  • en.wikipedia.org ↗ 14 (fourteen) is the natural number following 13 and preceding 15.…
  • en.wikipedia.org ↗ LK-99 also called PCPOSOS, is a gray–black, polycrystalline compound, identified as a copper-doped lead‒oxyapatite. A team from Korea University led by Lee Sukbae (이석배) and Kim Ji-Hoon (김지훈) began studying this material as a potential superconductor in 1999, and in July 2023 publ…

Sources

Spot something wrong? Report an issue