TensorX
返回文献探索

Paper · arXiv 2412.15118

Outcome-Refining Process Supervision for Code Generation

Zhuohao Yu, Weizheng Gu, Yidong Wang, Zhengran Zeng, Jindong Wang, Wei Ye, Shikun Zhang

19 upvotesDecember 19, 2024arXiv 预印本
AI 摘要

Outcome-Refining Process Supervision uses concrete execution signals and tree-structured exploration to enhance algorithmic reasoning in code generation tasks.

outcome refinementprocess supervisionlearned reward modelsconcrete execution signalstree-structured explorationalgorithmic reasoningcode generationcompetitive programming tasksverification

Abstract

Large Language Models have demonstrated remarkable capabilities in code generation, yet they often struggle with complex programming tasks that require deep algorithmic reasoning. While process supervision through learned reward models shows promise in guiding reasoning steps, it requires expensive training data and suffers from unreliable evaluation. We propose Outcome-Refining Process Supervision, a novel paradigm that treats outcome refinement itself as the process to be supervised. Our framework leverages concrete execution signals to ground the supervision of reasoning steps, while using tree-structured exploration to maintain multiple solution trajectories simultaneously. Experiments demonstrate that our approach enables even smaller models to achieve high success accuracy and performance metrics on competitive programming tasks, creates more reliable verification than traditional reward models without requiring training PRMs. Our approach achieves significant improvements across 5 models and 3 datasets: an average of 26.9% increase in correctness and 42.2% in efficiency. The results suggest that providing structured reasoning space with concrete verification signals is crucial for solving complex programming tasks. We open-source all our code and data at: https://github.com/zhuohaoyu/ORPS

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
Outcome-Refining Process Supervision for Code Generation | TensorX