On Embodied Visual Navigation in Real Environments Through Habitat

Marco Rosano, Antonino Furnari, Luigi Gulino, Giovanni Maria Farinella · DOI

Abstract

Training autonomous agents for visual navigation using Deep Reinforcement Learning (DRL) requires vast amounts of data, typically necessitating the use of simulators. However, agents trained in virtual environments often fail when deployed on physical robots due to the "Sim-to-Real" gap—discrepancies in visual fidelity and physical dynamics. This paper presents a novel integration for the Habitat simulator that incorporates real-world imagery and calibrated noise models. By utilizing a hybrid training approach—pre-training in simulation followed by fine-tuning on real-world observations—we demonstrate a significant increase in navigation success rates, reaching up to 97% in physical environments.

Introduction

Visual navigation is a fundamental challenge in robotics, requiring an agent to reach a goal using only egocentric visual input. While simulators like Habitat have enabled agents to experience millions of frames of training data, the transition to physical hardware remains problematic. This "Sim-to-Real gap" stems from two primary sources: the appearance gap (virtual textures vs. real-world lighting and sensors) and the dynamics gap (perfect simulated physics vs. noisy real-world actuators).

In this work, we propose a methodology to bridge this gap by injecting real-world data directly into the simulation loop. By aligning virtual 3D meshes with sparse real-world image datasets, we allow agents to "experience" the visual complexity of the real world within the controlled, high-speed environment of a simulator.

Methodology

Our approach involves a multi-stage pipeline designed to create a high-fidelity "Real-World" simulation environment.

Dual 3D Modeling and Alignment

We utilized a 150m² office space to create two distinct models. First, a dense virtual mesh was generated using Matterport scanners to provide the geometric foundation for the simulator. Second, a sparse real-world model was constructed via Structure from Motion (SfM) using approximately 25,000 photos captured by a Sanbot Elf robot. These two models were geometrically aligned to ensure that any coordinate in the virtual space mapped precisely to a corresponding real-world observation.

Observation Swapping via FAISS

To address the appearance gap, we implemented an observation swapping mechanism. As the agent moves through the virtual environment, the tool uses the FAISS (Facebook AI Similarity Search) library to perform a rapid retrieval of the real-world photo taken closest to the agent's current position and orientation. This real-world image is then fed to the agent's neural network instead of the standard rendered virtual view.

Realistic Noise Injection

To address the dynamics gap, we calibrated Gaussian noise models based on the specific performance of the Sanbot Elf platform. We introduced noise into both sensors (localization errors) and actuators (movement discrepancies), ensuring the agent learned to navigate despite the inherent unpredictability of physical hardware.

Experimental Results

Agents were evaluated using Success weighted by Path Length (SPL) and overall Success Rate. The models were pre-trained on the Gibson and Matterport 3D datasets before being fine-tuned on the office-specific data.

The Impact of Real-World Observations

The results highlight the severity of the appearance gap. Agents trained exclusively on virtual textures achieved a success rate of only 2.2% when tested against real-world images. While unsupervised adaptation techniques like CycleGAN improved this to 33%, our proposed hybrid method—fine-tuning on real observations within the simulator—achieved a 97% success rate and an SPL of 0.8001.

Robustness to Noise

Our experiments confirmed that noise-free training creates fragile policies. When subjected to large sensor noise, agents trained in "perfect" environments saw success rates plummet to 18.7%. Conversely, agents trained with noise in the loop maintained a 41.3% success rate under the same high-noise conditions, demonstrating significantly higher robustness.

Discussion and Limitations

While the proposed tool effectively bridges the Sim-to-Real gap, several challenges remain. The reliance on static image datasets can lead to visual "jumps" if the sampling is too sparse. Furthermore, our current noise models are Gaussian; however, real-world robotic noise is often non-linear and environment-dependent (e.g., wheel slippage on different surfaces). Finally, the current model assumes a static environment, leaving the complexities of dynamic obstacles and changing lighting for future research.

Conclusion

By integrating real-world observations and calibrated noise models into the Habitat simulator, we provide a practical framework for training robust navigation policies. This approach allows researchers to leverage the speed of simulation while preparing agents for the messy reality of physical deployment, moving us closer to reliable autonomous robots in human-centric environments.

Summary updated

BibTeX
@inproceedings{rosano2020embodied,
  author = {Marco Rosano and Antonino Furnari and Luigi Gulino and Giovanni Maria Farinella},
  title = {{On Embodied Visual Navigation in Real Environments Through Habitat}},
  booktitle = {ICPR},
  year = {2020},
  doi = {10.1109/icpr48806.2021.9413026},
}
Figure