Elamur Research⌕
☰
home / papers / 2025 / Enhancing Mathematical Reasoning in LLMs by Stepwise Correction

Enhancing Mathematical Reasoning in LLMs by Stepwise Correction

Paper · 2025 · Zhenyu Wu, Qingkai Zeng, Zhihan Zhang et al.

Summary

Best-of-N decoding samples several independent solutions to a math problem and keeps the highest-scoring one. Because the samples get no feedback, the model often makes the same mistake in all of them, and an early error tends to carry through every later step. The authors propose Stepwise Correction (STEPCO), a prompting framework that repairs one reasoning path instead of sampling many.

The LLM first writes a tagged, step-by-step solution. A process-supervised verifier (PSV), fine-tuned from Llama-3-8B, then estimates for each step the chance that it leads to the correct answer. The first step below a threshold is reported back to the LLM with its score. The LLM keeps the earlier steps and rewrites that step and the ones after it. This cycle repeats for a bounded number of rounds.

The PSV's training data is labelled automatically. Each step's score is the share of continuations through that step that reach the gold answer.

With GPT-4o, STEPCO beats Best-of-N on eight math benchmarks while using far fewer tokens. Targeted, verifier-guided revision is therefore both more accurate and cheaper than repeated sampling.

Key points

  • With GPT-4o, STEPCO averages 94.1 accuracy over eight math datasets. That is +2.4 over Best-of-10, with 77.8% fewer tokens (about 612 vs. 2,760 tokens per question).
  • A single verify-then-revise round already reaches 92.3, which is +0.6 over Best-of-10. Most questions are fixed after one revision.
  • The PSV training data is built with two demonstrations at each step. D⁺ steers the model toward correct steps, and D⁻ toward wrong or alternative ones, so the dataset stays balanced.
  • The method was tested with GPT-3.5-Turbo, GPT-4o and Llama-3-8B. It was also extended to open-domain QA and commonsense reasoning, where it again beat the baselines.
  • The code is public at wzy6642.github.io/stepco.github.io.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

 Institutions

 Fields, topics and concepts

Cite

Cite as Zhenyu Wu, Qingkai Zeng, Zhihan Zhang, Zhaoxuan Tan, Chao Shen and Meng Jiang. 2025. Enhancing Mathematical Reasoning in LLMs by Stepwise Correction. Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2025.acl-long.1048

@inproceedings{wu2025enhancing,
  title = {{Enhancing Mathematical Reasoning in LLMs by Stepwise Correction}},
  author = {Zhenyu Wu, Qingkai Zeng, Zhihan Zhang, Zhaoxuan Tan, Chao Shen and Meng Jiang},
  booktitle = {Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)},
  year = {2025},
  doi = {10.18653/v1/2025.acl-long.1048},
  url = {https://doi.org/10.18653/v1/2025.acl-long.1048}
}

References

2 references, 0 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

  1. While our work provides a novel framework for progressively identifying and correcting incorrect steps in LLM-generated reasoning paths, leading to consistent improvements in mathematical reasoning tasks, certain limitations remain. find
  2. Ting-Rui Chiang and Yun-Nung Chen. 2019. Semantically-aligned equation generation for solving and reasoning math word problems. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short… find

Updated

This page in Markdown → https://md.research.elamur.ai/free/en/papers/wu-2025-enhancing-mathematical-reasoning-llms-stepwise/