TL;DR
This paper introduces the Lane Miss Rate (LMR), a novel metric for evaluating trajectory prediction models that accounts for road structure. Unlike traditional Euclidean metrics, LMR assesses predictions based on their proximity to the ground truth along the lane centerline, better capturing an agent's intent and improving evaluation in structured environments.
What Problem Does This Paper Address?
Predicting the future movement of vehicles and other agents is crucial for autonomous driving. To develop and compare different prediction models, we need reliable metrics. Current standard metrics, like Average Displacement Error (ADE) and Final Displacement Error (FDE), rely on Euclidean distance. While useful, these metrics treat all directions of error equally. This is problematic in structured environments like roads, where a lateral error might be far more critical than a longitudinal one – for instance, predicting a car to be in the oncoming lane is a much worse failure than being a few meters short on the current lane. Existing "Miss Rate" metrics also use Euclidean distance, failing to distinguish between these critical and less critical errors, potentially leading to misleading evaluations. The authors aim to bridge this gap by proposing a metric that better reflects the practical implications of prediction errors in the context of driving.
Methods
The core innovation is the Lane Miss Rate (LMR). Instead of just measuring the straight-line distance between predicted and ground-truth endpoints, LMR first assigns both the ground-truth and predicted endpoints to specific lane segments. This assignment considers not only the closest point on the lane centerline but also the orientation of the trajectory relative to the lane.
The LMR calculation proceeds as follows:
- Lane Assignment: Both the ground-truth trajectory's endpoint and each predicted trajectory's endpoint are mapped to the closest point on a lane segment's centerline. This assignment is confidence-weighted, considering both distance and orientation alignment.
- Thresholding: A velocity-dependent threshold (
Shit) is calculated. This threshold represents the maximum allowable distance along the lane centerline between the ground-truth and predicted endpoints for a prediction to be considered a "hit." - Miss/Hit Determination: If the distance along the lane segment between the assigned ground-truth point and a predicted point is less than
Shit, it's a hit (0); otherwise, it's a miss (1). For multi-modal predictions, the metric can be defined as a miss if any mode is a miss (similar to standard MR) or if all modes are misses. - Overall Metric: LMR is then the ratio of sequences that result in a miss, calculated for different numbers of predicted modes (e.g., LMR@1 for the best predicted mode, LMR@k for all k modes).
The authors also detail how they handle edge cases, such as when the ground truth cannot be assigned to a lane (falling back to Euclidean MR) or when a prediction cannot be assigned.
Datasets
The experiments were conducted on the Argoverse 2 Motion Forecasting Dataset. This dataset contains a large number of sequences, each including an HD map and tracked agent states over time. The task involves predicting the future trajectory of a focal agent given its past 5 seconds of motion. The authors note that they reimplemented existing models to work with Argoverse 2, adding timestep-wise one-hot encoding for agent classes.
Key Insights and Ideas
- Lane-centric evaluation is crucial: The paper strongly argues that simply measuring Euclidean distance is insufficient for evaluating trajectory prediction in driving scenarios. The road's structure fundamentally changes the criticality of prediction errors.
- Intent matters: LMR's focus on lane proximity implicitly captures the agent's intent. A prediction that stays within the correct lane, even if slightly off in Euclidean distance, might be considered a "hit" by LMR, reflecting that the agent is behaving as expected within the driving context.
- Asymmetrical error weighting: LMR effectively weights Euclidean errors asymmetrically. Lateral errors that push a prediction onto an adjacent or oncoming lane are penalized more heavily than longitudinal errors of the same Euclidean magnitude.
- Preserves relative model performance: While introducing a new perspective, LMR still generally preserves the relative performance order of different prediction models compared to Euclidean metrics, suggesting it's a complementary rather than entirely contradictory evaluation tool.
Key Results
- Quantitative: On the Argoverse 2 validation split, LMR generally shows similar trends to Euclidean Miss Rate (MR). For example, for the LaneGCN model, MR@1 was 71.14% and LMR@1 was 68.63%. However, the paper highlights that LMR can reveal subtle differences in model performance. For instance, the relative increase in misses from k=1 to k=6 was larger for HiVT (15.85% for MR) compared to LaneGCN (12.05% for LMR), suggesting LMR might better differentiate models in multi-modal prediction scenarios.
- Qualitative: Figure 2 provides compelling visual examples.
- Figure 2(a) shows sequences where LMR flags a miss (predictions are on the wrong lane), while Euclidean MR does not. This demonstrates LMR's ability to penalize critical lane-crossing errors.
- Figure 2(b) shows sequences where Euclidean MR flags a miss (predictions are outside the 2m radius), but LMR considers them hits because they are on the correct lane. This highlights LMR's focus on maintaining lane adherence.
Limitations and Future Work
- Limitations: The authors acknowledge that if a ground-truth trajectory cannot be assigned to a lane (e.g., it's off-road), they fall back to Euclidean MR. This means LMR's benefits are fully realized only when ground truth is within drivable lanes. The implementation is parallelized on a sequence level, but further optimization might be possible.
- Future Work: The authors suggest investigating the performance of trajectory prediction models that use lane-based losses (e.g., [22]) with LMR. They also propose exploring how encoders that incorporate information beyond just lane segments (e.g., [23]) might influence LMR results. They also mention that due to the lack of publicly available code for some advanced methods, a deeper investigation into those is beyond the scope of this paper.
Summary updated