Multi-modal Transformer Path Prediction for Autonomous Vehicle

Chia Hong Tseng, Jie Zhang, Min-Te Sun, Kazuya Sakai, Wei-Shinn KuarXiv 2022 · DOI

Abstract

Accurate long-horizon trajectory prediction is a cornerstone of safe autonomous driving. This paper introduces Multi-modal Transformer Path Prediction (MTPP), a framework designed to forecast vehicle motion up to 6 seconds into the future. By moving away from computationally expensive rasterized maps in favor of vectorized lane data and utilizing a Transformer-based encoder-decoder architecture, MTPP effectively captures long-range dependencies. Key technical contributions include a directional lane filtering mechanism and a "lane stitching" technique to handle fragmented map data. Experimental results on the nuScenes dataset show that MTPP achieves superior long-term accuracy compared to the Trajectron++ baseline.

Introduction

Predicting a vehicle's future path is inherently challenging due to compounding errors over time. Most existing models perform adequately for short-term horizons (1–2 seconds) but degrade significantly as the horizon extends to 6 seconds. This "Long-Horizon Challenge" is often exacerbated by two factors: the use of top-down rasterized images that lack explicit flow information, and the reliance on sequential models like LSTMs which struggle with long-range temporal dependencies.

Furthermore, real-world datasets like nuScenes often provide lane information in short, 20-meter segments. At typical driving speeds, a 6-second trajectory requires approximately 80 meters of path data, creating a "Data Fragmentation" problem where the available map context is shorter than the required prediction length.

System Architecture

The MTPP framework utilizes a multi-stage pipeline that integrates sensor data with high-definition map inputs to generate control-ready trajectory predictions.

The MTPP system architecture integrates Lidar and Map inputs through a preprocessing pipeline into a Transformer-based prediction engine.

As shown in the architecture diagram, the system processes Lidar data for object detection and tracking while simultaneously ingesting map data. The core of the system is the Multimodal Trajectory Path Prediction block, which consists of:

  1. Data Preprocessing: Includes smoothing, augmentation, and specialized lane processing.
  2. Prediction Engine: A Transformer-based Encoder-Decoder. The encoder processes the agent's historical state, while the decoder generates the future trajectory in an auto-regressive manner, predicting each subsequent position based on previous outputs to maintain temporal consistency.

Vectorized Lane Processing

To provide the model with a physically plausible search space, MTPP uses vectorized lane center points rather than raw images. This approach preserves the "flow" of traffic and reduces computational overhead.

Directional Filtering and Selection

The model implements a 30° Rule: it calculates the agent's current heading and discards any lanes oriented more than 30° away from that heading. This prevents the model from considering impossible maneuvers. It then selects the three most relevant lanes (left, middle, and right) relative to the agent's position.

Lane Extension (Stitching)

To solve the fragmentation issue, MTPP employs a "stitching" algorithm. If a lane segment is too short for the 6-second horizon, the system mathematically extends the path by creating "virtual points" that follow the lane's geometry until a total length of approximately 80 meters is reached.

The lane processing stage involves masking irrelevant lanes and extending short segments using virtual points to provide sufficient context for long-term prediction.

Key Results

The model was evaluated on the nuScenes benchmark, comparing its performance against the popular Trajectron++ model.

  • Long-Term Superiority: At the 6-second mark, MTPP achieved an Average Displacement Error (ADE) of 1.77m and a Final Displacement Error (FDE) of 4.39m, outperforming Trajectron++ (ADE 1.79m, FDE 5.20m).
  • Ablation Insights: The inclusion of vectorized lane information was critical; removing the map data caused the 6-second FDE to degrade from 4.39m to 4.51m.
  • Model Trade-offs: While Trajectron++ showed slightly better performance at the 1-second mark due to its specialized physics-based unicycle model, MTPP’s Transformer architecture proved more robust for the long-term geometry-following required at 6 seconds.

Conclusion and Future Work

MTPP demonstrates that combining vectorized lane geometry with Transformer architectures provides a powerful solution for long-horizon trajectory forecasting. By filtering and stitching lane data, the model maintains physical plausibility over long distances. Future work will focus on addressing dataset limitations, such as missing lane labels in complex intersections, and incorporating additional agent features like turn signals to further refine prediction accuracy.

Summary updated

BibTeX
@misc{tseng2022multi,
  author = {Chia Hong Tseng and Jie Zhang and Min-Te Sun and Kazuya Sakai and Wei-Shinn Ku},
  title = {{Multi-modal Transformer Path Prediction for Autonomous Vehicle}},
  year = {2022},
  eprint = {2208.07256},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2208.07256},
}
Figure