Skip to main content
QUICK REVIEW

[Paper Review] LatentFormer: Multi-Agent Transformer-Based Interaction Modeling and Trajectory Prediction

Elmira Amirloo, Amir Rasouli|arXiv (Cornell University)|Mar 3, 2022
Autonomous Vehicle Technology and SafetyEngineering13 citations
TL;DR

LatentFormer proposes a multi-agent trajectory prediction model using a hierarchical transformer architecture that jointly models interactions among agents by autoregressively attending to future states, while incorporating multi-resolution map encoding via a vision transformer. It achieves state-of-the-art performance on the nuScenes benchmark, improving trajectory metrics by up to 40% over prior methods.

ABSTRACT

Multi-agent trajectory prediction is a fundamental problem in autonomous driving. The key challenges in prediction are accurately anticipating the behavior of surrounding agents and understanding the scene context. To address these problems, we propose LatentFormer, a transformer-based model for predicting future vehicle trajectories. The proposed method leverages a novel technique for modeling interactions among dynamic objects in the scene. Contrary to many existing approaches which model cross-agent interactions during the observation time, our method additionally exploits the future states of the agents. This is accomplished using a hierarchical attention mechanism where the evolving states of the agents autoregressively control the contributions of past trajectories and scene encodings in the final prediction. Furthermore, we propose a multi-resolution map encoding scheme that relies on a vision transformer module to effectively capture both local and global scene context to guide the generation of more admissible future trajectories. We evaluate the proposed method on the nuScenes benchmark dataset and show that our approach achieves state-of-the-art performance and improves upon trajectory metrics by up to 40%. We further investigate the contributions of various components of the proposed technique via extensive ablation studies.

Motivation & Objective

  • To address the challenge of accurate, diverse, and admissible multi-agent trajectory prediction in autonomous driving.
  • To model dynamic interactions between agents not only from past trajectories but also by conditioning on predicted future states.
  • To enhance scene context understanding by fusing local and global map representations through a vision transformer-based multi-resolution encoding scheme.
  • To enable multi-modal prediction by inferring agent intentions via a CVAE framework grounded in past trajectories and map features.
  • To evaluate the trade-off between autoregressive and non-autoregressive inference for computational efficiency and prediction quality.

Proposed method

  • The model uses a hierarchical attention mechanism where predicted agent states serve as queries to update beliefs about past observations and scene context.
  • It introduces a novel interaction modeling module that autoregressively incorporates future state predictions to resolve conflicts and improve coherence.
  • A multi-resolution map encoding scheme extracts local and global map patches, which are processed via a vision transformer to reduce location invariance bias.
  • The map representation is dynamically aligned with agent states to model agent-environment interactions during decoding.
  • The model employs a Conditional Variational Autoencoder (CVAE) framework to infer discrete agent intentions, enabling multi-modal trajectory generation.
  • It supports both autoregressive and non-autoregressive decoding modes, with the latter enabling parallel inference for improved efficiency.

Experimental results

Research questions

  • RQ1Can modeling future agent states during decoding improve the coherence and accuracy of multi-agent trajectory predictions?
  • RQ2How does a vision transformer-based multi-resolution map encoding scheme compare to conventional CNN-based map encoders in capturing scene context?
  • RQ3To what extent does joint, rather than independent, prediction of all agents improve trajectory quality and diversity?
  • RQ4What is the trade-off between autoregressive and non-autoregressive inference in terms of prediction accuracy and computational efficiency?
  • RQ5How do individual components—interaction modeling, map encoding, and intention inference—contribute to the overall performance?

Key findings

  • LatentFormer achieves state-of-the-art performance on the nuScenes benchmark, reducing minADE by 0.38 and avgFDE by 1.81, representing up to a 40% improvement over baseline models.
  • The inclusion of both map encoding and interaction modeling modules leads to a significant performance boost, with the multi-resolution vision transformer map encoder improving metrics by up to 30%.
  • The autoregressive decoding mode outperforms the non-autoregressive variant, with minADE of 0.38 versus 0.42, though the latter enables faster parallel inference.
  • Ablation studies confirm that interaction modeling contributes substantially, improving avgFDE by 0.75 points compared to a model without interaction modeling.
  • The model successfully generates diverse, admissible trajectories that respect scene constraints and agent dynamics, as demonstrated in qualitative results across various driving scenarios.
  • The CVAE-based intention modeling enables effective multi-modal prediction, allowing the model to generate plausible alternative behaviors such as turning or proceeding straight at intersections.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.