Probing for Long-Horizon Deductive Reasoning Capabilities in Language Models with Prolog

Hadeel Al-Negheimish, Jasna Ilieva, Yoon Kim


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.
Anthology ID:
2026.findings-emnlp.1888
Volume:
Findings of the Association for Computational Linguistics: EMNLP 2026
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Hung-Yi Lee, Sunipa Dev, Jessy Li, Desmond Elliott
Venue:
Findings
SIG:
SIGDAT
Publisher:
Association for Computational Linguistics
Note:
Pages:
40248–40259
Language:
URL:
https://aclanthology.org/2026.findings-emnlp.1888/
DOI:
10.18653/2026.findings-emnlp.1888
Bibkey:
Cite (ACL):
Hadeel Al-Negheimish, Jasna Ilieva, and Yoon Kim. 2026. Probing for Long-Horizon Deductive Reasoning Capabilities in Language Models with Prolog. In Findings of the Association for Computational Linguistics: EMNLP 2026, pages 40248–40259, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
Probing for Long-Horizon Deductive Reasoning Capabilities in Language Models with Prolog (Al-Negheimish et al., Findings 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.findings-emnlp.1888.pdf