ProgCo: Program Helps Self-Correction of Large Language Models
Self-Correction aims to enable large language models (LLMs) to self-verify and self-refine their initial responses without external feedback.However, LLMs often fail to effectively self-verify and generate correct feedback, further misleading refinement and leading to the failure of self-correction, especially in complex reasoning tasks.In this paper, we propose Program-driven Self-Correction (ProgCo).First, program-driven verification (ProgVe) achieves complex verification logic and extensive validation through self-generated, self-executing verification pseudo-programs.Then, program-driven refinement (ProgRe) receives feedback from ProgVe, conducts dual reflection and refinement on both responses and verification programs to mitigate misleading of incorrect feedback in complex reasoning tasks.Experiments on three instructionfollowing and mathematical benchmarks indicate that ProgCo achieves effective selfcorrection, and can be further enhance performance when combined with real program tools.
Authors
- Jiaheng Liu (ORCID: https://orcid.org/0000-0002-5183-8538)
- Weixun Wang (ORCID: https://orcid.org/0000-0002-2727-8948)
- Yanan Wu (ORCID: https://orcid.org/0009-0006-9080-6041)
- Bo Zheng (ORCID: https://orcid.org/0000-0001-6630-7396)
- Xiaoshuai Song
- Wenbo Su (ORCID: https://orcid.org/0009-0009-3800-7543)
Institutions
- Alibaba Group (United States) (US)
Publication Details
- Published
- 2025-01-01
- DOI
- https://doi.org/10.18653/v1/2025.acl-short.73
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 0.00