Enhancing Trajectory Prediction through Self-Supervised Waypoint Distortion Prediction

Pranav singh chib, Pravendra Singh

This paper, presented at ICML 2024, introduces a clever self-supervised learning strategy to make trajectory prediction models more accurate and significantly more robust. By forcing models to "undo" spatial noise during training, the authors achieve state-of-the-art results across several major benchmarks.

TL;DR

The authors propose SSWDP (Self-Supervised Waypoint Distortion Prediction), a "plug-and-play" training module that improves trajectory forecasting by tasking models with predicting the spatial noise added to input paths. This approach boosts the performance of existing models by up to 38% and makes them remarkably resilient to noisy, real-world data.

What Problem Does This Paper Address?

Predicting where an agent (like a pedestrian or a basketball player) will move next is a fundamental challenge for autonomous vehicles, robotics, and surveillance. The difficulty lies in the "indeterminate nature" of movement: agents don't just move in straight lines; they react to their environment and interact with other agents in complex, non-linear ways.

While deep learning models (like Transformers and GANs) have made strides, they often struggle to learn the underlying "spatio-temporal representations"—essentially the "grammar" of how agents move. Previous attempts to help models learn better through simple data augmentation (like flipping or masking trajectories) have yielded diminishing returns. The authors argue that models need a more challenging "pretext task" to truly understand the spatial structure of a path.

Methods

The core of the paper is the SSWDP framework, which consists of two main components added to a standard trajectory prediction pipeline:

SSWDP Architecture
  1. Clean and Distorted Views: For every observed past trajectory, the system creates two versions. The "Clean View" is the original data. The "Distorted View" is created by adding Gaussian noise (controlled by a noise factor $\omega$) to the spatial coordinates of the waypoints.
  2. Spatial Consistency Module: The model is trained to predict future trajectories from both views. A loss function ($L_{sup}$) forces these two predictions to be consistent with each other and the ground truth. This teaches the model that the "essence" of the path remains the same even if the input is slightly messy.
  3. Distortion Prediction Module (The Pretext Task): This is the novel contribution. The model is required to explicitly estimate the exact amount of noise (distortion) that was added to the input. By forcing the feature extractor to "see" the noise, it learns to better distinguish between the true underlying signal and random spatial fluctuations.

Crucially, this is a self-supervised task because the ground truth (the noise added) is generated by the system itself. At inference time, the distortion prediction branch is discarded, meaning there is zero computational overhead when the model is actually deployed.

Datasets

The researchers evaluated SSWDP on three diverse benchmarks:

  • NBA Sports VU: High-intensity player movement data where agent-agent interaction is constant.
  • TrajNet++: A synthetic benchmark specifically designed to test how well models handle complex social interactions.
  • ETH-UCY: The "gold standard" real-world pedestrian dataset, containing five different scenarios (ETH, HOTEL, UNIV, ZARA1, ZARA2).

Key Insights and Ideas

  • Noise as a Teacher: Instead of just trying to ignore noise, the model is forced to quantify it. This "pretext task" acts as a powerful regularizer, leading to much richer feature representations.
  • Plug-and-Play Compatibility: SSWDP isn't a standalone model; it's a training strategy. The authors successfully integrated it into four very different architectures: GroupNet (Generative/CVAE), Graph-TERN (Goal-oriented), SSAGCN (Graph-based), and AutoBot (Transformer-based).
  • Resilience to Corruption: One of the most striking findings is how well the model performs when the test data is distorted. While baseline models' performance tanked when faced with noisy inputs, SSWDP-trained models remained stable.

Key Results

The quantitative improvements are substantial:

Qualitative Comparison on NBA Dataset
  • NBA Dataset: Achieved a relative improvement of 22.7% in ADE (Average Displacement Error) and 38.9% in FDE (Final Displacement Error) over the GroupNet baseline.
  • TrajNet++: Improved the AutoBot baseline by 33.8% (ADE) and 36.4% (FDE).
  • ETH-UCY: Achieved state-of-the-art results across the board, with a relative gain of 16.6% / 23.2% in ADE/FDE compared to the SSAGCN baseline.
  • Noisy Environments: In scenarios where the input data was intentionally distorted during testing, SSWDP outperformed baselines by a staggering 76.8% / 82.5% on TrajNet++.

Limitations and Future Work

  • Hyperparameter Sensitivity: The performance is tied to the noise factor ($\omega$) and the loss weight ($\lambda$). The authors note that these values need to be tuned per dataset (e.g., the NBA dataset required a different noise scale than pedestrian datasets), which suggests a need for cross-validation.
  • Training Time: While inference is unaffected, training time increases by about 1.25x because the model must process two views of the data in parallel.
  • Future Directions: The paper focuses on 2D spatial coordinates. Extending this to 3D trajectories or incorporating semantic map information (like "where the sidewalk is") could be a promising next step.

Summary updated

BibTeX
@inproceedings{chib2024enhancing,
  author = {Pranav singh chib and Pravendra Singh},
  title = {{Enhancing Trajectory Prediction through Self-Supervised Waypoint Distortion Prediction}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=OQ7TlOphGX},
}
Figure