mlsanityData to 14 Oct 2026

Exploring RL-based LLM Training for Formal Language Tasks with Programmed Rewards

arXiv 2410.17126 ↗First posted 22 Oct 2024cs.CL cs.AI cs.LGcited by 1

On the map: LLM alignment / RLHF / preference optimisation → Reward modeling and RLHF

Abstract (arXiv)

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, with success being limited even for the simple arithmetic task. We propose a novel batch-entropy regularization term to aid exploration, although training is not yet entirely stable. Our findings suggest that direct RL training of LLMs may be more suitable for relatively minor changes, such as alignment, than for learning new tasks altogether, even if an informative reward signal can be expressed programmatically.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Reward modeling and RLHF, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 16 of its 35 references that are in the map. First posted on arXiv 22 Oct 2024.

Builds on

16 of 35 references.

Closest ancestors · 1

Same direction, newest first

  1. 2019Fine-Tuning Language Models from Human Preferences18 Sep

Other references · 15

  1. 2017Proximal Policy Optimization Algorithmscited by 15,215
  2. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  3. 2021Program Synthesis with Large Language Modelscited by 3,637
  4. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  5. 2022Solving math word problems with process- and outcome-based feedbackcited by 901
  6. 2023StarCoder: may the source be with you!cited by 799
  7. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 733
  8. 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learningcited by 358
  9. 2018Understanding the impact of entropy on policy optimizationcited by 176
  10. 2023Understanding plasticity in neural networkscited by 174
  11. 2023Execution-based Code Generation using Deep Reinforcement Learningcited by 99
  12. 2019Ludii -- The Ludemic General Game Systemcited by 39
3 more
  1. 2023Fully Autonomous Programming with Large Language Modelscited by 31
  2. 2024GAVEL: Generating Games Via Evolution and Language Modelscited by 24
  3. 2022Examining Policy Entropy of Reinforcement Learning Agents for Personalization Taskscited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2024Back to Basics: Revisiting REINFORCE Style Optimization for Learning from Human Feedback in LLMs
  2. 2023Pairwise Proximal Policy Optimization: Harnessing Relative Feedback for LLM Alignment
  3. 2025A Technical Survey of Reinforcement Learning Techniques for Large Language Models
  4. 2024Reinforcement Learning for LLM Post-Training: A Survey
  5. 2025Reinforcement Learning Meets Large Language Models: A Survey of Advancements and Applications Across the LLM Lifecycle
  6. 2024Contrastive Policy Gradient: Aligning LLMs on sequence-level scores in a supervised-friendly fashion
  7. 2022Is Reinforcement Learning (Not) for Natural Language Processing: Benchmarks, Baselines, and Building Blocks for Natural Language Policy Optimization
  8. 2024Teaching Large Language Models to Reason with Reinforcement Learning