LGAISep 9, 2024

BAMDP Shaping: a Unified Framework for Intrinsic Motivation and Reward Shaping

arXiv:2409.05358v24 citationsh-index: 3
Originality Incremental advance
AI Analysis

This work addresses the challenge of designing effective pseudo-rewards for reinforcement learning agents to prevent reward-hacking, which is crucial for improving exploration and learning efficiency in AI systems, though it is incremental as it builds on existing shaping theory.

The paper tackles the problem of intrinsic motivation and reward shaping in reinforcement learning, which can lead to counterproductive exploits like fixation on noisy TV screens, by providing a theoretical model that anticipates these behaviors and offers criteria to bound adverse effects, demonstrating empirically that BAMDP Potential-based shaping Functions (BAMPFs) help meta-RL agents learn optimal algorithms for a Bernoulli Bandit domain and resist reward-hacking in regular RL settings.

Intrinsic motivation and reward shaping guide reinforcement learning (RL) agents by adding pseudo-rewards, which can lead to useful emergent behaviors. However, they can also encourage counterproductive exploits, e.g., fixation with noisy TV screens. Here we provide a theoretical model which anticipates these behaviors, and provides broad criteria under which adverse effects can be bounded. We characterize all pseudo-rewards as reward shaping in Bayes-Adaptive Markov Decision Processes (BAMDPs), which formulates the problem of learning in MDPs as an MDP over the agent's knowledge. Optimal exploration maximizes BAMDP state value, which we decompose into the value of the information gathered and the prior value of the physical state. Psuedo-rewards guide RL agents by rewarding behavior that increases these value components, while they hinder exploration when they align poorly with the actual value. We extend potential-based shaping theory to prove BAMDP Potential-based shaping Functions (BAMPFs) are immune to reward-hacking (convergence to behaviors maximizing composite rewards to the detriment of real rewards) in meta-RL, and show empirically how a BAMPF helps a meta-RL agent learn optimal RL algorithms for a Bernoulli Bandit domain. We finally prove that BAMPFs with bounded monotone increasing potentials also resist reward-hacking in the regular RL setting. We show that it is straightforward to retrofit or design new pseudo-reward terms in this form, and provide an empirical demonstration in the Mountain Car environment.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes