Skip to main content
QUICK REVIEW

[Paper Review] Wayformer: Motion Forecasting via Simple & Efficient Attention Networks

Nigamaa Nayakanti, Rami Al‐Rfou|arXiv (Cornell University)|Jul 12, 2022
Autonomous Vehicle Technology and SafetyEngineering6 citations
TL;DR

Wayformer proposes a simple, homogeneous attention-based architecture for motion forecasting that unifies multimodal inputs (e.g., agent trajectories, map structures, traffic lights) through early fusion in a single Transformer encoder, followed by a cross-attention decoder. It achieves state-of-the-art performance on both the Waymo Open Motion Dataset and Argoverse leaderboard with minimal architectural complexity and efficient computation via factorized or latent query attention.

ABSTRACT

Motion forecasting for autonomous driving is a challenging task because complex driving scenarios result in a heterogeneous mix of static and dynamic inputs. It is an open problem how best to represent and fuse information about road geometry, lane connectivity, time-varying traffic light state, and history of a dynamic set of agents and their interactions into an effective encoding. To model this diverse set of input features, many approaches proposed to design an equally complex system with a diverse set of modality specific modules. This results in systems that are difficult to scale, extend, or tune in rigorous ways to trade off quality and efficiency. In this paper, we present Wayformer, a family of attention based architectures for motion forecasting that are simple and homogeneous. Wayformer offers a compact model description consisting of an attention based scene encoder and a decoder. In the scene encoder we study the choice of early, late and hierarchical fusion of the input modalities. For each fusion type we explore strategies to tradeoff efficiency and quality via factorized attention or latent query attention. We show that early fusion, despite its simplicity of construction, is not only modality agnostic but also achieves state-of-the-art results on both Waymo Open MotionDataset (WOMD) and Argoverse leaderboards, demonstrating the effectiveness of our design philosophy

Motivation & Objective

  • To address the challenge of fusing heterogeneous multimodal inputs—such as agent trajectories, road geometry, and traffic light states—into a unified, scalable motion forecasting model.
  • To reduce architectural complexity by avoiding modality-specific encoders and instead using a homogeneous attention-based design.
  • To improve efficiency and quality trade-offs in motion forecasting through techniques like factorized attention and latent query attention.
  • To demonstrate that a minimal, modality-agnostic design can outperform complex, hand-engineered architectures in motion forecasting.

Proposed method

  • The model uses a self-attention encoder that fuses multiple input modalities (agent history, map, traffic lights, interactions) early in the processing pipeline.
  • Three fusion strategies are explored: early fusion (all modalities concatenated before attention), late fusion (modality-specific encoders followed by late concatenation), and hierarchical fusion (modality-specific encoders with intermediate fusion).
  • Factorized attention is applied by attending separately over spatial and temporal dimensions to reduce computational cost.
  • Latent query attention is used to decouple the number of queries from input sequence length, enabling efficient inference with fixed-resolution output.
  • A cross-attention decoder generates diverse, multimodal future trajectory distributions by attending to the encoded scene representation.
  • The entire architecture is trained end-to-end with a multimodal trajectory prediction head that models diverse future outcomes.

Experimental results

Research questions

  • RQ1Can a simple, homogeneous attention-based architecture outperform complex, modality-specific designs in motion forecasting?
  • RQ2Does early fusion of multimodal inputs lead to better performance and efficiency compared to late or hierarchical fusion?
  • RQ3How effective are factorized and latent query attention mechanisms in reducing computational cost without sacrificing accuracy?
  • RQ4Can a modality-agnostic design achieve state-of-the-art results across diverse benchmarks like Waymo and Argoverse?
  • RQ5To what extent do simplifying assumptions (e.g., independent agent modeling) limit performance in interactive driving scenarios?

Key findings

  • Wayformer achieves state-of-the-art performance on the Waymo Open Motion Dataset (WOMD), outperforming prior methods with a simpler architecture.
  • The model achieves state-of-the-art results on the Argoverse motion forecasting leaderboard, demonstrating strong generalization across benchmarks.
  • Early fusion of all input modalities yields the best performance, indicating that early integration preserves richer contextual information.
  • Factorized attention and latent query attention significantly reduce inference latency while maintaining high accuracy, enabling real-time deployment.
  • The model’s performance is robust across diverse driving scenarios, including complex urban environments with high agent density.
  • The ablation study confirms that modality-agnostic design with minimal architectural assumptions leads to superior efficiency-quality trade-offs.

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.