Introduction
Teaching robots to perform complex tasks typically relies on two distinct paradigms: Inverse Reinforcement Learning (IRL), which uses human demonstrations, and preference-based learning, which uses binary comparisons between trajectories. While demonstrations are highly informative, they are often noisy and difficult to provide for high-degree-of-freedom systems. Conversely, preferences are easier for humans to provide accurately but offer limited information per query, leading to slow convergence.
This paper introduces DemPref, a framework that leverages the complementary strengths of both methods. By using initial demonstrations to narrow the search space and active preference queries to refine the reward function, DemPref achieves high accuracy with significantly less human effort.
The DemPref Framework
DemPref operates in two sequential stages to efficiently learn reward functions.
Stage 1: Establishing a Coarse Prior
The process begins with the human providing one or more demonstrations. Using Bayesian IRL, the system generates a "prior" distribution over potential reward functions. This step effectively identifies the general region of the reward space, drastically reducing the volume the robot needs to explore.
Stage 2: Active Refinement and Iterated Correction
In the second stage, the robot generates pairs of trajectories and asks the user to rank them. DemPref employs several key innovations to optimize this process:
- Active Learning: The system selects queries that maximize information gain, specifically those that "remove the most volume" from the remaining reward space.
- Iterated Correction (IC): To ground the search, the robot includes the user's initial demonstration or their previous best choice in the query. This ensures the robot continuously improves upon a known baseline.
- Plackett-Luce Ranking: Instead of simple binary choices, users rank multiple trajectories. This model extracts more information per interaction, accelerating convergence.
Experimental Evaluation
The researchers evaluated DemPref across four distinct environments:
- Driver: A highway driving simulator requiring a balance of speed and safety.
- Lunar Lander: A classic control task for soft landings.
- Fetch Reach (Simulated & Physical): A 7-DOF robot arm task involving obstacle avoidance and specific posture constraints.
A user study with 15 participants was conducted on the physical Fetch robot to compare DemPref against standard IRL.
Results and Key Insights
The primary finding is that DemPref significantly outperforms either demonstrations or preferences used in isolation.
- Efficiency Gains: In simulations, DemPref reached high accuracy in approximately 10 queries, whereas standard preference learning required 30 to 35 queries to reach the same level.
- Robustness to Quality: Even low-quality or "noisy" demonstrations proved highly beneficial, providing enough global structure to eliminate irrelevant reward functions.
- User Performance and Preference: In real-world trials, participants rated DemPref-trained robots as more successful. Users preferred the interactive nature of DemPref, noting that it allowed them to correct the "overfitting" common in pure IRL.
Limitations and Future Work
Despite its success, DemPref faces computational challenges. Generating the most informative queries currently takes about 45 seconds, which can disrupt the user experience. Additionally, some optimized trajectories can appear "jagged" or counter-intuitive to humans. Future research will focus on speeding up query generation through distributed optimization and improving the interpretability of the robot's questions.
Summary updated