Curing the Transitivity Curse: Shortcut Logical Reasoning via A Priori Knowledge Compilation
Xianjie Mo, Youcheng Pan, Yongshuai Hou, Lei Zhang, Zhiming Li, Yang Xiang
ICLR 2026 submission
Abstract. While large language models (LLMs) have shown remarkable reasoning abilities, they often fail at multi-hop logical reasoning tasks that require chaining inferences, struggling to deduce transitive relations like from . This fundamental limitation, which we term the \textbf{``Transitivity Curse''}, leads to brittle reasoning chains and significant error propagation. Existing reasoning frameworks, often based on Chain-of-Thought, attempt to traverse these long paths sequentially, a process that is both inefficient and prone to failure as complexity increases. To cure this curse, we introduce a novel mechanism designed to be integrated into existing logical reasoners. Our mechanism shifts the paradigm from passively traversing reasoning chains to proactively compiling them through a process we call \textbf{A Priori Knowledge Compilation (APKC)}. This process unfolds in two critical phases. First, it employs a goal-oriented backward analysis to identify a focused, relevant subgraph of the knowledge base. Subsequently, within this constrained boundary, our mechanism performs a systematic forward-chaining process to synthesize new knowledge in the form of both foundational \textbf{derived facts} and powerful \textbf{composite rules}. This compiled knowledge collapses multi-step inferences into fewer, more robust steps.By allowing a host framework to leverage this compiled knowledge, our mechanism enables a more direct form of \textbf{Shortcut Reasoning}, drastically reducing the required depth of runtime inference. Experiments show that when integrated into state-of-the-art reasoning frameworks, our mechanism consistently and significantly boosts their performance on several logical reasoning benchmarks. Our findings demonstrate that APKC, as a plug-in mechanism, is a critical component for making existing LLM-based reasoners more robust, efficient, and trustworthy.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperadd · history
Loading the discussion…