$\infty$Bench: Extending Long Context Evaluation Beyond 100K Tokens
Authors:
- Junhao ChenJCJunhao Chen
Preprint
Abstract
Processing and reasoning over long contexts is crucial for many practical applications of Large Language Models (LLMs), such as document comprehension and agent construction. Despite recent strides in making LLMs process contexts with more than 100K tokens, there is currently a lack of a standardized benchmark to evaluate this long-context capability. Existing public benchmarks typically focus on contexts around 10K tokens, limiting the assessment and comparison of LLMs in processing longer contexts. In this paper, we propose $\infty$Bench, the first LLM benchmark featuring an average data length surpassing 100K tokens. $\infty$Bench comprises synthetic and realistic tasks spanning diverse domains, presented in both English and Chinese. The tasks in $\infty$Bench are designed to require well understanding of long dependencies in contexts, and make simply retrieving a limited number of passages from contexts not sufficient for these tasks. In our experiments, based on $\infty$Bench, we evaluate the state-of-the-art proprietary and open-source LLMs tailored for processing long contexts. The results indicate that existing long context LLMs still require significant advancements to effectively process 100K+ context. We further present three intriguing analyses regarding the behavior of LLMs processing long context.Keywords
All Related Versions
This publication has 12 references indexed in Scilit:
- Lost in the Middle: How Language Models Use Long ContextsTransactions of the Association for Computational Linguistics, 2024
- LongBench: A Bilingual, Multitask Benchmark for Long Context Understanding2024
- L-Eval: Instituting Standardized Evaluation for Long Context Language Models2024
- RoFormer: Enhanced transformer with Rotary Position EmbeddingNeurocomputing, 2023
- GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints2023
- Pre-trained models: Past, present and futureAI Open, 2021
- A Dataset of Information-Seeking Questions and Answers Anchored in Research Papers2021
- Pre-trained models for natural language processing: A surveyScience China Technological Sciences, 2020
- The NarrativeQA Reading Comprehension ChallengeTransactions of the Association for Computational Linguistics, 2018
- Long Short-Term MemoryNeural Computation, 1997