On Learning Verifiers for Chain-of-Thought Reasoning

Maria Florina Balcan, Avrim Blum, Zhiyuan Li, Dravyansh Sharma

TL;DR

This paper introduces a formal framework for learning "verifiers" that can check the validity of Chain-of-Thought (CoT) reasoning produced by Large Language Models (LLMs). The goal is to build systems that can reliably flag incorrect reasoning steps in LLM-generated solutions to complex problems, ensuring greater trustworthiness in AI-driven problem-solving.

What Problem Does This Paper Address?

Large Language Models (LLMs) have shown impressive capabilities in solving complex mathematical and logical problems by generating step-by-step "Chain-of-Thought" (CoT) reasoning. However, these reasoning chains are prone to errors, where a single incorrect inference can cascade and lead to a completely wrong final answer. While formal verification methods exist for mathematical proofs, applying them to the informal, natural language outputs of LLMs is challenging. This paper addresses the critical need for automated tools that can reliably assess the correctness of LLM-generated CoT reasoning, especially as LLMs are increasingly used for high-stakes problem-solving.

Methods

The authors propose a formal PAC-learning framework to study the problem of learning verifiers for natural language CoT reasoning. Given a problem statement and a natural language solution, the verifier's task is to output "Yes" if all reasoning steps are valid and "No" otherwise. They investigate several "verification goals" with varying levels of stringency. The paper provides theoretical guarantees in the form of sample complexity upper bounds for learning verifiers that meet these goals. Additionally, they present lower bounds and impossibility results for learning certain verification objectives without additional assumptions, highlighting the inherent difficulty of the task.

Datasets

Not discussed in the paper. The framework is presented in a general theoretical setting, and specific datasets for training and evaluation are not detailed in this extended abstract.

Key Insights and Ideas

  • Formalizing Trustworthiness: The core idea is to move beyond simply generating answers to verifying the process by which answers are generated, making LLM reasoning more transparent and trustworthy.
  • The Challenge of Informal Reasoning: Natural language CoT is inherently harder to verify than formal mathematical proofs due to its ambiguity and potential for subtle errors.
  • Trade-offs in Verification Goals: The paper explores different levels of verification strictness, suggesting that stronger guarantees come with higher sample complexity.
  • Resilience to Distribution Shifts: A more robust verification objective is introduced, designed to be less susceptible to errors when the distribution of reasoning traces changes, which is crucial for real-world deployment.

Key Results

The paper presents a theoretical framework for learning CoT verifiers. Key results include:

  • Sample Complexity Bounds: Upper bounds are provided for learning verifiers that satisfy specific, well-defined verification goals.
  • Impossibility Results: Lower bounds and impossibility results are established for learning certain verification objectives without further assumptions, indicating fundamental limitations.
  • Robustness: A more robust verification objective is proposed that is more resilient to distribution shifts compared to simpler approaches.

Limitations and Future Work

The authors acknowledge that LLMs currently struggle with formalizing complex problems and generating consistently accurate reasoning. The proposed framework is theoretical, and practical implementation details for large-scale LLMs are not elaborated upon in this abstract. Future work could involve developing practical algorithms that leverage this theoretical understanding, exploring more sophisticated verification goals, and empirically evaluating the learned verifiers on real-world CoT datasets. The paper also hints at the need for verifiers that can handle adversarial attacks, a direction explored in prior work.

Summary updated

Abstract

Chain-of-Thought reasoning has emerged as a powerful approach for solving complex mathematical and logical problems. However, it can often veer off track through incorrect or unsubstantiated inferences. Formal mathematical reasoning, which can be checked with a formal verifier, is one approach to addressing this issue. However, currently LLMs are simply not good enough to solve complex problems in a formal way, and even just formalizing an informal problem statement can be challenging. Motivated by this fact, in this work we consider the problem of learning reliable verifiers for natural language Chain-of-Thought reasoning. That is, given a problem statement and step-by-step solution in natural language, the aim of the verifier is to output [Yes] if the reasoning steps in the solution are all valid, and [No] otherwise. In this work we give a formal PAC-learning framework for studying this problem. We propose and analyze several natural verification goals, at different levels of strength, in this framework. We provide sample complexity upper-bounds for learning verifiers satisfying these goals, as well as lower-bound and impossibility results for learning other natural verification objectives without additional assumptions.
BibTeX
@inproceedings{balcan2025learning,
  author = {Maria Florina Balcan and Avrim Blum and Zhiyuan Li and Dravyansh Sharma},
  title = {{On Learning Verifiers for Chain-of-Thought Reasoning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=5ODlY0KYCx},
}
Figure