TL;DR
Traditional autonomous vehicle (AV) prediction models treat every agent on the road as equally important, but a jaywalker in your path is far more critical than a pedestrian on the sidewalk behind you. This paper introduces Control-Aware Prediction Objectives (CAPOs), which weight trajectory prediction errors based on their impact on downstream driving decisions, significantly reducing collisions without requiring a fully differentiable software stack.
What Problem Does This Paper Address?
Most AV software uses a modular "perception $\rightarrow$ prediction $\rightarrow$ planning" pipeline. While this is great for interpretability, it creates an objective mismatch. Prediction modules are typically trained to minimize average displacement error (ADE) or maximize the likelihood of all observed trajectories.
However, in the real world, not all prediction errors are equal. A model might achieve a low average error by perfectly predicting 99 "easy" agents while failing on one safety-critical interaction. The authors argue that prediction models should be "aware" of the planner's needs, prioritizing accuracy for agents that actually influence the vehicle's control.
Methods
The authors propose two novel ways to calculate importance weights for the prediction loss function (specifically weighting the Negative Log Likelihood):
- Attention-based CAPO: This uses a multi-head attention mechanism within a GRU encoder-decoder architecture. The ego-vehicle "attends" to other agents. The learned attention weights serve as a proxy for how much each agent influences the ego-vehicle's planned path.
- Counterfactual Action-Discrepancy CAPO: This is a more direct, "what-if" approach. For each agent in a scene, the system calculates how much the ego-vehicle's control output would change if that agent's ground-truth trajectory were replaced by a sampled prediction. If the control changes significantly, that agent is assigned a higher weight in the training loss.
A key advantage of these methods is that they only require forward passes of the planner. This makes them compatible with the complex, non-differentiable, rule-based planners often used in production AV systems, unlike previous methods that required backpropagation through the entire stack.
Datasets
The researchers evaluated their methods using the CARLA simulator (Town01). They designed a specific "Pedestrian Prediction Scenario" where an ego-vehicle drives down a suburban street populated with pedestrians. While most pedestrians stay on the sidewalk, some randomly decide to cross the road, creating sparse but high-stakes interactions that test the limits of standard prediction models.
Key Insights and Ideas
- Accuracy $\neq$ Safety: The most striking insight is that models with the lowest standard error (ADE) are not necessarily the safest. By focusing on "what matters" for control, CAPO models can have higher average error across all agents but much lower error on the agents that actually cause collisions.
- Planner as a Filter: The planner acts as a filter that determines which parts of the environment are relevant. CAPO effectively uses this filter to guide the learning process of the prediction module.
- Bridging the Modular vs. End-to-End Gap: CAPO offers a middle ground. It keeps the benefits of a modular pipeline (interpretability, safety checks) while gaining the task-alignment benefits usually associated with end-to-end training.
Key Results
The authors compared their CAPO methods against several baselines, including standard likelihood-based models (R2P2) and attention-based predictors.
- Safety: The Counterfactual CAPO (R2P2 Weight $\pi_k$) achieved a 99.0% success rate with only 1 collision over 100 test episodes. In contrast, the standard likelihood baseline had 11 collisions and an 89% success rate.
- Control Error: CAPO methods consistently resulted in lower "Control Error" (the difference between planned control using predicted vs. ground-truth trajectories), proving they successfully mitigate the downstream impact of prediction errors.
- Metric Trade-off: As predicted, the safest models often had worse ADE scores than the baselines, highlighting why ADE is an insufficient metric for evaluating AV safety.
Limitations and Future Work
- Expert Data Dependency: The current approach relies on data collected from an expert driver/planner. The authors suggest that incorporating sub-optimal data or a wider coverage of the state-space could further improve the models.
- Computational Cost: The counterfactual method requires multiple forward passes of the planner during training, which could become a bottleneck for very complex planning algorithms.
- Generalization: While successful in a jaywalking scenario, further research is needed to see how well these objectives generalize to more complex multi-agent urban environments with diverse vehicle types and traffic rules.
Summary updated