OOLONG asks a model to label every item in a long input and combine the labels into one short answer. This is what it contains, how it is graded, and why models that pass needle tests fail it.
The short version: OOLONG is a long-context benchmark from Carnegie Mellon University that tests information aggregation: reading every item in a long input, classifying each one, and combining those decisions into a count, a comparison, or a date. It has a synthetic split built from ten text classification datasets and a real split built from Dungeons & Dragons transcripts. Each task is easy item by item, so a low score means the model failed at long-context aggregation, not at the underlying task. Most frontier models score under 50% at 128K tokens.
OOLONG comes from Amanda Bertsch, Adithya Pratapa, Teruko Mitamura, Graham Neubig and Matthew R. Gormley at Carnegie Mellon. The paper, "Oolong: Evaluating Long Context Reasoning and Aggregation Capabilities", first went up on arXiv in November 2025. The October 2026 revision (v2) is marked as a COLM 2026 conference paper and adds newer models such as Gemini 3 Pro and GPT-5.2.
The data is on Hugging Face as oolongbench/oolong-synth and oolongbench/oolong-real, and the evaluation code is at abertsch72/oolong. Both are MIT licensed.
The authors built it to fill a gap. In their words, current long-context benchmarks "predominantly test retrieval-style tasks, where the correct answer depends on a small fraction of tokens and the rest is noise." Summarization uses the whole input, but its long free-text outputs are hard to grade. OOLONG asks questions that use the whole input and still have short answers you can check exactly.
OOLONG-synth starts from ten in-context learning (ICL) classification datasets with 2 to 10 labels each. Examples are SMS spam, TREC question type (6 labels), AGNews topics, IMDB sentiment, MultiNLI entailment and Yahoo question topics. Two datasets are held out for validation and eight are used for testing.
Each example gets a synthetic user ID and date. The examples are packed into one long context window, without their labels. The label distribution is sampled at random, so the model cannot guess it from priors. Before packing, the authors removed examples that both GPT-4.1 nano and Llama 4 Maverick got wrong zero-shot. That removed between 0% and 0.635% of each dataset and kept mislabeled items from corrupting the aggregate answers.
Context windows run at every power of 2 from 1K to 4M tokens. At each length there are two windows per dataset with 25 questions each, so 400 test questions per length. The Hugging Face card lists 5.2k test rows and 1.3k validation rows. The questions fall into three groups, in increasing order of difficulty:
OOLONG-real uses episode transcripts from two campaigns of the Dungeons & Dragons show Critical Role, taken from the CRD3 dataset. The gold answers come from CritRoleStats, a fan project that hand-labeled dice rolls and spells cast in each episode. Questions include "Total number of rolls by the character {character name} in this episode?", "What is the most common roll type in this episode?" and "What are the first three spells cast in this episode?"
This split is harder to break into parts. Speech is unscripted, one spell may be discussed over many turns, and events are sometimes "retconned" after the fact. A context window holds 1 to 24 episodes, which is about 55K to 1.3M tokens. The paper tried a simple retrieval agent (BM25 plus code execution, up to 5 steps) with GPT-5. It scored 16.15 points below plain GPT-5 on one transcript and 17.67 points below on two.
Answers that are a label, date, user ID or comparison are scored by exact match. Numeric answers get partial credit with score = 0.75^|y - y_hat|, where y is the true count and y_hat is the model's answer. An exact count scores 1.0. A count off by 2 scores 0.5625, and a count off by 5 scores about 0.237. If the model ignores the required output format, the parser takes the last substring that looks like the right answer type.
The paper also defines a random baseline for each question type, and some models score below it.
Take a counting task on the TREC question-type data. The lines below are invented for illustration, not rows from the dataset. The real context lists hundreds or thousands of unlabeled questions, each with a date and a user ID:
The question then asks, for example, how many instances carry the label "numeric value". The model has to do three things:
A user question adds a filter (only users 41022 and 87310), and a timeline question adds a date split. No single step is hard. The paper showed this directly: giving the gold labels in the context improved scores by only 0.79 to 10.9 points. The authors concluded that "identification and aggregation of information is the bottleneck, not labeling."
Scores drop fast as the input grows. These are OOLONG-synth scores at 128K tokens from Table 3 of the v2 paper:
On OOLONG-real at a single 55K-token episode, Gemini 3 Pro scored 64.71 and GPT-5 58.74. At three episodes (175K), those fell to 54.07 and 36.53.
Two failure modes explain much of the drop. The first is over-reasoning: the model spends its whole reasoning budget labeling items and never answers. DeepSeek-R1 gave no answer in 56.3% of sampled OOLONG-synth traces and scored below the random baseline on that split. Gemini 2.5 Pro hit its reasoning limit on 64.0% of OOLONG-synth inputs at 256K. The second is refusal: at 256K, GPT-5 attempted 83% of queries while GPT-5.2 attempted only 32%. This is the same pattern rlm.md covers under context rot, but sharper, because every line matters.
In a needle-in-a-haystack test, the answer sits in one place and everything else is filler. The work stays constant as the input grows, and a model can skim. The Recursive Language Models paper (Zhang, Kraska and Khattab) makes this point: frontier models now solve RULER needle tasks at 1M+ tokens but "struggle at far shorter lengths on OOLONG," where "the answer depends explicitly on almost every line in the prompt." The RLM authors call OOLONG linear in complexity: twice the input means twice the items to label.
The RLM paper then built OOLONG-Pairs to push that to quadratic. It takes the ground-truth labels of the OOLONG trec_coarse split and poses 20 new queries at lengths from 1,024 to 1,048,576 tokens. Each query asks for every pair of user IDs that meet a condition. Task 1, for example, asks for "all pairs of user IDs" where both users have at least one numeric value or location question. The authors note that many pair questions can be answered by counting single items (inclusion-exclusion), so they ask for the list of pairs itself. Answers are scored by F1 over the list. At 32K tokens, base GPT-5 scored 0.1% F1. How RLMs fare on both benchmarks, by depth, is covered in how to evaluate a recursive language model.
The OOLONG authors note the obvious workaround: call a model on each item and count in code. That is the decompose, recurse, aggregate pattern. Their position is that real users paste large files and ask one question, so a model should handle the whole block itself. OOLONG-real exists to test the case where that split is not clean.
OOLONG measures whether a model can use all of a long input, not just find one piece of it. The synthetic split controls the difficulty, and the D&D split checks that results hold on messy real speech. The scores show a clear gap: models above 85 at 8K fall to the 20s to 60s at 128K. When a paper cites OOLONG, check the split, the context length and the paper version, because the model list and numbers changed between the 2025 and 2026 versions.
No. OOLONG tests reading and aggregation over text, using classification datasets and Dungeons & Dragons transcripts. Code understanding at repository scale is tested by other benchmarks, such as the LongBench-v2 CodeQA split used in the RLM paper.
The data is on Hugging Face as oolongbench/oolong-synth and oolongbench/oolong-real. The evaluation script is in the abertsch72/oolong GitHub repository and runs models through LiteLLM. Both are released under the MIT license.
No. OOLONG-Pairs was built by the Recursive Language Models authors from the ground-truth labels of the OOLONG trec_coarse split. It has 20 queries that ask for lists of user ID pairs and is scored with F1.
Because a missing answer scores zero. Models that spend their whole reasoning budget labeling items, or that refuse the task as intractable, return nothing to grade. DeepSeek-R1 fell below the random baseline on OOLONG-synth for this reason.
Only a little. Most questions only require spotting rolls and spells in the text. When the authors added spell-level and roll-type references, GPT-5 gained 3.51 points and Claude Sonnet 4 gained 2.57 points on single-episode inputs.