Home

Awesome

TrafficBots

<p align="center"> <img src="docs/trafficbots_banner.jpg" alt="TrafficBots for realistic behavior simulation.", width=600px> <br/>TrafficBots, a multi-agent policy that generates realistic behaviors for bot agents by learning from real-world data. </p>

TrafficBots: Towards World Models for Autonomous Driving Simulation and Motion Prediction
Zhejun Zhang, Alexander Liniger, Dengxin Dai, Fisher Yu and Luc Van Gool.<br/>

ICRA 2023<br/> Project Website with Videos<br/> arXiv Paper

@inproceedings{zhang2023trafficbots,
  title     = {{TrafficBots}: Towards World Models for Autonomous Driving Simulation and Motion Prediction},
  author    = {Zhang, Zhejun and Liniger, Alexander and Dai, Dengxin and Yu, Fisher and Van Gool, Luc},
  booktitle = {International Conference on Robotics and Automation (ICRA)},
  year = {2023}
}

Setup Environment

Prepare Datasets

Training, Validation and Testing

Please refer to bash/train.sh for the training.

Once the training converges, you can use the saved checkpoints (WandB artifacts) to do validation and testing, please refer to bash/submission.sh for more details.

Once the validation/testing is finished, download the file womd_joint_future_pred_K6.tar.gz from WandB and submit to the Waymo Motion Prediction Leaderboard.

Performance

Due to code refactoring, the performance now is slightly different than the numbers reported in the original paper.

WOMD testSoft mAPmAPMin ADEMin FDEMiss RateOverlap Rate
ICRA paper0.2190.2121.3133.1020.3440.145
Refactored0.1990.1921.3193.0460.3800.157

The refactored version is less diverse than the original version, hence the higher miss rate and the lower (soft) mAP. Since anyway the performance of TrafficBots is really poor on the Waymo Open Motion Prediction leaderboard, please do not spend too many efforts on improving it by tweaking the hyper-parameters or the architectures. Nevertheless, if you find any bugs, please inform us by raising a GitHub issue.

There are mainly two reasons for the poor performance of TrafficBots compared to the motion prediction methods. Firstly, to ensure scalability and efficiency TrafficBots uses the scene-centric representation, which is known to suffer from poor performance. Secondly, training a closed-loop policy such as TrafficBots is always more difficult than training open-loop models. Recently, we present a new network architecture called HPTR that addresses the first problem. In fact, the repository is refactored because of HPTR and the new Waymo Sim Agents Challenge. We are working on the second problem and the sim agent challenge. Stay tuned and wait for our new publications!

Ablation Models

Please refer to docs/ablation_models.md for the configurations of ablation models.

Specifically you can find the SimNet and TrafficSim based on our backbone. You can also try out different positional encodings for the encoder, as well as different configurations for goal/destination, personality, and training strategies of the world model.

License

This software is made available for non-commercial use under a creative commons license. You can find a summary of the license here.

Acknowledgement

This work is funded by Toyota Motor Europe via the research project TRACE-Zurich (Toyota Research on Automated Cars Europe).