NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

RACER: Epistemic Risk-Sensitive RL Enables Fast Driving with Fewer Crashes

Kyle Stachowicz, Sergey Levine

TL;DR

RACER (Risk-sensitive Actor Critic with Epistemic Robustness) is a reinforcement learning framework that allows robots to learn high-performance tasks, like high-speed off-road driving, while significantly reducing catastrophic failures during the training process. By combining a risk-sensitive objective (CVaR) with an adaptive action-space curriculum, RACER achieves faster final speeds and safer exploration than standard RL methods.

What Problem Does This Paper Address?

Reinforcement learning (RL) is a powerful tool for robotic control, but it has a major "real-world" problem: the training process itself is dangerous. In tasks like high-speed off-road driving, the most performant policies operate at the very edge of safety. A standard RL agent, which typically tries to maximize the expected (average) return, might ignore rare but catastrophic events like rollovers or high-speed crashes because they don't heavily weight the average.

For a real-world robot, these "outlier" failures are expensive, time-consuming to reset, and can physically damage the hardware. The authors identify a fundamental tension: safety requires staying in a "safe" region, while performance requires pushing right up against the boundary of that region. Most existing "Safe RL" methods focus on safety after training; RACER focuses on safety during training.

Methods

RACER introduces three primary components to bridge the gap between aggressive performance and training-time safety:

  1. Distributional RL with CVaR: Instead of learning a single expected value for an action, RACER learns the full distribution of possible returns. It then optimizes for the Conditional Value at Risk (CVaR)—specifically, the average of the worst $\alpha$-percentile of outcomes. This forces the agent to be sensitive to the "long tail" of failure modes.
  2. Epistemic Uncertainty via Ensembling: To handle unfamiliar states where the model hasn't learned yet, RACER uses an ensemble of critics. When ensemble members disagree, the resulting mixture distribution has a wider, more pessimistic tail. As shown in Figure 4, this disagreement naturally triggers the CVaR objective to avoid these uncertain, high-risk areas.
  3. Adaptive Action Limits: The authors use a "cautious-to-aggressive" curriculum. The agent starts with restricted action limits (e.g., low speeds). These limits are adaptively expanded only when the critics are certain that actions at the current boundary are safe. This is implemented using a differentiable "soft-clip" function (see Figure 5).
Figure 4
Figure 5
Overview of RACER components

Datasets

The authors evaluated RACER across both simulated and real-world environments:

  • Real-World: A 1/10-scale autonomous rally car (F1TENTH platform) driving a figure-eight course on uneven outdoor terrain.
  • Simulation (Offroad-Flat & Bumpy): A simulated all-wheel-drive vehicle navigating infinite planes and procedurally generated hilly terrain.
  • Simulation (HalfCheetah): A modified version of the classic OpenAI Gym locomotion task where the agent fails (terminates with zero reward) if it falls over.

Key Insights and Ideas

  • Safety as a Catalyst for Performance: Counter-intuitively, being safer during training leads to a better final policy. The authors hypothesize that when fewer crashes occur, the model wastes less of its representational capacity trying to model high-loss outlier events, allowing it to converge on high-performance behavior faster.
  • CVaR as an Implicit OOD Detector: By applying CVaR to an ensemble mixture, the agent treats "I don't know" (epistemic uncertainty) the same way it treats "this is dangerous" (aleatoric uncertainty). This provides a unified way to handle both known risks and unknown environments.
  • The "Knife-Edge" Problem: Figure 2 in the paper illustrates that the optimal policy for speed is often a single point on the boundary of the safety set. RACER is designed specifically to "hug" this boundary without crossing it.

Key Results

In real-world tests, RACER outperformed the state-of-the-art FastRLAP baseline:

  • Higher Speed: Reached top speeds of 3.32 m/s compared to 2.92 m/s for vanilla SAC.
  • Fewer Crashes: Reduced total failures by 50% during training.
  • Zero High-Speed Failures: While it still had minor low-speed slips, it completely eliminated high-speed crashes (>2m/s) that typically cause hardware damage.

As seen in Figure 6, RACER's learning curve shows a steady increase in speed while keeping collision events clustered in the early, low-speed phase of training.

Figure 6

Limitations and Future Work

  • Safe Starting Region: RACER assumes the existence of a "safe" subset of actions (like driving slowly) to begin exploration. It cannot learn from scratch in environments where every initial action is potentially fatal.
  • Not a "Hard" Guarantee: While it drastically reduces failures, it does not provide a formal mathematical proof of zero failures, which would be required for full-scale autonomous passenger vehicles.
  • Future Directions: The authors suggest incorporating more domain-specific knowledge to further eliminate the remaining low-speed failures and exploring how these risk-sensitive metrics scale to even more complex, high-dimensional robotic tasks.

Summary updated

BibTeX
@inproceedings{stachowicz2024racer,
  author = {Kyle Stachowicz and Sergey Levine},
  title = {{RACER: Epistemic Risk-Sensitive RL Enables Fast Driving with Fewer Crashes}},
  booktitle = {Robotics: Science and Systems},
  year = {2024},
  doi = {10.15607/rss.2024.xx.080},
}
Figure