Skip to content
Robotics.world

Research

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

Policies trained only in simulation usually fail on real robots, while collecting enough labeled real-world images to train from scratch is slow, expensive, and impractical for cheap hardware.

The paper’s first page · arXiv:2610.06327
arXiv
2610.06327
Published
2026-10-05
Authors
Álvaro Díez, Fidel Aznar

In plain words

Policies trained only in simulation usually fail on real robots, while collecting enough labeled real-world images to train from scratch is slow, expensive, and impractical for cheap hardware. The authors' goal is to close that "reality gap" cheaply: train first on a large batch of synthetic corridor images, then adapt the model with a very small set of real images so it works on a physical robot.

AI summary

Overview

  • Research area: Robotics — vision-based autonomous navigation, sim-to-real transfer learning, and embedded/edge deployment for low-cost mobile robots.
  • Technical level: Intermediate. Readers should be comfortable with convolutional neural networks, variational autoencoders (VAEs), and the general vocabulary of domain randomization and domain adaptation; the paper is written for a computer-vision/robotics audience but explains its motivation in accessible terms.
  • Scope (1 sentence): The paper proposes and evaluates a hybrid transfer-learning framework — two convolutional VAEs sharing one decoder, plus two data-augmentation tricks — that lets a policy trained mostly in a simple 2D simulator control a low-cost Makeblock mBot Ranger robot in a real indoor corridor using a single RGB camera.

What This Paper Is About

Policies trained only in simulation usually fail on real robots, while collecting enough labeled real-world images to train from scratch is slow, expensive, and impractical for cheap hardware. The authors' goal is to close that "reality gap" cheaply: train first on a large batch of synthetic corridor images, then adapt the model with a very small set of real images so it works on a physical robot. The intended payoff is a navigation policy small enough to run on embedded boards such as a Raspberry Pi 4 or an NVIDIA Jetson Nano.

Key Contributions

  1. Domain randomization from a custom simulator: A synthetic dataset of 45,225 labeled images was collected in a simulated indoor corridor — modeled on a real corridor in the Department of Computer Science and Artificial Intelligence at the University of Alicante — using a modeled Makeblock mBot Ranger with a monocular RGB camera. The simulator is built on the Planck.js 2D physics engine, and the data varies obstacles (walls, columns, door frames), illumination, and textures.
  2. Feature-level domain adaptation with a dual-VAE, shared-decoder architecture: Two convolutional VAEs, denoted (G_S) (synthetic) and (G_R) (pseudo-synthetic), share a single decoder. The decoder is trained on simulation and then frozen; only the real-domain encoder is fine-tuned on the small real dataset, so real images are mapped into the same latent space learned from simulation. This requires no one-to-one pairing between simulated and real samples.
  3. Two complementary data-augmentation strategies for the scarce real data: (a) standard image-space transforms — random crop, brightness, contrast, and saturation perturbations; (b) latent-space manipulation, where an extra temporary VAE (G_E) is trained on real images, a few latent elements are replaced with random values from a narrow range, and the decoder synthesizes new plausible real-looking images.
  4. Memory-efficient design plus real-robot validation: The models are deliberately compact — 64×64 RGB inputs compressed to a 32-dimensional latent vector — to suit resource-constrained platforms. Validation includes deploying the policy on the physical robot for a real-time, collision-free, map-less reactive exploration task in a real indoor corridor, and a computational estimate targeting the Raspberry Pi 4 and NVIDIA Jetson Nano.

Main Findings

  • Adaptation beats single-domain training: The authors state that their hybrid method achieves an average success rate of almost 91% on image classification tasks for real-world indoor navigation, outperforming both simulation-only and real-world-only training. The experiments were designed around three test conditions: a real-data-only baseline, a simulation-only model, and the proposed pseudo-synthetic model.
  • Reported classification accuracy of 90.88%: Section 2.3 of the paper cites 90.88% as the classification accuracy achieved by the proposed method on its real-world test dataset.
  • The three hypotheses were tested directly: (1) real-only training struggles on novel real scenarios without a large, balanced labeled set; (2) simulation-only training on a large, balanced synthetic set generalizes poorly to the equivalent real environment; (3) a shared representation space built from large simulated data plus limited real data mitigates the discrepancy and improves real-world generalization.
  • Real-robot deployment succeeded: The transferred policy guided the low-cost robot in a reactive exploration task in a real indoor corridor, described as a proof-of-concept rather than a large-scale field trial.
  • Embedded feasibility: A computational estimation confirms suitability for resource-constrained platforms such as the Raspberry Pi 4 and NVIDIA Jetson Nano.
  • Test-set and full results tables are not in the provided content: The supplied text is truncated within Section 4, so per-architecture accuracy/success breakdowns, test-set sizes, and training hyperparameters beyond those listed above are not reported here.

