Logic Haystacks: Probing LLMs Long-Context Logical Reasoning (Without Easily Identifiable Unrelated Padding)
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
Large language models demonstrate promising long context processing capabilities, with recent models touting context windows close to one million tokens. However, the evaluations supporting these claims often involve simple retrieval tasks or synthetic tasks padded with irrelevant text, which the models may easily detect and discard. In this work, we generate lengthy simplified English text with first-order logic representations spanning up to 2048 clauses (around 25k GPT-4 tokens). We formulate an evaluation task with evidence retrieval for contradiction detection. The long, homogeneous text is filled with distractors that are both hard to distinguish from relevant evidences and provably not interfering with them. Our evaluation of evidence retrieval shows that the effective context window is much smaller with realistic distractors, already crumbling at 128 clauses.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 9 of its 31 references that are in the map. First posted on arXiv 24 Feb 2025.
Builds on
9 of 31 references.
Closest ancestors · 6
Same direction, newest first
- 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitasks19 Dec
- 2024NeedleBench: Evaluating LLM Retrieval and Reasoning Across Varying Information Densities16 Jul
- 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystack14 Jun
- 2024Same Task, More Tokens: the Impact of Input Length on the Reasoning Performance of Large Language Models19 Feb
- 2023MuSR: Testing the Limits of Chain-of-thought with Multistep Soft Reasoning24 Oct
- 2022FOLIO: Natural Language Reasoning with First-Order Logic2 Sep
Other references · 3
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.
- 2026LongHarness Bench: Stress-Testing Language Model Harnesses for Long-Context Reasoning29 Sep 2026
- 2026Reasoning Core: A Scalable Procedural Data Generation Suite for Symbolic Pre-training and Post-Training2 Mar 2026
- 2025Reasoning Core: A Scalable RL Environment for LLM Symbolic Reasoning22 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2024ALR2: A Retrieve-then-Reason Framework for Long-context Question Answering
- 2026Understanding Axes of Difficulty For Long Context Tasks Via PredicateLongBench
- 2025LongReason: A Synthetic Long-Context Reasoning Benchmark via Context Expansion
- 2026Probing for Long-Horizon Deductive Reasoning Capabilities in Language Models with Prolog
- 2023Large Language Models are In-Context Semantic Reasoners rather than Symbolic Reasoners
- 2026Benchmarking LLM Competence on Logical Inference over Probability Operators
- 2024LogicBench: Towards Systematic Evaluation of Logical Reasoning Ability of Large Language Models
- 2026QMFOL: Benchmarking Large Language Model Reasoning via Quantifiable Monadic First-Order Logic Test Case Generation