A Super-human Vision-based Reinforcement Learning Agent for Autonomous Racing in Gran Turismo

Miguel Vasco, Takuma Seno, Kenta Kawamoto, Kaushik Subramanian, Peter R. Wurman, Peter Stone

This paper, presented at RLC 2024, marks a significant milestone in autonomous racing. While previous AI agents like GT Sophy achieved super-human performance in the high-fidelity simulator Gran Turismo, they relied on "global" information—data about the track shape and car position that wouldn't be available to a real-world vehicle's on-board sensors.

Vasco et al. introduce the first vision-based reinforcement learning (RL) agent that achieves super-human lap times using only local, car-centric features at execution time: ego-centric camera pixels and basic on-board telemetry.

TL;DR

The authors developed a vision-based RL agent for Gran Turismo 7 that outperforms the world's best human drivers using only local sensor data (pixels and velocity). By employing an asymmetric actor-critic architecture—where the critic sees global track data during training but the actor only sees local data—they bridged the gap between privileged simulation data and realistic, vision-only driving.

What Problem Does This Paper Address?

Autonomous racing at the limit of a vehicle's dynamics is a "grand challenge" for AI. To win, an agent must perfectly integrate perception, planning, and control.

Most successful RL agents in this space have cheated slightly by using global features (e.g., a perfect mathematical representation of the track ahead) during execution. In contrast, human drivers rely on visual cues and physical sensations. The gap addressed here is: Can an agent achieve super-human performance using only the information a real car could sense?

Previous attempts at vision-based racing often resulted in agents that "lacked anticipation," struggled with tight corners, or simply couldn't match the raw speed of top-tier humans.

Methods

The researchers utilized Quantile Regression Soft Actor-Critic (QR-SAC), a distributional RL algorithm, but modified the training pipeline with a clever architectural choice:

Asymmetric Actor-Critic

The core innovation is the training setup shown in Figure 1.

  • The Critic ($Q_\psi$): During training, the critic is "privileged." It receives global features ($o^g$), such as 3D coordinates of the track limits and centerline up to 6 seconds ahead. This allows it to learn a highly accurate value function.
  • The Actor/Policy ($\pi_\phi$): The actor is "restricted." It only receives local features: a 64x64 RGB image ($o^i$) from a first-person view and proprioceptive features ($o^p$) like linear velocity, acceleration, and steering history.
The asymmetric architecture allows the agent to learn from global data while executing with only local data.

By the time the agent is deployed (Execution phase), the global features are discarded. The agent drives purely by "looking" at the screen and feeling the car's motion.

Reward Function

The agent is rewarded for course progress (maximizing distance along the centerline) while being penalized for going off-course, hitting walls, or making erratic, non-human-like steering changes.

Datasets

The agent was trained and evaluated in Gran Turismo 7 (GT7) across three iconic tracks:

  1. Monza: High-speed straights and tight chicanes (Ferrari 330 P4 '67).
  2. Tokyo Expressway: A narrow, technical street circuit at night (NISMO 400R '95).
  3. Spa-Francorchamps: A complex, undulating natural terrain track (Alfa Romeo 4C).

The "dataset" for comparison consisted of over 130,000 human lap times per scenario, provided by Polyphony Digital, representing the global leaderboard for these specific car/track combinations.

Key Insights and Ideas

  • Global Info is a Training Crutch, Not an Execution Necessity: The asymmetric setup proves that while global track info is vital for learning what a "good" state looks like, a vision-based policy can learn to map pixels to those high-value states effectively.
  • Human-like Gaze Emerges Naturally: Using Guided Grad-CAM (GGC), the authors found the agent's attention shifts just like a pro racer's. On straights, it looks at the far horizon and tree lines to localize. In corners, its "gaze" snaps to the inner apex and then the exit curb.
  • Novel Racing Lines: The agent doesn't just mimic humans; it finds superior trajectories. In Monza's chicanes, it takes lines significantly closer to the track limits than the best humans, allowing it to carry more speed through the section.
Visual analysis shows the agent focusing on the horizon during straights (left) and the apex during turns (right).

Key Results

The vision-based agent consistently achieved super-human performance:

  • Monza: Outperformed the fastest human in 94% of evaluation laps.
  • Tokyo: Outperformed the fastest human in 99.8% of laps.
  • Spa: Outperformed the fastest human in 100% of laps.
  • Comparison to GT Sophy: Remarkably, the vision-only agent performed nearly on par with the version of GT Sophy that uses global features during execution, proving that vision is not a significant bottleneck for speed in these scenarios.
Lap time distributions show the agent (blue) consistently beating the fastest human (black line).

Limitations and Future Work

  • Environmental Sensitivity: The agent is brittle to lighting changes. Training at noon and testing at sunset significantly degrades performance, as the visual features the agent relies on (like shadows or tree lines) change.
  • Adversarial Vulnerability: Small amounts of targeted noise in the image (specifically in areas the agent "looks" at) can cause it to crash.
  • Generalization: The agent struggles when moved to cars with significantly higher horsepower than the one it trained on, likely due to encountering velocities outside its training distribution.
  • Time Trials Only: This work focused on solo racing. Future work aims to extend this to multi-car scenarios where the agent must handle the visual occlusion and tactical complexity of opponents.

Summary updated

BibTeX
@inproceedings{vasco2024super,
  author = {Miguel Vasco and Takuma Seno and Kenta Kawamoto and Kaushik Subramanian and Peter R. Wurman and Peter Stone},
  title = {{A Super-human Vision-based Reinforcement Learning Agent for Autonomous Racing in Gran Turismo}},
  booktitle = {RLC},
  year = {2024},
  url = {https://openreview.net/forum?id=jPtMj55LuX},
}
Figure