Methodology in Plain English

The team built a simplified 2D simulated version of a real indoor corridor and drove a virtual copy of their cheap robot around it, saving 45,225 labeled camera images under varied lighting, textures, and obstacle layouts. They also drove the real robot down the actual corridor and saved a much smaller set of 4,556 real images.

Two autoencoder networks were then used. An autoencoder squeezes an image down into a short list of numbers — here just 32 numbers per image — and then tries to rebuild the image from that list. The first network learned this compression on the simulated images. Because the simulated images are varied, the shared "rebuild" half of the network learns a general picture of corridors rather than memorizing one particular hallway.

The second network copies the first one's weights, and the rebuild half is frozen. Only the half that converts a real photo into the 32 numbers is retrained, using the small real dataset. The effect is that real photos are forced to be expressed in the same 32-number vocabulary the simulator taught the network — the two domains end up sharing one compact space.

Because 4,556 real images is thin, the authors stretched them two ways. First, they applied ordinary image edits — crops and changes to brightness, contrast, and saturation — and used those for an intermediate round of fine-tuning. Second, they trained a throwaway autoencoder on the real images only, nudged a few of the 32 numbers in each image's code to nearby random values, and decoded those codes back into new but believable synthetic-real images for a final fine-tuning round.

Finally, they compared three models — one trained on real data only, one on simulation only, and the proposed combination — on held-out real test images, and ran the resulting policy on the physical robot.

Why This Matters

  • Research impact: The work is a concrete, data-efficient demonstration of combining domain randomization with generative feature-level adaptation, avoiding both the instability of GAN-based pixel-level translation and the cost of online simulator tuning. It shows a small real dataset used cleverly can outperform much larger single-domain training.
  • Real-world applications:
    • Low-cost indoor service or delivery robots that must navigate corridors without LiDAR or a prebuilt map.
    • Educational and hobbyist robotics platforms (the Makeblock mBot Ranger class) where compute and sensor budgets are tiny.
    • Rapid deployment of robots in new buildings, where a simulated model of the site can be built far faster than a labeled real dataset can be collected.
    • Edge inference on single-board computers for reactive obstacle avoidance in mobile platforms and small ground vehicles.
  • Industry relevance: The emphasis on memory footprint, latent-vector size (32 dimensions), and target hardware (Raspberry Pi 4, NVIDIA Jetson Nano) speaks directly to cost-sensitive product teams. The result also matters as a counterpoint to foundation-model approaches such as RT-2, which the authors note are computationally prohibitive for this class of hardware.

Future Directions

  • Full quantitative reporting: The supplied text is truncated before the complete results, so the per-architecture comparison tables, test-set sizes, and the exact spread between the three training paradigms remain to be examined in the full paper.
  • Scaling the real-world evaluation: The real-robot validation is described as a proof-of-concept in a single corridor; extending it to multiple buildings, dynamic obstacles, and moving people is the natural next test.
  • Beyond a 2D physics engine: The simulator is built on Planck.js; testing whether the same shared-latent approach survives a move to higher-fidelity 3D simulation, or to other sensor modalities, is an open question.
  • Closing the loop: The authors position their method as an offline, model-centric alternative to online simulator tuning. Whether periodically refreshing the real encoder with newly collected on-robot images (a continual-learning variant) preserves the efficiency gains is not addressed in the provided content, and the paper's conclusion section is not included in the excerpt.

Target Audience

Robotics and computer-vision researchers working on sim-to-real transfer; engineers building navigation or perception stacks for low-cost, resource-constrained robots; and graduate students looking for a compact, readable case study in combining VAEs with domain randomization and augmentation. Practitioners who need a deployable recipe on Raspberry Pi-class hardware will find the hardware and data-volume numbers more useful than the theory, while readers new to the field will need to look up VAE basics and domain adaptation terminology first.

Authors’ 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…

The full abstract on arXiv
Read the original paper

Related papers