Skip to main content
QUICK REVIEW

[Paper Review] Bayesian Optimization in Variational Latent Spaces with Dynamic Compression

Rika Antonova, Akshara Rai|arXiv (Cornell University)|Jul 10, 2019
Gaussian Processes and Bayesian InferenceComputer Science40 references11 citations
TL;DR

This paper proposes a Bayesian optimization framework using a sequential variational autoencoder (SVAE) to embed simulated robot trajectories into a low-dimensional latent space, enabling data-efficient hyperparameter tuning for robotic controllers. By dynamically compressing the search space based on trajectory desirability, the method achieves superior performance with only 10–20 trials, outperforming baseline BO methods on both hardware (Daisy hexapod and ABB Yumi) and simulation.

ABSTRACT

Data-efficiency is crucial for autonomous robots to adapt to new tasks and environments. In this work we focus on robotics problems with a budget of only 10-20 trials. This is a very challenging setting even for data-efficient approaches like Bayesian optimization (BO), especially when optimizing higher-dimensional controllers. Simulated trajectories can be used to construct informed kernels for BO. However, previous work employed supervised ways of extracting low-dimensional features for these. We propose a model and architecture for a sequential variational autoencoder that embeds the space of simulated trajectories into a lower-dimensional space of latent paths in an unsupervised way. We further compress the search space for BO by reducing exploration in parts of the state space that are undesirable, without requiring explicit constraints on controller parameters. We validate our approach with hardware experiments on a Daisy hexapod robot and an ABB Yumi manipulator. We also present simulation experiments with further comparisons to several baselines on Daisy and two manipulators. Our experiments indicate the proposed trajectory-based kernel with dynamic compression can offer ultra data-efficient optimization.

Motivation & Objective

  • To address the challenge of data efficiency in robotic control with only 10–20 trials, a regime where traditional RL and standard BO fail.
  • To eliminate reliance on hand-designed features for simulation-based kernels in Bayesian optimization by using unsupervised representation learning.
  • To improve exploration efficiency in high-dimensional controller spaces by dynamically compressing regions of undesirable behavior in latent trajectory space.
  • To bridge the sim-to-real gap in robotic policy optimization by learning desirability-aware kernels from simulation.
  • To enable robust, fast convergence on real hardware using a single unified architecture across diverse robotic tasks.

Proposed method

  • A sequential variational autoencoder (SVAE) is trained on simulated trajectories to embed high-dimensional robot state sequences into a lower-dimensional latent path space.
  • The SVAE jointly models the conditional distribution $ p(\boldsymbol{\tau}|\boldsymbol{x}) $, where $ \boldsymbol{x} $ are controller parameters and $ \boldsymbol{\tau} $ are latent paths.
  • Trajectory desirability is quantified via a binary indicator $ G_{bad} $, marking regions with collisions, object tipping, or workspace violations.
  • Dynamic compression scales distances in the latent space based on desirability, reducing exploration in undesirable regions during BO.
  • The resulting SVAE-DC kernel is used within a Bayesian optimization loop, with hyperparameters (including kernel parameters) optimized online via marginal likelihood.
  • The framework is evaluated on real robots (Daisy hexapod, ABB Yumi) and simulated manipulators (Franka Emika, Yumi), using the BoTorch library for scalable GPU-accelerated BO.

Experimental results

Research questions

  • RQ1Can unsupervised representation learning via SVAE improve data efficiency in Bayesian optimization for robotic control?
  • RQ2Does dynamic compression of the latent space based on trajectory desirability enhance convergence speed and success rate in low-trial regimes?
  • RQ3How does the SVAE-DC kernel compare to standard kernels (e.g., squared exponential, BBK-KL) in terms of performance and robustness across sim-to-real gaps?
  • RQ4Can the same SVAE-DC architecture generalize across different robotic platforms and tasks with minimal re-tuning?
  • RQ5Does increasing the latent space dimensionality degrade data efficiency, and can dynamic compression mitigate this?

Key findings

  • On the ABB Yumi manipulator, SVAE-DC achieved significant performance gains over all baselines in hardware experiments, successfully finding controllers that were robust to sim-to-real discrepancies.
  • On the Daisy hexapod, the method learned to walk in fewer than 10 hardware trials, consistently outperforming uninformed BO with a standard kernel.
  • In simulation, BO with SVAE-DC outperformed all baselines on both Yumi and Franka Emika, with gains maintained even when object properties were randomized per run to simulate sim-to-real shift.
  • When the latent space was increased to 30D and network widths to 256, SVAE-DC maintained performance and reduced variance between runs, demonstrating robustness to kernel dimensionality.
  • The Matérn kernel did not provide consistent improvements over the squared exponential kernel, and neither outperformed SVAE-DC, which retained its advantage across all settings.
  • The SVAE-DC kernel enabled reliable convergence with minimal hyperparameter tuning, suggesting strong generalization across diverse robotic tasks and hardware platforms.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.