Abstract
Autonomous racing has attracted extensive interest due to its great potential in self-driving at the extreme limits. Model-based and learning-based methods are widely used in autonomous racing. Out of which, model-based methods cannot cope with complex environments when only local perception is available. This limit can be overcome by the Proximal policy optimization (PPO), a typical learning-based method, which does not excessively rely on global perception. However, existing PPO faces challenges with low training efficiency in long sequences. To solve this issue, this paper develops an improved PPO by introducing a curiosity mechanism, a balanced reward function, and an image-efficient actor-critic network. The curiosity mechanism focuses on training on key segments, facilitating efficient short-term learning of the PPO. The balanced reward function adjusts rewards based on the complexity of racetracks, promoting efficient exploration of the control strategy during training. The image-efficient actor-critic network enhances the PPO to fast process the perceived information. Simulation results on a physical engine demonstrate that the proposed algorithm outperforms benchmark algorithms in achieving less number of collisions, higher peak reward with less training time, and shorter laptime among multiple testing racetracks.
Introduction
Autonomous racing represents the "Formula 1" of AI research, requiring split-second decision-making at the physical limits of a vehicle. While many current methods rely on global perception—such as pre-loaded maps and GPS—these systems are often brittle and expensive. Local perception, which utilizes onboard sensors like cameras, offers a more robust and cost-effective alternative. However, training agents using only local data is notoriously difficult due to "sparse rewards" on long tracks. Standard Reinforcement Learning (RL) algorithms, such as Proximal Policy Optimization (PPO), often struggle to explore complex track geometries effectively, leading to slow training or failure at sharp turns.
The PPO-C Framework
To address these challenges, this research introduces PPO-C, an enhanced PPO framework designed for high-speed autonomous racing using local image sequences. The architecture integrates three core innovations to improve training efficiency and performance.
1. Curiosity Mechanism
The curiosity mechanism provides an "intrinsic reward" to the agent. By using a forward model to predict the next state, the system identifies segments of the track where its predictions are inaccurate (high uncertainty). This "curiosity" forces the agent to focus its training efforts on these challenging areas, such as sharp hairpins or unexpected obstacles, acting as a training accelerator.
2. Balanced Reward Function
In long racing sequences, the importance of a single critical corner can be drowned out by the average reward of long straights. The balanced reward function utilizes a dynamic hyper-parameter to prioritize "corner rewards." This ensures the agent does not sacrifice safety for marginal speed gains on easier sections of the track.
3. Image-Efficient Actor-Critic Network
Rather than relying on heavy, general-purpose vision models, PPO-C employs a custom, lightweight Convolutional Neural Network (CNN). This allows the agent to process local images and generate steering and throttle commands with minimal computational latency, which is critical for high-speed maneuvers.
Experimental Setup
The algorithm was evaluated using the Box2D physics engine, a standard for simulating rigid-body dynamics. The researchers utilized a procedural approach, testing the agent across 50 randomized racetracks to ensure the learned strategies were generalizable rather than memorized.
Key Results and Discussion
PPO-C was benchmarked against standard PPO, Deep Deterministic Policy Gradient (DDPG), and Soft Actor-Critic (SAC). The results demonstrate significant improvements across all key metrics:
- Safety: PPO-C achieved a remarkably low average of 0.42 collisions per race, significantly outperforming standard PPO (1.66) and DDPG (2.74).
- Speed: In standard racing scenarios, PPO-C clocked an average lap time of 22.91s, faster than both SAC (24.36s) and standard PPO (25.96s).
- Training Efficiency: The algorithm reached peak performance within 400-600 epochs, whereas competing algorithms either required more time to converge or plateaued at lower reward levels.
Conclusion
The PPO-C algorithm proves that local perception is sufficient for high-speed autonomous racing when combined with smart exploration strategies. By leveraging curiosity and balanced rewards, the system learns to navigate complex environments more safely and efficiently than traditional RL methods. Future work will focus on multi-agent racing scenarios and bridging the gap between simulation and physical RC car deployment.
Summary updated