HELMET: How to Evaluate Long-context Models Effectively and Thoroughly

Howard Yen, Tianyu Gao, Minmin Hou, Ke Ding, Daniel Fleischer, Peter Izsak, Moshe Wasserblat, Danqi Chen

TL;DR

HELMET is a comprehensive benchmark designed to evaluate Long-Context Language Models (LCLMs) across seven diverse, real-world application categories. It reveals that popular synthetic tests like "Needle-in-a-Haystack" are poor predictors of actual performance. While open-source models are catching up in simple retrieval, they still significantly lag behind closed-source giants in complex long-context reasoning.

The Problem with Current Long-Context Evaluation

We are currently in a "long-context" arms race, with models claiming windows of 128K, 1M, or even 10M tokens. However, our methods for measuring if these models actually work at those lengths are fundamentally flawed.

Currently, many developers rely on the Needle-in-a-Haystack (NIAH) test—a simple task where a model must find one specific fact buried in a sea of irrelevant text. The problem is that NIAH is too easy. Most modern models achieve near-perfect scores, making it impossible to differentiate between a "good" model and a "great" one. Furthermore, existing benchmarks often use natural language datasets that are too short, rely on unreliable metrics like ROUGE (which only looks at word overlap), and are incompatible with "base" models that haven't undergone instruction tuning.

Comparison of model performance across benchmarks

Introducing HELMET

To address these shortcomings, the authors introduce HELMET (How to Evaluate Long-context Models Effectively and Thoroughly). HELMET improves evaluation through three key technical shifts:

  1. Application-Centric Categories: Instead of just retrieval, HELMET tests seven categories: Retrieval-Augmented Generation (RAG), Generation with Citations, Passage Re-ranking, Many-shot In-context Learning (ICL), Long-document QA, Summarization, and an improved Synthetic Recall.
  2. Model-Based Evaluation: To solve the "unreliable metrics" problem, the authors use a frontier model (GPT-4o) as a judge to evaluate the fluency and correctness of long-form answers in QA and summarization tasks. This correlates much better with human judgment than traditional n-gram metrics.
  3. Robust Prompting for Base Models: By using 2-shot demonstrations rather than 0-shot instructions, HELMET can reliably evaluate base models that might otherwise fail to follow formatting instructions, providing a clearer picture of a model's raw long-context capabilities.

HELMET curates and adapts several high-quality datasets, ensuring they can all be scaled up to 128K tokens. These include Natural Questions and HotpotQA for RAG, ALCE for citations, MS MARCO for re-ranking, and NarrativeQA for long-document QA.

Key Insights and Results

The authors evaluated 59 different LCLMs, uncovering several critical insights about the current state of long-context AI:

The NIAH Mirage

The paper proves that NIAH scores have a low correlation with downstream task performance. A model can be a "needle-finding" champion but fail miserably at summarizing a legal document or citing its sources.

RAG as a Power Proxy

Interestingly, performance on RAG tasks (finding facts across multiple documents to answer a question) is a strong predictor of performance across other categories. The authors recommend RAG as a "fast" evaluation proxy for rapid model development.

The Complexity Collapse

As tasks move from simple retrieval to complex reasoning (like generating citations), performance drops sharply. Many open-source models "collapse" on citation tasks at 128K tokens, even if they have perfect NIAH scores. While open-source models like Llama-3.1-70B are competitive in retrieval, they lag by 30-40 absolute points on complex tasks like citation and re-ranking at 128K tokens compared to closed-source leaders like GPT-4o and Gemini 1.5 Pro.

Metric Sensitivity

The paper demonstrates that traditional ROUGE scores often hide model failures (like repetition or incoherence) that their new model-based evaluation successfully catches.

ROUGE vs. Model-based evaluation across context lengths

Instruction Following is a Bottleneck

Some models underperformed in specific rankings not because they couldn't "see" the context, but because they struggled to follow strict formatting instructions (e.g., refusing to answer due to copyright or failing to output specific ID tags). Furthermore, simply having a larger parameter count doesn't guarantee better long-context performance; for example, Llama-3.1-8B-Inst actually outperformed the much larger Llama-3.1-70B-Inst on several tasks, likely due to differences in instruction tuning.

Limitations and Future Work

While HELMET represents a significant leap forward, challenges remain:

  • Evaluation Cost: Using a frontier model like GPT-4o as a judge is highly effective but expensive and slow for large-scale testing.
  • Context Length Ceiling: While the benchmark supports 128K, some models now claim 1M+ tokens. Future iterations will need to scale distractors even further to test these extreme limits.
  • Language Scope: The current benchmark is focused on English; expanding to multilingual long-context evaluation is a noted area for future growth.

Summary updated

BibTeX
@inproceedings{yen2025helmet,
  author = {Howard Yen and Tianyu Gao and Minmin Hou and Ke Ding and Daniel Fleischer and Peter Izsak and Moshe Wasserblat and Danqi Chen},
  title = {{HELMET: How to Evaluate Long-context Models Effectively and Thoroughly}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=293V3bJbmE},
}
Figure