MotionLM: Multi-Agent Motion Forecasting as Language Modeling

Ari Seff, Brian Cera, Dian Chen, Mason Ng, Aurick Zhou +4 more
2/14/2026

Official code: HorizonRobotics/GUMP (174 stars, Apache-2.0, last commit 2024-10-30).

Abstract

Reliable forecasting of the future behavior of road agents is a critical component to safe planning in autonomous vehicles. Here, we represent continuous trajectories as sequences of discrete motion tokens and cast multi-agent motion prediction as a language modeling task over this domain. Our model, MotionLM, provides several advantages: First, it does not require anchors or explicit latent variable optimization to learn multimodal distributions. Instead, we leverage a single standard language modeling objective, maximizing the average log probability over sequence tokens. Second, our approach bypasses post-hoc interaction heuristics where individual agent trajectory generation is conducted prior to interactive scoring. Instead, MotionLM produces joint distributions over interactive agent futures in a single autoregressive decoding process. In addition, the model’s sequential factorization enables temporally causal conditional rollouts. The proposed approach establishes new state-of-the-art performance for multi-agent motion prediction on the Waymo Open Motion Dataset, ranking 1st on the interactive challenge leaderboard.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Generative model for Unified Motion Planning tasks

17411Shell, PythonFeb 26, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{seff2026motionlm,
  title  = {MotionLM: Multi-Agent Motion Forecasting as Language Modeling},
  author = {Ari Seff and Brian Cera and Dian Chen and Mason Ng and Aurick Zhou and Nigamaa Nayakanti and Khaled S. Refaat and Rami Al-Rfou and Benjamin Sapp},
  year   = {2026},
  eprint = {2309.16534},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2309.16534},
  journal = {ICCV 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.16534.svg)](https://codeofpaper.com/paper/2309.16534)

Discussion