HELMET: How to Evaluate Long-Context Language Models Effectively and Thoroughly

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

HELMET: How to Evaluate Long-Context Language Models Effectively and Thoroughly

Abstract As the context windows of Large Language Models (LLMs) expand to 128k tokens and beyond, evaluating their ability to process and reason over long sequences has become critical. However, existing benchmarks often rely on synthetic tasks like "Needle-in-a-Haystack" (NIAH) or unreliable metrics like ROUGE, which fail to capture performance on complex downstream applications. We introduce HELMET (How to Evaluate Long-context Models Effectively and Thoroughly), a comprehensive benchmark covering seven diverse application categories. By utilizing model-based evaluation and few-shot prompting, HELMET provides a more reliable and consistent ranking of frontier models. Our study of 51 models reveals that synthetic success does not guarantee downstream performance, and the performance gap between open-source and proprietary models widens significantly as context length increases.

Introduction: The Limitations of Current Benchmarks The rapid expansion of context windows in models like GPT-4o, Gemini 1.5, and Llama 3.1 has outpaced our evaluation frameworks. Currently, the industry standard for "long-context" capability is the Needle-in-a-Haystack (NIAH) test. While useful for verifying basic retrieval, NIAH is a "noisy signal" because it is too simple; most modern models achieve near-perfect scores, masking their inability to perform more complex tasks like summarization or multi-document reasoning. Furthermore, traditional metrics like ROUGE, which measure word overlap, often fail to reward semantic accuracy or penalize hallucinations in long-form generation.

The HELMET Framework HELMET addresses these shortcomings through three primary innovations:

  1. Diverse, Application-Centric Tasks: HELMET evaluates models across seven categories: Retrieval-Augmented Generation (RAG), Generation with Citations, Passage Re-ranking, Many-shot In-Context Learning (ICL), Long-document QA, Summarization, and Synthetic Recall.
  2. Model-Based Evaluation: To overcome the limitations of exact-match or overlap metrics, HELMET employs GPT-4o as a judge for open-ended tasks. This approach better captures the quality of summaries and the accuracy of long-form answers.
  3. Robust Few-Shot Prompting: Many "base" models struggle with zero-shot instructions. HELMET uses two-shot prompting to stabilize performance, allowing for a fairer comparison between pre-trained base models and instruction-tuned variants.
Comparison between traditional ROUGE metrics and HELMET's model-based evaluation ('Ours') across varying context lengths. Model-based evaluation provides a more discriminative signal.

As shown in the comparison of summarization metrics above, traditional ROUGE scores often remain flat or provide inconsistent signals as context length increases. In contrast, HELMET’s model-based evaluation ("Ours") reveals clear performance trends and better distinguishes between high-performing frontier models and smaller open-source models.

Key Findings and Model Performance Our evaluation of 51 Long-Context Language Models (LCLMs) yielded several critical insights into the current state of the field.

Synthetic Success vs. Real-World Utility The most striking finding is the lack of correlation between synthetic benchmarks and downstream performance. While nearly all evaluated models achieved perfect scores on NIAH, their performance on HELMET's more demanding tasks varied wildly.

Comparison of model rankings across different benchmarks. While NIAH is saturated, HELMET reveals significant performance differences.

The figure above illustrates this discrepancy: rankings on NIAH are almost uniform, whereas HELMET (and to some extent ∞Bench and RULER) reveals a clear hierarchy. GPT-4o and Gemini 1.5 Pro consistently lead, while open-source models like Llama-3.1-8B show a significant performance drop-off when tasks require more than simple retrieval.

The Open-Closed Gap While open-source models are competitive at shorter context lengths (e.g., 8k tokens), they struggle to maintain performance as the context grows to 128k. This "collapse" is particularly evident in tasks requiring complex instruction following, such as "Generation with Citations." Proprietary models like GPT-4o demonstrate much higher stability across the entire 128k window.

RAG as a Development Proxy For developers seeking a faster way to iterate, we found that RAG tasks are highly predictive of overall downstream performance. Unlike full summarization, which is computationally expensive to evaluate, RAG tasks are easier to run and correlate more strongly with a model's general long-context utility than synthetic tests do.

Conclusion HELMET provides a necessary shift from "can the model find a needle?" to "can the model use the haystack?" By prioritizing diverse, application-centric tasks and reliable model-based metrics, HELMET offers a realistic view of long-context capabilities. Our results underscore the need for continued innovation in open-source models to bridge the gap with proprietary leaders, especially in complex reasoning and instruction following at scale.

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 Language Models Effectively and Thoroughly}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=293V3bJbmE},
}
Figure