Social-Implicit: Rethinking Trajectory Prediction Evaluation and The Effectiveness of Implicit Maximum Likelihood Estimation

Abduallah A. Mohamed, Deyao Zhu, Warren Vu, Mohamed Elhoseiny, Christian G. Claudel

Abstract

Best-of-N (BoN) Average Displacement Error (ADE)/ Final Displacement Error (FDE) is the most used metric for evaluating trajectory prediction models. Yet, the BoN does not quantify the whole generated samples, resulting in an incomplete view of the model’s prediction quality and performance. We propose a new metric, Average Mahalanobis Distance (AMD) to tackle this issue. AMD is a metric that quantifies how close the whole generated samples are to the ground truth. We also introduce the Average Maximum Eigenvalue (AMV) metric that quantifies the overall spread of the predictions. Our metrics are validated empirically by showing that the ADE/FDE is not sensitive to distribution shifts, giving a biased sense of accuracy, unlike the AMD/AMV metrics. We introduce the usage of Implicit Maximum Likelihood Estimation (IMLE) as a replacement for traditional generative models to train our model, Social-Implicit. Social-Implicit is a memory efficient deep model with only 5.8K parameters that runs in real time of 580 Hz and achieves competitive results.

Introduction: The "Best-of-N" Trap

In trajectory forecasting, models typically generate multiple possible futures to account for human uncertainty. The industry standard for evaluation is the Best-of-N (BoN) metric, where $N$ samples (usually 20) are generated, and error is calculated only for the single sample closest to the ground truth.

This approach identifies a major flaw: a model could produce numerous dangerous or nonsensical trajectories and one "lucky" outlier near the ground truth, yet still receive a perfect score. This creates a biased sense of accuracy and ignores the overall quality of the predicted distribution. Furthermore, current state-of-the-art (SOTA) models often compete over 1cm improvements in ADE—a distance so small it may be indistinguishable from annotation noise.

Proposed Metrics: AMD and AMV

To address these limitations, the authors propose two new metrics designed to measure distribution accuracy and spread:

  1. Average Mahalanobis Distance (AMD): Instead of evaluating a single sample, this metric fits the generated samples to a Gaussian Mixture Model (GMM) and measures the distance of the ground truth from the predicted distribution in terms of standard deviations.
  2. Average Maximum Eigenvalue (AMV): This measures the "spread" or uncertainty of the predictions. A robust model should ideally exhibit low AMD (high accuracy) and low AMV (tight, certain spread).
A well-calibrated prediction distribution where the generated samples are tightly clustered around the ground truth trajectory.

The Social-Implicit Model

The paper introduces Social-Implicit, a hyper-efficient model leveraging Implicit Maximum Likelihood Estimation (IMLE). Unlike GANs or VAEs, IMLE ensures that for every ground truth trajectory, there is at least one nearby predicted sample, effectively preventing mode collapse.

The architecture utilizes Social-Zones to cluster agents by speed, preventing stationary pedestrians from biasing the model. The core is a Social-Cell, a lightweight 4-layer CNN-based architecture that replaces computationally heavy Transformers or RNNs.

Sensitivity Analysis

A critical contribution of this work is the "sensitivity test." The authors shifted predicted distributions by 10cm to see how metrics responded. While standard ADE/FDE metrics remained nearly stagnant, the proposed AMD and AMV metrics changed significantly, proving they are far more sensitive to distribution shifts critical for safety.

Sensitivity test results across multiple models. AMD (bright green) and AMV (dark green) show significant increases when distributions are shifted by 10cm, while ADE (red) and FDE (maroon) show minimal change.

Key Results and Efficiency

  • Extreme Efficiency: Social-Implicit contains only 5.8K parameters, making it roughly 55x smaller than competitors like ExpertTraj.
  • Real-Time Performance: The model operates at 580Hz, approximately 8.5x faster than other SOTA models.
  • Superior Calibration: While some models may achieve slightly lower ADE, Social-Implicit provides a more reliable set of predictions, evidenced by lower combined AMD/AMV scores (0.90 vs 1.01+ for Trajectron++).

Conclusion

Social-Implicit demonstrates that by rethinking evaluation metrics and adopting smarter training objectives like IMLE, it is possible to build trajectory prediction models that are both more reliable and orders of magnitude more efficient than current heavy-weight architectures.

Summary updated

BibTeX
@inproceedings{mohamed2022social,
  author = {Abduallah A. Mohamed and Deyao Zhu and Warren Vu and Mohamed Elhoseiny and Christian G. Claudel},
  title = {{Social-Implicit: Rethinking Trajectory Prediction Evaluation and The Effectiveness of Implicit Maximum Likelihood Estimation}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  url = {https://openreview.net/forum?id=kMPTLIWEFR},
}
Figure