SSL-Lanes: Self-Supervised Learning for Motion Forecasting in Autonomous Driving

Prarthana Bhattacharyya, Chengjie Huang, Krzysztof Czarnecki

Abstract

Self-supervised learning (SSL) is an emerging technique that has been successfully employed to train convolutional neural networks (CNNs) and graph neural networks (GNNs) for more transferable, generalizable, and robust representation learning. However its potential in motion forecasting for autonomous driving has rarely been explored. In this study, we report the first systematic exploration and assessment of incorporating self-supervision into motion forecasting. We first propose to investigate four novel self-supervised learning tasks for motion forecasting with theoretical rationale and quantitative and qualitative comparisons on the challenging large-scale Argoverse dataset. Secondly, we point out that our auxiliary SSL-based learning setup not only outperforms forecasting methods which use transformers, complicated fusion mechanisms and sophisticated online dense goal candidate optimization algorithms in terms of performance accuracy, but also has low inference time and architectural complexity. Lastly, we conduct several experiments to understand why SSL improves motion forecasting.

Introduction

Predicting the future trajectories of vehicles and pedestrians—motion forecasting—is a cornerstone of autonomous driving. This task is inherently difficult due to the "multimodal" nature of driving, where an agent's future intent (e.g., turning vs. going straight) is not always clear from past motion alone. While current state-of-the-art models utilize massive architectures like Transformers and complex optimization algorithms, they often suffer from high computational costs and slow inference speeds. SSL-Lanes addresses these challenges by introducing self-supervised learning (SSL) pretext tasks that improve model performance and generalization without increasing inference-time complexity.

Methodology

SSL-Lanes utilizes four domain-specific pretext tasks to extract additional signal from existing data during the training phase. These tasks are integrated into a standard vectorized baseline model consisting of an agent encoder, a map encoder, and an interaction modeling module.

Overview of the SSL-Lanes framework and the four proposed pretext tasks.

The four pretext tasks are:

  1. Lane Masking: Forces the model to reconstruct features of randomly hidden map lane nodes, encouraging the learning of local geometric road structures.
  2. Distance to Intersection: Requires the model to predict the shortest path distance from lane nodes to the nearest intersection, promoting an understanding of global map topology.
  3. Maneuver Classification: Uses unsupervised clustering to assign "pseudo-labels" (e.g., "turning right") to trajectories, which the model then learns to classify to better understand agent intent.
  4. Success/Failure Classification: Trains the model to predict if its own forecast will be within a 2-meter threshold of the ground truth, directly linking features to forecasting accuracy.

These auxiliary tasks are discarded after training, ensuring that the performance gains do not come at the cost of increased inference time.

Experimental Results

The model was evaluated on the Argoverse motion forecasting dataset. SSL-Lanes achieved state-of-the-art results, ranking #1 on the Argoverse Test leaderboard for $K=1$ metrics (minADE1, minFDE1, and MR1).

Performance comparison of SSL-Lanes against state-of-the-art methods across (a) Miss-Rate, (b) Model Parameters, and (c) Inference Time.

Key quantitative findings include:

  • Efficiency: SSL-Lanes maintains a lightweight architecture with only 1.84M parameters and a lightning-fast 3.3ms inference time, making it significantly faster than transformer-based competitors like Scene-Transformer.
  • Accuracy Gains: The Lane Masking task alone improved the Final Displacement Error (minFDE) by 8.9% and the Miss Rate (MR) by 20.3% compared to the baseline.
  • Robustness: SSL-trained models demonstrated superior performance in handling noisy data and complex maneuvers, such as turns at intersections, where standard supervised models often struggle.

Conclusion

SSL-Lanes demonstrates that self-supervised learning is a powerful tool for motion forecasting, enabling high-accuracy predictions with minimal architectural complexity. By leveraging "free" supervision from map and trajectory data, the model achieves superior generalization and real-time performance. Future work will explore automated loss weighting via meta-learning and extending the framework to explicitly model multi-agent social interactions.

Summary updated

BibTeX
@inproceedings{bhattacharyya2022ssl,
  author = {Prarthana Bhattacharyya and Chengjie Huang and Krzysztof Czarnecki},
  title = {{SSL-Lanes: Self-Supervised Learning for Motion Forecasting in Autonomous Driving}},
  booktitle = {Conference on Robot Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=fXMV2CEwNVo},
}
Figure