Manuscript Offprint

arXiv:2608.26836

SymbolLKG: Towards Verifiable Logical Reasoning via Logical Knowledge Graph and Symbolic Solvers

Haizhao Fan, Yuchi Xiong, Jize Wang, Xinping Guan, Xinyi Le

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Large Language Models (LLMs) have demonstrated remarkable proficiency in natural language understanding, yet they struggle with strict multi-step reasoning, frequently suffering from hallucinations and inconsistency. Existing solutions like Chain-of-Thought (CoT) lack rigorous verification mechanisms, while standard Retrieval-Augmented Generation (RAG) often misses the complex, structural dependencies inherent in logical tasks. To bridge this gap, we propose a Neuro-Symbolic architecture that integrates a Logical Knowledge Graph (LKG) with dynamic solver routing. Specifically, we introduce an ontology-based LKG that treats logical rules and constraints as first-class topological nodes, enabling explicit modeling of dependencies extracted from text. We further design a Logic Router to dynamically dispatch tasks to the optimal symbolic engine, which is supported by a topology-aware hybrid retrieval mechanism. Experimental results on logical reasoning benchmarks demonstrate that our framework significantly outperforms state-of-the-art prompting and RAG baselines, delivering higher accuracy and verifiable reasoning paths.

1 Introduction

Logical reasoning is the cornerstone of reliable artificial intelligence, particularly in high-stakes domains where precision is mandatory—healthcare [1], law [2], finance [3], and scientific discovery [4]. Driven by their natural language understanding capabilities, Large Language Models (LLMs) are increasingly deployed for complex tasks in these fields. However, the probabilistic nature of their “next-token prediction” architecture fundamentally limits the rigorous, multi-step logic required for strict reasoning scenarios.

Reasoning encompasses deductive, inductive, and abductive forms [5]; yet achieving trustworthy logical reasoning, characterized by reliability, interpretability, and adherence to formal rules, remains a fundamental challenge [5]. LLMs tend to generate plausible but incorrect steps and fail to maintain consistency across long contexts [6].

To address these issues, prompting methods such as Chain-of-Thought (CoT) [7] and Tree-of-Thoughts (ToT) [8] decompose complex problems, and Retrieval-Augmented Generation (RAG) [9] grounds responses in external data. However, these methods lack rigorous verification: CoT can propagate errors without symbolic grounding [10], and standard RAG misses the directional dependencies inherent in logical rules.

In contrast, Knowledge Graphs (KGs) provide structured models of entities and relationships [11,12][11, 12], supporting rigorous formal reasoning and interpretability [5][5]; but symbolic systems traditionally struggle with scalability on open-ended unstructured data. Integrating KGs with LLMs has thus emerged as a promising direction [13][13]: Think-on-Graph [14][14] and RoG [15][15] guide LLMs along graph paths; GraphRAG [16] structures retrieval from local contexts to global summarization; LightRAG [17] introduces a dual-level retrieval mechanism capturing both specific entities and conceptual themes; and KAG [18] pushes neuro-symbolic alignment in professional domains by coupling LLMs with a logical-form-guided engine. However, these approaches typically treat logical rules as unstructured text or implicit edge attributes rather than explicit, computable topological nodes. This representational gap limits the deterministic mapping required for rigorous symbolic verification, often forcing reliance on probabilistic text-to-code generation. Without distinct constraint nodes, analyzing the logical topology to dynamically route problems to the appropriate solver (e.g., Z3 vs. Prover9) also becomes significantly more challenging, restricting adaptability across diverse reasoning tasks.

Driven by these insights, we propose a neuro-symbolic framework that integrates Logical Knowledge Graphs (LKG) with external symbolic solvers, treating logical rules and constraints as first-class nodes. This combines the natural language understanding of LLMs for parsing problems into a structured graph with the deterministic power of external solvers for the actual reasoning.

Our main contributions are summarized as follows:

• SymbolLKG Framework: We propose SymbolLKG, a novel neuro-symbolic framework that grounds LLM reasoning via Logical Knowledge Graphs (LKG) and router-guided solvers. The pipeline parses natural language into an LKG, retrieves a topologically connected subgraph, and dynamically routes the problem to the optimal symbolic solver, bridging neural semantic flexibility and symbolic deterministic precision.

• Topology-Aware Logical Knowledge Graph: We introduce a dynamic LKG architecture that treats Rules and Constraints as independent nodes, using a “Schema-on-Read” strategy to build Concept-Entity hierarchies from context. This topology enables hybrid retrieval combining vector search with graph traversal, refined via LLM pruning into a Logical Hull—a complete yet minimal subgraph of essential premises.

• Adaptive Logic Routing and Self-Refining Translation: We implement a Logic Router that analyzes problem structure to select the optimal symbolic tool (e.g., Z3 for math, Prover9 for logic), with a feedback loop where the LLM uses solver error traces to refine its complex logical tasks.

Figure

Figure 1: Comparison of reasoning paradigms. The input highlights constraints in green, noise in grey, and premises in orange. The Direct LLM Pipeline (left) ignores this structure. It makes a “Closed World Assumption” (CWA) error and incorrectly guesses Jamie won. The SymbolLKG Pipeline (right) converts text into a Logical Knowledge Graph. It uses symbolic verification to strictly check the premises. The system correctly concludes the answer is “Unknown”.

We evaluate our framework on standard logical reasoning and multi-hop QA datasets. Experimental results demonstrate that our approach significantly outperforms standard LLM prompting and baseline RAG methods, validating the efficacy of combining structured knowledge graphs with deterministic solvers for trustworthy reasoning.

References (56)