Abstract
Current trajectory forecasting metrics, such as Average Displacement Error (ADE) and Final Displacement Error (FDE), are task-agnostic, treating all prediction errors of equal geometric magnitude as equivalent. However, in autonomous driving, the impact of a prediction error on downstream planning varies significantly based on context. This paper introduces a new class of planning-aware metrics that weight prediction errors by their influence on the ego-vehicle's motion plan. By utilizing Continuous Inverse Optimal Control (CIOC) to learn representative cost functions, the proposed PI-Metric (Planning-Informed) provides a differentiable, planner-agnostic benchmark that prioritizes safety-critical predictions.
Introduction: The Accuracy-Safety Gap
In autonomous vehicle (AV) stacks, trajectory forecasting serves as the critical "crystal ball" predicting the future movement of surrounding agents. Traditionally, these models are evaluated using geometric accuracy metrics like ADE. However, accuracy does not necessarily equate to safety.
Standard metrics treat a one-meter error in a harmless scenario (e.g., a car staying in its lane) identically to a one-meter error in a catastrophic scenario (e.g., a car swerving into the AV's path). Because prediction is a component of a larger autonomy system, its evaluation must account for downstream effects on the vehicle's motion planner.
Methodology: Planning-Aware Prediction Metrics
To address these limitations, the authors propose a framework for Planning-Aware Prediction Metrics. The goal is to create a metric that is "task-aware" without being tied to a specific proprietary planner. The framework consists of three main components:
- Learning a Cost Function: Using Continuous Inverse Optimal Control (CIOC), the authors learn a representative planning cost function from human driving data. This function defines what constitutes a "good" plan, such as maintaining distance from agents and reaching goals.
- Sensitivity Analysis: The metric calculates the gradient of the learned cost function with respect to the predicted positions of other agents. This sensitivity indicates how much a specific prediction error "upsets" the ego-vehicle's optimal plan.
- The PI-Metric (Planning-Informed): Standard metrics are weighted by this sensitivity. Errors in high-sensitivity areas (e.g., directly in the AV's path) are penalized more heavily than errors in low-sensitivity areas.
Experimental Setup
The framework was validated using human trajectory datasets (like nuScenes) to learn cost functions and a simulation environment using unicycle dynamics. Additionally, 64 rollouts from a pre-trained GA3C-CADRL policy were used to validate the proof-of-concept.
Key Results
The authors demonstrated the PI-Metric in a head-on collision scenario, comparing two predictions with identical raw displacement errors (ADE = 0.075, FDE = 0.15).
As shown in the results:
- Dangerous Prediction: A prediction that veered into the ego-vehicle's path received a high sensitivity score (0.90).
- Harmless Prediction: A prediction that veered away received a low sensitivity score (0.21).
- Outcome: The PI-Metric rated the dangerous prediction as 25% worse than the harmless one. Furthermore, when agents were distant and had no influence on the AV's plan, the PI-Metric correctly converged to match standard task-agnostic metrics.
Discussion and Future Work
A significant advantage of the PI-Metric is its differentiability. Because it relies on gradients, it can potentially be used as a loss function during training, incentivizing models to prioritize safety-critical predictions.
However, the authors note that this is a proof-of-concept. Future work includes scaling the framework to massive real-world datasets and exploring more complex, non-linear cost functions for intricate urban environments. Extending this "task-aware" philosophy to other modules, such as object detection and tracking, remains a key direction for ensuring end-to-end system safety.
Summary updated