LongReason: A Synthetic Long-Context Reasoning Benchmark via Context Expansion
Zhan Ling, Kang Liu, Kai Yan, Yifan Yang, Weijian Lin, Ting-Han Fan, Lingfeng Shen, Zhengyin Du, Jiecao Chen
TL;DR
LongReason addresses a gap in evaluating long-context reasoning by introducing a synthetic, controllable benchmark that expands short-context questions into long-context variants. The authors present a context-expansion pipeline powered by LLMs and self-verification to generate 794 MCQs across reading comprehension, logical inference, and mathematical word problems, with context lengths adjustable up to 128K tokens. Evaluating 21 LLMs shows significant performance drops as context length increases, with closed-source models like Gemini-1.5 Pro handling long contexts better than many open-source counterparts, yet still leaving ample room for improvement. The dataset is open-sourced to support rigorous benchmarking and future research in robust long-context reasoning.
Abstract
Large language models (LLMs) have demonstrated remarkable progress in understanding long-context inputs. However, benchmarks for evaluating the long-context reasoning abilities of LLMs fall behind the pace. Existing benchmarks often focus on a narrow range of tasks or those that do not demand complex reasoning. To address this gap and enable a more comprehensive evaluation of the long-context reasoning capabilities of current LLMs, we propose a new synthetic benchmark, LongReason, which is constructed by synthesizing long-context reasoning questions from a varied set of short-context reasoning questions through context expansion. LongReason consists of 794 multiple-choice reasoning questions with diverse reasoning patterns across three task categories: reading comprehension, logical inference, and mathematical word problems. We evaluate 21 LLMs on LongReason, revealing that most models experience significant performance drops as context length increases. Our further analysis shows that even state-of-the-art LLMs still have significant room for improvement in providing robust reasoning across different tasks. We have open-sourced LongReason under https://huggingface.co/datasets/lz1bytedance/LongReason to support the comprehensive evaluation of LLMs' long-context reasoning capabilities.
