[Paper Review] Golfer: Trajectory Prediction with Masked Goal Conditioning MnM Network
This paper proposes Golfer, a novel trajectory prediction model for autonomous vehicles using a Masked Goal Conditioning MnM (Mix and Match) network. By replacing standard attention with an efficient, pooling-based MnM block and employing hierarchical scene encoding with masked goal conditioning, Golfer achieves state-of-the-art performance, ranking 1st in minADE and 2nd in Soft mAP on the 2022 Waymo Open Dataset Motion Prediction Challenge.
Transformers have enabled breakthroughs in NLP and computer vision, and have recently began to show promising performance in trajectory prediction for Autonomous Vehicle (AV). How to efficiently model the interactive relationships between the ego agent and other road and dynamic objects remains challenging for the standard attention module. In this work we propose a general Transformer-like architectural module MnM network equipped with novel masked goal conditioning training procedures for AV trajectory prediction. The resulted model, named golfer, achieves state-of-the-art performance, winning the 2nd place in the 2022 Waymo Open Dataset Motion Prediction Challenge and ranked 1st place according to minADE.
Motivation & Objective
- To address the inefficiency of standard attention mechanisms in modeling ego-agent interactions with dynamic and road objects in trajectory prediction.
- To develop a more efficient and expressive alternative to self-attention in Transformers for autonomous vehicle motion prediction.
- To improve trajectory prediction performance through a hierarchical vector-based scene representation and masked goal conditioning.
- To achieve state-of-the-art results on the Waymo Open Dataset Motion Prediction Challenge using a novel, efficient architecture.
- To demonstrate that simple, pooling-based operations can match or exceed the performance of attention mechanisms in trajectory modeling.
Proposed method
- The core component is the MnM block, a generalization of attention that uses a Mix operation (e.g., max pooling) and a Match operation (e.g., concatenation or element-wise multiplication) to model interactions between tokens and a context vector.
- The MnM block operates on embedded sequences of agents and road objects, using binary masks to handle incomplete or partial inputs.
- A hierarchical scene encoding represents road polylines and agent trajectories as point sequences with context vectors, enabling multi-level feature extraction.
- Interaction modeling is performed via multi-headed MnM blocks that aggregate features from polylines and agent histories with ego-agent features using element-wise multiplication and max pooling.
- The encoder uses stacked MnM blocks to extract local, polyline-level, and scene-level features, producing a latent feature vector for the decoder.
- The decoder uses independent MLP branches to predict multiple future trajectories and their probabilities, with final outputs combined via weighted clustering (k-means) to produce the final prediction.
Experimental results
Research questions
- RQ1Can a pooling-based, attention-free architecture achieve competitive or better performance than standard Transformers in autonomous vehicle trajectory prediction?
- RQ2How effective is masked goal conditioning in improving trajectory prediction accuracy for heterogeneous agents in complex urban scenes?
- RQ3Does a hierarchical vector-based scene representation outperform rasterized or polyline-based representations in data efficiency and semantic expressiveness?
- RQ4Can a simple, efficient MnM block replace attention mechanisms without sacrificing predictive performance in motion forecasting?
- RQ5To what extent does ensemble modeling with clustering improve trajectory prediction robustness and accuracy?
Key findings
- Golfer achieved 1st place in minADE and 2nd place in Soft mAP on the 2022 Waymo Open Dataset Motion Prediction Challenge.
- The MnM block with max pooling as the Mix operation and concatenation as the Match operation achieved strong performance with significantly lower computational cost than standard attention.
- The hierarchical scene encoding enabled high data efficiency and preserved semantic context from road polylines and agent trajectories.
- Masked goal conditioning improved the model's ability to predict diverse, plausible future trajectories by conditioning on masked goal states.
- Ensemble prediction with k-means clustering of model outputs improved trajectory accuracy and robustness.
- The model demonstrated that simple, non-attention mechanisms can match or exceed the performance of attention-based Transformers in trajectory prediction tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.