Learning Interactive Driving Policies via Data-driven Simulation

Tsun-Hsuan Wang, Alexander Amini, Wilko Schwarting, Igor Gilitschenski, Sertac Karaman, Daniela Rus

TL;DR

Researchers from MIT and the University of Toronto have developed a data-driven simulator that inserts virtual vehicles into real-world driving footage to train autonomous agents. By training reinforcement learning (RL) policies in this photorealistic environment, they achieved "zero-shot" transfer—moving a policy directly from simulation to a full-scale Lexus RX 450H without any fine-tuning or domain randomization.

What Problem Does This Paper Address?

Training autonomous vehicles to interact with other cars is notoriously difficult. Standard Imitation Learning (IL) requires massive amounts of expert data, especially for "edge cases" like near-collisions or aggressive overtaking, which are dangerous and expensive to collect in reality.

On the other hand, Reinforcement Learning (RL) allows agents to learn through trial and error, but doing this in the real world is impossible for safety reasons. While traditional simulators (like CARLA) provide a safe RL environment, they often suffer from a "sim-to-real gap"—the AI learns features of the synthetic graphics that don't exist in the real world, causing the policy to fail when deployed on a physical car. This paper aims to bridge that gap by creating a simulator that is both safe for RL and visually indistinguishable from reality.

Methods

The authors propose a hybrid simulation pipeline:

  1. Data-Driven World Generation: Instead of building a 3D world from scratch, they take real-world human driving traces (video + depth data). They use 3D view synthesis to allow the "ego" agent to move away from the original human path while still seeing a photorealistic environment.
  2. Ado Vehicle In-painting: They insert 3D vehicle meshes from a "Multi-Agent Library" into the real-world frames. To make these look real, they apply lighting estimation (matching the car's shadows to the scene) and image harmonization (blending the textures).
  3. Interactive RL Training: They use Proximal Policy Optimization (PPO) to train the agent. The agent receives a raw image, processes it through a CNN and an LSTM (to remember past movements of other cars), and outputs a steering angle.
  4. Task Complexity: They defined three levels of interaction: Car Following, Avoidance, and Overtaking.

Datasets

The researchers collected their own datasets to power the simulator:

  • Indoor Garage: ~30 minutes of driving in a controlled environment with static lighting.
  • Rural Roads: ~1 hour of driving across various weather conditions, road curvatures, and lighting (including glares and shadows).
  • Agent Library: A collection of parametrizable 3D vehicle meshes with varying styles, materials, and colors.

Key Insights and Ideas

  • Photorealism is the Key to Zero-Shot: Unlike many papers that rely on "domain randomization" (making the simulation look intentionally weird so the AI learns to ignore visual noise), this work argues that if the simulation is realistic enough, the AI will naturally generalize to the real world.
  • The Best of Both Worlds: By combining real-world background textures with virtual dynamic agents, the system gains the visual complexity of the real world and the behavioral flexibility of a sandbox.
  • Temporal Memory Matters: The inclusion of an LSTM was crucial. In interactive scenarios, an agent needs to "remember" where another car was even if it briefly disappears from the camera's field of view (e.g., during a sharp turn or overtaking maneuver).

Key Results

The most impressive result is the successful Real-world Deployment:

  • Zero-Shot Transfer: The policy trained only in simulation was deployed on a full-scale Lexus RX 450H.
  • Overtaking: In 63 real-world trials (2 hours of autonomous driving), the agent successfully performed overtaking maneuvers against both static and dynamic obstacles.
  • Safety: The agent maintained a minimal clearance of roughly 1 meter in most trials.
  • Intervention Rates: While the agent had a 0% intervention rate for static obstacles, it faced a ~10% intervention rate for dynamic agents, usually due to "slight sideswipes" or cutting back into the lane too early.

Limitations and Future Work

  • Sensor Blind Spots: The current system uses a single front-facing camera. In one failure case, the agent "forgot" a car it was overtaking because the car moved into a blind spot, causing the agent to steer back into the lane too early. The authors suggest adding side cameras to solve this.
  • Simple Dynamics: The "ado" vehicles currently follow pre-defined paths (like Pure Pursuit). Future work could involve "adversarial" agents that actively try to challenge the ego-vehicle.
  • Multi-modality: The current model focuses on vision; incorporating other sensors like LiDAR or Radar within the same data-driven framework is a logical next step.

Summary updated

BibTeX
@inproceedings{wang2022learning,
  author = {Tsun-Hsuan Wang and Alexander Amini and Wilko Schwarting and Igor Gilitschenski and Sertac Karaman and Daniela Rus},
  title = {{Learning Interactive Driving Policies via Data-driven Simulation}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2022},
  url = {https://openreview.net/forum?id=UNXAxrGCjXN},
}
Figure