Probing for Long-Horizon Deductive Reasoning Capabilities in Language Models with Prolog
Hadeel Al-Negheimish, Jasna Ilieva, Yoon Kim
Key points
From the paper's conclusion- We empirically investigate long-horizon reasoning capabilities of LLMs, focusing on deductive logic expressed in Prolog.
Abstract
Current frontier LLMs can theoretically process long contexts with 1M tokens or more. But to what extent can they go beyond simple retrieval and perform deeper reasoning over such long contexts? We empirically investigate long-horizon reasoning capabilities of LLMs, focusing on deductive logic expressed in Prolog. We construct ProloNg, a synthetic testbed to probe Prolog Long Reasoning, which systematically varies the complexity (reasoning depth) of problems, where the hardest case has a reasoning depth of 22 and 62k context length. We study 8 reasoning models across 5 families of frontier LLMs, and find that performance degrades substantially as reasoning depth grows, with the majority of models approaching chance beyond depth 10.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Towards reasoning era: a survey of long chain-of-thought for reasoning large language modelsScience China Information Sciences · 2026
- Not All Thinking is Created Equal: Latent Reasoning Discovers a Recurrent Search Algorithm for Depth GeneralizationarXiv · 2026
- DatalogBench: Evaluating Large Language Models on Text-to-Datalog SynthesisarXiv · 2026
- Toward large reasoning models: A survey of reinforced reasoning with large language modelsPatterns · 2025
- Beyond Context Length: Characterising the Difficulty of Long-Context ReasoningarXiv · 2026
- LongZero: Enhancing Long-Context Reasoning in LLMs from Zero DataarXiv · 2026