Introduction
Defining reward functions for complex robotic tasks is a significant challenge in autonomous systems. While preference-based learning allows humans to guide robots through simple binary comparisons, the computational cost of generating optimal queries often hinders real-time interaction. This paper introduces a framework for batch active learning to efficiently teach robots human preferences. By generating multiple comparison queries at once rather than one-by-one, the authors achieve a massive speedup in computation time (up to 70x) with minimal loss in learning efficiency, making real-time human-robot interaction much more practical.
The Preference-Based Learning Framework
In preference-based learning, the robot presents a human with two trajectories, $\xi_A$ and $\xi_B$, and asks which is preferred. The system models these preferences using a Bradley-Terry model, where the probability of a choice depends on the underlying reward function. To minimize the number of questions, active learning synthesizes queries that maximize information gain (entropy).
Batch Active Learning Strategies
The core contribution of this work is the transition from sequential query generation to batch generation. To prevent the system from asking redundant questions, the authors developed four approximation algorithms to ensure diversity within each batch:
- Greedy Selection: Picks the top $b$ most informative queries based on entropy.
- Medoid Selection: Uses K-medoids clustering to group informative queries and selects representatives from each cluster.
- Boundary Medoid Selection: Specifically selects queries from the convex hull of the query space to maximize diversity.
- Successive Elimination: Iteratively removes queries that are too similar to others while maintaining high information gain. This method emerged as the strongest performer by balancing informativeness and diversity.
Experimental Results and Insights
The researchers evaluated their algorithms across several simulated environments (OpenAI Gym, MuJoCo) and a real-world user study involving driving styles.
- Computational Speedup: In the "Swimmer" task, sequential active learning took 188.9 seconds per query. The batch methods reduced this to roughly 4.1 seconds—a ~46x speedup. Across various tasks, speedups reached up to 70x.
- Query Efficiency: While batch methods require slightly more total queries than sequential methods to reach the same accuracy, the "time-to-convergence" is significantly lower, making the system feel much more responsive to human users.
- Robustness: Interestingly, batch methods sometimes outperformed sequential learning in complex tasks like LunarLander. The authors suggest that the sampling-based nature of batch generation helps the system avoid local optima in the reward space.
Limitations and Future Work
While effective, the current approach relies on handcrafted features and fixed batch sizes. Future research will explore learning reward features directly from raw data (e.g., video) and integrating safety constraints to ensure the robot does not generate dangerous trajectories during the query process. Additionally, dynamic batch sizing—starting small and increasing over time—could further optimize the learning curve.
Summary updated