Depth Transfer: Learning to See Like a Simulator for Real-World Drone Navigation

Hang Yu, Christophe De Wagter, Guido C. H. E. de Croon

Abstract

Achieving seamless sim-to-real transfer remains a significant challenge in robotics, particularly for high-speed drone navigation. This paper presents a novel "Depth Transfer" framework that enables a drone to train entirely in a clean, simulated environment and navigate complex real-world obstacles without further policy fine-tuning. By bridging the perception gap between noise-free simulated depth maps and artifact-heavy real-world stereo vision through feature-level domain adaptation, the proposed method achieves robust, zero-shot transfer of obstacle avoidance policies.

Introduction

Reinforcement Learning (RL) has demonstrated immense potential for autonomous drone navigation. However, the data-intensive nature of RL makes real-world training impractical due to the high risk of hardware failure and the time required for data collection. While simulators like IsaacGym offer a safe, high-speed alternative, they introduce a "sim-to-real gap" that often causes policies to fail when deployed on physical hardware.

This research from the MAVLab at TU Delft addresses this gap by focusing on the perception system. Rather than attempting to make simulators perfectly mimic the messiness of the real world, the authors propose a method to make real-world data "look" like the simulator's data to the navigation policy.

The Sim-to-Real Perception Gap

Depth maps are often preferred over RGB images for sim-to-real transfer because they are less sensitive to lighting and texture. However, a significant discrepancy persists:

  1. Simulated Depth: Provides perfect, noise-free ground truth.
  2. Real-World Stereo Depth: Characterized by noise, temporal artifacts, and "holes" caused by occlusions or texture-poor surfaces.

When a policy trained on perfect depth encounters these artifacts, it often interprets noise as obstacles or fails to see thin structures, leading to erratic behavior or collisions.

Methodology

The authors propose a two-stage pipeline centered on a Variational Autoencoder (VAE) and a Gradient Reversal Layer (GRL) to harmonize these disparate data domains.

1. Latent Representation Learning

The system first trains a ResNet-based VAE to compress ground-truth (GT) depth from IsaacGym into a compact 64-dimensional latent space. This representation is then processed by an LSTM to provide the temporal context necessary for remembering past obstacles.

2. RL Policy Training

A Proximal Policy Optimization (PPO) policy is trained within the simulator using these clean latent features. Because the policy only ever sees the compressed, idealized representation of the environment, it learns highly efficient navigation strategies.

3. Domain Adaptation (Depth Transfer)

To enable real-world deployment, the authors use a discriminator and a GRL to refine the encoder. The discriminator attempts to distinguish whether a latent vector originated from clean simulated depth or noisy stereo depth. Simultaneously, the encoder is trained to "fool" the discriminator. This adversarial process forces the encoder to map noisy real-world inputs into the same latent space the RL policy was trained on, effectively filtering out real-world noise.

Architectural Innovations

  • ResNet VAE: The transition from standard convolutional layers to a ResNet architecture significantly improved the fidelity of depth reconstruction.
  • Min-Pooling Dilation: To prevent thin obstacles (such as tree branches) from disappearing in noisy depth maps, the authors applied a min-pooling operation. This effectively "thickens" obstacles, making the navigation policy more conservative and robust.

Experimental Results

The framework was evaluated using IsaacGym for training, AvoidBench for high-fidelity benchmarking, and a physical drone equipped with an Intel RealSense D435i and a Jetson Orin NX.

Performance Metrics

  • Ablation Studies: The combination of the ResNet architecture and min-pooling dilation increased the obstacle avoidance success rate from a baseline of 50.4% to 71.7%.
  • Comparative Benchmarking: In the AvoidBench simulator, the Depth Transfer method outperformed established baselines, including Ego-Planner and Agile-Autonomy. Notably, it surpassed MAVRL in high-speed scenarios, despite MAVRL being trained specifically on the benchmark's data.
  • Real-World Deployment: The drone successfully navigated dense indoor corridors and outdoor forest environments. While unrefined encoders led to collisions, the domain-adapted encoder produced smooth, successful flights.

Discussion and Conclusion

The "Depth Transfer" approach shifts the focus of sim-to-real from environment modeling to perception refinement. By training on ground-truth depth, the authors reduced training time from 50 hours (using simulated stereo) to just 18 hours, while maintaining high utility for real-world deployment.

While the current success rate of 71.7% in dense environments leaves room for improvement, the research demonstrates that "seeing like a simulator" is a viable and efficient path toward zero-shot transfer. Future work will likely explore dynamic obstacle avoidance and the deployment of these models on more resource-constrained hardware.

Summary updated

BibTeX
@article{yu2025depth,
  author = {Hang Yu and Christophe De Wagter and Guido C. H. E. de Croon},
  title = {{Depth Transfer: Learning to See Like a Simulator for Real-World Drone Navigation}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2025},
  doi = {10.1109/lra.2025.3617729},
}
Figure