Optformer: Beyond Transformer for Black-box Optimization
Abstract
We design a novel Transformer for continuous unconstrained black-box optimization, called Optformer. Inspired by the similarity between Vision Transformer and evolutionary algorithms (EAs), we modify Tansformer's multi-head self-attention layer, feed-forward network, and residual connection to implement the functions of crossover, mutation, and selection operators. Moreover, we devise an iterated mode to generate and survive potential solutions like EAs. Optformer establishes a mapping from the random population to the optimal population. Compared to baselines, such as EAs, Bayesian optimization, and the learning-to-optimize method, Optformer shows the top performance in six black-box functions and one real-world application. We also find that untrained Optformer can also achieve good performance.
BibTeX
@inproceedings{li2023optformer,
author = {Xiaobin Li and Kai Wu and Xiaoyu Zhang and Handing Wang and Jing Liu},
title = {{Optformer: Beyond Transformer for Black-box Optimization}},
booktitle = {International Conference on Learning Representations},
year = {2023},
url = {https://openreview.net/forum?id=sP0p5S-gZ2},
}Ask Althea to put this paper to the test.
Loading related content...