English

GPD-1: Generative Pre-training for Driving

Computer Vision and Pattern Recognition 2024-12-12 v1 Artificial Intelligence Machine Learning Robotics

Abstract

Modeling the evolutions of driving scenarios is important for the evaluation and decision-making of autonomous driving systems. Most existing methods focus on one aspect of scene evolution such as map generation, motion prediction, and trajectory planning. In this paper, we propose a unified Generative Pre-training for Driving (GPD-1) model to accomplish all these tasks altogether without additional fine-tuning. We represent each scene with ego, agent, and map tokens and formulate autonomous driving as a unified token generation problem. We adopt the autoregressive transformer architecture and use a scene-level attention mask to enable intra-scene bi-directional interactions. For the ego and agent tokens, we propose a hierarchical positional tokenizer to effectively encode both 2D positions and headings. For the map tokens, we train a map vector-quantized autoencoder to efficiently compress ego-centric semantic maps into discrete tokens. We pre-train our GPD-1 on the large-scale nuPlan dataset and conduct extensive experiments to evaluate its effectiveness. With different prompts, our GPD-1 successfully generalizes to various tasks without finetuning, including scene generation, traffic simulation, closed-loop simulation, map prediction, and motion planning. Code: https://github.com/wzzheng/GPD.

Keywords

Cite

@article{arxiv.2412.08643,
  title  = {GPD-1: Generative Pre-training for Driving},
  author = {Zixun Xie and Sicheng Zuo and Wenzhao Zheng and Yunpeng Zhang and Dalong Du and Jie Zhou and Jiwen Lu and Shanghang Zhang},
  journal= {arXiv preprint arXiv:2412.08643},
  year   = {2024}
}

Comments

Code is available at: https://github.com/wzzheng/GPD

R2 v1 2026-06-28T20:31:25.718Z