NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

CodeContests · Code Generation

33 papers · 82 extracted observations · code

Code Generation — Pass@1 ↑13 papers
0%12%24%35%47%202420252026Code Llama (7B), fine-tuned on MC code: 3.88 (2024)Code Llama (7B), fine-tuned on SC code: 4.42 (2024)DeepSeekCoder (6.7B), fine-tuned on MC code: 6.06 (2024)DeepSeekCoder (6.7B), fine-tuned on SC code: 8.73 (2024)MPSC-Weighted Cardinality: 11.26 (2024)MapCoder: 28.5 (2024)Top Pass (ChatGPT generator): 7.3 (2024)Top Pass (DeepSeek-Coder generator): 9.7 (2024)CTRL (RL-trained critic): 11.76 (2025)CTRL (RL-trained critic), Critique×3: 15.15 (2025)CodeSim: 29.1 (2025)CodeTree with Critic Agent (GPT-4o): 43.0 (2025)Qwen-Coder-7B with S*: 10.9 (2025)online SPO: 6.0 (2025)SPO half-online: 6.3 (2025)MapCoder (Qwen7B): 6.06 (2025)FixAudit (Qwen2.5-Coder-7B-Instruct): 19.8 (2026)CAPS — Qwen3-4B-Instruct: 14.5 (2026)Solvita (ours), GPT-5.4: 82.42 (2026)

Showing 76 of 76 matching observations. (3 non-standard slices moved to bottom.)

