mlsanityData to 14 Oct 2026

Self-correcting Reward Shaping via Language Models for Reinforcement Learning Agents in Games

arXiv 2506.23626 ↗First posted 30 Jun 2025cs.AIcited by 1

On the map: LLM agents and tool use → Reinforcement learning for LLM agents

Abstract (arXiv)

Reinforcement Learning (RL) in games has gained significant momentum in recent years, enabling the creation of different agent behaviors that can transform a player's gaming experience. However, deploying RL agents in production environments presents two key challenges: (1) designing an effective reward function typically requires an RL expert, and (2) when a game's content or mechanics are modified, previously tuned reward weights may no longer be optimal. Towards the latter challenge, we propose an automated approach for iteratively fine-tuning an RL agent's reward function weights, based on a user-defined language based behavioral goal. A Language Model (LM) proposes updated weights at each iteration based on this target behavior and a summary of performance statistics from prior training rounds. This closed-loop process allows the LM to self-correct and refine its output over time, producing increasingly aligned behavior without the need for manual reward engineering. We evaluate our approach in a racing task and show that it consistently improves agent performance across iterations. The LM-guided agents show a significant increase in performance from 9% to 74% success rate in just one iteration. We compare our LM-guided tuning against a human expert's manual weight design in the racing task: by the final iteration, the LM-tuned agent achieved an 80% success rate, and completed laps in an average of 855 time steps, a competitive performance against the expert-tuned agent's peak 94% success, and 850 time steps.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Reinforcement learning for LLM agents, one of 16 directions in LLM agents and tool use. Builds on 19 of its 22 references that are in the map. First posted on arXiv 30 Jun 2025.

Builds on

19 of 22 references.

References · 19

  1. 2017Proximal Policy Optimization Algorithmscited by 15,215
  2. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  3. 2017Deep reinforcement learning from human preferencescited by 3,912
  4. 2023Eureka: Human-Level Reward Design via Coding Large Language Modelscited by 571
  5. 2017Population Based Training of Neural Networkscited by 367
  6. 2023Reward Design with Language Modelscited by 261
  7. 2018Unity: A General Platform for Intelligent Agentscited by 236
  8. 2016ViZDoom: A Doom-based AI Research Platform for Visual Reinforcement Learningcited by 179
  9. 2020PCGRL: Procedural Content Generation via Reinforcement Learningcited by 90
  10. 2024OMNI-EPIC: Open-endedness via Models of human Notions of Interestingness with Environments Programmed in Codecited by 74
  11. 2020Super-Human Performance in Gran Turismo Sport Using Deep Reinforcement Learningcited by 65
  12. 2025The relationship between reasoning and performance in large language models--o3 (mini) thinks harder, not longercited by 41
7 more
  1. 2018Deep Reinforcement Learning for General Video Game AIcited by 25
  2. 2024MaestroMotif: Skill Design from Artificial Intelligence Feedbackcited by 24
  3. 2024Small Language Model Can Self-correctcited by 23
  4. 2020"It's Unwieldy and It Takes a Lot of Time." Challenges and Opportunities for Creating Agents in Commercial Gamescited by 17
  5. 2022Towards Informed Design and Validation Assistance in Computer Games Using Imitation Learningcited by 13
  6. 2023Technical Challenges of Deploying Reinforcement Learning Agents for Game Testing in AAA Gamescited by 12
  7. 2025FLoRA: Sample-Efficient Preference-based RL via Low-Rank Style Adaptation of Reward Functionscited 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. 2026RLAR: An Agentic Reward System for Multi-task Reinforcement Learning on Large Language Models
  2. 2023Shattering the Agent-Environment Interface for Fine-Tuning Inclusive Language Models
  3. 2024A Large Language Model-Driven Reward Design Framework via Dynamic Feedback for Reinforcement Learning
  4. 2024Online Intrinsic Rewards for Decision Making Agents from Large Language Model Feedback
  5. 2026Reward-Zero: Language Embedding Driven Implicit Reward Mechanisms for Reinforcement Learning
  6. 2026RewardWeaver: Long-Horizon Interactive Learning for Language Agents via Self-Evolving Reward Adaptation
  7. 2025PCGRLLM: Large Language Model-Driven Reward Design for Procedural Content Generation Reinforcement Learning
  8. 2025A Technical Survey of Reinforcement Learning Techniques for Large Language Models