Automated Random Embedding for Practical Bayesian Optimization with Unknown Effective Dimension

Hong Qian, Xiang Shu, Xiang Xia, Xuhui Liu, Yangde Fu, Bei Liang, Huibin Wang, Liang Dou

TL;DR

DSEBO (Dynamic Shared Embedding Bayesian Optimization) automates high-dimensional optimization by dynamically expanding the search subspace dimension as it learns. By utilizing a novel shared embedding technique, it reuses expensive function evaluations across different dimensions, effectively balancing the trade-off between search speed and approximation accuracy without needing prior knowledge of a task's "effective dimension."

What Problem Does This Paper Address?

Bayesian Optimization (BO) is a powerful tool for optimizing expensive "black-box" functions, but it famously suffers from the curse of dimensionality. As the number of input variables ($D$) grows, the volume of the search space increases exponentially, making it nearly impossible to find the global optimum with a limited budget of evaluations.

To combat this, researchers often use Random Embedding (RE), which projects a low-dimensional subspace ($d$) into the high-dimensional space ($D$). This works if the function has a low "effective dimension"—meaning only a few variables truly drive the output. However, there is a catch: you usually don't know the effective dimension in advance.

  • If you choose a $d$ that is too small, you might miss the optimal solution entirely (high approximation error).
  • If you choose a $d$ that is too large, the search becomes inefficient and slow (high optimization error).

Traditional methods rely on expert guesses or costly trial-and-error to pick $d$. This paper introduces a way to automate this choice on the fly.

Methods

The authors propose Dynamic Shared Embedding Bayesian Optimization (DSEBO), which consists of three main components:

  1. Dynamic Dimension Expanding: DSEBO starts optimizing in a very low-dimensional subspace. Once the optimization in that subspace shows signs of convergence (i.e., the best value hasn't improved for a while), the algorithm automatically increases the subspace dimension.
  2. Shared Embedding Technique: This is the "secret sauce" that makes expansion efficient. Instead of generating a new random matrix for every new dimension, DSEBO uses a single large Shared Embedding Matrix. As shown in Figure 2, a lower-dimensional vector can be transformed into a higher-dimensional one simply by appending zeros. Because the embedding matrices are nested, a point evaluated in a 3D subspace is identical to a specific point in a 5D subspace, allowing the algorithm to reuse all previous data points to initialize the new, larger search space.
Figure 2: An example of the shared embedding technique.
  1. Adaptive Growth Strategy: The algorithm doesn't just increase the dimension by a fixed amount. It calculates the "slope" of improvement—how much the objective function improved relative to the increase in dimension—to decide how much to expand next.

Datasets

The authors evaluated DSEBO against a wide array of synthetic and real-world benchmarks:

  • Synthetic Functions: Standard benchmarks like Levy, Griewank, Sphere, and Rosenbrock, modified to have specific effective dimensions ($d_e=30$) within very high-dimensional spaces ($D=1,000$ and $D=10,000$).
  • Real-World Tasks:
  • MSLR (Microsoft Learning to Rank): Optimizing a neural network for web page ranking.
  • Lasso-Hard: A 1,000-dimensional sparse regression task from LassoBench.
  • LIMO: A molecular generation task operating in a 1,024-dimensional latent space.

Key Insights and Ideas

  • The Optimization-Approximation Trade-off: The paper provides a theoretical regret bound showing that DSEBO balances two types of error. While it might have a slightly higher approximation error initially compared to a high-fixed-dimension search, its optimization error is vastly lower because it spends its budget searching in easier, low-dimensional spaces first.
  • Data is Too Expensive to Waste: In black-box optimization, every function evaluation is "gold." The shared embedding technique (Figure 2) ensures that moving to a higher dimension doesn't mean starting over. This "warm-starting" significantly accelerates convergence in the new subspace.
  • Continuous Progress: Unlike fixed-dimension methods that plateau once they've exhausted the potential of their chosen subspace, DSEBO's ability to expand allows it to keep finding improvements long after other algorithms have stalled.

Key Results

DSEBO consistently outperformed state-of-the-art methods (like REMBO, BAxUS, and TuRBO) across nearly all tests.

  • Superiority in High Dimensions: On synthetic functions with $D=1,000$, DSEBO found significantly better optima than competitors within the same 500-iteration budget (see Figure 3).
  • Real-World Efficiency: On the MSLR and LIMO tasks, DSEBO reached lower objective values faster than other subspace-based methods.
  • Adaptability: Figure 5 illustrates DSEBO's behavior on real-world tasks. It shows the "Best-so-far" value dropping sharply as the "Chosen Dim" (the subspace dimension) gradually steps up, demonstrating the algorithm's ability to tailor its search space to the specific difficulty of the task.
Figure 3: Results on partial synthetic functions compared with various high-dimensional optimization algorithms. All algorithms are independently repeated 10 times. The mean and standard deviation of the results are plotted.
Figure 5: Results on real-world tasks compared with the MAB strate- gies, and the subspace dimensions selected by DSEBO during the optimization process. All experiments are repeated 10 times. The mean and standard deviation of the results are plotted.

Limitations and Future Work

  • One-Way Expansion: Currently, DSEBO only expands the dimension. It cannot "shrink" the subspace if it realizes it has overshot the true effective dimension, which could lead to wasted computational effort in later stages.
  • Expansion Halt: The algorithm doesn't have a formal mechanism to stop expanding once the true effective dimension is reached. It will keep expanding until the budget is exhausted or it hits the user-defined maximum ($d_h$).
  • Future Directions: The authors suggest exploring more adaptive strategies to identify the exact effective dimension and integrating this dynamic expansion logic into other optimization frameworks, such as evolutionary algorithms.

Summary updated

BibTeX
@misc{qian2026automated,
  author = {Hong Qian and Xiang Shu and Xiang Xia and Xuhui Liu and Yangde Fu and Bei Liang and Huibin Wang and Liang Dou},
  title = {{Automated Random Embedding for Practical Bayesian Optimization with Unknown Effective Dimension}},
  year = {2026},
  eprint = {2605.23473},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.23473},
}
Figure