Task-free Adaptive Meta Black-box Optimization

Chao Wang, Licheng Jiao, Lingling Li, Jiaxuan Zhao, Guanchun Wang, Fang Liu, Shuyuan Yang

TL;DR: ABOM (Adaptive meta Black-box Optimization Model) is a "task-free" meta-optimizer that learns how to optimize while it is optimizing. By transforming traditional evolutionary operators into differentiable neural modules that update online, it eliminates the need for expensive pre-training on massive task distributions while outperforming state-of-the-art handcrafted and meta-learned optimizers.

The Bottleneck in Black-Box Optimization

Black-box optimization (BBO) is a fundamental challenge in machine learning, appearing in everything from hyperparameter tuning to neural architecture search. In these scenarios, gradients are unavailable; we only have a "black box" function that returns a score for a given input.

Traditional Evolutionary Algorithms (EAs) solve this using handcrafted heuristic operators like selection, crossover, and mutation. Recently, MetaBBO has emerged to automate the design of these optimizers using machine learning. However, existing MetaBBO methods suffer from a critical "training bottleneck": they require a massive, predefined distribution of handcrafted training tasks to learn a strategy that generalizes. If a target task is unique or falls outside the training distribution, these models often fail.

Comparison of traditional MetaBBO and the proposed ABOM framework.

The authors tackle this dependency head-on, aiming for an optimizer that can adapt to any task in a "zero-shot" manner without prior training.

Introducing ABOM: Continuous Learning for Optimization

To overcome the limitations of offline meta-training, the authors introduce ABOM, a closed-loop framework that treats optimization as a continuous learning process.

The detailed pipeline of the ABOM framework, highlighting the online parameter adaptation loop.

The framework is built on several key innovations:

  1. Differentiable Evolutionary Operators: Instead of fixed rules, ABOM uses attention mechanisms to parameterize evolutionary steps. Selection models relationships between individuals and their fitness scores, while mutation uses attention to model dependencies between different dimensions (genes) of a solution.
  2. Online Parameter Adaptation: Unlike standard MetaBBO which freezes its weights after training, ABOM updates its internal parameters at every generation. This is the core mechanism enabling its task-free nature.
  3. Self-Supervised Learning: To update itself, ABOM minimizes a loss function that measures the distance between newly generated offspring and an "elite archive" (the best solutions found so far). Essentially, the model learns to mimic the characteristics of the most successful solutions it has encountered in the current task.
  4. GPU-Parallel Design: Because the operators are expressed as matrix operations (linear layers and attention), the entire optimization process can be accelerated on a GPU, making it significantly faster than traditional CPU-based EAs.

Key Insights and Performance

The researchers evaluated ABOM on distinct benchmarks, including the BBOB (Black-Box Optimization Benchmark) suite of 24 synthetic functions and a realistic UAV Path Planning benchmark consisting of 56 terrain-based 3D scenarios.

  • The Death of the Training Distribution: ABOM proves that a library of thousands of tasks is not strictly necessary to learn how to optimize. By leveraging the data generated during the search process itself, the model discovers an effective strategy for specific, never-before-seen landscapes.
  • Zero-Shot Success: On the UAV path planning task, ABOM converged faster and found better solutions than baselines, all without any task-specific pre-training. On the BBOB suite ($d=500$), it matched or outperformed all 10 baselines, including state-of-the-art adaptive EAs (like CMA-ES) and advanced MetaBBO methods.
  • Evolution as Attention: A fascinating theoretical insight is that evolutionary dynamics—like choosing which parents to breed or which genes to mutate—can be mapped directly onto the math of Transformers. Visualizing the attention matrices reveals that ABOM develops interpretable patterns resembling natural selection and genetic recombination.
  • Theoretical Rigor: The authors provide a mathematical proof of global convergence, ensuring that ABOM will eventually find the global optimum under reasonable assumptions.

Limitations and Future Directions

While highly effective, ABOM has a few limitations. The current attention mechanism has a computational complexity of $O(d^3)$ relative to the problem dimension. While fast on GPUs, this could become a bottleneck for extremely high-dimensional problems, suggesting a need for sparse or low-rank attention in future iterations. Additionally, while the model adapts its operators, it still relies on some fixed hyperparameters like population size.

Ultimately, ABOM represents a paradigm shift in meta-optimization. Future versions could even combine the best of both worlds: pre-training on broad knowledge and then using ABOM's online adaptation to fine-tune the strategy for a specific target task.

Summary updated

BibTeX
@inproceedings{wang2026task,
  author = {Chao Wang and Licheng Jiao and Lingling Li and Jiaxuan Zhao and Guanchun Wang and Fang Liu and Shuyuan Yang},
  title = {{Task-free Adaptive Meta Black-box Optimization}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=AufVSUgMUo},
}
Figure