TL;DR
While state-of-the-art racing AIs (such as those in Gran Turismo Sport) achieve superhuman lap times by querying ground-truth track geometry directly from the simulator engine, human drivers rely on visual perception. This paper bridges that gap by decoupling image representation learning from control, training an agent that steers and throttles using features extracted directly from game screen images alongside standard vehicle telemetry. The resulting vision-based controller achieves expert human-level performance, ranking in the top 10% of over 28,000 real-world human players.
What Problem Does This Paper Address?
Prior reinforcement learning (RL) agents in high-fidelity racing simulators like Gran Turismo Sport (GTS) achieved superhuman lap times by relying on "dedicated observations"—exact simulator-provided measurements like curvature ahead, distance to boundaries, and track centerlines. This gives the AI an unfair perceptual advantage compared to humans, who perceive the track through screen visuals and tactile force feedback.
While end-to-end vision-based driving works in simpler simulators (e.g., TORCS or CARLA), scaling vision-based RL to high-speed, realistic racing simulators is difficult. High-fidelity racing requires millisecond-precision trajectories and pushing the vehicle to the limits of tire adhesion, where pure end-to-end pixel-to-action RL often struggles with sample complexity, latency, and path-optimization rewards.
Methods
The authors decouple visual representation learning from reinforcement learning into two distinct phases:
- Phase 1: Offline Image-Based Representation Learning
- The authors identify 27 track-geometry variables that can be estimated from a single image (e.g., track edge distances over a 180° frontal arc, centerline offset, heading angle, and track curvature at 10 points 40–120 m ahead).
- A lightweight convolutional network ($\phi_{reg} \circ \phi_{rep}$) is trained via offline regression on captured 470×280 RGB game frames to predict these 27 variables.
- Instead of feeding the final 27 predictions to the policy, the system extracts the penultimate 64-dimensional latent embedding ($\phi_{rep}$), which retains richer spatial context.
- To achieve sub-16 ms inference (GTS runs at 60 fps), the visual encoder utilizes
space2depthdownsampling combined with depth-wise separable convolutions, achieving an average inference time of ~8 ms on GPU. - Phase 2: Reinforcement Learning via SAC
- The policy network receives a 75-dimensional observation vector: the 64D visual embedding combined with 11 dedicated physical measurements (3D velocity, 3D acceleration, roll/pitch/yaw angular velocity, wall collision flag, and prior steering angle).
- The policy is trained using Soft Actor-Critic (SAC) to output steering and combined throttle/brake.
- The reward function maximizes course progression along the track centerline while heavily penalizing wall collisions proportional to impact velocity squared.
Datasets
- Representation Dataset: ~630,000 game frames (downsampled from 1280×720 to 470×280) collected over 50 laps driven by the built-in GTS AI injected with uniform random noise to perturb trajectories and cover varied track states. Paired simulator ground-truth measurements served as regression targets.
- Evaluation Benchmark: Time trial on the Tokyo Expressway – Central Outer Loop driving a Mazda Demio XD Touring '15. Benchmark times were compared against ground truth times from ~28,000 human players provided by Polyphony Digital Inc., the built-in game AI, and Fuchs et al.’s superhuman state-based controller.
Key Insights and Ideas
- Decoupling representation from control is practical for racing: Full end-to-end learning from pixels at 60 Hz racing speeds is notoriously compute-heavy. Pretraining a rich latent representation offline significantly stabilizes and accelerates downstream RL policy learning.
- Selective perception: The authors observed that derivative metrics (speed, acceleration, angular rates) are extremely hard to infer accurately from consecutive frames due to subtle pixel differences, whereas spatial track layout is easily parsed from a single frame. Thus, separating vehicle state (measured via on-car sensors) from environmental layout (perceived visually) creates a robust, sensible hybrid.
- Minimal vision-to-state performance gap: Discarding ground-truth simulator geometry and relying on visual embeddings cost only ~3.3 seconds per lap compared to fully privileged state-of-the-art models, proving vision alone provides ample fidelity for high-speed trajectory optimization.
Key Results
- Human Comparison: The vision-based agent logged a lap time of 01:42.717, placing it comfortably within the top 10% of ~28,000 human players.
- Beat Built-in AI: Outperformed the built-in GTS AI (01:52.075) by 9.4 seconds and beat the median human lap time (01:47.259) by 4.5 seconds.
- Gap to Superhuman Ground-Truth Agents: Finished just ~3.3 seconds behind the superhuman agent by Fuchs et al. (01:39.408) and the fastest recorded human player (01:39.445).
- Smooth, Wall-Clipping Trajectories: Qualitative inspection showed the agent smoothly cornered mere inches from interior barriers without colliding, demonstrating acute spatial awareness from vision alone.
Limitations and Future Work
- Residual Privileged Information: The policy still receives 11 internal state measurements (such as linear acceleration and angular velocity) directly from the simulator. A strictly human-equivalent system would need to estimate these from temporal frame sequences, optical flow, or emulated IMU/force feedback.
- Multi-Car Dynamics: The benchmark evaluated solitary time trials; dynamic racing involving overtaking, drafting, and opponent avoidance was not explored.
- Offline Supervised Pretraining: The visual representation relies on access to ground-truth track geometry during offline training. The authors note that exploring fully self-supervised or unsupervised visual representation objectives (e.g., CURL) remains an open area for future work.
Summary updated