Closed-Loop Supervised Fine-Tuning of Tokenized Traffic Models

Zhejun Zhang, Peter Karkus, Maximilian Igl, Wenhao Ding, Yuxiao Chen +2 more
12/5/2024
cs.LG

Official code: NVlabs/catk (186 stars, last commit 2025-04-04).

Abstract

Traffic simulation aims to learn a policy for traffic agents that, when unrolled in closed-loop, faithfully recovers the joint distribution of trajectories observed in the real world. Inspired by large language models, tokenized multi-agent policies have recently become the state-of-the-art in traffic simulation. However, they are typically trained through open-loop behavior cloning, and thus suffer from covariate shift when executed in closed-loop during simulation. In this work, we present Closest Among Top-K (CAT-K) rollouts, a simple yet effective closed-loop fine-tuning strategy to mitigate covariate shift. CAT-K fine-tuning only requires existing trajectory data, without reinforcement learning or generative adversarial imitation. Concretely, CAT-K fine-tuning enables a small 7M-parameter tokenized traffic simulation policy to outperform a 102M-parameter model from the same model family, achieving the top spot on the Waymo Sim Agent Challenge leaderboard at the time of submission. The code is available at https://github.com/NVlabs/catk.

View on arXivView PDF

Code Implementations(1)

NVlabs/catkOfficial100%

Closed-Loop Supervised Fine-Tuning of Tokenized Traffic Models. CVPR Oral 2025.

18624Shell, PythonDec 4, 20241 years agoNOASSERTION
autonomous-drivingcvpr2025imitation-learningnext-token-predictionsupervised-finetuning+2 more

Similar Papers

Cite this paper

@article{zhang2024closedloop,
  title  = {Closed-Loop Supervised Fine-Tuning of Tokenized Traffic Models},
  author = {Zhejun Zhang and Peter Karkus and Maximilian Igl and Wenhao Ding and Yuxiao Chen and Boris Ivanovic and Marco Pavone},
  year   = {2024},
  eprint = {2412.05334},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.05334v2},
  journal = {CVPR 2024 2024}
}

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/2412.05334.svg)](https://codeofpaper.com/paper/2412.05334)

Discussion