BABILong
Models answer bAbI reasoning questions whose supporting facts are scattered through very long distractor text, at lengths up to millions of tokens.
NeurIPS 2024 Datasets and Benchmarks. 52 upvotes on Hugging Face papers.
- Made by
- AIRI and collaborators (Kuratov et al.)
- Released
- June 2024
- Kind
- Reasoning over long documents
- Level
- Everyday
- Scored
- Checked automatically
- Answers
- Short answer
- Tasks
- All public
- Last model added
- May 2024
- Scores refreshed
- November 12th, 2026
In the authors’ words
In recent years, the input context sizes of large language models (LLMs) have increased dramatically. However, existing evaluation methods have not kept pace, failing to comprehensively assess the efficiency of models in handling long contexts. To bridge this gap, we introduce the BABILong benchmark, designed to test language models' ability to reason across facts distributed in extremely long documents. BABILong includes a diverse set of 20 reasoning tasks, including fact chaining, simple induction, deduction, counting, and handling lists/sets. These tasks are challenging on their own, and even more demanding when the required facts are scattered across long natural text. Our evaluations show that popular LLMs effectively utilize only 10-20% of the context and their performance declines sharply with increased reasoning complexity. Among alternatives to in-context reasoning, Retrieval-Augmented Generation methods achieve a modest 60% accuracy on single-fact question answering, independent of context length. Among context extension methods, the highest performance is demonstrated by recurrent memory transformers after fine-tuning, enabling the processing of lengths up to 50 million tokens. The BABILong benchmark is extendable to any length to support the evaluation of new upcoming models with increased capabilities, and we provide splits up to 10 million token lengths.
~ Mamba (130M) fine-tune tops the leaderboard with 98.5%
Best score per entry from the benchmark's own leaderboard, read on November 12th, 2026. Where a model ran with several settings or harnesses, we keep its best. Names in gray aren't in our model list: fine-tunes, agent systems, products and older models. They don't count toward leaders. The best model we track is GPT-4 Turbo (Jan 2024), at 72.4%.
The newest model with a score here came out in May 2024, and nobody has tested a newer one. Among the 20 highest-ranked models on the capability index, these have no score yet:
- Claude Fable 5.2
-
Gemini 4 Carbon
- GPT-6 Astra
- Claude Opus 5.5
- and 16 more
- 98.5 ~ Mamba (130M) fine-tune
- 97.9 ~ ARMT (137M) fine-tune
- 91.0 ~ RMT (137M) fine-tune
- 73.1 Meta-Llama-3.1-70B-Instruct
- 72.4 GPT-4 Turbo (Jan 2024)
- 63.6 Meta-Llama-3.1-8B-Instruct
- 63.0
Phi-3-medium-128k-instruct
- 62.1 Mixtral-8x22B-Instruct-v0.1
- 59.1
Command R (03-2024)
- 55.2 Meta-Llama-3-8B-Instruct
- 54.9 01-ai/Yi-34B-200k
- 54.1 Mixtral-8x7B-Instruct-v0.1
- 52.1
Phi-3-mini-128k-instruct
- 49.7 ai21labs/Jamba-v0.1
- 48.7
Mistral-7B-Instruct-v0.2
- 47.6 chatglm3-6b-128k
- 47.1 activation-beacon-mistral-7b
- 46.1 Llama3-ChatQA-1.5-8B
- 45.6 01-ai/Yi-9B-200k
- 41.4 v5-Eagle-7B-HF
- 40.2 rwkv-6-world-7b
- 39.6
Yi-34B
- 39.0 Llama-2-7B-32K-Instruct
- 38.9 activation-beacon-llama2-7b-chat
- 38.6 Yarn-Mistral-7b-128k
- 37.7 LongAlpaca-13B
- 36.4 longchat-7b-v1.5-32k
- 36.1 LLaMA-2-7B-32K
- 33.2 mamba-2.8b-hf
- 21.0 GPT-2 (137M)
- 1 ~ Mamba (130M) fine-tune 98.5%
- 2 ~ ARMT (137M) fine-tune 97.9%
- 3 ~ RMT (137M) fine-tune 91%
- 4 Meta-Llama-3.1-70B-Instruct 73.1%
- 5 GPT-4 Turbo (Jan 2024) 72.4%
- 6 Meta-Llama-3.1-8B-Instruct 63.6%
- 7
Phi-3-medium-128k-instruct 63%
- 8 Mixtral-8x22B-Instruct-v0.1 62.1%
- 9
Command R (03-2024) 59.1%
- 10 Meta-Llama-3-8B-Instruct 55.2%
- 11 01-ai/Yi-34B-200k 54.9%
- 12 Mixtral-8x7B-Instruct-v0.1 54.1%
- 13
Phi-3-mini-128k-instruct 52.1%
- 14 ai21labs/Jamba-v0.1 49.7%
- 15
Mistral-7B-Instruct-v0.2 48.7%
- 16 chatglm3-6b-128k 47.6%
- 17 activation-beacon-mistral-7b 47.1%
- 18 Llama3-ChatQA-1.5-8B 46.1%
- 19 01-ai/Yi-9B-200k 45.6%
- 20 v5-Eagle-7B-HF 41.4%
- 21 rwkv-6-world-7b 40.2%
- 22
Yi-34B 39.6%
- 23 Llama-2-7B-32K-Instruct 39%
- 24 activation-beacon-llama2-7b-chat 38.9%
- 25 Yarn-Mistral-7b-128k 38.6%
- 26 LongAlpaca-13B 37.7%
- 27 longchat-7b-v1.5-32k 36.4%
- 28 LLaMA-2-7B-32K 36.1%
- 29 mamba-2.8b-hf 33.2%
- 30 GPT-2 (137M) 21%
Source: Official BABILong leaderboard
| # | Entry | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | ~ Mamba (130M) fine-tune | 98.5% | Official leaderboard | ||
| 2 | ~ ARMT (137M) fine-tune | 97.9% | Official leaderboard | ||
| 3 | ~ RMT (137M) fine-tune | 91% | Official leaderboard | ||
| 4 | Meta-Llama-3.1-70B-Instruct | 73.1% | Official leaderboard | ||
| 5 | GPT-4 Turbo (Jan 2024) | 72.4% | Jan 2024 | Official leaderboard | |
| 6 | Meta-Llama-3.1-8B-Instruct | 63.6% | Official leaderboard | ||
| 7 | | 63% | May 2024 | Official leaderboard | |
| 8 | Mixtral-8x22B-Instruct-v0.1 | 62.1% | Official leaderboard | ||
| 9 | | 59.1% | Mar 2024 | Official leaderboard | |
| 10 | Meta-Llama-3-8B-Instruct | 55.2% | Official leaderboard | ||
| 11 | 01-ai/Yi-34B-200k | 54.9% | Official leaderboard | ||
| 12 | Mixtral-8x7B-Instruct-v0.1 | 54.1% | Official leaderboard | ||
| 13 | | 52.1% | Apr 2024 | Official leaderboard | |
| 14 | ai21labs/Jamba-v0.1 | 49.7% | Official leaderboard | ||
| 15 | | 48.7% | Dec 2023 | Official leaderboard | |
| 16 | chatglm3-6b-128k | 47.6% | Official leaderboard | ||
| 17 | activation-beacon-mistral-7b | 47.1% | Official leaderboard | ||
| 18 | Llama3-ChatQA-1.5-8B | 46.1% | RAG | Official leaderboard | |
| 19 | 01-ai/Yi-9B-200k | 45.6% | Official leaderboard | ||
| 20 | v5-Eagle-7B-HF | 41.4% | Official leaderboard | ||
| 21 | rwkv-6-world-7b | 40.2% | Official leaderboard | ||
| 22 | | 39.6% | Nov 2023 | Official leaderboard | |
| 23 | Llama-2-7B-32K-Instruct | 39% | Official leaderboard | ||
| 24 | activation-beacon-llama2-7b-chat | 38.9% | Official leaderboard | ||
| 25 | Yarn-Mistral-7b-128k | 38.6% | Official leaderboard | ||
| 26 | LongAlpaca-13B | 37.7% | Official leaderboard | ||
| 27 | longchat-7b-v1.5-32k | 36.4% | Official leaderboard | ||
| 28 | LLaMA-2-7B-32K | 36.1% | Official leaderboard | ||
| 29 | mamba-2.8b-hf | 33.2% | Official leaderboard | ||
| 30 | GPT-2 (137M) | 21% | Official leaderboard |
Number one over time
Lab claims count from the day the card came out, independent runs from the model’s release.
Source: Official BABILong leaderboard
Scores over time
All the scores we have, one dot each, so a model tested at several settings appears more than once.
Source: Official BABILong leaderboard
No lab model card reports it yet
We read the headline results of 522 launch posts from 52 labs, and none of them list this benchmark.
More in Long context
- MRCR v2 In use Multi-round coreference: retrieve the n-th of several similar requests hidden in a long synthetic conversation, up to 1M tokens.
Muse Spark 1.3 98.5%
- LongBench v2 In use 503 multiple-choice questions over 8K-2M-word contexts (QA, dialogue, code repos, structured data). Accuracy.
Inkling 2 Small 70.6%
- GraphWalks In use A graph is given as an edge list in long context. The model answers BFS or parent queries, scored by F1. Claude Fable 5 99.96%
- OpenAI MRCR v2 In use Models read a long synthetic chat that hides 2, 4 or 8 identical writing requests and must reproduce the response to the i-th one. Scored by mean string match ratio per context bin.
Gemini 3.7 Flash 89%
- CL-bench In use Model must learn new knowledge from a supplied long context (rules, procedures, data) and solve tasks. Strict LLM-verified rubrics. GPT-5.4 27.9%
- AA-LCR 1.1 In use Models answer 100 questions that need reasoning across sets of real documents of about 100K tokens. An LLM equality checker with a fixed system prompt compares each answer with the key.
Step 5 Preview 88.3%