NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Faithful Logical Reasoning via Symbolic Chain-of-Thought

Jundong Xu, Hao Fei, Liangming Pan, Qian Liu, Mong-Li Lee, Wynne Hsu · DOI

Abstract

While Large Language Models (LLMs) demonstrate remarkable semantic understanding, they frequently struggle with formal logical reasoning, often producing "hallucinated" logical steps that appear plausible but are invalid. This paper introduces Symbolic Chain-of-Thought (SymbCoT), a novel framework that enhances the logical rigor of LLMs by integrating symbolic expressions directly into the reasoning process. Unlike previous neuro-symbolic methods that rely on brittle external solvers, SymbCoT remains fully LLM-based, utilizing a four-stage pipeline—Translator, Planner, Solver, and Verifier—to ensure both robustness and faithfulness. Experimental results show that SymbCoT significantly outperforms standard Chain-of-Thought (CoT) and existing logic-based prompting methods across multiple benchmarks.

Introduction

Standard Chain-of-Thought (CoT) prompting has become the baseline for complex reasoning in LLMs. However, in the domain of formal logic, CoT is prone to overgeneralization. A model may correctly identify the premises of a problem but fail to apply valid logical rules, such as Modus Ponens, instead "jumping" to a conclusion based on linguistic patterns rather than structural validity.

Previous attempts to address this—often categorized as neuro-symbolic approaches—typically use the LLM as a translator to convert natural language into code for external symbolic solvers (e.g., Prover9). While theoretically sound, these systems are practically brittle: a single syntax error in the generated code renders the external solver useless. Furthermore, these solvers often strip away the nuanced contextual information present in the original text. SymbCoT addresses these issues by keeping the symbolic reasoning entirely within the LLM's generative process.

The SymbCoT Framework

SymbCoT operates through a structured four-stage pipeline designed to mirror the rigor of formal logic while retaining the flexibility of natural language processing:

  1. Translator: The LLM converts the natural language context and premises into formal symbolic formats, such as First-Order Logic (FOL) for deductive reasoning or Constraint Satisfaction Problem (CSP) expressions for analytical puzzles.
  2. Planner: To avoid the pitfalls of "greedy" generation, the model derives a "plan-then-solve" architecture. It breaks the complex logic puzzle into a sequence of smaller, manageable sub-problems or intermediate goals.
  3. Solver: The LLM executes the plan step-by-step. Crucially, it employs a hybrid representation, maintaining both the natural language and the symbolic expressions side-by-side. It explicitly applies symbolic rules (e.g., Modus Tollens) to derive new facts from the translated premises.
  4. Verifier: A retrospective module checks the semantic equivalence between the symbolic translation and the original text. It also audits each reasoning step for logical validity. If the verifier detects an inconsistency, the model is prompted to refine its logic and correct the chain.

Experimental Evaluation

The researchers evaluated SymbCoT using GPT-4 across five diverse logical reasoning benchmarks:

  • FOL-based Benchmarks: PrOntoQA, ProofWriter, and FOLIO, which focus on deductive reasoning and quantifiers.
  • CSP-based Benchmarks: LogicalDeduction and AR-LSAT, which involve complex spatial, temporal, or categorical constraints.

Key Results

  • State-of-the-Art Performance: SymbCoT achieved an average accuracy of 88.47% across FOL datasets, a significant improvement over vanilla CoT (79.16%) and the previous state-of-the-art, Logic-LM (80.59%).
  • Superior Robustness: On the AR-LSAT dataset—notorious for its complexity—SymbCoT maintained a 100% execution rate. In contrast, Logic-LM, which relies on external solvers, failed to execute nearly 68% of the time due to minor translation or syntax errors that the external solver could not parse.
  • Complexity Scaling: The performance gap between SymbCoT and standard CoT widened as the reasoning depth (the number of steps required to reach a conclusion) increased, suggesting that symbolic structure is essential for maintaining coherence in long-form reasoning.

Discussion and Insights

The Hybrid Advantage

A core finding of this research is that relying exclusively on symbolic logic can be counterproductive. Pure symbols often fail to capture "implicit intentions" or context-specific nuances. By mixing natural language with symbols, SymbCoT leverages the LLM’s semantic strengths to fill in contextual gaps while enforcing logical rigor through the symbolic framework.

LLMs as Robust Solvers

One of the most significant contributions of this work is the demonstration that LLMs can be more effective than traditional symbolic solvers when integrated into a structured pipeline. Because the LLM understands the "spirit" of the logic, it is far more resilient to minor syntax errors that would cause a traditional solver to crash. This makes SymbCoT a more practical solution for real-world applications where natural language input can be messy.

Faithfulness vs. Serendipity

Standard CoT often arrives at the correct answer through "serendipity"—getting the right answer for the wrong reasons. SymbCoT’s verifier and explicit symbolic steps significantly reduce this unfaithful reasoning, ensuring that the final answer is a direct consequence of a valid logical chain.

Limitations and Future Work

Despite its success, SymbCoT faces challenges regarding token cost and latency, as the multi-stage process generates significantly more text than standard prompting. Additionally, the system remains dependent on the LLM's initial planning ability; if the model fails to identify the correct reasoning path at the outset, the symbolic rules cannot always recover the correct answer. Future work will explore expanding the framework to a wider variety of symbolic languages and optimizing the pipeline for efficiency.

Conclusion

SymbCoT represents a significant step forward in making LLM reasoning more faithful and robust. By internalizing symbolic logic rather than outsourcing it, the framework provides a human-readable and verifiable path to logical conclusions, bridging the gap between neural intuition and symbolic precision.

Summary updated

BibTeX
@inproceedings{xu2024faithful,
  author = {Jundong Xu and Hao Fei and Liangming Pan and Qian Liu and Mong-Li Lee and Wynne Hsu},
  title = {{Faithful Logical Reasoning via Symbolic Chain-of-Thought}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.acl-long.720},
}
Figure