Skip to main content
QUICK REVIEW

[Paper Review] DeepRacer: Educational Autonomous Racing Platform for Experimentation with Sim2Real Reinforcement Learning

Bharathan Balaji, Sunil Mallya|arXiv (Cornell University)|Nov 5, 2019
Reinforcement Learning in RoboticsComputer Science77 references32 citations
TL;DR

DeepRacer is a scalable, educational autonomous racing platform that enables end-to-end reinforcement learning (RL) training in simulation and robust sim2real transfer using a 1/18th scale car. It achieves sim2real navigation with <5 minutes of training using PPO, domain randomization, and robust evaluation, demonstrating successful real-world deployment without real-world fine-tuning or expert data.

ABSTRACT

DeepRacer is a platform for end-to-end experimentation with RL and can be used to systematically investigate the key challenges in developing intelligent control systems. Using the platform, we demonstrate how a 1/18th scale car can learn to drive autonomously using RL with a monocular camera. It is trained in simulation with no additional tuning in physical world and demonstrates: 1) formulation and solution of a robust reinforcement learning algorithm, 2) narrowing the reality gap through joint perception and dynamics, 3) distributed on-demand compute architecture for training optimal policies, and 4) a robust evaluation method to identify when to stop training. It is the first successful large-scale deployment of deep reinforcement learning on a robotic control agent that uses only raw camera images as observations and a model-free learning method to perform robust path planning. We open source our code and video demo on GitHub: https://git.io/fjxoJ.

Motivation & Objective

  • To reduce the barrier to entry for researchers and students in robotic reinforcement learning by providing a unified, accessible platform for sim2real RL experimentation.
  • To address the sim2real gap in RL by integrating domain randomization, robust evaluation, and distributed training in a scalable, cloud-based architecture.
  • To demonstrate that model-free, end-to-end RL using raw camera observations can successfully transfer from simulation to real-world robotic control without expert demonstrations or real-world data.
  • To enable rapid, scalable training and evaluation of RL policies across multiple tracks, lighting conditions, and sensor variations using on-demand cloud compute.

Proposed method

  • The platform uses a decoupled rollout architecture that separates simulation rollouts from policy training, enabling independent scaling of the simulation cluster and training workers.
  • It employs the Proximal Policy Optimization (PPO) algorithm for training policies using raw grayscale images as observations and discrete throttle/steering actions.
  • Domain randomization is applied to actions (e.g., 10% noise) and observations (e.g., random color, brightness, shadow, salt-and-pepper noise) to improve policy generalization.
  • Robust evaluation is performed by testing policies under randomized conditions—such as action noise, reverse direction, and multiple starting positions—to identify models that generalize to the real world.
  • The system supports training on multiple tracks in parallel using distributed rollouts and integrates with cloud-based compute for on-demand scaling.
  • A calibrated Gazebo simulation model of the 1/18th scale car includes realistic dynamics, sensor models, and multiple track layouts for diverse training and evaluation scenarios.

Experimental results

Research questions

  • RQ1Can a model-free, end-to-end RL policy trained solely on raw camera images in simulation successfully navigate a real-world race track without real-world fine-tuning?
  • RQ2How effective is domain randomization in narrowing the sim2real gap for robotic control using only visual observations?
  • RQ3What evaluation protocol reliably predicts real-world performance and prevents overfitting to simulation-specific conditions?
  • RQ4To what extent can distributed, on-demand cloud compute accelerate training while maintaining policy generalization across diverse environments?
  • RQ5How do hyperparameters such as entropy bonus, regularization, and maximum throttle speed affect sim2real transfer performance?

Key findings

  • The PPO-trained policy achieved sim2real transfer in less than 5 minutes of training, with successful real-world navigation on a 1/18th scale car.
  • Policies that performed consistently across multiple randomized evaluation conditions (e.g., action noise, reverse direction) generalized well to the real world, while naive evaluation failed to predict real-world performance.
  • Random color augmentation to observation images was the most effective domain randomization technique for sim2real transfer.
  • Reducing the entropy bonus to 0.001 and applying dropout with 0.3 probability significantly improved policy robustness and real-world performance.
  • Training with a maximum throttle of 2.33 m/s and including color randomization, L2 regularization, and dropout led to the best overall performance, achieving 11-second laps (1.6 m/s) on a real track.
  • Policies trained on Track B eventually generalized to Track A after extended training, but initial checkpoints failed, highlighting the importance of robust evaluation and training duration.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.