mlsanityData to 14 Oct 2026

Logic Haystacks: Probing LLMs Long-Context Logical Reasoning (Without Easily Identifiable Unrelated Padding)

arXiv 2502.17169 ↗First posted 24 Feb 2025cs.CLcited by 3

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

  1. 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitasks19 Dec
  2. 2024NeedleBench: Evaluating LLM Retrieval and Reasoning Across Varying Information Densities16 Jul
  3. 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystack14 Jun
  4. 2024Same Task, More Tokens: the Impact of Input Length on the Reasoning Performance of Large Language Models19 Feb
  5. 2023MuSR: Testing the Limits of Chain-of-thought with Multistep Soft Reasoning24 Oct
  6. 2022FOLIO: Natural Language Reasoning with First-Order Logic2 Sep

Other references · 3

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2015Towards AI-Complete Question Answering: A Set of Prerequisite Toy Taskscited by 314
  3. 2024NovelQA: Benchmarking Question Answering on Documents Exceeding 200K Tokenscited by 32

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 2.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024ALR2: A Retrieve-then-Reason Framework for Long-context Question Answering
  2. 2026Understanding Axes of Difficulty For Long Context Tasks Via PredicateLongBench
  3. 2025LongReason: A Synthetic Long-Context Reasoning Benchmark via Context Expansion
  4. 2026Probing for Long-Horizon Deductive Reasoning Capabilities in Language Models with Prolog
  5. 2023Large Language Models are In-Context Semantic Reasoners rather than Symbolic Reasoners
  6. 2026Benchmarking LLM Competence on Logical Inference over Probability Operators
  7. 2024LogicBench: Towards Systematic Evaluation of Logical Reasoning Ability of Large Language Models
  8. 2026QMFOL: Benchmarking Large Language Model Reasoning via Quantifiable Monadic First-Order Logic Test Case Generation