YearMethodMetricScoreProtocol / FacetsPaper & EvidenceReading list
2026MetaBench-Harness, evaluated model Claude-Sonnet-5 proposedmodel validation score0.839Code Generation · split: val · round=10 · evaluation=in-loop proxy-model validation · evaluated-model=Claude-Sonnet-5MetaBench-Harness: Unlocking End-to-End Optimization of Benchmark Harnesses
Source quote
L650: Although Rounds 5--7 experience a temporary stall, the system learns from ineffective mutations (e.g., asking a model to certify logic it has already mastered, which inadvertently simplifies the task) and retires scenarios that fail to increase difficulty after two consecutive attempts. Leveraging these insights, Rounds 8--9 intensify the remaining tasks. Ultimately, by Round 10, the performance gap between the two models widens significantly to 0.546 (0.839 vs. 0.293), compared to a mere 0.042 margin in Round 1, achieving the dual objective of escalating difficulty while preserving discriminability.
2026MetaBench-Harness, evaluated model GPT-5.4 proposedmodel validation score0.293Code Generation · split: val · round=10 · evaluation=in-loop proxy-model validation · evaluated-model=GPT-5.4MetaBench-Harness: Unlocking End-to-End Optimization of Benchmark Harnesses
Source quote
L650: Although Rounds 5--7 experience a temporary stall, the system learns from ineffective mutations (e.g., asking a model to certify logic it has already mastered, which inadvertently simplifies the task) and retires scenarios that fail to increase difficulty after two consecutive attempts. Leveraging these insights, Rounds 8--9 intensify the remaining tasks. Ultimately, by Round 10, the performance gap between the two models widens significantly to 0.546 (0.839 vs. 0.293), compared to a mere 0.042 margin in Round 1, achieving the dual objective of escalating difficulty while preserving discriminability.
2026CAPS — Qwen3-4B-Instruct proposedPass@114.5%Code Generation · params=4B · backbone=Qwen3-4B-Instruct · candidates=16CAPS: Cascaded Adaptive Pairwise Selection for Efficient Parallel Reasoning
Source quote
L184: CodeContests │ \phantom{0}1.3 │ \phantom{0}4.5 │ \phantom{0}7.9 │ 14.5
2026FixAudit (Qwen2.5-Coder-7B-Instruct) proposedPass@119.80%Code Generation · params=7B · backbone=Qwen2.5-Coder-7B-Instruct · iteration-alignment=one FixAudit iteration per two baseline iterationsAn Iterative Test-and-Repair Framework for Competitive Code Generation
Source quote
L490: On CodeContests, FixAudit reaches 19.80%, nearly doubling Specine (10.30%) and CURE (11.94%).
2026Similarity-based RAG (six-LLM average) proposedPass@120.37%Code Generation · split: test · similarity-based-ragAssessing the Impact of Retrieval-Augmented Generation on Algorithmic Problem-Solving
Source quote
L563: On average, our RAG approach achieved a 20.37% success rate, out-
2026DeepSeek-R1 + similarity-based RAG proposedPass@164.2%Code Generation · split: test · similarity-based-ragAssessing the Impact of Retrieval-Augmented Generation on Algorithmic Problem-Solving
Source quote
L619: Using our proposed framework, its pass rate improved from 61.7% to 64.2%
2026HACKTRACE-combined proposedAUC0.997Code Generation · split: test · completed-act-labelshacktrace: behavior-supervised detection of reward hacking during code generation
Source quote
L24: problem AUC of 0.997 with 8 ms of monitoring overhead, improving both accuracy
2026HACKTRACE MultiMax penalty proposedcheating share among visible passes1.5%Code Generation · split: held-out-problems · grpo-trained-policy-10hacktrace: behavior-supervised detection of reward hacking during code generation
Source quote
L754: 27–32%. Completed-label MultiMax at λ=10 gives the lowest cheating share, 1.5% with 30.8%
2026Solvita (ours), GPT-5.4 proposedPass@182.42%Code Generation · split: test · backbone=GPT-5.4Solvita: Enhancing Large Language Models for Competitive Programming via Agentic Evolution
Source quote
L171: 82.42 │ 67.70 │ 49.25
2026V1-Infer (pairwise self-verification) proposedPass@166.06%Code Generation · test-time-scaling · params=20B · model=GPT-OSS-20B · candidates=16 · verification=pairwiseV1: Unifying Generation and Self-Verification for Parallel Reasoners
Source quote
L178: On CodeContests, GPT-OSS-20B improves from 66.06% to 73.33% (+7.3%), while Qwen3-4B-Instruct improves from 39.4% to 46.1% (+6.7%). On LiveCodeBench-v5, GPT-OSS-20B gains +8.6% and Qwen3-4B-Instruct gains +4.3%. On HMMT, GPT-OSS-20B gains +10.0% and Qwen3-4B-Instruct gains +6.7%. See Figure~\ref{fig:inference-results} for more results and Appendix Figure~\ref{fig:appendix-all-verif-bars} for results on Qwen-4b-Thinking-2507 and GPT-OSS-120B. These results demonstrate that pairwise comparisons provide more informative signals than independent pointwise scores. We further observe that as verification budget increases, pairwise verification performance improves or stays consistent across most models and benchmarks (see Appendix Figure~\ref{fig:appendix-all-verif-bars}). While the results above are for the same number of base solution generations (N=16), we find similar trends while comparing methods in a compute-matched setting as well, Figure~\ref{fig:budget-accuracy}, e.g., with a compute budget of 64 model calls, with Qwen3-4B-Instruct-2507, pointwise verification performs approx. 33% while pairwise verification reaches 45% accuracy on average on code gen. benchmarks.
2026LEAFE (\algo) proposedPass@12847.88Code Generation · fine-tuned · params=72B · backbone=Qwen2.5-72BInternalizing Agency from Reflective Experience
Source quote
L255: \algo │ 17.12 │ 47.88 │ 14.09 │ 33.94
2026LEAFE (\algo) proposedPass@12833.94Code Generation · fine-tuned · params=70B · backbone=Llama3-70BInternalizing Agency from Reflective Experience
Source quote
L255: \algo │ 17.12 │ 47.88 │ 14.09 │ 33.94
2026Single-pass, GPT-5.4 ablationPass@140.00%Code Generation · split: test · variant=single-pass · backbone=GPT-5.4Solvita: Enhancing Large Language Models for Competitive Programming via Agentic Evolution
Source quote
L165: Single-pass │ 40.00 │ 37.90 │ 18.00 │ 44.85 │ 40.10 │ 22.75 │ 33.94 │ 30.80 │ 9.50 │ 47.27 │ 42.50 │ 24.00 │ 38.18 │ 34.60 │ 15.50
2026V1-Infer — Qwen3-4B-Instruct baselinePass@17.9%Code Generation · params=4B · backbone=Qwen3-4B-Instruct · candidates=16CAPS: Cascaded Adaptive Pairwise Selection for Efficient Parallel Reasoning
Source quote
L184: CodeContests │ \phantom{0}1.3 │ \phantom{0}4.5 │ \phantom{0}7.9 │ 14.5
2026Specine (Qwen2.5-Coder-7B-Instruct) baselinePass@110.30%Code Generation · params=7B · backbone=Qwen2.5-Coder-7B-Instruct · iteration-alignment=one FixAudit iteration per two baseline iterationsAn Iterative Test-and-Repair Framework for Competitive Code Generation
Source quote
L490: On CodeContests, FixAudit reaches 19.80%, nearly doubling Specine (10.30%) and CURE (11.94%).
2026CURE (Qwen2.5-Coder-7B-Instruct) baselinePass@111.94%Code Generation · params=7B · backbone=Qwen2.5-Coder-7B-Instruct · iteration-alignment=one FixAudit iteration per two baseline iterationsAn Iterative Test-and-Repair Framework for Competitive Code Generation
Source quote
L490: On CodeContests, FixAudit reaches 19.80%, nearly doubling Specine (10.30%) and CURE (11.94%).
2026Zero-shot baseline (six-LLM average) baselinePass@117.9%Code Generation · split: test · 0-shotAssessing the Impact of Retrieval-Augmented Generation on Algorithmic Problem-Solving
Source quote
L564: performing both the zero-shot (17.9%) and random-retrieval (17.28%) ap-
2026Random-retrieval baseline (six-LLM average) baselinePass@117.28%Code Generation · split: test · random-retrievalAssessing the Impact of Retrieval-Augmented Generation on Algorithmic Problem-Solving
Source quote
L564: performing both the zero-shot (17.9%) and random-retrieval (17.28%) ap-
2026DeepSeek-R1 zero-shot baseline baselinePass@161.7%Code Generation · split: test · 0-shotAssessing the Impact of Retrieval-Augmented Generation on Algorithmic Problem-Solving
Source quote
L619: Using our proposed framework, its pass rate improved from 61.7% to 64.2%
2026DeepSeek-R1 random-retrieval baseline baselinePass@159.3%Code Generation · split: test · random-retrievalAssessing the Impact of Retrieval-Augmented Generation on Algorithmic Problem-Solving
Source quote
L621: had the worst performance, with only 59.3% correctness. Opposed to that,
2026self-report probe, artifact-only baselineAUC0.993Code Generation · split: test · completed-act-labelshacktrace: behavior-supervised detection of reward hacking during code generation
Source quote
L577: within-problem AUC 0.997, above the artifact-only (0.993; +0.004 [+0.001, +0.008], paired) and
2026Pointwise self-verification baselinePass@166.06%Code Generation · test-time-scaling · params=20B · model=GPT-OSS-20B · candidates=16 · verification=pointwiseV1: Unifying Generation and Self-Verification for Parallel Reasoners
Source quote
L178: On CodeContests, GPT-OSS-20B improves from 66.06% to 73.33% (+7.3%), while Qwen3-4B-Instruct improves from 39.4% to 46.1% (+6.7%). On LiveCodeBench-v5, GPT-OSS-20B gains +8.6% and Qwen3-4B-Instruct gains +4.3%. On HMMT, GPT-OSS-20B gains +10.0% and Qwen3-4B-Instruct gains +6.7%. See Figure~\ref{fig:inference-results} for more results and Appendix Figure~\ref{fig:appendix-all-verif-bars} for results on Qwen-4b-Thinking-2507 and GPT-OSS-120B. These results demonstrate that pairwise comparisons provide more informative signals than independent pointwise scores. We further observe that as verification budget increases, pairwise verification performance improves or stays consistent across most models and benchmarks (see Appendix Figure~\ref{fig:appendix-all-verif-bars}). While the results above are for the same number of base solution generations (N=16), we find similar trends while comparing methods in a compute-matched setting as well, Figure~\ref{fig:budget-accuracy}, e.g., with a compute budget of 64 model calls, with Qwen3-4B-Instruct-2507, pointwise verification performs approx. 33% while pairwise verification reaches 45% accuracy on average on code gen. benchmarks.
2026Base (No FT) baselinePass@12833.94Code Generation · params=72B · backbone=Qwen2.5-72BInternalizing Agency from Reflective Experience
Source quote
L253: Base (No FT) │ 10.00 │ 33.94 │ 7.35 │ 24.85
2026Base (No FT) baselinePass@12824.85Code Generation · params=70B · backbone=Llama3-70BInternalizing Agency from Reflective Experience
Source quote
L253: Base (No FT) │ 10.00 │ 33.94 │ 7.35 │ 24.85
2026Tuple Planner SFT baselinePass@40.279Code Generation · params=9B · backbone=Qwen3.5-9B · attempt-budget=K=4Cast a Wider Net: Coordinated Pass@K Policy Optimization for Code Reasoning
Source quote
L117: Tuple Planner SFT │ Qwen3.5-9B │ 0.733\std{0.016} │ 0.279\std{0.026} │ 0.514\std{0.015}
2025Generate-prune-then-rank (10-test filter + 1.5B ORM) proposedBof64 (best-of-64)5.86Code Generation · params=1.5B · filter=first 10 tests · ranker=1.5B ORM · generator=Qwen 2.5 Coder 1.5B Instruct · selection=best-of-64 · candidate-count=128Pareto Optimal Code Generation
Source quote
L659: 1.5B │ 5.86 │ 73.24 │ --- │ --- │ 87.45 │ 90.02 │ 82.49 │ 140.50
2025Full test suite (verifier all) proposedBof64 (best-of-64)7.83Code Generation · split: test · params=1.5B · generator=Qwen 2.5 Coder 1.5B Instruct · selection=best-of-64 · verification=full test suite · candidate-count=128Pareto Optimal Code Generation
Source quote
L660: \multicolumn{2}{c|}{\verifier{\text{all}}{}} │ 7.83 │ 2.23 │ 92.72 │ 173.71 │ 94.06 │ 20.09 │ 85.64 │ 20.97
2025online SPO proposedPass@16.0Code GenerationSoft Policy Optimization: Online Off-Policy RL for Sequence Models
Source quote
L442: On pass@1, PPO performs better, yielding 8.4 vs 6.3 for SPO half-online and 6.0 for online SPO.
2025EG-CFG (Ours), DeepSeek-V3-0324 proposedAccuracy58.18%Code Generation · backbone=DeepSeek-V3-0324Execution Guided Line-by-Line Code Generation
Source quote
L277: DeepSeek-Seek-V3-0324 │ EG-CFG (Ours) │ 58.18 │ 28.13
2025CTM-32B-RL proposedpass rate28.5Code Generation · split: test · params=32BComputational Thinking Reasoning in Large Language Models
Source quote
L306: CTM-32B-RL │ 66.5 │ 28.5
2025CTRL (RL-trained critic), Critique×3 proposedPass@115.15%Code GenerationTeaching Language Models to Critique via Reinforcement Learning
Source quote
L273: As shown in Table~\ref{tab:cc_res}, our approach enables test-time scaling through iterative critique-revisions. Notably, despite training exclusively on single-turn critiquing tasks, {\ours} generalizes to multi-turn settings. By increasing the number of iterations from one to three (Critique×3 w/ {\ours}), we further improve the Pass@1 rate from 11.76% to 15.15% while maintaining a low regression rate \Delta_\downarrow of 0.85%. This demonstrates that our critic provides consistently reliable feedback across multiple revision iterations, unlike baseline approaches that accumulate errors, as discussed below.
2025CodeSim proposedPass@129.1%Code Generation · d=5 · p=3 · backbone=GPT-4CodeSim: Multi-Agent Code Generation and Problem Solving through Simulation-Driven Planning and Debugging
Source quote
L116: In Table \ref{tab:cc-dataset-results}, we evaluate performance on complex, contest-level code generation tasks. CodeSim~ delivers significant improvements over other baselines in solving complex contest-level code generation tasks. With GPT-4, CodeSim~ reaches a strong {\bf 29.1%} on CodeContests and {22.0%} on APPS, marking a consistent edge over MapCoder’s 25.3% average.
2025O-PTP student (TinyLlama-1.1B-Chat-v1.0 teacher) proposedAccepted tokens per speculative decoding step7.0 tokens per speculative decoding stepCode Generation · params=1.1B · teacher=TinyLlama-1.1B-Chat-v1.0Parallel Token Prediction for Language Models
Source quote
L23: \item Experimentally, we train real-world coding and natural language PTP models, achieving 7.0~respectively 4.18~accepted tokens per speculative decoding step~(\cref{sec:experiments}).
2025Base language models (Qwen2.5, Llama 3, Llama 2, and Pythia)Error Rate-0.33Code Generation · model-type=base models · model-families=Qwen2.5, Llama 3, Llama 2, PythiaOn the Entropy Calibration of Language Models
Source quote
L78: \caption{Log calibration error versus log model size for four model families and three datasets. We find that the scaling laws fit relatively well, suggesting that the relationship between calibration and scale is predictable. Furthermore, while there is variation between model families, the scaling exponents for each dataset are somewhat close to those predicted by theory (WikiText: 0.089, WritingPrompts: -0.10, CodeContests: -0.33), with heavier-tailed datasets having slower scaling.}
2025SPO half-onlinePass@16.3Code GenerationSoft Policy Optimization: Online Off-Policy RL for Sequence Models
Source quote
L442: On pass@1, PPO performs better, yielding 8.4 vs 6.3 for SPO half-online and 6.0 for online SPO.
2025MapCoder (Qwen7B)Pass@16.06%Code Generation · split: testMapCoder-Lite: Squeezing Multi-Agent Coding into a Single Small LLM
Source quote
L211: Qwen7B │ 13.21 │ 6.00 │ 6.06 │ 15.26 │ 12.29
2025CTRL (RL-trained critic)Pass@111.76%Code GenerationTeaching Language Models to Critique via Reinforcement Learning
Source quote
L270: Table~\ref{tab:cc_res} shows that our RL-trained critic significantly outperforms baseline approaches, achieving a 11.76% pass@1 rate compared to 7.88% with zero-shot generation. This substantial improvement builds upon a much reduced regression rate \Delta_\downarrow than its SFT counterpart (0.85% vs. 3.03%).
2025Qwen-Coder-7B with S*Pass@110.9Code Generation · params=7BS*: Test Time Scaling for Code Generation
Source quote
L554: Qwen-Coder-7B │ 1.8 │ 10.9 (+9.1) │ 12.1
2025PPO baselinePass@18.4Code GenerationSoft Policy Optimization: Online Off-Policy RL for Sequence Models
Source quote
L442: On pass@1, PPO performs better, yielding 8.4 vs 6.3 for SPO half-online and 6.0 for online SPO.
2025Original code baselinePass %82.0%Code Generation · code-variant=originalRefactoring Codebases through Library Design
Source quote
L560: \multirow{4}{*}{Avg} │ original │ 12946 │ 238 │ 82.0 │ 13366.09 │ 100.0
2025Claude Sonnet 4 baselinePass %84.4%Code Generation · model=Claude Sonnet 4 · code-variant=refactoredRefactoring Codebases through Library Design
Source quote
L562: sonnet 4 │ 12756 │ 224 │ 84.4 │ 10292.62 │ 77.1
2025Baseline LLM, DeepSeek-V3-0324 baselineAccuracy41.81%Code Generation · backbone=DeepSeek-V3-0324Execution Guided Line-by-Line Code Generation
Source quote
L276: DeepSeek-Seek-V3-0324 │ Baseline LLM │ 41.81 │ 0.00
2025Zero-shot generation baselinePass@17.88%Code Generation · 0-shotTeaching Language Models to Critique via Reinforcement Learning
Source quote
L270: Table~\ref{tab:cc_res} shows that our RL-trained critic significantly outperforms baseline approaches, achieving a 11.76% pass@1 rate compared to 7.88% with zero-shot generation. This substantial improvement builds upon a much reduced regression rate \Delta_\downarrow than its SFT counterpart (0.85% vs. 3.03%).
2025CTRL (RL-trained critic) baselineRegression rate (Δ↓)0.85%Code Generation · fine-tunedTeaching Language Models to Critique via Reinforcement Learning
Source quote
L270: Table~\ref{tab:cc_res} shows that our RL-trained critic significantly outperforms baseline approaches, achieving a 11.76% pass@1 rate compared to 7.88% with zero-shot generation. This substantial improvement builds upon a much reduced regression rate \Delta_\downarrow than its SFT counterpart (0.85% vs. 3.03%).
2025CTRL (SFT counterpart) baselineRegression rate (Δ↓)3.03%Code GenerationTeaching Language Models to Critique via Reinforcement Learning
Source quote
L270: Table~\ref{tab:cc_res} shows that our RL-trained critic significantly outperforms baseline approaches, achieving a 11.76% pass@1 rate compared to 7.88% with zero-shot generation. This substantial improvement builds upon a much reduced regression rate \Delta_\downarrow than its SFT counterpart (0.85% vs. 3.03%).
2025Qwen-Coder-7B zero-shot baselinePass@11.8Code Generation · 0-shot · params=7BS*: Test Time Scaling for Code Generation
Source quote
L554: Qwen-Coder-7B │ 1.8 │ 10.9 (+9.1) │ 12.1
2024Code Llama (7B), MC code type proposedPass@11.98Code Generation · 2-shot · params=7B · backbone=Code Llama 7B · code-type=MCRevisiting the Impact of Pursuing Modularity for Code Generation
Source quote
L196: 1.98
2024Code Llama (7B), SC code type proposedPass@12.58Code Generation · 2-shot · params=7B · backbone=Code Llama 7B · code-type=SCRevisiting the Impact of Pursuing Modularity for Code Generation
Source quote
L199: 2.58
2024Code Llama (7B), fine-tuned on MC code proposedPass@13.88Code Generation · fine-tuned · params=7B · backbone=Code Llama 7B · code-type=MC · inference=zero-shotRevisiting the Impact of Pursuing Modularity for Code Generation
Source quote
L295: 3.88
2024Code Llama (7B), fine-tuned on SC code proposedPass@14.42Code Generation · fine-tuned · params=7B · backbone=Code Llama 7B · code-type=SC · inference=zero-shotRevisiting the Impact of Pursuing Modularity for Code Generation
Source quote
L298: 4.42
2024DeepSeekCoder (6.7B), fine-tuned on MC code proposedPass@16.06Code Generation · fine-tuned · params=6.7B · backbone=DeepSeekCoder 6.7B · code-type=MC · inference=zero-shotRevisiting the Impact of Pursuing Modularity for Code Generation
Source quote
L303: 6.06
2024DeepSeekCoder (6.7B), fine-tuned on SC code proposedPass@18.73Code Generation · fine-tuned · params=6.7B · backbone=DeepSeekCoder 6.7B · code-type=SC · inference=zero-shotRevisiting the Impact of Pursuing Modularity for Code Generation
Source quote
L306: 8.73
2024RLEF-trained 70B model proposedSuccess Rate38.0Code Generation · split: test · params=70B · top-p=0.95 · backbone=70B · temperature=0.2 · sample-budget=1@3RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learning
Source quote
L173: Notably, on the test set the 70B model beats AlphaCodium with GPT-4, the previous state-of-the-art, with a single rollout compared to 5 solutions from 100 samples (38.0 and 29).
2024RLEF-trained 8B model proposedSuccess Rate16.0Code Generation · split: test · params=8B · top-p=0.95 · backbone=8B · temperature=0.2 · sample-budget=1@3RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learning
Source quote
L174: Likewise, the 8B model with RLEF is slightly ahead compared to the similar-sized AlphaCode 9B model (16.0 and 13.3), but with a sample budget of 3 in our case and 1,000 for AlphaCode.
2024RLEF-trained 70B model proposedSuccess Rate54.5Code Generation · split: val · params=70B · top-p=0.95 · backbone=70B · temperature=1.0 · sample-budget=10@100RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learning
Source quote
L177: With RLEF training, we obtain further improvements to 54.5 on the valid and test set.
2024RLEF-trained 70B model proposedSuccess Rate54.5Code Generation · split: test · params=70B · top-p=0.95 · backbone=70B · temperature=1.0 · sample-budget=10@100RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learning
Source quote
L177: With RLEF training, we obtain further improvements to 54.5 on the valid and test set.
2024Top Pass (ChatGPT generator) proposedPass@17.3%Code Generation · ranking=Top Pass · generator=ChatGPTTop Pass: improve code generation by pass@k-maximized code ranking
Source quote
L46: Top Pass exhibits notable improvements, elevating the pass@1 of ChatGPT from 2.9% to 7.3% and DeepSeek-Coder from 5.2% to 9.7% on the CodeContests dataset.
2024Top Pass (DeepSeek-Coder generator) proposedPass@19.7%Code Generation · ranking=Top Pass · generator=DeepSeek-CoderTop Pass: improve code generation by pass@k-maximized code ranking
Source quote
L46: Top Pass exhibits notable improvements, elevating the pass@1 of ChatGPT from 2.9% to 7.3% and DeepSeek-Coder from 5.2% to 9.7% on the CodeContests dataset.
2024Llama 3.1 70B RFT proposedpass n@k50.9Code Generation · split: test · params=70B · turns=single-turn · variant=RFT · temperature=1.0 · trajectories=200What Makes Large Language Models Reason in (Multi-Turn) Code Generation?
Source quote
L170: \text{Llama 3.1 70B}^{\text{RFT}}\xspace │ 26.2 │ 45.1 │ 50.9
2024CodeTree with Critic Agent (GPT-4o) proposedPass@143.0%Code Generation · variant=Critic Agent · backbone=GPT-4o · generation-budget=20 samplesCodeTree: Agent-guided Tree Search for Code Generation with Large Language Models
Source quote
L284: We compared CodeTree with other baselines in Table \ref{tab:main_res}. We noticed that Reflexion and Resampling serve as strong baselines for HumanEval and MBPP datasets given the same solution generation budget, comparable to CodeTree-BFS/DFS. CodeTree with Critic Agent outperforms all other baselines in 4 out of 5 benchmarks for GPT-4o-mini and GPT-4o. For instance, CodeTree achieves pass@1=43.0% on competition-level coding tasks in the Codecontests benchmark (i.e. 22.4% performance gain over the Resampling baseline), showing its advantage in solving hard problems.
2024MapCoder proposedPass@128.5%Code GenerationMapCoder: Multi-Agent Code Generation for Competitive Problem Solving
Source quote
L4: Code synthesis, which requires a deep understanding of complex natural language (NL) problem descriptions, generation of code instructions for complex algorithms and data structures, and the successful execution of comprehensive unit tests, presents a significant challenge. Thus, while large language models (LLMs) demonstrate impressive proficiency in natural language processing (NLP), their performance in code generation tasks remains limited. In this paper, we introduce a new approach to code generation tasks leveraging the multi-agent prompting that uniquely replicates the full cycle of program synthesis as observed in human developers. Our framework, {\bf \texttt{MapCoder}}, consists of four LLM agents specifically designed to emulate the stages of this cycle: recalling relevant examples, planning, code generation, and debugging. After conducting thorough experiments, with multiple LLMs ablations and analyses across eight challenging competitive problem-solving and program synthesis benchmarks—\texttt{MapCoder}~ showcases remarkable code generation capabilities, achieving their new state-of-the-art (pass@1) results—({HumanEval \bf 93.9%}, {MBPP \bf 83.1%}, {APPS \bf 22.0%}, {CodeContests \bf 28.5%}, and {xCodeEval \bf 45.3%}).
2024RepoCoderPass@16.48%Code Generation · few-shotPERC: Plan-As-Query Example Retrieval for Underrepresented Code Generation
Source quote
L94: RepoCoder │ 6.48 │ 73.78 │ 62.37 │ 52.83 │ 60.81 │ 67.27 │ 71.75 │ 34.16
2024AlphaCodium with GPT-4 baselineSuccess Rate29Code Generation · split: test · params=70B · backbone=GPT-4 · sample-budget=5 solutions from 100 samplesRLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learning
Source quote
L173: Notably, on the test set the 70B model beats AlphaCodium with GPT-4, the previous state-of-the-art, with a single rollout compared to 5 solutions from 100 samples (38.0 and 29).
2024ChatGPT baseline baselinePass@12.9%Code Generation · generator=ChatGPTTop Pass: improve code generation by pass@k-maximized code ranking
Source quote
L46: Top Pass exhibits notable improvements, elevating the pass@1 of ChatGPT from 2.9% to 7.3% and DeepSeek-Coder from 5.2% to 9.7% on the CodeContests dataset.
2024DeepSeek-Coder baseline baselinePass@15.2%Code Generation · generator=DeepSeek-CoderTop Pass: improve code generation by pass@k-maximized code ranking
Source quote
L46: Top Pass exhibits notable improvements, elevating the pass@1 of ChatGPT from 2.9% to 7.3% and DeepSeek-Coder from 5.2% to 9.7% on the CodeContests dataset.
2024Llama 3.1 70B baselinepass n@k49.8Code Generation · split: test · params=70B · turns=single-turn · temperature=1.0 · trajectories=200What Makes Large Language Models Reason in (Multi-Turn) Code Generation?
Source quote
L163: Llama 3.1 70B\xspace │ 24.1 │ 42.3 │ 49.8
2024PPO (Code Llama 34B) baselineTest Set 10@1k pass rate22.4%Code Generation · split: test · params=34B · samples=1000 · backbone=Code Llama 34B · language=PythonIs DPO Superior to PPO for LLM Alignment? A Comprehensive Study
Source quote
L425: PPO │ 19.7% │ 22.4%
2024AlphaCode 41B + clustering baselineTest Set 10@1k pass rate16.4%Code Generation · split: test · params=41B · samples=1000 · backbone=AlphaCode 41B · language=Python and C++Is DPO Superior to PPO for LLM Alignment? A Comprehensive Study
Source quote
L421: + clustering │ 21.0% │ 16.4%
2024GPT-4 baselinePass@16.07Code Generation · split: test · cot · backbone=GPT-4ArchCode: Incorporating Software Requirements in Code Generation with Large Language Models
Source quote
L287: \phantom{0}6.07 │ \phantom{0}8.23 │ 11.67
2023MPSC-Weighted Cardinality proposedPass@111.26Code Generation · split: test · backbone=GPT-3.5-Turbo · algorithm-variant=iterative · solutions-per-problem=200 · test-cases-per-problem=500 · specifications-per-problem=100Enhancing Large Language Models in Coding Through Multi-Perspective Self-Consistency
Source quote
L398: MPSC-Weighted Cardinality │ 73.17/73.21 │ 73.24/73.31 │ 73.31/73.49 │ 11.26/10.30 │ 11.51/11.52 │ 12.12/12.12
2022Codex baseline using original program descriptions proposedAccuracy12.50%Code GenerationLess is More: Summary of Long Instructions is Better for Program Synthesis
Source quote
L106: CodeContests │ 12.50 │ 23.75 │ 25.00 │ 13.33 │ 25.33 │ 26.66 │ 12.82 │ 24.36 │ 25.64
2022Codex with basic human-generated summariesAccuracy23.75%Code GenerationLess is More: Summary of Long Instructions is Better for Program Synthesis
Source quote
L106: CodeContests │ 12.50 │ 23.75 │ 25.00 │ 13.33 │ 25.33 │ 26.66 │ 12.82 │ 24.36 │ 25.64
2022Codex with expert human-generated summariesAccuracy25.00%Code GenerationLess is More: Summary of Long Instructions is Better for Program Synthesis
Source quote
L106: CodeContests │ 12.50 │ 23.75 │ 25.00 │ 13.33 │ 25.33 │ 26.66 │ 12.82 │ 24.36 │ 25.64
2023ALGO w/ Codex proposed non-standard slicePass@15.60Code GenerationALGO: Synthesizing Algorithmic Programs with Generated Oracle Verifiers
Source quote
L143: Algo\xspace~w/ Codex │ 5.60 │ +4.90 │ 5.60 │ +4.40 │ 7.70 │ +4.70 │ 11.10 │ +3.60
2023Codex baseline non-standard slicePass@10.70Code GenerationALGO: Synthesizing Algorithmic Programs with Generated Oracle Verifiers
Source quote
L141: Codex~\citep{chen2021evaluating} │ 0.70 │ 1.20 │ 3.00 │ 7.50
2023CodeT baseline non-standard slicePass@12.10Code GenerationALGO: Synthesizing Algorithmic Programs with Generated Oracle Verifiers
Source quote
L142: CodeT~\citep{chen2022codet} │ 2.10 │ +1.40 │ 2.30 │ +1.10 │ 5.30 │ +2.30 │ 9.90 │ +2.40