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

VeriCoT: Neuro-symbolic Chain-of-Thought Validation via Logical Consistency Checks

Yu Feng, Nathaniel Weir, Kaj Bostrom, Sam Bayless, Darion Cassel, Sapana Chaudhary, Benjamin Kiesl-Reiter, Huzefa Rangwala

Introduction

Large Language Models (LLMs) have become remarkably adept at solving complex problems using Chain-of-Thought (CoT) reasoning. However, they are notoriously "unfaithful" to their own logic. A model might arrive at the correct final answer through a series of fallacious, ungrounded, or contradictory intermediate steps. In high-stakes domains like law or medicine, this lack of transparency is a dealbreaker; users must trust the process of reasoning, not just the result.

Previous attempts to fix this—such as using a second LLM as a "critic"—often suffer from the same hallucinations they are meant to detect. To address this fundamental gap, researchers introduce VeriCoT, a neuro-symbolic framework that validates the logical consistency of LLM reasoning by translating CoT steps into formal logic.

The VeriCoT Pipeline

VeriCoT bridges the gap between flexible natural language and rigid formal logic through a multi-stage neuro-symbolic pipeline. The LLM handles the "messy" translation of human language to logic, while a symbolic solver handles the strict mathematical verification.

The VeriCoT neuro-symbolic pipeline translating natural language CoT into verified logical formulas.
  1. Autoformalization: The system uses an LLM to translate each natural language CoT step into First-Order Logic (FOL) formulas using the SMT-LIB language.
  2. Symbolic Verification: It employs the Z3 SMT solver to check if a reasoning step is logically entailed by previous steps or known facts.
  3. Premise Generation & Grounding: If a step isn't immediately entailed, VeriCoT asks the LLM to identify supporting premises from the source text or commonsense knowledge.
  4. LLM-as-Judge (LLMaJ): To prevent the model from inventing convenient but false premises (e.g., "the sky is purple"), a secondary LLM judge verifies that these new premises are actually grounded in the provided context or represent valid commonsense.
  5. Feedback Loops: The system categorizes failures as Ungrounded, Contradiction, or Untranslatable. These signals are then used for inference-time self-reflection or fine-tuning (SFT & DPO).

Key Insights and Results

The authors evaluated VeriCoT across three diverse reasoning benchmarks: ProofWriter (synthetic logical deduction), LegalBench-SARA (statutory reasoning in US tax law), and BioASQ (biomedical question-answering).

The "Ungrounded" Epidemic and Self-Correction

The most common reasoning failure isn't a direct logical contradiction, but rather "ungroundedness"—making leaps of faith or assuming facts not present in the source text.

Proportional distribution of outcome scenarios before and after self-reflection, highlighting the reduction in ungrounded errors.

Using VeriCoT for inference-time self-reflection allows the model to recognize and fix these logical leaps. This feedback loop led to a 46% relative improvement in the CoT verification pass rate and a 41% relative gain in producing accurate, verifiable outcomes.

Verification as a Quality Filter

A CoT that passes VeriCoT's checks is a much stronger predictor of final answer correctness than the raw model output. On the ProofWriter dataset, VeriCoT achieved a verification precision of 94.1%, proving it can reliably distinguish between sound and flawed reasoning. It consistently outperformed other formalization baselines because it explicitly searches for and validates the premises required to bridge logical gaps.

Furthermore, by using the solver to generate "chosen" (verified) and "rejected" (unverified) pairs, the authors performed Direct Preference Optimization (DPO) to bake logical rigor directly into the model's weights. Models fine-tuned on VeriCoT-distilled data improved their logical consistency by 18% while maintaining or exceeding the task accuracy of much larger teacher models.

Limitations and Future Work

While highly effective, VeriCoT has limitations. The pipeline requires multiple LLM calls per reasoning step (for formalization, premise generation, and judging), which increases inference latency and cost. Additionally, the system is highly sensitive to translation accuracy; if the LLM misinterprets natural language nuances when converting to FOL, the solver will yield flawed results. Finally, the current implementation is limited to a subset of FOL. Extending this framework to support more complex structures, such as temporal or procedural reasoning, remains a key direction for future work.

Summary updated

BibTeX
@inproceedings{feng2026vericot,
  author = {Yu Feng and Nathaniel Weir and Kaj Bostrom and Sam Bayless and Darion Cassel and Sapana Chaudhary and Benjamin Kiesl-Reiter and Huzefa Rangwala},
  title = {{VeriCoT: Neuro-symbolic Chain-of-Thought Validation via Logical Consistency Checks}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=zHuV3Vatov},
}
Figure