# Poster 28031

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/28031

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Our iClear paper presents a unified framework for intrinsic motivation and reward shaping. They signal the value of the RL agent's state. This is not just the state of the environment or the MDP it's in, but also all of the past experience or information that the RL agent has gathered from the environment while training and exploring. Rewards based on potentials over this full state provably avoid reward hacking.
We cast RL agents as policies in Bayes adaptive MDPs or BAMDPs, which formulate RL problems by augmenting the MDP state with the history of all environment interactions. Optimal exploration maximizes BAMDP state value, and intrinsic motivation and reward shaping guide RL agents by rewarding them for going to more valuable BAMDP states.
Harmful reward hacking policies maximize modified rewards to the detriment of the true underlying rewards. We prove that converting intrinsic motivation and reward shaping terms to BAMD-P potential-based shaping functions prevents hacking and empirically validate this in both RL and meta-RL. To guide more efficient exploration,
BAMD -P potential-based shaping potentials should encode BAMD-P state value. To gain further insights, we decompose BAMD-P value into the value of the information gathered and the value of the MDP state given prior knowledge only. We get a new typology for intrinsic motivation and reward shaping terms based on which BAMD-P value component they signal.
They hinder exploration if they align poorly with the actual value. For example, prediction error is high for watching a noisy TV screen, but no valuable information is gained. We demonstrate our framework in Mountain Car. We set the potential to the maximum displacement the agent learned to reach so far, which signals the value of the information contained in its training experiences.
Rewarding displacement directly, the pink curve, led to reward hacking, but the BAMDP potential-based shaping function, in green, preserved optimality.
