TL;DR
ECTraj introduces an enhanced Consistency Model (CM) framework for multi-agent trajectory prediction that achieves high-quality, multi-modal future forecasting in a single inference step. By replacing slow, iterative diffusion models with a novel student-teacher consistency training scheme featuring ground-truth fusion, ECTraj delivers a 10x inference speedup while outperforming diffusion baselines on the large-scale Argoverse 2 dataset.
What Problem Does This Paper Address?
Predicting where vehicles and pedestrians will move next is a core challenge for autonomous driving. Because human intent is inherently uncertain, models must capture multiple plausible future outcomes (multi-modality) while ensuring trajectories remain physically and socially acceptable.
Recently, generative diffusion models have set new performance standards in this domain due to their ability to model complex, multi-modal distributions. However, they suffer from a major flaw: they are slow. Diffusion models generate data by iteratively removing noise over dozens or hundreds of sequential steps. Even accelerated variants require at least 10 steps, creating an inference latency bottleneck that makes them impractical for real-time deployment in safety-critical autonomous vehicles.
Consistency Models (CMs) emerged as a solution to enable single-step generation by learning a function that maps any point on a noise trajectory directly back to the clean data. Unfortunately, CMs are notoriously difficult to train from scratch, and the alternative—distilling them from pre-trained diffusion models—is blocked by a lack of high-quality, standardized diffusion baselines in the trajectory prediction space.
Methods
The authors propose ECTraj, a conditional Consistency Model trained entirely from scratch (Consistency Training) that operates on a compressed, 10-dimensional latent trajectory space. To overcome the training difficulties of standard CMs, ECTraj introduces two key innovations:
- Enhanced Consistency Objective (Ground-Truth Fusion): Standard consistency training uses a student-teacher paradigm where the student learns to match the teacher's denoised output. ECTraj improves this by explicitly fusing the teacher's predicted trajectory with actual ground-truth waypoints (specifically the midpoint and endpoint) in physical space before mapping it back to the latent space. This "teacher forcing" style modification provides anchored, high-quality supervision that stabilizes student learning.
- Multi-Shot Training (Best-of-K Loss): Because CMs map noise directly to trajectories in a single step, ECTraj can efficiently sample $K$ different future trajectories simultaneously during a single training forward pass. It then computes a "best-of-K" loss based on Average Displacement Error (ADE) for both networks.
The overall architecture and training pipeline are illustrated below:
Datasets
The model was trained and evaluated on two major autonomous driving datasets:
- Argoverse 2 Motion Forecasting Dataset: The primary benchmark used in the paper, consisting of large-scale, complex multi-agent driving scenarios.
- Waymo Open Motion Dataset: Used in the Appendix to demonstrate the dataset-independence and generalizability of the framework's speed and architecture.
Key Insights and Ideas
- Direct Denoising Unlocks Multi-Shot Training: Standard diffusion models predict the noise added to data, making it non-trivial to judge which noisy sample will yield the best final trajectory during early training steps. Because CMs predict the final trajectory directly, the authors could implement a true best-of-K loss during training, encouraging the model to learn distinct, diverse motion modes.
- Anchoring the Teacher Prevents Drift: Pure consistency training can suffer from the "blind leading the blind" if the teacher model makes inaccurate predictions early in training. Injecting just two ground-truth anchors (midpoint and endpoint) into the teacher's output strikes a perfect balance—giving the student high-quality guidance without making the optimization landscape too rigid to converge.
- Single-Step is Better Than Multi-Step for CMs: Counterintuitively, the authors found that single-step inference performed better than multi-step inference for trajectory prediction. They hypothesize that successive noise injection in lower-dimensional latent spaces excessively corrupts the samples, unlike in high-dimensional image generation.
Key Results
- 10x Inference Speedup: ECTraj requires only 1 Number of Function Evaluation (NFE), achieving a ten-fold speedup over its closest joint diffusion baseline, OptTrajDiff (which requires 10 steps).
- Minimal Computational Overhead: Denoising in ECTraj adds only a ~12% computational overhead to the base QCNet context encoder, compared to a staggering ~120% overhead added by OptTrajDiff.
- State-of-the-Art Accuracy: On Argoverse 2, ECTraj significantly outperformed OptTrajDiff across all standard metrics (e.g., Final Displacement Error $FDE_6$ dropped from 1.31 to 0.96) and achieved performance on par with top non-generative baselines like QCNeXt.
Limitations and Future Work
The primary limitation of ECTraj is its reliance on marginal priors generated by a pre-trained QCNet model to guide its conditional generation. Ablation studies confirmed that removing these priors degrades prediction accuracy.
To address this, the authors suggest that future work will focus on developing an end-to-end framework that either eliminates the need for external priors or generates them self-sufficiently. Additionally, the current model does not explicitly calculate confidence scores for joint agent predictions, which remains an open avenue for future exploration.
Summary updated