[Paper Review] Generalization through Simulation: Integrating Simulated and Real Data into Deep Reinforcement Learning for Vision-Based Autonomous Flight
This paper proposes a hybrid deep reinforcement learning method that combines simulated data for visual perception and real-world data for dynamic control to enable vision-based collision avoidance in nano aerial vehicles. By pre-training a task-specific visual policy in simulation and fine-tuning an action-conditioned reward predictor on just one hour of real-world data, the method achieves robust generalization to novel environments with complex lighting and geometry, outperforming prior approaches by 4× in flight distance and enabling consistent success in challenging hallways.
Deep reinforcement learning provides a promising approach for vision-based control of real-world robots. However, the generalization of such models depends critically on the quantity and variety of data available for training. This data can be difficult to obtain for some types of robotic systems, such as fragile, small-scale quadrotors. Simulated rendering and physics can provide for much larger datasets, but such data is inherently of lower quality: many of the phenomena that make the real-world autonomous flight problem challenging, such as complex physics and air currents, are modeled poorly or not at all, and the systematic differences between simulation and the real world are typically impossible to eliminate. In this work, we investigate how data from both simulation and the real world can be combined in a hybrid deep reinforcement learning algorithm. Our method uses real-world data to learn about the dynamics of the system, and simulated data to learn a generalizable perception system that can enable the robot to avoid collisions using only a monocular camera. We demonstrate our approach on a real-world nano aerial vehicle collision avoidance task, showing that with only an hour of real-world data, the quadrotor can avoid collisions in new environments with various lighting conditions and geometry. Code, instructions for building the aerial vehicles, and videos of the experiments can be found at github.com/gkahn13/GtS
Motivation & Objective
- To address the challenge of generalizing vision-based control policies for real-world nano aerial vehicles with limited real-world data.
- To overcome the domain gap between simulation and reality, particularly in dynamics and visual realism.
- To improve sample efficiency and robustness in real-world deployment by separating perception learning (in simulation) from control policy learning (in reality).
- To investigate whether task-specific visual representations learned via reinforcement learning in simulation transfer better than unsupervised or supervised pre-training.
Proposed method
- The method decouples perception and control: visual features are pre-trained in simulation using reinforcement learning for navigation and collision avoidance.
- A perception network is initialized with features from a simulation-trained policy, enabling generalization to new environments.
- The control policy is trained using a real-world dataset of only one hour of flight data, with an action-conditioned reward predictor to improve sample efficiency.
- The reward predictor is trained on real-world experience to adapt the simulated policy to real dynamics, avoiding catastrophic overfitting.
- The system uses a monocular camera for end-to-end vision-based control, with no explicit state estimation.
- The approach enables active data collection by integrating real-world and simulated experience in a transfer learning loop.
Experimental results
Research questions
- RQ1Can a vision-based control policy trained primarily on simulated data generalize effectively to real-world environments with diverse lighting and geometry?
- RQ2How does the choice of visual feature learning method (e.g., RL vs. unsupervised vs. supervised pre-training) affect transfer performance to real-world flight?
- RQ3Can a small amount of real-world data (e.g., one hour) be used effectively to fine-tune a policy pre-trained in simulation, avoiding catastrophic overfitting?
- RQ4Does separating perception (simulated) from control (real) lead to better generalization than joint fine-tuning of the full policy?
- RQ5How does the use of an action-conditioned reward predictor improve sample efficiency and stability in real-world fine-tuning?
Key findings
- The proposed method achieved 80% success rate in straight hallways, 60% in tilted-camera conditions, and 80% in zig-zag hallways—significantly outperforming prior methods that failed entirely in these tasks.
- With only one hour of real-world data, the method enabled the nano aerial vehicle to fly 4× farther than baseline methods, demonstrating strong sample efficiency.
- The method outperformed both 'sim-only' and 'sim-fine-tuned' baselines, which suffered from poor generalization and inconsistent performance.
- Task-specific visual representations trained via reinforcement learning in simulation transferred substantially better than unsupervised (VAE) or supervised (ImageNet pre-training) alternatives.
- Failure cases were often reasonable (e.g., colliding with glass doors), indicating the model learned meaningful invariants and could improve with additional real-world data.
- The action-conditioned reward predictor was crucial for stable and efficient real-world fine-tuning, enabling effective knowledge transfer from simulation to reality.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.