L-Eval: Instituting Standardized Evaluation for Long Context Language Models
Authors:
Preprint
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.Keywords
All Related Versions
This publication has 20 references indexed in Scilit:
- Lost in the Middle: How Language Models Use Long ContextsTransactions of the Association for Computational Linguistics, 2024
- RoFormer: Enhanced transformer with Rotary Position EmbeddingNeurocomputing, 2023
- Can We Automate Scientific Reviewing?Journal of Artificial Intelligence Research, 2022
- Extractive Opinion Summarization in Quantized Transformer SpacesTransactions of the Association for Computational Linguistics, 2021
- MultiDoc2Dial: Modeling Dialogues Grounded in Multiple Documents2021
- Efficient Attentions for Long Document Summarization2021
- QMSum: A New Benchmark for Query-based Multi-domain Meeting Summarization2021
- A Dataset of Information-Seeking Questions and Answers Anchored in Research Papers2021
- Natural Questions: A Benchmark for Question Answering ResearchTransactions of the Association for Computational Linguistics, 2019
- The NarrativeQA Reading Comprehension ChallengeTransactions of the Association for Computational Linguistics, 2018