arXiv:2610.25441cs.AIOct 2026

Manuscript Offprint

arXiv:2610.25441

Stepwise Reasoning Verification: Don't Generate, Classify!

Yifei Shi, Michalis Korakakis, Rami Aly, Eric Chamoun, Lukasz Szpruch, Andreas Vlachos

Abstract

Verifying the reasoning of large language models is increasingly important as they are applied to complex mathematical and scientific problems. Existing work focuses on large decoder models and reports mixed results for generative and discriminative verifiers, leaving unclear which paradigm is more effective and whether large models are necessary. In this work, we cast stepwise verification as a natural language inference task: the problem and partial solution prefix form the premise, while the next reasoning step serves as the hypothesis to be classified as entailed or non-entailed. This formulation enables error localisation at individual reasoning steps and direct comparison of encoder classification, decoder classification, and decoder verdict generation across model scales and annotation budgets. Across five reasoning datasets, a 0.15B encoder classifier outperforms most generative verifiers with up to 4B parameters. On identical decoder backbones, classification outperforms generation from 0.5B to 4B parameters and matches it on the strongest 7B backbone—reaching comparable performance with roughly one tenth as many annotated problems. Our findings establish classification as a parameter- and data-efficient approach to stepwise verification and show that strong verification does not require large generative decoders.

1 Introduction

LLMs are increasingly used for complex mathematical and scientific problem solving, making reliable verification of their reasoning essential: seemingly coherent solutions can contain invalid intermediate steps, and a correct final answer does not guarantee sound reasoning (Daheim et al., 2024; Zheng et al., 2025a; Li et al., 2024). This need also extends to core educational applications of LLMs, such as tutoring and automated feedback, where corrective guidance requires locating errors in a student's reasoning rather than simply judging the

Figure

Figure 1: Classifiers lie on the performance-parameter Pareto frontier. Average AUC over five reasoning datasets versus parameter count for encoder classifiers, decoder classifiers, and generative verifiers. The black line marks the empirical Pareto frontier. On identical decoder backbones, classification achieves higher average AUC than verdict generation up to 4B parameters.

solution incorrect (Srivatsa et al., 2025; Daheim et al., 2024). Stepwise verification addresses these challenges by assessing individual reasoning steps in context to detect and localise errors (Zheng et al., 2025a).

Existing stepwise verifiers rely on large decoder models: discriminative approaches assign step-level scores or labels (Lightman et al., 2024; Wang et al., 2024b), while generative approaches produce verdicts (Zhang et al., 2025a; Khalifa et al., 2026; Zhao et al., 2026). However, recent work finds no consistent performance advantage for either paradigm (Lee et al., 2026), leaving open which approach is preferable and whether large decoder models are necessary for strong verification. Resolving these questions is especially important for real-world deployment, where running a large verifier at every reasoning step can impose substantial latency and computational costs.

To address these questions, we formulate stepwise verification as natural language inference (NLI) (Dagan et al., 2006; Bowman et al., 2015). We treat the problem statement and solution prefix as the premise and the next reasoning step as the hypothesis, classified as entailed or non-entailed. This formulation extends encoder-based NLI classification, where encoders remain competitive with far larger LLMs on discriminative tasks (Elshabrawy et al., 2025), to stepwise verification and provides a common task definition for comparing encoder classifiers, decoder classifiers, and generative verifiers.

We evaluate our NLI formulation on five datasets covering mathematical, formal, and multi-domain reasoning. To the best of our knowledge, we are the first to demonstrate that encoder classifiers with only hundreds of millions of parameters can outperform generative verifiers with several billion parameters at detecting invalid reasoning steps (Figure 1). On identical decoder backbones, classification outperforms generative verification from 0.5B to 4B and matches it on the strongest 7B backbone. In data-scaling experiments, classification often achieves comparable performance with roughly one tenth as many annotated problems as generative verification. Collectively, our findings suggest that how a model is trained to verify stepwise reasoning matters more than its size, supporting the use of small classifiers in applications where repeated step-level verification must fit within limited time and compute budgets.

References (33)