[Paper Review] Trajformer: Trajectory Prediction with Local Self-Attentive Contexts for Autonomous Driving
Trajformer proposes a self-attention-based end-to-end model for multimodal trajectory prediction in autonomous driving, using localized, agent-centric context encoding to improve prediction accuracy and diversity. It achieves state-of-the-art performance on the Argoverse dataset with significant gains in minADE, minFDE, DAO, and DAC, while reducing model size by over 60% compared to prior methods.
Effective feature-extraction is critical to models' contextual understanding, particularly for applications to robotics and autonomous driving, such as multimodal trajectory prediction. However, state-of-the-art generative methods face limitations in representing the scene context, leading to predictions of inadmissible futures. We alleviate these limitations through the use of self-attention, which enables better control over representing the agent's social context; we propose a local feature-extraction pipeline that produces more salient information downstream, with improved parameter efficiency. We show improvements on standard metrics (minADE, minFDE, DAO, DAC) over various baselines on the Argoverse dataset. We release our code at: https://github.com/Manojbhat09/Trajformer
Motivation & Objective
- To address limitations in modeling agent-to-agent social context for multimodal trajectory prediction in autonomous driving.
- To improve prediction quality by enhancing feature representation of dynamic scene interactions through localized self-attention.
- To achieve better performance with reduced model size and higher parameter efficiency compared to state-of-the-art models.
- To generate more diverse, admissible, and socially plausible future trajectories by capturing local agent behaviors and etiquette.
- To validate the model on the Argoverse benchmark with comprehensive quantitative and qualitative evaluation.
Proposed method
- The model uses a transformer-based encoder with localized self-attention to extract salient features from nearby agents, focusing on immediate social context.
- It incorporates spatial priors via projected map croppings (inspired by Vision Transformers) to enhance scene-level awareness.
- The architecture integrates both scene-to-agent and agent-to-agent context through a unified self-attention backbone, avoiding separate encoders.
- Local neighborhood features are extracted using a fixed-size spatial window (16×16 pixels) around each agent, enabling efficient and focused attention.
- The model employs a single-stage, end-to-end training pipeline with Adam optimizer, learning rate warm-up, and decay on the Argoverse Tracking split.
- It uses a 1024-dimensional latent code and a single-layer projection head to map features to future trajectory predictions.
Experimental results
Research questions
- RQ1Can localized self-attention improve the modeling of dynamic social interactions in autonomous driving trajectory prediction?
- RQ2How does a unified self-attention backbone compare to separate encoders for scene and social context in trajectory forecasting?
- RQ3To what extent does Trajformer improve prediction diversity and admissibility compared to state-of-the-art models?
- RQ4Can a lightweight transformer-based model achieve better performance with significantly fewer parameters?
- RQ5What failure modes emerge when high-velocity agents are present, and how does context window size affect them?
Key findings
- Trajformer achieves new state-of-the-art performance on the Argoverse dataset, with minADE of 0.621 and minFDE of 0.719 on the best variant (Trajformer-24).
- The model improves DAO (28.21) and DAC (0.973) significantly over prior methods, indicating better diversity and admissibility of predicted trajectories.
- Trajformer-24 reduces model size to 2.9 MB and 192K parameters, a 58% reduction compared to DATF (4.7 MB, 462K parameters).
- The model successfully learns and enforces right-of-way rules at intersections, as shown in qualitative results where agents correctly yield.
- A key failure mode occurs with high-velocity agents, where predicted trajectory points are uniformly spaced at twice the normal distance, likely due to limited local context window size.
- The performance gap between Trajformer-12 and Trajformer-24 is minimal, indicating that 12 layers are sufficient for strong performance with lower complexity.
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.