ImageNet classification with deep convolutional neural networks
Alex Krizhevsky, Ilya Sutskever et al.
18
Citations
1
Influential Citations
—
Venue
2024
Year
The capability of large language models to handle long-context information is crucial across various real-world applications. Existing evaluation methods often rely either on real-world long texts, making it difficult to exclude the influence of models'inherent knowledge, or introduce irrelevant filler content to artificially achieve target lengths, reducing assessment effectiveness. To address these limitations, we introduce NeedleBench, a synthetic framework for assessing retrieval and reasoning performance in bilingual long-context tasks with adaptive context lengths. NeedleBench systematically embeds key data points at varying depths to rigorously test model capabilities. Tasks are categorized into two scenarios: information-sparse, featuring minimal relevant details within extensive irrelevant text to simulate simple retrieval tasks; and information-dense (the Ancestral Trace Challenge), where relevant information is continuously distributed throughout the context to simulate complex reasoning tasks. Our experiments reveal that although recent reasoning models like Deepseek-R1 and OpenAI's o3 excel in mathematical reasoning, they struggle with continuous retrieval and reasoning in information-dense scenarios, even at shorter context lengths. We also characterize a phenomenon termed'under-thinking', where models prematurely conclude reasoning despite available information. NeedleBench thus provides critical insights and targeted tools essential for evaluating and improving LLMs'long-context capabilities. All resources are available at OpenCompass: https://github.com/open-compass/opencompass.
Long-context processing is a frontier challenge for large language models, with applications ranging from document analysis to code understanding. Existing benchmarks often conflate retrieval with reasoning or suffer from knowledge contamination by using real-world texts. NeedleBench addresses this gap by offering a fully synthetic, controllable evaluation framework that isolates retrieval and reasoning demands. This is particularly timely as models like GPT-4 and Claude now support million-token contexts, yet systematic stress tests remain scarce.
The paper's identification of 'under-thinking' in advanced reasoning models is a striking finding. It suggests that even state-of-the-art models may not fully utilize available context, instead defaulting to shallow reasoning patterns. This has direct implications for deploying LLMs in high-stakes domains where thorough evidence integration is critical.
NeedleBench exposes a critical blind spot in current LLMs: the inability to perform sustained reasoning across dense, long contexts. This challenges the assumption that scaling context length alone suffices for complex tasks. The framework provides a rigorous tool for future model development, encouraging architectures that better integrate retrieval and reasoning. For practitioners, it underscores the need to validate models on realistic long-context scenarios beyond standard benchmarks.
Alex Krizhevsky, Ilya Sutskever et al.
Ashish Vaswani, Noam Shazeer et al.
Douglas M. Bates, Martin Mächler et al.
Diederik P. Kingma, Jimmy Ba