Skip to main content
QUICK REVIEW

[Paper Review] L-Eval: Instituting Standardized Evaluation for Long Context Language Models

Chenxin An, Shansan Gong|arXiv (Cornell University)|Jul 20, 2023
Natural Language Processing TechniquesComputer Science5 citations
TL;DR

L-Eval introduces a standardized benchmark for evaluating long context language models (LCLMs), featuring 20 diverse sub-tasks, 508 long documents, and over 2,000 human-annotated query-response pairs spanning 3k–200k tokens. It demonstrates that traditional n-gram metrics poorly correlate with human judgment, advocating instead for length-instruction-enhanced (LIE) evaluation and LLM judges, which significantly improve correlation with human evaluation (e.g., Kendall-Tau τ increases by up to 0.35).

ABSTRACT

Recently, there has been growing interest in extending the context length of large language models (LLMs), aiming to effectively process long inputs of one turn or conversations with more extensive histories. While proprietary models such as GPT-4 and Claude can largely preserve the reasoning ability in an extended context, open-source models are still progressing through the early stages of development. To bridge this gap, we propose L-Eval to institute a more standardized evaluation for long context language models (LCLMs) addressing two key aspects: dataset construction and evaluation metrics. On the one hand, we build a new evaluation suite containing 20 sub-tasks, 508 long documents, and over 2,000 human-labeled query-response pairs encompassing diverse question styles, domains, and input length (3k$\sim$200k tokens). On the other hand, we investigate the effectiveness in evalution metrics for LCLMs. Results show that popular n-gram matching metrics generally can not correlate well with human judgment, and thus we strongly advocate for length-instruction-enhanced (LIE) evaluation and employing LLM judges. We conducted a comprehensive study of 4 popular commercial LLMs and 12 open-source counterparts using the L-Eval benchmark. Our empirical findings offer useful insights into the study of LCLMs and lay the groundwork for the development of more principled evaluation of these models.

Motivation & Objective

  • Address the lack of standardized evaluation for long context language models (LCLMs), especially in open-source settings.
  • Develop a high-quality, diverse benchmark with long-context inputs (3k–200k tokens) and human-annotated queries and responses.
  • Investigate the limitations of traditional n-gram metrics (e.g., ROUGE) in evaluating LCLMs under zero-shot settings.
  • Propose and validate Length-Instruction-Enhanced (LIE) evaluation and LLM judges as superior alternatives to lexical matching metrics.
  • Conduct a comprehensive comparison of 16 LLMs (4 commercial, 12 open-source) to reveal performance gaps and model behaviors under long context.

Proposed method

  • Construct a new evaluation suite with 20 sub-tasks: 4 newly annotated, 4 re-annotated from public datasets, and 12 manually cleaned from prior long-sequence datasets.
  • Categorize tasks into closed-ended (reasoning/understanding) and open-ended (summarization) to cover diverse evaluation needs.
  • Ensure data quality through manual validation of all samples post-collection, emphasizing diversity in question style, domain, and input length.
  • Evaluate automatic metrics using human judgments as the gold standard, focusing on Kendall-Tau (τ) correlation.
  • Introduce Length-Instruction-Enhanced (LIE) evaluation to correct for generation length bias in reference-based metrics.
  • Employ a short-context LLM judge in a long-context evaluation setup to assess open-ended outputs, improving alignment with human evaluation.

Experimental results

Research questions

  • RQ1To what extent do traditional n-gram metrics (e.g., ROUGE) correlate with human judgment in zero-shot evaluation of LCLMs?
  • RQ2How effective is LIE evaluation in improving metric correlation with human judgments across varying input lengths?
  • RQ3How do open-source LCLMs compare to commercial models (e.g., GPT-4, Claude) in reasoning and summarization tasks under long context?
  • RQ4To what extent do instruction-following failures emerge as context length increases in LCLMs?
  • RQ5How does end-to-end full-context modeling compare to retrieval-augmented systems in long-context settings?

Key findings

  • Traditional n-gram metrics (e.g., ROUGE) show weak correlation with human judgments in long-context settings, with Kendall-Tau τ values below 0.3 in most cases.
  • LIE evaluation significantly improves metric correlation with human judgment, increasing τ by up to 0.35 across all automatic metrics.
  • LLM judges achieve higher accuracy than n-gram metrics in evaluating open-ended outputs, with stronger alignment to human evaluation.
  • A significant performance gap exists between open-source LCLMs and commercial models, especially on open-ended summarization tasks, which is not captured by n-gram metrics.
  • Open-source models show improved performance on closed-ended tasks but fail to generalize on open-ended tasks due to instruction misinterpretation at scale.
  • End-to-end full-context models outperform retrieval-augmented systems in long-context settings, even when using sparse retrieval.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.