Depth Transfer: Learning to See Like a Simulator for Real-World Drone Navigation
Hang Yu, Christophe De Wagter, Guido C. H. E de Croon
TL;DR
This work tackles the sim-to-real gap in depth-based drone navigation by learning a latent depth representation with a Variational Autoencoder (VAE) and temporal modeling via an LSTM, then aligning the latent spaces across domains with a gradient reversal layer (GRL) discriminator. The method enables zero-shot transfer of policies trained in a simple IsaacGym simulator to both a photo-realistic AvoidBench simulator and real-world environments, by refining the encoder on stereo-depth data from various sources and using a domain-adversarial loss alongside reconstruction and KL terms. Key contributions include a ResNet-based VAE with min-pooling dilation to preserve fine obstacle details, a temporal latent representation for robust policy input, and a domain-adaptation framework that aligns simulated and real depth latent spaces. Experiments across IsaacGym, AvoidBench, and real-world tests show substantial improvements in obstacle avoidance and navigation performance, demonstrating robust, generalizable depth-based navigation across diverse domains.
Abstract
Sim-to-real transfer is a fundamental challenge in robot reinforcement learning. Discrepancies between simulation and reality can significantly impair policy performance, especially if it receives high-dimensional inputs such as dense depth estimates from vision. We propose a novel depth transfer method based on domain adaptation to bridge the visual gap between simulated and real-world depth data. A Variational Autoencoder (VAE) is first trained to encode ground-truth depth images from simulation into a latent space, which serves as input to a reinforcement learning (RL) policy. During deployment, the encoder is refined to align stereo depth images with this latent space, enabling direct policy transfer without fine-tuning. We apply our method to the task of autonomous drone navigation through cluttered environments. Experiments in IsaacGym show that our method nearly doubles the obstacle avoidance success rate when switching from ground-truth to stereo depth input. Furthermore, we demonstrate successful transfer to the photo-realistic simulator AvoidBench using only IsaacGym-generated stereo data, achieving superior performance compared to state-of-the-art baselines. Real-world evaluations in both indoor and outdoor environments confirm the effectiveness of our approach, enabling robust and generalizable depth-based navigation across diverse domains.
