Learning to Evaluate Perception Models Using Planner-Centric Metrics

Jonah Philion, Amlan Kar, Sanja Fidler

Introduction

Standard evaluation metrics in computer vision, such as mean Average Precision (mAP), treat all detection errors with equal weight. In the context of autonomous driving, however, this task-agnostic approach is fundamentally flawed. Missing a pedestrian directly in the vehicle's path is a catastrophic failure, whereas missing a parked car on a distant side street has a negligible impact on safety. This paper addresses the disconnect between perception performance and downstream driving safety by introducing Planning KL-Divergence (PKL), a metric that evaluates perception systems based on their influence on the vehicle's planned trajectory.

The PKL Metric: Bridging Perception and Planning

The core innovation of this work is the shift from geometric error measurement to functional impact assessment. Instead of calculating distances between bounding boxes, PKL measures how much a perception error alters the "intent" of the autonomous agent.

Comparison of Ground Truth and Predicted detections in a driving scene. The PKL metric quantifies the divergence between trajectories planned using these two different inputs.

The metric is derived using a neural planner—a convolutional neural network (CNN) trained to predict a probability distribution of future trajectories. For any given scene, the planner generates two distributions:

  1. Ground Truth Plan: A trajectory distribution based on perfect object detections.
  2. Predicted Plan: A trajectory distribution based on the output of the perception model under evaluation.

PKL is defined as the Kullback-Leibler (KL) divergence between these two distributions. A low PKL score indicates that the perception model's errors were inconsequential to the driving task, while a high score flags errors that would likely lead to dangerous or erratic maneuvers.

Methodology and Dataset

The researchers utilized the nuScenes dataset, which provides a comprehensive suite of sensor data (LIDAR, RADAR, cameras) and over 1.4 million object labels across 1,000 scenes in Boston and Singapore. The neural planner was trained to predict trajectories over a short time horizon (2 seconds), achieving a Top 5 accuracy of 37.41% and an L2 distance of 1.27m from ground truth paths. While not a production-grade planner, it provides a stable and representative signal for comparative model evaluation.

Key Insights

The PKL metric exhibits several desirable properties that emerge naturally from its design:

  • Spatial and Temporal Prioritization: PKL inherently weights objects that are closer, moving faster, or directly in the ego-vehicle's path more heavily. These properties emerge because the planner learns they are the strongest signals for future trajectory prediction.
  • Sensitivity to Orientation: Unlike standard metrics that may overlook slight heading errors, PKL penalizes orientation mistakes because they significantly alter the predicted future states of other agents, thereby impacting the ego-vehicle's plan.
  • Localized Safety Analysis: By providing a frame-by-frame score, PKL allows developers to identify specific "worst-case" scenarios where a model fails critically, even if its overall average performance is high.

Results and Validation

To validate the metric's alignment with human intuition, the authors conducted a study using Amazon Mechanical Turk. When presented with scenarios where standard metrics (like the nuScenes Detection Score) and PKL disagreed on which of two models was "better," human evaluators agreed with the PKL ranking 79% of the time. This suggests that PKL is a much more effective proxy for perceived driving safety than traditional benchmarks.

Furthermore, the metric demonstrated high robustness when tested against synthetic noise models, showing a consistent correlation between increased translation/orientation errors and higher PKL scores.

Conclusion and Future Work

The introduction of PKL represents a significant step toward "task-aware" evaluation in autonomous systems. By grounding perception metrics in the downstream task of planning, researchers can better optimize models for real-world safety rather than arbitrary geometric benchmarks.

Future research may extend this framework to other perception tasks, such as lane detection or semantic segmentation, and explore the integration of reactive agent models to better simulate complex, interactive driving environments where other vehicles respond to the ego-vehicle's actions.

Summary updated

BibTeX
@inproceedings{philion2020learning,
  author = {Jonah Philion and Amlan Kar and Sanja Fidler},
  title = {{Learning to Evaluate Perception Models Using Planner-Centric Metrics}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.01407},
}
Figure