跳到主要导航 跳到搜索 跳到主要内容

Enhancing Mathematical Reasoning in LLMs by Stepwise Correction

  • Zhenyu Wu
  • , Qingkai Zeng
  • , Zhihan Zhang
  • , Zhaoxuan Tan
  • , Chao Shen
  • , Meng Jiang
  • Xi'an Jiaotong University
  • University of Notre Dame

科研成果: 书/报告/会议事项章节会议稿件同行评审

2 引用 (Scopus)

摘要

Best-of-N decoding methods instruct large language models (LLMs) to generate multiple solutions, score each using a scoring function, and select the highest scored as the final answer to mathematical reasoning problems. However, this repeated independent process often leads to the same mistakes, making the selected solution still incorrect. We propose a novel prompting method named Stepwise Correction (STEPCO) that helps LLMs identify and revise incorrect steps in their generated reasoning paths. It iterates verification and revision phases that employ a process-supervised verifier. The verify-then-revise process not only improves answer correctness but also reduces token consumption with fewer paths needed to generate. With STEPCO, a series of LLMs demonstrate exceptional performance. Notably, using GPT-4o as the backend LLM, STEPCO achieves an average accuracy of 94.1 across eight datasets, significantly outperforming the state-of-the-art Best-of-N method by +2.4, while reducing token consumption by 77.8%. Our implementation is made publicly available at https://wzy6642.github.io/stepco.github.io.

源语言英语
主期刊名Long Papers
编辑Wanxiang Che, Joyce Nabende, Ekaterina Shutova, Mohammad Taher Pilehvar
出版商Association for Computational Linguistics (ACL)
21602-21623
页数22
ISBN(电子版)9798891762510
出版状态已出版 - 2025
活动63rd Annual Meeting of the Association for Computational Linguistics, ACL 2025 - Vienna, 奥地利
期限: 27 7月 20251 8月 2025

出版系列

姓名Proceedings of the Annual Meeting of the Association for Computational Linguistics
1
ISSN(印刷版)0736-587X

会议

会议63rd Annual Meeting of the Association for Computational Linguistics, ACL 2025
国家/地区奥地利
Vienna
时期27/07/251/08/25

学术指纹

探究 'Enhancing Mathematical Reasoning in LLMs by Stepwise Correction' 的科研主题。它们共同构成独一无二的指纹。

引用此