Scaling Motion Forecasting Models with Ensemble Distillation

Scott Ettinger, Kratarth Goel, Avikalp Srivastava, Rami Al-Rfou

Introduction

In autonomous driving, motion forecasting—predicting the future trajectories of surrounding agents—is critical for safe planning. While large model ensembles consistently deliver superior accuracy and robustness, their deployment is often prohibited by the strict real-time compute constraints of onboard hardware. This research addresses the gap between high-performance ensembles and efficient single-model deployment through a novel distillation framework.

Methodology: Ensemble Distillation for Trajectories

The core contribution is a pipeline designed to "distill" the collective knowledge of a large ensemble into a compact student model.

  1. Teacher Ensemble: An ensemble of $K$ independent "Wayformer" models is trained. Each model outputs a Gaussian Mixture Model (GMM) representing potential future trajectories.
  2. Aggregation via NMS: To reconcile the independent predictions of the teachers, the authors employ Non-Maximal Suppression (NMS). This step clusters and merges disparate modes into a single, coherent teacher distribution ($M_T$).
  3. Student Training: A lightweight student model is trained using a multi-objective loss. It learns from both ground-truth data ($\mathcal{L}_{gt}$) and the aggregated teacher distribution ($\mathcal{L}_{Distill}$).
  4. Softened Distributions: By applying a temperature parameter ($\tau=8$) to the teacher's output, the student is encouraged to learn from the full distribution, including critical "long-tail" scenarios.
The proposed ensemble distillation pipeline, where multiple teacher models are aggregated via NMS to train a student model.

Experimental Setup

The framework was evaluated on two industry-standard benchmarks:

  • Waymo Open Motion Dataset (WOMD): Featuring over 570 hours of real-world driving data.
  • Argoverse 2 Motion Forecasting Dataset: Focused on complex interactions in urban environments.

Results and Scaling Insights

The researchers observed that motion forecasting performance follows a log-linear scaling law relative to the number of ensemble members. Crucially, distillation allows a single model to capture these gains without the linear increase in compute.

Performance (soft-mAP) vs. computational cost (GFLOPs), showing the efficiency gains of the distilled student model compared to ensembles.

Key findings include:

  • Efficiency: The distilled student achieved performance parity with a 20-model ensemble while requiring 20x fewer FLOPs.
  • Generalization: The student model outperformed a baseline trained only on ground truth, suggesting the ensemble provides a richer supervisory signal that aids generalization.
  • Safety Metrics: Qualitative analysis showed the distilled model is significantly better at filtering out physically implausible trajectories compared to standard baselines.

Conclusion and Future Work

While highly effective, the performance of the distilled model is eventually bounded by the student's architectural capacity. Future research directions include exploring heterogeneous ensembles (mixing different architectures) and distilling into larger, more expressive student models to further close the performance gap with massive ensembles.

Summary updated

BibTeX
@inproceedings{ettinger2024scaling,
  author = {Scott Ettinger and Kratarth Goel and Avikalp Srivastava and Rami Al-Rfou},
  title = {{Scaling Motion Forecasting Models with Ensemble Distillation}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2024},
  doi = {10.1109/icra57147.2024.10611196},
}
Figure