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

Haizhao Fan, Yuchi Xiong, Jize Wang, Xinping Guan, Xinyi LearXiv 2026

TL;DR

SymbolLKG is a novel neuro-symbolic framework that pairs the natural language understanding of LLMs with the deterministic precision of symbolic solvers. By representing logical rules as first-class nodes in a Logical Knowledge Graph (LKG) and dynamically routing tasks to specialized solvers (like Z3 or Prover9), it achieves state-of-the-art reasoning accuracy while providing fully verifiable, hallucination-free proof paths.

What Problem Does This Paper Address?

Large Language Models (LLMs) are incredibly proficient at understanding text, but they notoriously stumble when forced to perform strict, multi-step logical reasoning. Because LLMs operate on probabilistic next-token prediction, they frequently suffer from hallucinations and struggle to maintain logical consistency across long contexts.

Popular prompting techniques like Chain-of-Thought (CoT) break down complex problems but lack rigorous verification mechanisms, allowing errors to propagate. Meanwhile, standard Retrieval-Augmented Generation (RAG) methods focus on semantic similarity, completely missing the directional and structural dependencies inherent in logical rules.

Existing neuro-symbolic approaches attempt to bridge this gap by translating text into code for external solvers. However, they typically treat logical rules as flat text or implicit edge attributes rather than explicit, computable graph nodes. This makes it incredibly difficult to analyze the logical topology of a problem and dynamically route it to the right symbolic engine.

Methods

SymbolLKG introduces a two-phase neuro-symbolic pipeline designed to turn unstructured text into verifiable code:

Figure 2: The architecture of the SymbolLKG framework. The pipeline consists of two phases: Phase 1 (LKG Construction) transforms text into an LKG, establishing a dynamic Concept-Entity hierarchy alongside reified Rule and Constraint nodes. Phase 2 (Inference) employs a hybrid retrieval strategy (combining vector search with graph traversal) to extract a context-aware subgraph. Then a topology-aware router dispatch it to the optimal symbolic solver for verifiable execution.
  1. Logical Knowledge Graph (LKG) Construction: Using an Open Information Extraction (OpenIE) paradigm and a "Schema-on-Read" strategy, the framework extracts entities and concepts from the text. Crucially, it treats logical rules and constraints as independent, first-class topological nodes. This separates the logical rules (T-Box) from the factual assertions (A-Box), making the logic semantically addressable via vector embeddings.
  2. Hybrid Retrieval and Pruning: To answer a query, the system identifies "Anchor Nodes" using a mix of dense vector search and exact string matching. It then traverses the graph to pull in $k$-hop neighbors, creating a "Logical Hull" that guarantees all implicit axioms and rules are captured. An LLM-based pruning module then trims away irrelevant "distractor" constraints to fit the solver's context window.
  3. Adaptive Logic Router: Real-world logic problems vary; some require math, while others require pure deduction. SymbolLKG analyzes the topology of the pruned subgraph to dynamically dispatch the task to the optimal symbolic engine:
  4. SMT Solver (Z3): Chosen when the graph contains heavy arithmetic or combinatorial constraints.
  5. Automated Theorem Prover (Prover9): Selected for strict First-Order Logic (FOL) tasks and proof generation.
  6. Pyke: A lightweight engine utilized for direct relational queries (e.g., family trees).
  7. Code Generation & Self-Refining Loop: The LLM acts as a compiler, translating the structured subgraph into solver-specific syntax. If the symbolic solver encounters a syntax or runtime error, the error trace is fed back to the LLM in a self-refining loop to correct the code.

Datasets

The authors evaluated SymbolLKG across eight diverse benchmarks, split into two distinct categories:

  • Logical Reasoning Benchmarks: FOLIO (first-order logic structures), AR-LSAT (analytical reasoning questions from law school admission tests), ProofWriter (rule-based multi-hop deduction), LogicalDeduction (discrete constraint satisfaction), and ProntoQA (synthetic transitive chains).
  • Multi-hop Retrieval & QA Benchmarks: 2WikiMultiHopQA, HotpotQA, and Musique. These datasets test the framework's ability to filter out noise and find disjointed pieces of evidence across multiple paragraphs.

Key Insights and Ideas

  • Logic as First-Class Citizens: By giving rules and constraints their own nodes and vector embeddings, the system can search for abstract logical concepts (like "seating restrictions") directly via semantic search, even if they share no keywords with the target entities.
  • Dynamic Tooling Prevents "Token Math": Instead of forcing a single solver to handle everything, the Adaptive Logic Router recognizes what a problem needs based on graph topology. This effectively stops the LLM from attempting unreliable arithmetic through token prediction and delegates it to a mathematically exact engine.
  • Graph Canonicalization Heals Semantic Fragmentation: In multi-hop QA, different paragraphs often use paraphrased mentions of the same entity (e.g., "The Beatles" vs. "the band Beatles"). SymbolLKG's hash-based entity canonicalization merges these into a single node, preventing the reasoning chain from breaking silently.

Key Results

Logical Reasoning Performance

SymbolLKG achieved an average accuracy of 78.73% across the five logical benchmarks, outperforming both standard CoT prompting (69.56%) and the neuro-symbolic baseline Logic-LM (74.49%). Notably, it achieved a perfect 100% accuracy on ProntoQA and a massive jump to 57.85% on the notoriously difficult AR-LSAT dataset.

Logical Reasoning Accuracy across five benchmarks.

Question Answering & Retrieval

On multi-hop QA datasets, SymbolLKG consistently led every prior baseline. It achieved an Exact Match (EM) score of 70.2 on 2Wiki, 73.8 on HotpotQA, and 48.6 on Musique, comfortably beating standard RAG, GraphRAG, and HippoRAG.

The Adaptive Logic Router itself demonstrated an overall classification accuracy of 86.0%, achieving a flawless 100% accuracy when identifying tasks suited for the Z3 solver.

Limitations and Future Work

Despite its strong performance, the authors note a few key limitations:

  • The Translation Bottleneck: The framework's soundness is entirely dependent on the LLM's ability to accurately formalize natural language into the graph. If the initial extraction phase misinterprets a premise, the symbolic solver will generate a valid but fundamentally incorrect proof.
  • Natural Language Ambiguity: Formal logic demands absolute precision. When faced with vague quantifiers, sarcasm, or metaphorical expressions, SymbolLKG's rigid schema can struggle or oversimplify the context.
  • Computational Overhead: Building a knowledge graph, routing queries, and executing external solvers is computationally heavy. The full pipeline averages 122.2 seconds per logical reasoning problem, making real-time deployment a challenge. Future work will focus on optimizing extraction latency and exploring end-to-end differentiable neuro-symbolic alignment.

Summary updated

BibTeX
@misc{fan2026symbollkg,
  author = {Haizhao Fan and Yuchi Xiong and Jize Wang and Xinping Guan and Xinyi Le},
  title = {{SymbolLKG: Towards Verifiable Logical Reasoning via Logical Knowledge Graph and Symbolic Solvers}},
  year = {2026},
  eprint = {2608.26836},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.26836},
}
Figure