paper-with-me

Papers

$\mathcal{B}$-Coder: Value-Based Deep Reinforcement Learning for Program Synthesis

2023-10-04 · Zishun Yu, Yunzhe Tao, Liyu Chen, Tao Sun, Hongxia Yang

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 $\mathcal{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 $\mathcal{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.

📄 PDF Abstract BibTeX arXiv:2310.03173

Code (0)

등록된 구현이 없습니다.

Tasks

Code GenerationDeep Reinforcement LearningProgram Synthesisreinforcement-learningReinforcement Learning (RL)

Similar Papers 제목 키워드 기반

Interval Markov Decision Processes with Continuous Action-Spaces

2022-11-02 · Giannis Delimpaltadakis, Morteza Lahijanian, Manuel Mazo Jr., Luca Laurenti

Interval Markov Decision Processes (IMDPs) are finite-state uncertain Markov models, where the transition probabilities belong to intervals. Recently, there has been a surge of research on employing IMDPs as abstractions…

MathDSL: A Domain-Specific Language for Concise Mathematical Solutions Via Program Synthesis

2024-09-26 · Sagnik Anupam, Maddy Bowers, Omar Costilla-Reyes, Armando Solar-Lezama

We present MathDSL, a Domain-Specific Language (DSL) for mathematical equation solving, which, when deployed in program synthesis models, outperforms state-of-the-art reinforcement-learning-based methods. We also introdu…

Program Synthesisreinforcement-learningReinforcement Learning

Likelihood Hacking in Probabilistic Program Synthesis

2026-03-25 · Jacek Karwowski, Younesse Kaddar, Zihuiwen Ye, Nikolay Malkin 외 arxiv

When language models are trained by reinforcement learning (RL) to write probabilistic programs, they can artificially inflate their marginal-likelihood reward by producing programs whose data distribution fails to norma…

Reinforcement LearningProgram Synthesis

Direct Shaping of Minimum and Maximum Singular Values: An $\mathcal{H}_{-}/\mathcal{H}_{\infty}$ Synthesis Approach for Fault Detection Filters

2023-05-12 · Koen Classens, W. P. M. H., Heemels, Tom Oomen

The performance of fault detection filters relies on a high sensitivity to faults and a low sensitivity to disturbances. The aim of this paper is to develop an approach to directly shape these sensitivities, expressed in…

Fault DetectionFault DiagnosisSensitivity

Neural Program Synthesis By Self-Learning

2019-10-13 · Yifan Xu, Lu Dai, Udaikaran Singh, Kening Zhang 외

Neural inductive program synthesis is a task generating instructions that can produce desired outputs from given inputs. In this paper, we focus on the generation of a chunk of assembly code that can be executed to match…

CPUProgram SynthesisReinforcement LearningReinforcement Learning (RL)+1