Manuscript Offprint

arXiv:2610.06327

Dual Variational Autoencoders for Efficient Sim-to-Real Transfer in Low-Cost Robotic Navigation

Álvaro Díez, Fidel Aznar

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Vision-based autonomous navigation for low-cost robots remains a fundamental challenge, primarily due to the significant gap between simulated training environments and real-world operational conditions. Direct policy transfer from simulation is often ineffective, while training exclusively on real data is impractical. We propose a hybrid transfer learning framework that effectively bridges the sim-to-real gap by combining domain randomization with feature-level domain adaptation. Our method employs a dual convolutional variational autoencoder architecture with a shared decoder, trained on an extensive set of 45225 simulated images and a minimal set of only 4556 real-world samples. This architecture learns a compact, common latent representation space that aligns the distributions of both domains. The adaptation process is further enhanced by two complementary data augmentation techniques designed to expand the limited real-world data. Experimental evaluation demonstrates that our method achieves an average success rate of almost 91% on image classification tasks for real-world indoor navigation, significantly outperforming both simulation-only and real-world-only training. We validate these findings through a direct, real-world deployment, where the proposed policy successfully guides a low-cost robot in a reactive exploration task. Furthermore, we validate the model's efficiency through a rigorous computational estimation, confirming its suitability for resource-constrained embedded platforms such as the Raspberry Pi 4 and NVIDIA Jetson Nano. This work presents a practical solution for developing effective and efficient navigation policies for low-cost robotic systems.

Keywords: Robotic vision, Autonomous navigation, Sim-to-real transfer, Variational autoencoder, Data augmentation, Low-cost robotics

arXiv:2610.06327v1

1. Introduction

Deep Learning (DL) [1] has achieved remarkable success in solving a diverse array of complex tasks, particularly within vision-based applications for Artificial Intelligence (AI) and robotics. These applications span from object detection and classification [2, 3, 4], fine-grained recognition [5], and human pose estimation [6, 7, 8] to embodied autonomous navigation [9, 10]. Across many of these fields, it is common practice to learn policies within simulated environments and subsequently transfer them to real-world platforms.

As highlighted in [11], image-based learning in simulated environments offers a more straightforward training methodology compared to direct learning in reality. Physics simulators facilitate the rapid and cost-effective collection of large-scale, labeled data. In contrast, gathering extensive and properly annotated datasets in the real world can be a time-consuming, expensive, and logistically challenging endeavor.

However, the literature has also demonstrated that policies trained exclusively on simulation data often fail to generalize effectively to real-world scenarios [12, 11]. These difficulties primarily arise from systematic discrepancies between real and simulated environments. In the broader context of visual perception, recent studies have emphasized the critical need for robustness against real-world disturbances, such as handling occlusions [13], suppressing background noise and information inequality [14], and defending against adversarial perturbations [15]. Similarly, in the scientific literature, the discrepancies specifically between simulation and reality are commonly referred to by the term Reality Gap (RG) [16, 17].

To address these challenges, two principal sets of Transfer Learning (TL) methods have emerged: Domain Randomization (DR) [18] and Domain Adaptation (DA) [19], which can be effectively combined. Furthermore, as recently affirmed by researchers such as Azzam et al. [20], it is also possible to effectively transfer policies from simulation to reality without employing the aforementioned explicit TL approaches, instead utilizing so-called Zero-Shot Generalization (ZSG) and Reinforcement Learning (RL) [21].

Considering the DR and DA transfer learning ap-

*Corresponding author

Email addresses: alvaro.diez@ua.es (Álvaro Díez ®^{®}), fidel@ua.es (Fidel Aznar ®^{®}) proaches, which are the focus of the present work, we investigate three core hypotheses:

  1. A DL model trained exclusively on real-world data will struggle to perform satisfactorily across novel scenarios in a real environment without an extensive, balanced training set of labeled real-world data.

  2. A DL model trained entirely on a large, balanced set of labeled simulation data will learn a policy with limited generalization capability to various scenarios in an equivalent real environment.

  3. By generating a common representation space where distributions of both extensive simulation data and limited real-world data can converge, it will be possible to mitigate the discrepancies between simulated and real environments, thereby learning a policy with improved generalization accuracy in the real world.

This paper proposes a deep TL method for efficiently producing policies that can generalize and adapt to diverse situations in vision-based tasks within real environments. We focus particularly on real-time tasks requiring accurate and efficient image classification [22], such as visual navigation applications involving autonomous robots in the real world.

Specifically, our method constructs abstract low-dimensional representations from both simulation and real-world data using deep generative models. These models extract and learn meaningful features from synthetic and real images while simultaneously reducing their dimensionality. Our goal is to develop models capable of obtaining policies that can rapidly and efficiently solve various autonomous low-cost robot navigation tasks after training primarily in simulation and transferring to reality.

Our major contributions include:

  • The implementation of domain randomization by training our network with meaningful features extracted from extensive simulation data before policy transfer to reality. We collect synthetic training images using a single low-cost mobile robot in a realistic indoor environment modeled with a high-fidelity physics simulator.

  • The application of domain adaptation using two convolutional Variational Autoencoders (VAEs) [23] that share a common decoder. This decoder generates similar synthetic and pseudo-synthetic image data without requiring a direct, one-to-one correspondence between the simulated and real-world training samples, enabling successful policy generalization to novel real scenarios.

  • The creation of memory-efficient image representations, making our learned policies suitable for transfer to low-cost physical robots. This is particularly relevant for autonomous reactive navigation [24, 25] applications that use a mobile robot equipped with a single cost-effective camera.

  • The validation of the developed method by transferring the proposed policy to a low-cost physical robot and executing a real-time, collision-free, map-less [26, 27] visual exploration task in a real-world indoor corridor.

The remainder of this paper is organized as follows: Section 2 reviews related work on transfer learning and its main approaches, as well as specific studies on autonomous robot navigation applications in the real world. Section 3 details our proposed transfer learning method, including data acquisition, training methodology, and data augmentation techniques. Section 4 presents and analyzes our experimental results, including a proof-of-concept validation performed in the real world using a mobile robot with limited computational resources. Finally, Section 5 addresses our conclusions and directions for future research.

References (64)