Beyond a Million Tokens: Benchmarking and Enhancing Long-Term Memory in LLMs

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Tavakoli, Mohammad, Salemi, Alireza, Ye, Carrie, Abdalla, Mohamed, Zamani, Hamed, Mitchell, J Ross
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914340860329984
author Tavakoli, Mohammad
Salemi, Alireza
Ye, Carrie
Abdalla, Mohamed
Zamani, Hamed
Mitchell, J Ross
author_facet Tavakoli, Mohammad
Salemi, Alireza
Ye, Carrie
Abdalla, Mohamed
Zamani, Hamed
Mitchell, J Ross
contents Evaluating the abilities of large language models (LLMs) for tasks that require long-term memory and thus long-context reasoning, for example in conversational settings, is hampered by the existing benchmarks, which often lack narrative coherence, cover narrow domains, and only test simple recall-oriented tasks. This paper introduces a comprehensive solution to these challenges. First, we present a novel framework for automatically generating long (up to 10M tokens), coherent, and topically diverse conversations, accompanied by probing questions targeting a wide range of memory abilities. From this, we construct BEAM, a new benchmark comprising 100 conversations and 2,000 validated questions. Second, to enhance model performance, we propose LIGHT-a framework inspired by human cognition that equips LLMs with three complementary memory systems: a long-term episodic memory, a short-term working memory, and a scratchpad for accumulating salient facts. Our experiments on BEAM reveal that even LLMs with 1M token context windows (with and without retrieval-augmentation) struggle as dialogues lengthen. In contrast, LIGHT consistently improves performance across various models, achieving an average improvement of 3.5%-12.69% over the strongest baselines, depending on the backbone LLM. An ablation study further confirms the contribution of each memory component.
format Preprint
id arxiv_https___arxiv_org_abs_2510_27246
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Beyond a Million Tokens: Benchmarking and Enhancing Long-Term Memory in LLMs
Tavakoli, Mohammad
Salemi, Alireza
Ye, Carrie
Abdalla, Mohamed
Zamani, Hamed
Mitchell, J Ross
Computation and Language
Artificial Intelligence
Information Retrieval
Evaluating the abilities of large language models (LLMs) for tasks that require long-term memory and thus long-context reasoning, for example in conversational settings, is hampered by the existing benchmarks, which often lack narrative coherence, cover narrow domains, and only test simple recall-oriented tasks. This paper introduces a comprehensive solution to these challenges. First, we present a novel framework for automatically generating long (up to 10M tokens), coherent, and topically diverse conversations, accompanied by probing questions targeting a wide range of memory abilities. From this, we construct BEAM, a new benchmark comprising 100 conversations and 2,000 validated questions. Second, to enhance model performance, we propose LIGHT-a framework inspired by human cognition that equips LLMs with three complementary memory systems: a long-term episodic memory, a short-term working memory, and a scratchpad for accumulating salient facts. Our experiments on BEAM reveal that even LLMs with 1M token context windows (with and without retrieval-augmentation) struggle as dialogues lengthen. In contrast, LIGHT consistently improves performance across various models, achieving an average improvement of 3.5%-12.69% over the strongest baselines, depending on the backbone LLM. An ablation study further confirms the contribution of each memory component.
title Beyond a Million Tokens: Benchmarking and Enhancing Long-Term Memory in LLMs
topic Computation and Language
Artificial Intelligence
Information Retrieval
url https://arxiv.org/abs/2510.27246