Introduction
Autonomous vehicles must navigate environments populated by humans with vastly different driving styles, ranging from highly aggressive to extremely conservative. Most current autonomous systems rely on Inverse Reinforcement Learning (IRL) to infer the underlying cost functions (or rewards) that drive human behavior. However, traditional IRL (TIRL) typically assumes a unimodal distribution—essentially attempting to find a single "average" cost function for all agents in a dataset.
As shown in the figure above, this "one-size-fits-all" approach often results in a model that represents no one accurately. In a highway merging scenario, an average model might predict a driver will hesitate, while the actual driver is aggressive and pushes ahead. This discrepancy leads to poor predictions and potentially dangerous interactions. This paper introduces a Probabilistic Inverse Reinforcement Learning (PIRL) framework designed to learn a distribution of cost functions, enabling robots to identify and adapt to diverse individual behaviors in real-time.
The PIRL Framework
The proposed framework addresses the "curse of dimensionality" in continuous-domain IRL by separating the problem into two distinct stages: offline learning of behavior distributions and online inference for specific agents.
1. Offline Learning
The system first maps a large corpus of human demonstrations into a high-dimensional feature space (e.g., velocity, acceleration, jerk). The core insight is that feature similarity implies incentive similarity: drivers who move similarly likely share similar underlying goals. The framework builds a prior distribution over these features using two methods:
- Gaussian Mixture Models (GMM): A parametric approach that clusters trajectories into $k$ distinct driving "styles."
- k-Nearest Neighbors (k-NN): A non-parametric approach that treats every demonstration as a potential reference, providing a more granular representation of behavior.
For each identified cluster or individual demonstration, the system applies continuous-domain IRL to recover the specific weights ($\theta$) of the cost function associated with that behavior.
2. Online Inference
When the autonomous vehicle encounters a new human driver, it observes a brief segment of their trajectory. By calculating the features of this segment and querying the learned offline distribution, the system identifies the most likely cost function for that specific individual. Finally, it employs Model Predictive Control (MPC) to predict the human's future movements based on their inferred personal driving style.
Experimental Evaluation
The framework was rigorously tested on both synthetic and real-world data:
- Synthetic Data: 2,000 trajectories were generated using a Linear Quadratic Regulator (LQR) with two distinct "personalities" to verify if the model could decouple mixed behaviors.
- INTERACTION Dataset: Real-world vehicle motions from roundabouts in Germany and the USA were used to test the model's performance in complex, unlabelled environments.
Key Results
- Superior Prediction Accuracy: In synthetic tests, PIRL-kNN achieved a Mean Euclidean Distance (MED) error of 3.2e-3m, an order of magnitude better than the 5.6e-2m error produced by TIRL. On the real-world INTERACTION dataset, PIRL-kNN (MED: 6.46m) significantly outperformed TIRL (MED: 9.91m).
- Interpretability: A user study confirmed that the driving styles extracted by the GMM were human-interpretable. Participants watching videos of the trajectories correctly identified styles such as "prioritizing velocity tracking" with 76-80% agreement.
- Robustness: The authors found that while a small $k$ is ideal for capturing distinct styles in clean data, a larger $k$ in k-NN acts as a regularizer in noisy real-world settings, helping to smooth out measurement errors.
Conclusion and Future Work
By moving from a single "average" reward to a probabilistic distribution of rewards, the PIRL framework allows autonomous systems to better understand and predict the rich diversity of human behavior. While currently limited to linear cost functions and independent agents, future work will explore automated feature discovery and multi-agent interaction dynamics, where drivers' incentives may shift in response to others.
Summary updated