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

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Yen, Howard, Gao, Tianyu, Hou, Minmin, Ding, Ke, Fleischer, Daniel, Izsak, Peter, Wasserblat, Moshe, Chen, Danqi
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866916644853383168
author Yen, Howard
Gao, Tianyu
Hou, Minmin
Ding, Ke
Fleischer, Daniel
Izsak, Peter
Wasserblat, Moshe
Chen, Danqi
author_facet Yen, Howard
Gao, Tianyu
Hou, Minmin
Ding, Ke
Fleischer, Daniel
Izsak, Peter
Wasserblat, Moshe
Chen, Danqi
contents Many benchmarks exist for evaluating long-context language models (LCLMs), yet developers often rely on synthetic tasks such as needle-in-a-haystack (NIAH) or an arbitrary subset of tasks. However, it remains unclear whether these benchmarks reflect the diverse downstream applications of LCLMs, and such inconsistencies further complicate model comparison. We investigate the underlying reasons behind these practices and find that existing benchmarks often provide noisy signals due to limited coverage of applications, insufficient context lengths, unreliable metrics, and incompatibility with base models. In this work, we introduce HELMET (How to Evaluate Long-context Models Effectively and Thoroughly), a comprehensive benchmark encompassing seven diverse, application-centric categories. We also address several issues in previous benchmarks by adding controllable lengths up to 128K tokens, model-based evaluation for reliable metrics, and few-shot prompting for robustly evaluating base models. Consequently, we demonstrate that HELMET offers more reliable and consistent rankings of frontier LCLMs. Through a comprehensive study of 59 LCLMs, we find that (1) synthetic tasks like NIAH do not reliably predict downstream performance; (2) the diverse categories in HELMET exhibit distinct trends and low correlations with each other; and (3) while most LCLMs achieve perfect NIAH scores, open-source models significantly lag behind closed ones when tasks require full-context reasoning or following complex instructions -- the gap widens as length increases. Finally, we recommend using our RAG tasks for fast model development, as they are easy to run and better predict other downstream performance; ultimately, we advocate for a holistic evaluation across diverse tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2410_02694
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle HELMET: How to Evaluate Long-Context Language Models Effectively and Thoroughly
Yen, Howard
Gao, Tianyu
Hou, Minmin
Ding, Ke
Fleischer, Daniel
Izsak, Peter
Wasserblat, Moshe
Chen, Danqi
Computation and Language
Artificial Intelligence
Many benchmarks exist for evaluating long-context language models (LCLMs), yet developers often rely on synthetic tasks such as needle-in-a-haystack (NIAH) or an arbitrary subset of tasks. However, it remains unclear whether these benchmarks reflect the diverse downstream applications of LCLMs, and such inconsistencies further complicate model comparison. We investigate the underlying reasons behind these practices and find that existing benchmarks often provide noisy signals due to limited coverage of applications, insufficient context lengths, unreliable metrics, and incompatibility with base models. In this work, we introduce HELMET (How to Evaluate Long-context Models Effectively and Thoroughly), a comprehensive benchmark encompassing seven diverse, application-centric categories. We also address several issues in previous benchmarks by adding controllable lengths up to 128K tokens, model-based evaluation for reliable metrics, and few-shot prompting for robustly evaluating base models. Consequently, we demonstrate that HELMET offers more reliable and consistent rankings of frontier LCLMs. Through a comprehensive study of 59 LCLMs, we find that (1) synthetic tasks like NIAH do not reliably predict downstream performance; (2) the diverse categories in HELMET exhibit distinct trends and low correlations with each other; and (3) while most LCLMs achieve perfect NIAH scores, open-source models significantly lag behind closed ones when tasks require full-context reasoning or following complex instructions -- the gap widens as length increases. Finally, we recommend using our RAG tasks for fast model development, as they are easy to run and better predict other downstream performance; ultimately, we advocate for a holistic evaluation across diverse tasks.
title HELMET: How to Evaluate Long-Context Language Models Effectively and Thoroughly
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2410.02694