SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2412.15118 · ICML · 2025

Reasoning Through Execution: Unifying Process and Outcome Rewards for Code Generation

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

arXiv · PDF · Open in the Atlas

Code that ran

We have not lifted any functions out of this paper's repositories yet, so there is nothing we have run. The repositories linked to it are listed below.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Large Language Models excel at code generation yet struggle with complex programming tasks that demand sophisticated reasoning. To bridge this gap, traditional process supervision relies on learned reward models requiring costly training data and suffering from reward misalignment, while outcome supervision fails for complex tasks needing coordinated intermediate steps. We introduce Outcome Refining Process Supervision, which unifies process and outcome supervision by leveraging executable verification: a treestructured search framework generates strategic alternatives, profiles execution metrics, and scores candidates via self-critique mechanisms that integrate runtime feedback with reasoning. Experiments across 5 models and 3 benchmarks show consistent gains, with 26.9% higher correctness and 42.2% improved code efficiency. The results demonstrate that ORPS enables LLMs to overcome local optima in code generation, suggesting a promising direction for combining verifiable outcomes with structured reasoning to tackle complex challenges. We open-source at: https: //github.com/zhuohaoyu/ORPS

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2412.15118")
get_code_for_paper("2412.15118")
have("2412.15118")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2412.15118.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2412.15118.svg)](https://syntology.ai/paper/2412.15118)

Connect an agent — have() is free.