Minerva: A Programmable Memory Test Benchmark for Language Models

Abstract

How effectively can LLM-based AI assistants utilize their memory (context) to perform various tasks? Traditional data benchmarks, which are often manually crafted, suffer from several limitations: they are static, susceptible to overfitting, difficult to interpret, and lack actionable insights–failing to pinpoint the specific capabilities a model lacks when it does not pass a test. In this paper, we present a framework for automatically generating a comprehensive set of tests to evaluate models’ abilities to use their memory effectively. Our framework extends the range of capability tests beyond the commonly explored (passkey, key-value, needle in the haystack) search, a dominant focus in the literature. Specifically, we evaluate models on atomic tasks such as searching, recalling, editing, matching, comparing information in context memory, performing basic operations when inputs are structured into distinct blocks, and maintaining state while operating on memory, simulating real-world data. Additionally, we design composite tests to investigate the models’ ability to perform more complex, integrated tasks. Our benchmark enables an interpretable, detailed assessment of memory capabilities of LLMs.

Cite

Text

Xia et al. "Minerva: A Programmable Memory Test Benchmark for Language Models." Proceedings of the 42nd International Conference on Machine Learning, 2025.

Markdown

[Xia et al. "Minerva: A Programmable Memory Test Benchmark for Language Models." Proceedings of the 42nd International Conference on Machine Learning, 2025.](https://mlanthology.org/icml/2025/xia2025icml-minerva/)

BibTeX

@inproceedings{xia2025icml-minerva,
  title     = {{Minerva: A Programmable Memory Test Benchmark for Language Models}},
  author    = {Xia, Menglin and Rühle, Victor and Rajmohan, Saravan and Shokri, Reza},
  booktitle = {Proceedings of the 42nd International Conference on Machine Learning},
  year      = {2025},
  pages     = {68258-68276},
  volume    = {267},
  url       = {https://mlanthology.org/icml/2025/xia2025icml-minerva/}
}