TL;DR
Information Directed Reward Learning (IDRL) is a novel active learning framework that significantly reduces the number of human queries needed to train reinforcement learning (RL) agents. By focusing queries on information that helps distinguish between potentially optimal policies—rather than trying to learn the entire reward function accurately—IDRL achieves high performance with much less expert feedback.
What Problem Does This Paper Address?
Reinforcement learning relies on a reward function to guide an agent toward a goal. However, designing these functions for complex, real-world tasks (like driving or robotic locomotion) is notoriously difficult. A common workaround is to learn the reward function from human feedback, such as having an expert rank two different trajectories.
The bottleneck is that human feedback is expensive and slow. Existing "active reward learning" methods often try to reduce the uncertainty of the reward model uniformly across the entire state space. This is inefficient: why spend time learning the exact reward of a state that the optimal policy will never visit, or a state that every good policy visits anyway? As shown in Figure 1, if two plausible paths both collect a "cherry" but differ on whether they collect an "apple" or "corn," the agent shouldn't waste queries asking about the cherry.
Methods
The authors introduce IDRL, an information-theoretic approach to query selection. Instead of maximizing information gain about the reward function itself, IDRL maximizes information gain about the difference in return between plausibly optimal policies.
The algorithm follows a two-step selection process:
- Identify Candidate Policies: Using Thompson Sampling, the agent generates a set of "plausibly optimal" policies based on its current (uncertain) reward model.
- Select Informative Queries: It then selects two policies ($\pi_1, \pi_2$) with the highest uncertainty regarding their difference in expected return. Finally, it chooses the query (from a candidate set) that is most likely to reduce this specific uncertainty.
IDRL is highly flexible. It can handle various query types—including single-state evaluations, trajectory comparisons, and numerical ratings—and works with both linear and non-linear reward models. The paper provides two implementations:
- GP-IDRL: An exact and efficient version using Gaussian Processes for smaller environments.
- Deep IDRL: A scalable version using Deep Neural Networks and a Laplace approximation to handle high-dimensional tasks.
Datasets
The authors evaluated IDRL across a diverse range of simulated environments:
- Toy Environments: 10x10 Gridworlds, "Chain," and "Junction" MDPs designed to isolate specific challenges in reward learning.
- Continuous Control: A 2D driving simulator ("Driver") where the agent learns driving preferences.
- MuJoCo Corridor: Custom tasks for the Swimmer and Ant robots that require moving to and stopping at a specific goal.
- Standard MuJoCo Suite: A collection of high-dimensional locomotion benchmarks (HalfCheetah, Walker2d, Hopper, etc.) used to test the Deep RL implementation.
Key Insights and Ideas
- Policy-Induced Pruning: The core "aha" moment is that reward learning should be driven by the needs of the policy. By considering the environment's dynamics, IDRL ignores regions of the state space that are unreachable or irrelevant to choosing the best action.
- Generality via Linear Queries: The authors show that many common feedback types (comparisons, trajectory returns) can be modeled as "linear reward queries," allowing for a unified mathematical treatment.
- Task-Specific Accuracy: IDRL often results in a less accurate global reward model (higher Mean Squared Error) than standard methods, yet it produces better policies. This confirms that global accuracy is a poor proxy for RL success.
Key Results
IDRL consistently outperformed baselines like Information Gain on Reward (IGR) and Expected Policy Divergence (EPD) in terms of sample efficiency.
- Gridworlds: In state-comparison tasks, IDRL reached near-zero regret in roughly 30 queries, while baselines often required over 150 to reach the same level (see Figure 2).
- MuJoCo Locomotion: Averaged across the MuJoCo suite, the Deep RL version of IDRL learned significantly faster than uniform sampling or standard information gain methods (see Figure 4).
- Scaling: In the "Corridor" environments, IDRL found effective policies with 10-20 queries, whereas uniform sampling failed to find good policies even with more feedback.
Limitations and Future Work
- Computational Overhead: The main drawback is the cost of maintaining and updating the set of candidate policies. While the authors proposed ways to mitigate this (e.g., updating policies less frequently), it remains more demanding than simpler heuristics.
- Environment Interaction Cost: The model assumes that while human queries are expensive, interacting with the environment simulator is "cheap." In applications where real-world robot interaction is also expensive, further optimizations would be needed.
- Generalization: IDRL is designed to find a good policy for a single environment. The authors suggest that future work could extend this to learn reward models that generalize across a distribution of different environments.
Summary updated