Abstract
Meta-Black-Box-Optimization (MetaBBO) aims to automate the configuration of optimization algorithms using Reinforcement Learning (RL). Traditional MetaBBO approaches are often hindered by the computational inefficiencies of online training and the "curse of dimensionality" inherent in high-dimensional hyperparameter spaces. We introduce Q-Mamba, an offline RL framework that addresses these challenges through Q-function decomposition and the hardware-efficient Mamba architecture. By treating hyperparameter selection as a sequential decision-making process, Q-Mamba effectively navigates complex action spaces. Empirical results demonstrate that Q-Mamba achieves state-of-the-art performance across diverse benchmarks while reducing training time by more than half compared to leading online methods.
Introduction
Black-Box-Optimization (BBO) is a fundamental task in engineering and artificial intelligence, particularly when the underlying objective function lacks a known analytical form. While Evolutionary Computation (EC) provides robust BBO solvers, their performance is highly sensitive to hyperparameter settings, often requiring manual expert tuning. MetaBBO automates this process by learning a meta-policy. However, current MetaBBO research faces two primary bottlenecks: the extreme computational cost of online RL training and the difficulty of optimizing dozens of hyperparameters simultaneously.
Methodology: The Q-Mamba Framework
Q-Mamba shifts the MetaBBO paradigm from online interaction to offline learning from static datasets. The architecture is built upon three core innovations.
Q-function Decomposition
To overcome the curse of dimensionality, Q-Mamba decomposes the joint distribution of hyperparameters into a sequence of conditional decisions. Instead of predicting a high-dimensional action vector at once, the model predicts Q-values for each hyperparameter sequentially. This autoregressive approach allows the model to capture inter-dependencies between parameters, such as the relationship between mutation and crossover rates in evolutionary algorithms.
Mamba-Based Sequence Modeling
While Transformers are common for sequence tasks, their quadratic complexity and time-invariant nature can be suboptimal for the long, non-stationary trajectories found in optimization. Q-Mamba employs the Mamba (State Space Model) architecture. Mamba's linear scaling and selective state management enable it to track long-term dependencies in optimization history more efficiently than standard attention-based models.
Conservative Offline Learning
Training is conducted using a dataset of 10,000 trajectories, comprising a mix of expert demonstrations and random exploration. To ensure stability and prevent overestimation of out-of-distribution actions, the framework incorporates a Conservative Q-learning (CQL) loss. This approach allows Q-Mamba to learn robust policies without requiring expensive real-time environment interactions.
Experimental Evaluation
The framework was evaluated on the BBOB (CoCo) test suite, featuring 24 synthetic functions, and tested for zero-shot generalization on Mujoco neuroevolution tasks.
Performance and Efficiency
Q-Mamba was compared against three online RL baselines (RLPSO, LDE, GLEET) and five offline baselines (DT, DeMa, QDT, QT, Q-Transformer). As shown in the comparative analysis, Q-Mamba consistently achieves the highest performance scores across different algorithmic configurations.
Crucially, Q-Mamba reduces the average training time from approximately 28 hours (for online methods like RLPSO) to just 13 hours. This efficiency gain is achieved without sacrificing the quality of the learned meta-policy, which remains stable with lower variance than competing offline methods.
Generalization to Complex Tasks
A significant highlight of Q-Mamba is its zero-shot generalization capability. Policies trained on low-dimensional synthetic functions were successfully applied to evolve neural network controllers in Mujoco environments. Despite the massive increase in parameter count—optimizing MLP policies with thousands of parameters—Q-Mamba maintained competitive performance, demonstrating the robustness of the learned sequential decision-making strategy.
Conclusion
Q-Mamba represents a significant step forward in making MetaBBO practical for real-world applications. By combining offline RL with sequential Q-function decomposition and the Mamba architecture, it resolves the dual challenges of training inefficiency and high-dimensional action spaces. Future work will explore universal MetaBBO models capable of generalizing across different optimization algorithms by incorporating algorithm-specific feature sets.
Summary updated