atlas

Research map / Large language models / Agents, code and math

Minerva: A Programmable Memory Test Benchmark for Language Models

ICML 2025 · Large language models › Agents, code and math · approach: Mathematical and structural reasoning benchmarks · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Minerva, a programmable benchmark that auto-generates atomic and composite memory tests (search, recall/edit, match/compare, state tracking) to diagnose how LLMs use their context, and evaluates nine models at 4k tokens.

Problem

Static, manually crafted data benchmarks for long-context use are costly, overfit-prone, and fail to pinpoint which specific memory capability a model lacks; existing automated tests mostly probe only basic search (needle-in-a-haystack, passkey, key-value).

Approach

A programmable framework of parametric test generators covering atomic memory capabilities (beyond search: recall/edit, match/compare, spot differences, set/list computation, stateful processing) plus composite tests (data blocks, multi-agent state tracking), so each test isolates a capability and difficulty is tunable.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace meaningful context words with random gibberish tokens (ablation)GPT-4o snapshot and string search · Snapshot and string searchaccuracyNo clear effect
Return the last rather than the first word in each list (ablation)Iterate task · Compute on Sets and ListsROUGE-LHurt
Increase functional-update context length from 500 to 8K tokens (ablation)GPT-4o · Functional updatesROUGE-L: 1.00 -> 0.59Hurt
Increase counting context length from 1K to 16K tokens (ablation)GPT-4-turbo · Countingexact match accuracy: 0.52 -> 0.28Hurt
Use minor alternate prompt phrasing (ablation)GPT-4o · String searchexact match accuracy: 1.00 -> 1.00No clear effect
Use minor alternate prompt phrasing (ablation)GPT-4o · Group associationexact match accuracy: 0.65 -> 0.63No clear effect
Use minor alternate prompt phrasing (ablation)GPT-4o · Replace allROUGE-L: 0.99 -> 0.98No clear effect
Use alternate prompt phrasing (ablation)Phi-3-small · Check associationexact match accuracy: 0.70 -> 0.60Mixed
Combine multiple atomic capabilities in a composite taskGPT-4o · Memory processing versus composite testsperformance: 0.37 processing data blocks; 0.38 theory of mindHurt
Use alternating repeated groups rather than standard group structures (ablation)Compute on Sets and Lists · Group associationaccuracy: 0.75 -> 0.68Hurt

Surprising findings

Limitations

Experimental setup

Datasets: Minerva programmatically generated test cases

Benchmarks: Minerva

Metrics: exact match ROUGE-L ROUGE-L recall Jaccard similarity

Baselines: GPT-4-turbo GPT-4o GPT-4o-mini Cohere-command-rplus Mistral-7B-instruct-v0.2 Phi-3-small Phi-3-medium Gemma-2-9b LLaMA-3.1-8B-instruct

Builds on: needle-in-a-haystack RULER NeedleBench

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy