English

Learning to Generate Formally Verifiable Step-by-Step Logic Reasoning via Structured Formal Intermediaries

Artificial Intelligence 2026-04-01 v1 Machine Learning

Abstract

Large language models (LLMs) have recently demonstrated impressive performance on complex, multi-step reasoning tasks, especially when post-trained with outcome-rewarded reinforcement learning Guo et al. 2025. However, it has been observed that outcome rewards often overlook flawed intermediate steps, leading to unreliable reasoning steps even when final answers are correct. To address this unreliable reasoning, we propose PRoSFI (Process Reward over Structured Formal Intermediates), a novel reward method that enhances reasoning reliability without compromising accuracy. Instead of generating formal proofs directly, which is rarely accomplishable for a modest-sized (7B) model, the model outputs structured intermediate steps aligned with its natural language reasoning. Each step is then verified by a formal prover. Only fully validated reasoning chains receive high rewards. The integration of formal verification guides the model towards generating step-by-step machine-checkable proofs, thereby yielding more credible final answers. PRoSFI offers a simple and effective approach to training trustworthy reasoning models.

Keywords

Cite

@article{arxiv.2603.29500,
  title  = {Learning to Generate Formally Verifiable Step-by-Step Logic Reasoning via Structured Formal Intermediaries},
  author = {Luoxin Chen and Yichi Zhou and Huishuai Zhang},
  journal= {arXiv preprint arXiv:2603.29500},
  year   = {2026}
}

Comments

19 pages

R2 v1 2026-07-01T11:45:51.861Z