cs.IRMar 10, 2026

TA-Mem: Tool-Augmented Autonomous Memory Retrieval for LLM in Long-Term Conversational QA

Authors: Mengwei Yuan, Jianan Liu, Jing Yang, Xianyou Li, Weiran Yan, Yichao Wu, Penghao Liang

Organizations: Independent Researcher Milpitas, USA, 95035 · Independent Researcher Austin, USA, 78613 · Washington University in St. Louis St. Louis, USA, 63130 · New York University New York, USA, 10012 · 

Abstract

Large Language Model (LLM) has exhibited strong reasoning ability in text-based contexts across various domains, yet the limitation of context window poses challenges for the model on long-range inference tasks and necessitates a memory storage system. While many current storage approaches have been proposed with episodic notes and graph representations of memory, retrieval methods still primarily rely on predefined workflows or static similarity top-k over embeddings. To address this inflexibility, we introduced a novel tool-augmented autonomous memory retrieval framework (TA-Mem), which contains: (1) a memory extraction LLM agent which is prompted to adaptively chuck an input into sub-context based on semantic correlation, and extract information into structured notes, (2) a multi-indexed memory database designed for different types of query methods including both key-based lookup and similarity-based retrieval, (3) a tool-augmented memory retrieval agent which explores the memory autonomously by selecting appropriate tools provided by the database based on the user input, and decides whether to proceed to the next iteration or finalizing the response after reasoning on the fetched memories. The TA-Mem is evaluated on the LoCoMo dataset, achieving significant performance improvements over existing baseline approaches. In addition, an analysis of tool use across different question types also demonstrates the adaptivity of the proposed method.

Explore similar work

CardsList
  1. Where to Look and What to Use: Retrieve-Localize-Generate for Long-Term Conversational Memory Question Answering

    Sep 7, 2026Yifan Wang, Xinkui Lin, Yongxiu Xu +9Graph Retrieval-Augmented GenerationPersistent Memory for Language Models

  2. LazyMem: Retrieve Broadly, Construct Selectively for Efficient Long-Term Agent Memory

    Jul 17, 2026Jing Yu, Yibo Zhao, Jiaming Zhang +1Persistent Memory for Language ModelsLong-Term Conversational Memory

  3. HiGMem: A Hierarchical and LLM-Guided Memory System for Long-Term Conversational Agents

    Apr 20, 2026Shuqi Cao, Jingyi He, Fei TanPersistent Memory for Language ModelsHierarchical Memory