Exploring RL-based LLM Training for Formal Language Tasks with Programmed Rewards
Alexander G. Padula, Dennis J.N.J. Soemers

TL;DR
This paper explores the use of Proximal Policy Optimization for direct reinforcement learning of large language models on formal language tasks, highlighting challenges and proposing a regularization method to improve exploration.
Contribution
It investigates the feasibility of direct RL from programmed rewards for formal language tasks and introduces a batch-entropy regularization to enhance training stability.
Findings
Pure RL training is challenging for formal language tasks.
A novel batch-entropy regularization aids exploration.
Direct RL may be better for minor adjustments than new tasks.
Abstract
Proximal Policy Optimization (PPO) is commonly used in Reinforcement Learning from Human Feedback to align large language models (LLMs) with downstream tasks. This paper investigates the feasibility of using PPO for direct reinforcement learning (RL) from explicitly programmed reward signals, as opposed to indirect learning from human feedback via an intermediary reward model. We focus on tasks expressed through formal languages, such as mathematics and programming, where explicit reward functions can be programmed to automatically assess the quality of generated outputs. We apply this approach to a sentiment alignment task, a simple arithmetic task, and a more complex game synthesis task. The sentiment alignment task replicates prior research and serves to validate our experimental setup. Our results show that pure RL-based training for the two formal language tasks is challenging,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsEducational Technology and Assessment · Natural Language Processing Techniques · Artificial Intelligence in Law
MethodsALIGN · Entropy Regularization · Focus · Proximal Policy Optimization
