Retrieval Or Holistic Understanding? Dolce: Differentiate Our Long Context Evaluation Tasks

Zi Yang

Large Language Models (LLMs) have rapidly expanded their context windows, now processing millions of tokens. However, evaluation methodologies have struggled to keep pace. A high score on a long-context benchmark doesn't necessarily imply "understanding" the entire document; it might simply reflect a model's ability to locate a single relevant sentence—a "needle in a haystack." To address this ambiguity, researchers have introduced DOLCE (Differentiate Our Long Context Evaluation Tasks), a framework designed to automatically categorize tasks based on their inherent complexity.

The DOLCE Framework: Parameterizing Context

The core innovation of DOLCE is treating task categorization as a parameter estimation problem. It defines every long-context problem using two key parameters:

  1. Span Complexity ($\lambda$): The minimum context length required to solve the task.
  2. Redundancy ($k$): The number of times the necessary information is repeated within the full text.

By sampling short spans of varying lengths and observing the model's performance, DOLCE estimates these parameters. This allows for a systematic classification of tasks into five distinct categories, ranging from zero-shot knowledge to true holistic understanding.

Categorization of long-context tasks based on span complexity ($\lambda$) and redundancy ($k$).

As shown in the figure above, tasks are categorized as follows:

  • Category I (CBZS): Closed-Book/Zero-Shot tasks solvable without any context.
  • Category II (Easy): Low complexity, high redundancy.
  • Category III (Retrieval): Low complexity, low redundancy (the classic "needle in a haystack").
  • Category IV (Balanced): Moderate complexity.
  • Category V (Holistic Understanding): High complexity, requiring a large portion of the context to solve.

Evaluating the "Long-Context" Landscape

The researchers applied DOLCE to 44 tasks from prominent benchmarks like L-Eval, BAMBOO, and LongBench. The results reveal a significant disparity between task names and their actual requirements. Many tasks marketed as "long-context" are, in reality, simple retrieval exercises.

Distribution of task categories across 44 benchmarks in COW and PIG scenarios.

The analysis highlights several key insights:

  • Deceptive Task Labels: Tasks like MeetingQA are often heavily retrieval-based (Category III), whereas TopicRet and PassageCount are confirmed as truly holistic (Category V).
  • The Impact of Internal Knowledge: A non-trivial number of tasks fall into Category I, meaning models can solve them using memorized training data rather than the provided context.
  • Granularity Matters: The difficulty of a task can shift depending on whether the text is chunked by sentence or paragraph, as sentences are more likely to be self-contained for retrieval.

Conclusion

DOLCE provides a much-needed lens for evaluating the true capabilities of long-context LLMs. By moving beyond aggregate scores and identifying whether a task tests retrieval or holistic understanding, researchers can better align model architectures with specific needs. For instance, while Retrieval-Augmented Generation (RAG) excels at Category III tasks, it is fundamentally unsuited for the holistic synthesis required in Category V. As context windows continue to grow, frameworks like DOLCE will be essential for developing benchmarks that truly challenge the frontiers of machine understanding.

Summary updated

Abstract

We argue that there are two major distinct capabilities in long context understanding: retrieval and holistic understanding. Understanding and further improving LLMs' long context capabilities would not be possible without knowing the tasks' focus categories. We aim to automatically identify retrieval focused and holistic understanding focused problems from suites of benchmarks and quantitatively measure the difficulty within each focus. In this paper, we present the Dolce framework, which parameterizes each problem by $\lambda$ (complexity) and $k$ (redundancy) and assigns to one of five predefined focus categories. We propose to sample short contexts from the full context and estimate the probability an LLM solves the problem using the sampled spans. To find the $\lambda$ and $k$ for each problem, we further propose a mixture model of a non-parametric background noise component and a parametric/non-parametric hybrid oracle component, where we derive the probability functions parameterized by λ and k for both the correct-or-wrong (COW) scenario and the partial-point-in-grading (PIG) scenario. Our proposed methods can identify 0% to 67% of the problems are retrieval focused and 0% to 90% of the problems are holistic understanding focused across 44 existing long context evaluation tasks.
BibTeX
@misc{yang2024retrieval,
  author = {Zi Yang},
  title = {{Retrieval Or Holistic Understanding? Dolce: Differentiate Our Long Context Evaluation Tasks}},
  year = {2024},
  eprint = {2409.06338},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.06338},
}
Figure