[Paper Review] Understanding Learned Reward Functions
This paper proposes using saliency maps and counterfactual analysis to audit learned reward functions in reinforcement learning, revealing that they often rely on spurious, environment-dependent features rather than core preferences. Despite large changes in reward output, policies trained on these functions can still perform well, indicating that current interpretability methods fail to predict policy robustness and may highlight irrelevant changes.
In many real-world tasks, it is not possible to procedurally specify an RL agent's reward function. In such cases, a reward function must instead be learned from interacting with and observing humans. However, current techniques for reward learning may fail to produce reward functions which accurately reflect user preferences. Absent significant advances in reward learning, it is thus important to be able to audit learned reward functions to verify whether they truly capture user preferences. In this paper, we investigate techniques for interpreting learned reward functions. In particular, we apply saliency methods to identify failure modes and predict the robustness of reward functions. We find that learned reward functions often implement surprising algorithms that rely on contingent aspects of the environment. We also discover that existing interpretability techniques often attend to irrelevant changes in reward output, suggesting that reward interpretability may need significantly different methods from policy interpretability.
Motivation & Objective
- To address the challenge of verifying whether learned reward functions truly reflect human preferences in real-world RL tasks where manual specification is infeasible.
- To investigate whether interpretability techniques like saliency maps can detect failure modes in reward functions, such as reliance on spurious correlations.
- To evaluate whether existing interpretability methods can predict the robustness of policies trained on learned reward functions.
- To identify the limitations of current interpretability tools in the context of reward functions, which differ fundamentally from policy interpretability.
- To advocate for new interpretability methods tailored to the mathematical structure of reward functions, especially their invariance to monotonic transformations.
Proposed method
- Applying saliency methods to identify which input features most influence the output of a learned reward function.
- Using counterfactual inputs—such as removing or modifying specific environmental features—to test how reward function outputs change.
- Comparing saliency maps and counterfactual changes to ground-truth reward functions to assess interpretability fidelity.
- Evaluating whether changes in reward output correlate with changes in policy performance, using environments like TwoGoals and Seaquest.
- Assessing the robustness of policies trained on modified reward functions to determine if saliency methods predict policy transferability.
- Using EPIC as a benchmark to compare learned reward functions to ground-truths, though acknowledging its limitations in absence of ground truth.
Experimental results
Research questions
- RQ1Do learned reward functions rely on spurious or contingent environmental features rather than core human preferences?
- RQ2Can saliency-based interpretability methods reliably identify the features a reward function depends on?
- RQ3To what extent do changes in reward function output predict changes in the behavior of policies trained on them?
- RQ4Why do some large changes in reward output fail to affect policy performance, and what does this imply for interpretability?
- RQ5What kind of interpretability methods are needed to verify that a learned reward function reflects true human preferences?
Key findings
- Learned reward functions often implement counterintuitive algorithms that depend on contingent environmental features, such as the state of a brake indicator in a driving task.
- Saliency methods frequently attend to irrelevant changes in reward output, such as multiplicative scaling, which do not affect policy behavior.
- Even when reward function outputs change significantly due to feature removal, policies can still achieve high returns, indicating poor predictive power of current interpretability tools.
- Reward functions trained on noisy or corrupted features (e.g., removing the score in Seaquest) can still train better-than-random policies, suggesting robustness to output perturbations.
- The lack of invariance to monotonic transformations in interpretability methods means they may highlight misleading differences, reducing their utility for auditing reward functions.
- There is a critical need for new interpretability techniques that account for the unique mathematical structure of reward functions, such as invariance under positive affine transformations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.