mlsanityData to 7 Oct 2026

B-Coder: Value-Based Deep Reinforcement Learning for Program Synthesis

arXiv 2310.03173 ↗First posted 4 Oct 2023cs.CLcited by 16

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2023GPT-4 Technical Reportcited by 18,132
  4. 2022Training language models to follow instructions with human feedbackcited by 15,712
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  6. 2017Proximal Policy Optimization Algorithmscited by 14,441
  7. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  8. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  9. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  10. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  11. 2018Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actorcited by 4,635
  12. 2017Deep reinforcement learning from human preferencescited by 3,846
38 more
  1. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
  2. 2021Program Synthesis with Large Language Modelscited by 3,509
  3. 2013Playing Atari with Deep Reinforcement Learningcited by 3,211
  4. 2022Training Compute-Optimal Large Language Modelscited by 2,927
  5. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  6. 2020Learning to summarize from human feedbackcited by 2,562
  7. 2018Addressing Function Approximation Error in Actor-Critic Methodscited by 2,302
  8. 2019Fine-Tuning Language Models from Human Preferencescited by 2,124
  9. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  10. 2020Offline Reinforcement Learning: Tutorial, Review, and Perspectives on Open Problemscited by 1,873
  11. 2020Conservative Q-Learning for Offline Reinforcement Learningcited by 1,777
  12. 2015Deep Reinforcement Learning with Double Q-learningcited by 1,704
  13. 2016Generative Adversarial Imitation Learningcited by 1,576
  14. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  15. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
  16. 2023PaLM 2 Technical Reportcited by 1,154
  17. 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,116
  18. 2017Constrained Policy Optimizationcited by 928
  19. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
  20. 2021Measuring Coding Challenge Competence With APPScited by 879
  21. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
  22. 2023StarCoder: may the source be with you!cited by 790
  23. 2015Scheduled Sampling for Sequence Prediction with Recurrent Neural Networkscited by 779
  24. 2015Dueling Network Architectures for Deep Reinforcement Learningcited by 769
  25. 2017A Distributional Perspective on Reinforcement Learningcited by 743
  26. 2018QT-Opt: Scalable Deep Reinforcement Learning for Vision-Based Robotic Manipulationcited by 730
  27. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
  28. 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 679
  29. 2017Reinforcement Learning with Deep Energy-Based Policiescited by 659
  30. 2015Sequence Level Training with Recurrent Neural Networkscited by 568
  31. 2016Self-critical Sequence Training for Image Captioningcited by 544
  32. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
  33. 2023Reinforced Self-Training (ReST) for Language Modelingcited by 486
  34. 2022CodeT: Code Generation with Generated Testscited by 369
  35. 2016Benchmarking Deep Reinforcement Learning for Continuous Controlcited by 361
  36. 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learningcited by 342
  37. 2023CodeT5+: Open Code Large Language Models for Code Understanding and Generationcited by 327
  38. 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

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 4; 2025: 11; 2026: 1.

16 papers.

Sort:

By area: