Abstract
The authors introduce VSSS-RL, an open-source framework designed to bridge the "reality gap" in robot soccer using Reinforcement Learning (RL). By combining a high-fidelity simulator with a novel neural network-based domain adaptation method, they successfully trained robots that outperformed human-designed policies, securing 4th place at the 2019 Latin American Robotics Competition (LARC).
Introduction
In the IEEE Very Small Size Soccer (VSSS) league, robots are traditionally controlled by handcrafted code—rigid rules for path planning and collision avoidance. However, soccer is unpredictable; hard-coded behaviors often fail in complex, dynamic situations. While Reinforcement Learning (RL) offers a way for robots to learn better strategies through trial and error, training on physical hardware is impractical due to hardware wear and time constraints. Training in simulation introduces the reality gap: subtle differences in friction, motor lag, and sensor noise that cause policies perfected in simulation to fail on a real pitch. This paper presents a framework to make sim-to-real transfer effective for complete robot behaviors.
Methodology
The VSSS-RL framework employs a multi-layered approach to training and deployment. It builds an OpenAI Gym-compatible wrapper around 3D simulators (FIRASim/VSS-SDK), allowing the use of standard RL libraries.
Key components include:
- Reward Shaping: Intermediate rewards guide agents toward the ball and the goal, while energy penalties ensure motion stability.
- Continuous Control: The study found that continuous action spaces (using SAC and DDPG) outperformed discrete actions (DQN) by approximately 50% in goal efficiency.
- Neural Sim-to-Real Transfer: A separate feed-forward neural network acts as an abstraction layer. It learns the inverse dynamics of the real-world environment, mapping "desired" velocities from the simulation-trained policy to specific wheel speeds for physical hardware.
Environment and Evaluation
The framework serves as a dynamic benchmarking tool rather than a static dataset. It integrates the physical robot design with a high-fidelity simulation environment to ensure reproducibility.
- Training: A customized 3D simulation based on the Open Dynamics Engine.
- Evaluation: The 2019 Latin American Robotics Competition (LARC), featuring 21 international teams.
- Open Source: Environment code and hardware specifications are released to the research community.
Results and Insights
The RL agents developed emergent behaviors difficult to program manually, such as using the robot's side to guide the ball or utilizing wall bounces to bypass defenders.
- Sim-to-Real Efficiency: The proposed method achieved real-world performance statistically equivalent to simulation (p-value = 0.3101). Real-world robots with this adaptation scored goals in nearly half the time (456.8 steps) compared to those without it (901.1 steps).
- Performance vs. Human Policies: In 1-vs-1 matches against a top-tier human-designed striker, the DDPG-trained agent won decisively (19-13 and 22-17).
- Competition Success: The team placed 4th out of 21 teams at LARC 2019, demonstrating the first successful RL-based control of a full team in this league.
Discussion and Future Work
While successful, agents remain somewhat reactive and lack long-term collision foresight. Future work will focus on Multi-Agent RL (MARL) to enable true cooperation, such as passing and defensive positioning, and incorporating real-world data "roll-outs" into the training loop to further refine policies beyond pure simulation.
Summary updated