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

PEIRCE: Unifying Material and Formal Reasoning via LLM-Driven Neuro-Symbolic Refinement

Xin Quan, Marco Valentino, Danilo S. Carvalho, Dhairya Dalal, André Freitas

Abstract

A persistent challenge in AI is the effective integration of material and formal inference - the former concerning the plausibility and contextual relevance of arguments, while the latter focusing on their logical and structural validity. Large Language Models (LLMs), by virtue of their extensive pre-training on large textual corpora, exhibit strong capabilities in material inference. However, their reasoning often lacks formal rigour and verifiability. At the same time, LLMs' linguistic competence positions them as a promising bridge between natural and formal languages, opening up new opportunities for combining these two modes of reasoning. In this paper, we introduce PEIRCE, a neuro-symbolic framework designed to unify material and formal inference through an iterative conjecture-criticism process. Within this framework, LLMs play the central role of generating candidate solutions in natural and formal languages, which are then evaluated and refined via interaction with external critique models. These critiques include symbolic provers, which assess formal validity, as well as soft evaluators that measure the quality of the generated arguments along linguistic and epistemic dimensions such as plausibility, coherence, and parsimony. While PEIRCE is a general-purpose framework, we demonstrate its capabilities in the domain of natural language explanation generation - a setting that inherently demands both material adequacy and formal correctness.

Introduction

Integrating material and formal inference remains a significant challenge in artificial intelligence. Material inference involves understanding context and plausibility—areas where Large Language Models (LLMs) excel due to their extensive pre-training. Conversely, formal inference requires strict logical validity, typically the domain of symbolic solvers. While LLMs are fluent, they often produce logically inconsistent outputs. Symbolic solvers, while rigorous, lack the "common sense" to process natural language. PEIRCE addresses this by unifying these modes through an iterative conjecture-criticism process, using LLMs as creative engines and symbolic tools as rigorous editors.

Methodology

The PEIRCE framework operates via a modular neuro-symbolic pipeline designed to bridge the gap between intuitive reasoning and formal logic. The core of the system is an iterative loop consisting of three primary stages.

The PEIRCE framework architecture, illustrating the iterative conjecture-criticism loop.
  1. Retrieval-Augmentation: The system queries a specialized Knowledge Base (SSKB) to identify relevant premises supporting a hypothesis.
  2. Material Inference: An LLM generates a natural language explanation and performs autoformalization, translating the explanation into machine-verifiable formats like first-order logic.
  3. Verification & Critique: The output is evaluated by two types of critics:
  4. Hard Critiques: Symbolic provers (e.g., Isabelle, Prolog) verify formal logic.
  5. Soft Critiques: Neural models assess linguistic and epistemic qualities such as parsimony, coherence, and uncertainty.

Feedback from these critics informs the LLM in subsequent iterations, allowing it to refine its reasoning.

Experimental Evaluation

PEIRCE was evaluated across diverse domains requiring complex reasoning:

  • e-SNLI: Natural language inference with human explanations.
  • WorldTree: Science question explanation graphs.
  • NLI4CT: Clinical trial report reasoning.
  • COPA: Testing "Inference to the Best Explanation" (IBE).
  • ProofWiki: Premise selection in mathematics.

Results and Discussion

The iterative refinement process significantly enhances logical rigor. As shown in the experimental results, the number of valid explanations increases substantially across various datasets after feedback-driven iterations.

Performance comparison across e-SNLI, WorldTree, and Clinical datasets.

Key findings include:

  • Logical Rigor: In e-SNLI, verified explanations nearly doubled after iterations with the Isabelle prover.
  • Retrieval Performance: Combining traditional search (BM25) with a "Unification" model improved Mean Average Precision (MAP) for premise selection (e.g., from 22.84 to 38.72 on Science QA).
  • Soft Critique Efficacy: Soft metrics like parsimony and coherence allowed PEIRCE to identify the most plausible explanations with high accuracy, often outperforming standard LLM-as-judge baselines.

Conclusion

PEIRCE demonstrates that LLMs can serve as effective bridges between natural and formal languages. By treating failed proofs as feedback rather than dead ends, the framework mimics human-like refinement of arguments. Future work will explore Supervised Fine-Tuning (SFT) on feedback loops and the use of critique scores as reward signals for Reinforcement Learning from AI Feedback (RLAIF).

Summary updated

BibTeX
@inproceedings{quan2025peirce,
  author = {Xin Quan and Marco Valentino and Danilo S. Carvalho and Dhairya Dalal and André Freitas},
  title = {{PEIRCE: Unifying Material and Formal Reasoning via LLM-Driven Neuro-Symbolic Refinement}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure