This repository provides the code and experiments for IGDrivSim, a benchmark built on top of the Waymax simulator, designed to investigate the imitation gap in learning autonomous driving policies from human expert demonstrations.
📄 For more details, please refer to our paper: IGDrivSim: A Benchmark for the Imitation Gap in Autonomous Driving (IROS, 2025)
- Imitation Gap Study: Examines how discrepancies between human perception and self-driving sensors affect learning.
- Benchmark Tasks: Simulated driving tasks with full observability, noisy data, and restricted fields of view.
- Baselines: Includes evaluation of behavioral cloning and a combination of behavioral cloning with reinforcement learning (PPO) trained with Jax on Waymax.
-
Clone the repository:
git clone https://github.com/yourusername/IGDrivSim.git cd IGDrivSim -
Installation
a. Configure access to Waymo Open Motion Dataset
A simple way to configure access via command line is the following:
- Apply for Waymo Open Dataset access.
- Install gcloud CLI.
- Run the following commands:
gcloud auth login <your_email> # with the same email used for step 1. gcloud auth application-default login
b. Install Required Packages:
-
With Docker: Create a Docker image and build a container using the provided Dockerfile.
-
With pip:
cd docker pip install -r requirements.txt python -m pip install --upgrade "jax[cuda12_pip]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
Please refer to JAX for specific instructions on how to setup JAX with GPU/CUDA support if needed.
The experiment configurations are located in scripts/config.
To reproduce the results run:
python scripts/train_bc_rl.py -w_bc 1. -w_rl 0. -conf CircularMasking --radius 4To visualize the different partial observability modes in IGDrivSim, open the notebook:
notebook limited_obs.ipynb- The utility functions are adapted from the Waymax repo.
- The PPO update implementation is based on PureJaxRL.
@misc{grislain2024igdrivsimbenchmarkimitationgap,
title={IGDrivSim: A Benchmark for the Imitation Gap in Autonomous Driving},
author={Clémence Grislain and Risto Vuorio and Cong Lu and Shimon Whiteson},
year={2024},
eprint={2411.04653},
archivePrefix={arXiv},
primaryClass={cs.RO},
url={https://arxiv.org/abs/2411.04653},
}