FipTR: A Simple yet Effective Transformer Framework for Future Instance Prediction in Autonomous Driving

Xingtai Gui, Tengteng Huang, Haonan Shao, Haotian Yao, Chi Zhang

Introduction

In the realm of autonomous driving, safe navigation requires more than just perceiving the current environment; it necessitates predicting the future trajectories and occupancy of surrounding objects. This task is typically performed in a Bird’s Eye View (BEV) to facilitate downstream motion planning. However, existing state-of-the-art methods, such as FIERY and BEVerse, often rely on complex, multi-stage pipelines. These pipelines frequently predict intermediate representations like instance centerness and spatial offsets, which then require computationally heavy post-processing (e.g., clustering) to group pixels into distinct instances. Furthermore, tracking objects across frames is often handled as a separate, offline step. Such complexity can lead to error accumulation and degraded performance.

FipTR (Future Instance Prediction Transformer) addresses these challenges by introducing a streamlined, end-to-end framework. By leveraging a Transformer-based architecture and a novel "flow-aware" attention mechanism, FipTR eliminates the need for hand-crafted clustering and achieves superior temporal consistency in future instance prediction.

Methodology

FipTR simplifies the future instance prediction task through three primary innovations: Instance Query-based Decoding, a Flow-aware BEV Predictor, and a Global Future Instance Matching strategy.

The FipTR architecture, featuring the Temporal BEV Encoder, Flow-aware BEV Predictor, and Future Masks Decoder.

Instance Query-based Decoding

Inspired by the DETR (Detection Transformer) paradigm, FipTR utilizes a set of learnable "instance queries." These queries are vectors that represent potential objects in the scene. Instead of predicting heatmaps and then clustering, these queries directly estimate future occupancy masks and motion states across multiple future frames. This approach bypasses the need for auxiliary tasks like centerness estimation, making the pipeline more direct and elegant.

Flow-aware BEV Predictor

To predict future BEV features, FipTR employs a Flow-Aware Deformable Attention (FADA) module. Unlike standard attention mechanisms that may look at previous features without spatial context, FADA predicts a "backward flow" map. This map indicates where a specific grid cell was located in the previous frame. This flow then guides the Transformer's deformable attention, ensuring that features for moving objects are correctly warped and updated over time. This makes the temporal evolution of features physically interpretable.

Future Instance Matching

During training, FipTR employs a novel matching strategy to associate predicted queries with ground-truth objects. Rather than matching frame-by-frame, FipTR calculates a "multi-frame mask cost" across the entire future sequence simultaneously. This global temporal matching ensures that a single query consistently tracks the same object throughout the prediction window, significantly reducing "flickering" and improving long-term temporal coherence.

Experiments and Results

The authors evaluated FipTR on the nuScenes dataset, a large-scale benchmark for autonomous driving containing 1,000 scenes. The model takes one second of historical data and predicts the next two seconds of future states. Performance was measured using Intersection over Union (IoU) for segmentation and Future Video Panoptic Quality (VPQ) for instance-level tracking and prediction.

FipTR achieved state-of-the-art results, particularly in temporal consistency. On the VPQ metric, FipTR-S† reached a score of 39.5, significantly outperforming the previous state-of-the-art, BEVerse-S† (36.1). The model demonstrated robustness across different backbones (ResNet, Swin-Transformer) and encoders (BEVDet4D, BEVFormer). By removing complex post-processing, FipTR offers a more efficient and direct inference pipeline.

Conclusion

FipTR demonstrates that treating future instance prediction as a direct set-prediction problem can yield significant improvements in both simplicity and performance. By replacing heuristic-heavy pipelines with a unified Transformer architecture and flow-aware attention, FipTR achieves superior temporal consistency on the nuScenes benchmark. While the model currently benefits from an auxiliary box branch for training stability, future work may explore pure mask-based training and the integration of FipTR into closed-loop planning systems to further enhance autonomous driving safety.

Summary updated

BibTeX
@inproceedings{gui2024fiptr,
  author = {Xingtai Gui and Tengteng Huang and Haonan Shao and Haotian Yao and Chi Zhang},
  title = {{FipTR: A Simple yet Effective Transformer Framework for Future Instance Prediction in Autonomous Driving}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73021-4\_2},
}
Figure