Three Steps to Multimodal Trajectory Prediction: Modality Clustering, Classification and Synthesis

Jianhua Sun, Yuxuan Li, Haoshu Fang, Cewu Lu

TL;DR

PCCSNet introduces a robust three-step pipeline—modality clustering, classification, and synthesis—to tackle the challenge of predicting multiple plausible future trajectories for agents like pedestrians. By learning behavior modalities directly from deep features rather than using hand-crafted anchors, the model provides deterministic, fine-grained, and probabilistic predictions that significantly outperform existing state-of-the-art methods on standard benchmarks.

What Problem Does This Paper Address?

Predicting where a person or vehicle will go is inherently "multimodal"—there is rarely just one correct answer. A pedestrian at a crosswalk might turn left, go straight, or stop.

Existing frameworks generally fall into three camps, each with a catch:

  1. Regression/Generation: These often rely on randomness to produce multiple outputs. This makes them non-deterministic; the same input might yield different (and potentially unsafe) results each time it's run. They also frequently lack a way to "score" how likely each predicted path is.
  2. Classification: These classify an observation into predefined "anchor" trajectories. While deterministic and probabilistic, these anchors are usually hand-crafted and too coarse to capture fine-grained, realistic motions.

The authors argue that for safety-critical systems like autonomous vehicles, we need a system that is both probabilistic (knowing which path is most likely) and deterministic (consistent results for the same input).

Figure 1. Examples of why probability and determinacy of a pre- diction algorithm is important, where (a) illustrates a confusing case without probabilistic predictions and (b) illustrates a safety hazard of stochastic predictions. In figure (b), the red path should always be predicted for safety purposes. A detailed discussion is in Sec. 2.

Methods

The authors propose PCCSNet (Prediction via modality Clustering, Classification and Synthesis), which breaks the task into three modular steps:

  1. Modality Clustering: Instead of manual anchors, the model uses BiLSTM encoders to transform historical and future trajectories into deep feature representations. It then applies K-means clustering to these features to discover natural "modalities" (e.g., "fast left turn," "slow straight walk") directly from the data.
  2. Modality Classification: A classifier scores the likelihood of each learned modality based on the observed history. To ensure the model recognizes that multiple futures are possible, the authors introduce a Modality Loss. This uses a statistical approach to find "neighboring" paths in the training data to create soft, diverse pseudo-labels.
  3. Modality Synthesis: Finally, a synthesis module takes the historical path and the chosen modality representation to regress a specific, fine-grained future trajectory. This ensures that even if two inputs belong to the same broad "class," their predicted paths will be tailored to their specific historical motion.
Figure 2. Overview of our proposed prediction pipeline. The arrows in yellow are only present in training, when both historical and future representations are concatenated and clustered for future usage. At test time, historical representations are fed into a classifier to score different modalities. The modality representations are then processed with the historical representations to synthesize multimodal predictions.

Datasets

The model was evaluated on two major trajectory prediction benchmarks:

  • ETH/UCY: A standard pedestrian dataset consisting of five sub-datasets (ETH, HOTEL, UNIV, ZARA1, and ZARA2).
  • Stanford Drone Dataset (SDD): A large-scale dataset featuring various agents (pedestrians, bikers, cars) recorded from a bird's-eye view.

Key Insights and Ideas

  • Deep Features over Coordinates: Clustering in a high-dimensional feature space captures complex behaviors far better than simple coordinate-based clustering.
  • The Best of Both Worlds: By combining classification (which provides probabilities) with a synthesis regression step (which provides fine-grained detail), the model achieves the determinism of classification models without sacrificing the accuracy of regression models.
  • Minimalist Power: Remarkably, PCCSNet achieves state-of-the-art results using only historical trajectory data. It does not require the complex social interaction maps or scene rasters that many competing models rely on, making it highly generalizable.
  • Modality Loss for Diversity: Traditional classification forces a "one-hot" truth. The proposed Modality Loss encourages the model to spread probability across multiple reasonable futures by looking at similar historical trajectories in the training set.

Key Results

PCCSNet demonstrates significant quantitative gains over previous leaders like STAR and PECNet:

  • ETH/UCY: Achieved a 19.2% improvement in Average Displacement Error (ADE) and a 20.8% improvement in Final Displacement Error (FDE) compared to the STAR model.
  • SDD: Showed a 13.5% improvement in ADE over PECNet.
  • Qualitative Superiority: The model is notably better at capturing sharp turns and sudden accelerations where other models tend to "average out" the motion or predict incorrect directions.
Figure 3. A schematic on how to estimate other reasonable modal- ities (in blue) for a target path (in red).

Limitations and Future Work

  • ADE vs. FDE Trade-off: The authors note that their method is "ADE-prioritized." While it wins significantly on average error, some models specifically optimized for final destination (like PECNet) may still hold a slight edge in FDE on specific subsets.
  • Context Integration: While the model performs excellently without social or map information, the authors acknowledge that incorporating these features into their modular encoders could further boost performance in complex, crowded environments.
  • Hyperparameter Sensitivity: The Modality Loss relies on specific thresholds for speed and direction differences, which may require tuning when moving to significantly different types of datasets (e.g., high-speed highway traffic vs. slow sidewalk pedestrians).

Summary updated

BibTeX
@misc{sun2021three,
  author = {Jianhua Sun and Yuxuan Li and Haoshu Fang and Cewu Lu},
  title = {{Three Steps to Multimodal Trajectory Prediction: Modality Clustering, Classification and Synthesis}},
  year = {2021},
  eprint = {2103.07854},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.07854},
}
Figure