B-Coder: Value-Based Deep Reinforcement Learning for Program Synthesis
Not on the map. Why?
Abstract (arXiv)
Program synthesis aims to create accurate, executable programs from problem specifications, specifically from natural language descriptions in our context. Recent studies have leveraged the power of reinforcement learning (RL) in conjunction with large language models (LLMs), significantly enhancing code generation capabilities. The application of RL focuses on directly optimizing for functional correctness, offering an advantage over conventional supervised methods. Despite policy-based RL methods dominating the literature on RL for program synthesis, the nature of program synthesis tasks hints at a natural alignment with value-based methods. This stems from the rich collection of off-policy programs, including those developed by human programmers and also historical samples, coupled with the straightforward verification of generated programs through automated unit testing, meaning rewards are easy to obtain. Diverging from the dominant use of policy-based algorithms, our work explores the feasibility of value-based approaches, leading to the development of our B-Coder (pronounced Bellman coder). Yet, training value-based methods presents challenges due to the enormous search space inherent to program synthesis. To this end, we introduce an initialization protocol for RL agents utilizing pre-trained LMs and a conservative Bellman operator to reduce training complexities. Moreover, we demonstrate how to leverage the learned value functions as a dual strategy to post-process generated programs. Our empirical evaluations demonstrated B-Coder's capability in achieving state-of-the-art performance when compared to policy-based methods. Remarkably, this achievement is reached with minimal reward engineering effort, highlighting the effectiveness of value-based RL, independent of reward designs.
Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Builds on 76 of its 105 references that are in the map. First posted on arXiv 4 Oct 2023.
Builds on
76 of 105 references.
References · 76
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2018Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actorcited by 4,635
- 2017Deep reinforcement learning from human preferencescited by 3,846
38 more
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2013Playing Atari with Deep Reinforcement Learningcited by 3,211
- 2022Training Compute-Optimal Large Language Modelscited by 2,927
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2020Learning to summarize from human feedbackcited by 2,562
- 2018Addressing Function Approximation Error in Actor-Critic Methodscited by 2,302
- 2019Fine-Tuning Language Models from Human Preferencescited by 2,124
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2020Offline Reinforcement Learning: Tutorial, Review, and Perspectives on Open Problemscited by 1,873
- 2020Conservative Q-Learning for Offline Reinforcement Learningcited by 1,777
- 2015Deep Reinforcement Learning with Double Q-learningcited by 1,704
- 2016Generative Adversarial Imitation Learningcited by 1,576
- 2022Competition-Level Code Generation with AlphaCodecited by 1,427
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
- 2023PaLM 2 Technical Reportcited by 1,154
- 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,116
- 2017Constrained Policy Optimizationcited by 928
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
- 2021Measuring Coding Challenge Competence With APPScited by 879
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
- 2023StarCoder: may the source be with you!cited by 790
- 2015Scheduled Sampling for Sequence Prediction with Recurrent Neural Networkscited by 779
- 2015Dueling Network Architectures for Deep Reinforcement Learningcited by 769
- 2017A Distributional Perspective on Reinforcement Learningcited by 743
- 2018QT-Opt: Scalable Deep Reinforcement Learning for Vision-Based Robotic Manipulationcited by 730
- 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
- 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 679
- 2017Reinforcement Learning with Deep Energy-Based Policiescited by 659
- 2015Sequence Level Training with Recurrent Neural Networkscited by 568
- 2016Self-critical Sequence Training for Image Captioningcited by 544
- 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
- 2023Reinforced Self-Training (ReST) for Language Modelingcited by 486
- 2022CodeT: Code Generation with Generated Testscited by 369
- 2016Benchmarking Deep Reinforcement Learning for Continuous Controlcited by 361
- 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learningcited by 342
- 2023CodeT5+: Open Code Large Language Models for Code Understanding and Generationcited by 327
- 2023CodeGeeX: A Pre-Trained Model for Code Generation with Multilingual Benchmarking on HumanEval-Xcited by 294
50 most cited of 76 All 76 (JSON)
Built on by
Citing papers per year: 2024: 4; 2025: 11; 2026: 1.
16 papers.
Sort:
By area:
- 2024RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learningcited by 146
- 2025Pass@K Policy Optimization: Solving Harder Reinforcement Learning Problemscited by 83
- 2024What's Wrong with Your Code Generated by Large Language Models? An Extensive Studycited by 52
- 2025Does Thinking More always Help? Mirage of Test-Time Scaling in Reasoning Modelscited by 52
- 2024How Efficient is LLM-Generated Code? A Rigorous & High-Standard Benchmarkcited by 39
- 2025Think Smarter not Harder: Adaptive Reasoning with Inference Aware Optimizationcited by 29
- 2024MA-RLHF: Reinforcement Learning from Human Feedback with Macro Actionscited by 15
- 2025Training Language Models to Generate Quality Code with Program Analysis Feedbackcited by 11
- 2025AutoGraph-R1: End-to-End Reinforcement Learning for Knowledge Graph Constructioncited by 6
- 2025Re-Aligning Language to Visual Objects with an Agentic Workflowcited by 4
- 2025ShiQ: Bringing back Bellman to LLMscited by 3
- 2025RL-Selector: Reinforcement Learning-Guided Data Selection via Redundancy Assessmentcited by 3
4 more
- 2025NeuroSync: Intent-Aware Code-Based Problem Solving via Direct LLM Understanding Modificationcited by 3
- 2025Integrating Symbolic Execution into the Fine-Tuning of Code-Generating LLMscited by 2
- 2025Language Model Distillation: A Temporal Difference Imitation Learning Perspectivecited by 2
- 2026RLPF: Reinforcement Learning from Performance Feedback for Code Generationcited by 0
- 2026RLPF: Reinforcement Learning from Performance Feedback for Code Generation29 Jul 2026
- 2025AutoGraph-R1: End-to-End Reinforcement Learning for Knowledge Graph Construction17 Oct 2025
- 2025NeuroSync: Intent-Aware Code-Based Problem Solving via Direct LLM Understanding Modification5 Aug 2025
- 2025RL-Selector: Reinforcement Learning-Guided Data Selection via Redundancy Assessment26 Jun 2025
- 2025Does Thinking More always Help? Mirage of Test-Time Scaling in Reasoning Models4 Jun 2025
- 2025Training Language Models to Generate Quality Code with Program Analysis Feedback28 May 2025
- 2025Language Model Distillation: A Temporal Difference Imitation Learning Perspective24 May 2025
- 2025Pass@K Policy Optimization: Solving Harder Reinforcement Learning Problems21 May 2025
- 2025ShiQ: Bringing back Bellman to LLMs16 May 2025
- 2025Integrating Symbolic Execution into the Fine-Tuning of Code-Generating LLMs21 Apr 2025
- 2025Re-Aligning Language to Visual Objects with an Agentic Workflow30 Mar 2025
- 2025Think Smarter not Harder: Adaptive Reasoning with Inference Aware Optimization29 Jan 2025
4 more
- 2024MA-RLHF: Reinforcement Learning from Human Feedback with Macro Actions3 Oct 2024
- 2024RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learning2 Oct 2024
- 2024What's Wrong with Your Code Generated by Large Language Models? An Extensive Study8 Jul 2024
- 2024How Efficient is LLM-Generated Code? A Rigorous & High-Standard Benchmark10 Jun 2024
- 2025Pass@K Policy Optimization: Solving Harder Reinforcement Learning Problemscited by 83
- 2024What's Wrong with Your Code Generated by Large Language Models? An Extensive Studycited by 52
- 2024How Efficient is LLM-Generated Code? A Rigorous & High-Standard Benchmarkcited by 39
- 2025Training Language Models to Generate Quality Code with Program Analysis Feedbackcited by 11
- 2025ShiQ: Bringing back Bellman to LLMscited by 3
- 2025RL-Selector: Reinforcement Learning-Guided Data Selection via Redundancy Assessmentcited by 3
- 2025NeuroSync: Intent-Aware Code-Based Problem Solving via Direct LLM Understanding Modificationcited by 3
- 2026RLPF: Reinforcement Learning from Performance Feedback for Code Generationcited by 0
- 2026RLPF: Reinforcement Learning from Performance Feedback for Code Generation29 Jul 2026
- 2025NeuroSync: Intent-Aware Code-Based Problem Solving via Direct LLM Understanding Modification5 Aug 2025
- 2025RL-Selector: Reinforcement Learning-Guided Data Selection via Redundancy Assessment26 Jun 2025
- 2025Training Language Models to Generate Quality Code with Program Analysis Feedback28 May 2025
- 2025Pass@K Policy Optimization: Solving Harder Reinforcement Learning Problems21 May 2025
- 2025ShiQ: Bringing back Bellman to LLMs16 May 2025
- 2024What's Wrong with Your Code Generated by Large Language Models? An Extensive Study8 Jul 2024
- 2024How Efficient is LLM-Generated Code? A Rigorous & High-Standard Benchmark10 Jun 2024