CL-bench: A Benchmark for Context Learning

Shihan Dou, Ming Zhang, Zhangyue Yin, Chenhao Huang, Yujiong Shen, Junzhe Wang, Jiayi Chen, Yuchen Ni, Junjie Ye, Cheng Zhang, Huaibing Xie, Jianglu Hu, Shaolei Wang, Weichao Wang, Yanling Xiao, Yiting Liu, Zenan Xu, Zhen Guo, Pluto Zhou, Tao Gui, Zuxuan Wu, Xipeng Qiu, Qi Zhang, Xuanjing Huang, Yu-Gang Jiang, Di Wang, Shunyu YaoarXiv 2026

TL;DR

This paper introduces CL-bench, a rigorous new benchmark designed to evaluate a language model's ability to perform "context learning"—the capacity to internalize and reason over completely novel, complex knowledge provided directly within a prompt. Evaluating ten frontier large language models (LLMs) reveals a massive capability gap: the average task success rate is a meager 17.2%, with even the best-performing model (GPT-5.1) topping out at 23.7%, highlighting a critical bottleneck for deploying AI in complex, real-world scenarios.

What Problem Does This Paper Address?

While current language models excel at reasoning over prompts using pre-trained knowledge, they struggle when faced with complex, highly context-dependent real-world tasks. Traditional paradigms like prompt engineering and standard in-context learning (ICL) typically focus on eliciting static knowledge or learning simple task formats from a few examples.

However, real-world applications often require models to learn entirely new information on the fly—such as navigating a fictional country's legal system, understanding a fresh API manual, or discovering physical laws from raw experimental data. The authors identify a distinct mismatch between how language models are optimized in practice and the actual capabilities required for these complex tasks, defining this missing capability as context learning.

Figure 1: Mismatch between how language models are commonly optimized in practice and the capabilities required by real-world tasks. While current LMs primarily elicit reasoning over prompts using pre-trained knowledge, real-world tasks are often context-dependent and require models to learn from context to solve them, a capability we term context learning.

Methods

To systematically evaluate context learning, the authors designed CL-bench so that all necessary knowledge to resolve a task is self-contained within the provided context, eliminating the need for external web searches or retrieval systems.

Because real-world tasks often yield complex, open-ended answers that are difficult to evaluate with simple rule-based verifiers, the authors implemented a fine-grained, binary (yes/no) rubric-based evaluation system. A model is considered to have successfully solved a task only if its solution satisfies every single associated rubric (an all-or-nothing criterion). They utilize GPT-5.1 as an automated verifier and validate its reliability through cross-model checks and human verification, achieving an inter-verifier agreement rate exceeding 90%.

Figure 2: Solving tasks in CL-bench requires LMs to learn new knowledge from the provided context, rather than relying solely on static pre-trained knowledge. The knowledge is curated by domain experts, either newly created or sourced from niche and emerging long-tail content. New knowledge required for solving each task is provided within corresponding context, with no need for external retrieval. LM solutions are then verified against carefully annotated task-level rubrics. The example task illustrates a charged particle dynamics analysis within the framework of classical electrodynamics (see Table 5 in the Appendix for more details).

Datasets

CL-bench is a newly introduced, expert-crafted benchmark consisting of 500 complex contexts, 1,899 tasks, and 31,607 verification rubrics.

Table 1: Statistics of CL-bench, including counts of contexts, tasks, rubrics, average and maximum tasks per context, rubrics per task, and input length.

The benchmark categorizes contexts into a structured taxonomy across four primary real-world learning domains:

  1. Domain Knowledge Reasoning (e.g., Finance, Healthcare, Legal Advisory)
  2. Rule System Application (e.g., Game Mechanics, Programming Syntax)
  3. Procedural Task Execution (e.g., Operational Procedures, Workflow Orchestration)
  4. Empirical Discovery & Simulation (e.g., Experimental Data, Simulation Environments)
Figure 3: Context taxonomy of CL-bench.

To ensure the benchmark is entirely "contamination-free" (preventing models from relying on data memorized during pre-training), the contexts were built using three expert approaches: creating entirely fictional content, modifying existing real-world knowledge (such as altering historical events or scientific definitions), and incorporating highly niche, emerging long-tail technical documents.

Key Insights and Ideas

  • Inductive vs. Deductive Gap: LMs perform substantially worse on inductive tasks (discovering underlying rules from data or simulations) than on deductive tasks (applying explicitly stated rules). Average solve rates drop by roughly 6% when moving from deductive rule application to inductive pattern discovery.
  • Context Neglect and Misuse: Error analysis reveals that the primary drivers of failure are "context ignored" and "context misused." Even when models are capable of processing long contexts, they frequently fail to correctly interpret or faithfully adhere to the specific constraints provided.
  • Long-Context is Necessary but Insufficient: Across all evaluated models, performance steadily degrades as input length increases. Strong performance on existing long-context retrieval benchmarks does not guarantee success on CL-bench, because context learning demands that the model internalize and flexibly apply novel knowledge rather than just locate it.
  • Knowledge Structure Matters: Models show sharp performance disparities even within the same domain depending on how information is presented. For instance, models excel at locating explicit provisions in structured legal codes (Rule System Application) but struggle with legal advisory tasks that require professional judgment and evaluating complex scenarios.

Key Results

The evaluation of ten frontier LLMs highlights that context learning remains an unsolved challenge:

  • Low Overall Success: The average task-solving rate across all tested frontier models is a low 17.2%.
  • Top Performers: GPT-5.1 (High Effort) achieved the highest overall accuracy at 23.7%, followed by Claude Opus 4.5 Thinking at 21.1%. Surprisingly, GPT-5.2 underperformed GPT-5.1 by 5.6%, showing a notable weakness in maintaining coherent causal reasoning chains over extended contexts.
  • Hardest Categories: The "Empirical Discovery & Simulation" category proved to be the most difficult for all models, yielding an average solve rate of only 11.8%.
Figure 5: We compare the task solving rates of ten frontier LMs across subcategories. The Darker- colored cells indicate higher values. For brevity, we omit version numbers for some models. All models use thinking or high reasoning effort settings.

Limitations and Future Work

The authors acknowledge several limitations in their current work:

  • Domain Coverage: Although diverse, the 18 subcategories cannot exhaustively cover every highly specialized or emerging real-world field.
  • Interaction Dynamics: The benchmark primarily evaluates single-turn or short sequential tasks, whereas real-world context learning often happens across prolonged, multi-turn dialogues with iterative feedback.
  • Text-Only Modality: CL-bench is currently restricted to textual data, overlooking the multimodal nature of real-world contexts (e.g., diagrams in product manuals or video tutorials).
  • Lack of Human Baselines: Due to the highly specialized, expert-crafted nature of the contexts, establishing an unbiased human baseline remains a challenge left for future research.

Summary updated

BibTeX
@misc{dou2026cl,
  author = {Shihan Dou and Ming Zhang and Zhangyue Yin and Chenhao Huang and Yujiong Shen and Junzhe Wang and Jiayi Chen and Yuchen Ni and Junjie Ye and Cheng Zhang and Huaibing Xie and Jianglu Hu and Shaolei Wang and Weichao Wang and Yanling Xiao and Yiting Liu and Zenan Xu and Zhen Guo and Pluto Zhou and Tao Gui and Zuxuan Wu and Xipeng Qiu and Qi Zhang and Xuanjing Huang and Yu-Gang Jiang and Di Wang and Shunyu Yao},
  title = {{CL-bench: A Benchmark for Context Learning}},
  year = {2026},
  eprint = {2602.03587},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.03587},
}
Figure