potentialpaper

Confidence-Guided Policy Optimization: Thompson Sampling and UCB Trees for Group-Relative Code Refinement

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:29 UTC · 8f9f9f9a9ab3 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "eLCSiyE5xU"
- }
- ],
- "title": "Confidence-Guided Policy Optimization: Thompson Sampling and UCB Trees for Group-Relative Code Refinement",
- "authors": [],
- "abstract": "Group-relative policy optimization methods, such as GRPO, learn from the\nrelative reward of trajectories sampled for the same prompt. When every\ntrajectory in a group receives the same reward, the centered advantages\nvanish and the group contributes no policy-gradient signal, even though the\nenvironment was queried and feedback was obtained. We introduce\nConfidence-Guided Policy Refinement (CGPR), a training-time framework that\nuses this feedback to convert such uninformative groups into informative\nones, rather than discarding them and resampling independently. CGPR builds\na bounded refinement tree over the trajectories of an uninformative group\nand evaluates two budget-allocation strategies for expanding that tree: a\nUCB-style rule (CVPR) and a Thompson-Sampling rule (CGPR-TS) based on a Beta\nposterior over per-node success probability. A candidate replaces a\nnon-anchor trajectory only when it increases the reward dispersion of the\ngroup, and a highest-reward anchor trajectory is never replaced. Refinement\noccurs only during training and adds no inference-time computation. All\nexperiments use the same Qwen3-4B-Instruct backbone. Across\nHumanEval(+), MBPP(+), APPS, Codeforces, and LiveCodeBench, the two CGPR\nvariants improve over vanilla GRPO on the more challenging APPS and\nCodeforces benchmarks, while their effects on HumanEval(+), MBPP(+), and\nLiveCodeBench depend on the metric and allocation strategy. Relative to\nGRPO, the largest pass@1 and pass@10 gains are both $+5.0$ percentage\npoints, achieved by CVPR on Codeforces. CGPR-TS obtains the strongest\nMBPP(+) pass@1/pass@10 and LiveCodeBench pass@1 among the fine-tuned\nmethods, while CVPR obtains the strongest APPS and Codeforces results.\nDAPO obtains the strongest HumanEval(+) pass@1/pass@10 and\nLiveCodeBench pass@10 among the fine-tuned methods.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "fabfb052-cf15-4ae2-94d1-d6e25be830d0"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "Confidence-Guided Policy Optimization: Thompson Sampling and UCB Trees for Group-Relative Code Refinement",
+ "authors": [],
+ "abstract": "Group-relative policy optimization methods, such as GRPO, learn from the\nrelative reward of trajectories sampled for the same prompt. When every\ntrajectory in a group receives the same reward, the centered advantages\nvanish and the group contributes no policy-gradient signal, even though the\nenvironment was queried and feedback was obtained. We introduce\nConfidence-Guided Policy Refinement (CGPR), a training-time framework that\nuses this feedback to convert such uninformative groups into informative\nones, rather than discarding them and resampling independently. CGPR builds\na bounded refinement tree over the trajectories of an uninformative group\nand evaluates two budget-allocation strategies for expanding that tree: a\nUCB-style rule (CVPR) and a Thompson-Sampling rule (CGPR-TS) based on a Beta\nposterior over per-node success probability. A candidate replaces a\nnon-anchor trajectory only when it increases the reward dispersion of the\ngroup, and a highest-reward anchor trajectory is never replaced. Refinement\noccurs only during training and adds no inference-time computation. All\nexperiments use the same Qwen3-4B-Instruct backbone. Across\nHumanEval(+), MBPP(+), APPS, Codeforces, and LiveCodeBench, the two CGPR\nvariants improve over vanilla GRPO on the more challenging APPS and\nCodeforces benchmarks, while their effects on HumanEval(+), MBPP(+), and\nLiveCodeBench depend on the metric and allocation strategy. Relative to\nGRPO, the largest pass@1 and pass@10 gains are both $+5.0$ percentage\npoints, achieved by CVPR on Codeforces. CGPR-TS obtains the strongest\nMBPP(+) pass@1/pass@10 and LiveCodeBench pass@1 among the fine-tuned\nmethods, while CVPR obtains the strongest APPS and Codeforces results.\nDAPO obtains the strongest HumanEval(+) pass@1/pass@10 and\nLiveCodeBench pass@10 among the fine-tuned methods.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}