potentialpaper

Process Coherence Games for Code Alignment: Bootstrapping from Zero

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:45 UTC · 26d8d86beecd ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "BNy5KImib5"
- }
- ],
- "title": "Process Coherence Games for Code Alignment: Bootstrapping from Zero",
- "authors": [],
- "abstract": "Large Language Models (LLMs) excel at code generation and complex multi-step reasoning, yet aligning them toward functional correctness remains a severe challenge. Standard alignment paradigms, such as Supervised Fine-Tuning (SFT) and Direct Preference Optimization (DPO), rely on syntactic matching against canonical reference traces, thereby penalizing valid but syntactically diverse reasoning paths. Conversely, outcome-based Reinforcement Learning (RL) suffers from extreme gradient variance and produces zero gradient signal in complex domains where the probability of an initial correct solution is near zero ($\\text{pass}@k = 0$). In this paper, we overcome these bottlenecks by formulating code generation alignment via *Pairwise Coherence*. We propose C2-GRPO and its probabilistic extension PC-GRPO, which bypass the need for exhaustive ground-truth oracles by optimizing for functional semantic consistency over dynamically generated unit tests. To solve the $\\text{pass}@k = 0$ cold-start problem, we introduce two algorithmic techniques, *Soft Plausibility Weighting* and *Process Coherence*, which dynamically synthesize an implicit Process Reward Model (PRM) entirely through unsupervised group consensus, reducing the group size needed for a consensus signal on long-horizon tasks from exponential to linear under step-wise decomposition (via tree-based simulation or, for code generation, test-decomposed independent rollouts). We prove that standard GRPO's gradient signal vanishes as $\\text{pass}@k \\to 0$ while PC-GRPO maintains $\\Omega(1/K)$ advantage variance whenever the group's functional disagreement is non-degenerate (an explicit count-separation condition), and establish convergence and Rademacher generalization bounds for an idealized form of the coherence objective. Empirically, on Qwen2.5-Coder-7B-Instruct, PC-GRPO is the strongest trainable method across APPS Intro, APPS Interview, and LiveCodeBench release\\_v1. Even at 7B scale, APPS Interview retains a substantial cold-start regime; in these groups, PC-GRPO produces usable gradient variance in 91.0\\% of cases where binary rewards provide none. We further prove fundamental impossibility results for ungrounded consensus (the *Degenerate Consensus* collapse) and its partial converse (*grounded one-step improvement*), and integrate bounded Minimax Polynomial estimators (Mohri et al., 2026b) for finite-sample stability, and structurally bound reward hacking via the consensus formulation.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "85debfe0-7eb6-4ea1-a4f9-0ccbc28aa523"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "Process Coherence Games for Code Alignment: Bootstrapping from Zero",
+ "authors": [],
+ "abstract": "Large Language Models (LLMs) excel at code generation and complex multi-step reasoning, yet aligning them toward functional correctness remains a severe challenge. Standard alignment paradigms, such as Supervised Fine-Tuning (SFT) and Direct Preference Optimization (DPO), rely on syntactic matching against canonical reference traces, thereby penalizing valid but syntactically diverse reasoning paths. Conversely, outcome-based Reinforcement Learning (RL) suffers from extreme gradient variance and produces zero gradient signal in complex domains where the probability of an initial correct solution is near zero ($\\text{pass}@k = 0$). In this paper, we overcome these bottlenecks by formulating code generation alignment via *Pairwise Coherence*. We propose C2-GRPO and its probabilistic extension PC-GRPO, which bypass the need for exhaustive ground-truth oracles by optimizing for functional semantic consistency over dynamically generated unit tests. To solve the $\\text{pass}@k = 0$ cold-start problem, we introduce two algorithmic techniques, *Soft Plausibility Weighting* and *Process Coherence*, which dynamically synthesize an implicit Process Reward Model (PRM) entirely through unsupervised group consensus, reducing the group size needed for a consensus signal on long-horizon tasks from exponential to linear under step-wise decomposition (via tree-based simulation or, for code generation, test-decomposed independent rollouts). We prove that standard GRPO's gradient signal vanishes as $\\text{pass}@k \\to 0$ while PC-GRPO maintains $\\Omega(1/K)$ advantage variance whenever the group's functional disagreement is non-degenerate (an explicit count-separation condition), and establish convergence and Rademacher generalization bounds for an idealized form of the coherence objective. Empirically, on Qwen2.5-Coder-7B-Instruct, PC-GRPO is the strongest trainable method across APPS Intro, APPS Interview, and LiveCodeBench release\\_v1. Even at 7B scale, APPS Interview retains a substantial cold-start regime; in these groups, PC-GRPO produces usable gradient variance in 91.0\\% of cases where binary rewards provide none. We further prove fundamental impossibility results for ungrounded consensus (the *Degenerate Consensus* collapse) and its partial converse (*grounded one-step improvement*), and integrate bounded Minimax Polynomial estimators (Mohri et al., 2026b) for finite-sample stability, and structurally bound reward hacking via the consensus formulation.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}