ECTraj: Enhanced Consistency Training for Multi-Agent Trajectory Prediction

Alen Mrdovic, Qingze, Liu, Danrui Li, Mathew Schwartz, Kaidong Hu, Sejong Yoon, Mubbasir Kapadia, Vladimir PavlovicarXiv 2026 · arXiv

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:

  1. 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.
  2. 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:

Fig. 1: Model Architecture and training scheme. (Left) The given historical trajectories and map information are encoded into a context latent vector. Then, the latent is processed by a consistency model and decoded to predicted future trajectories. (Middle) In the teacher-student training scheme of the consistency model, ECTraj samples K different Gaussian noises to produce K different future trajectories. Then the student model is updated using the distance between the best student latent prediction and the best teacher latent prediction. (Right) To enable better teacher guidance, the predicted teacher latent is enhanced by replacing some time steps with GT data in physical space.

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

Abstract

Diffusion models for multi-agent trajectory prediction are limited by iterative denoising, which causes inference latency that hinders their use in time-critical settings like autonomous driving. Fast-sampling variants using DDIM and informed initial noise distributions partially alleviate this issue, but they either fail to achieve true single-step generation or are constrained by the chosen noise distribution. Consistency Models (CMs) offer high-quality one-step generation by mapping noise directly to data, but are difficult to train from scratch. We propose ECTraj, an enhanced CM pipeline with improved training and conditional generation for trajectory prediction. Our framework extends the student-teacher consistency training scheme: the student produces standard outputs, while the teacher explicitly fuses its predictions with parts of the ground truth to give stronger supervision. We also exploit CMs' direct denoising for top-K multi-shot generation during training. Combining conditional generation with this enhanced consistency objective yields faster inference and improved prediction accuracy, establishing competitive new benchmarks on the large-scale Argoverse 2 dataset.
BibTeX
@misc{mrdovic2026ectraj,
  author = {Alen Mrdovic and Qingze and Liu and Danrui Li and Mathew Schwartz and Kaidong Hu and Sejong Yoon and Mubbasir Kapadia and Vladimir Pavlovic},
  title = {{ECTraj: Enhanced Consistency Training for Multi-Agent Trajectory Prediction}},
  year = {2026},
  eprint = {2605.08572},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.08572},
}

Loading related content...

Figure