Reinforced In-Context Black-Box Optimization

Lei Song, Chenxiao Gao, Ke Xue, Chenyang Wu, Dong Li +3 more
2/27/2024
cs.LGcs.AIcs.NE

No official code found. Best implementation: lamda-bbo/RIBBO (10 stars, last commit 2025-05-19).

Abstract

Black-Box Optimization (BBO) has found successful applications in many fields of science and engineering. Recently, there has been a growing interest in meta-learning particular components of BBO algorithms to speed up optimization and get rid of tedious hand-crafted heuristics. As an extension, learning the entire algorithm from data requires the least labor from experts and can provide the most flexibility. In this paper, we propose RIBBO, a method to reinforce-learn a BBO algorithm from offline data in an end-to-end fashion. RIBBO employs expressive sequence models to learn the optimization histories produced by multiple behavior algorithms and tasks, leveraging the in-context learning ability of large models to extract task information and make decisions accordingly. Central to our method is to augment the optimization histories with \textit{regret-to-go} tokens, which are designed to represent the performance of an algorithm based on cumulative regret over the future part of the histories. The integration of regret-to-go tokens enables RIBBO to automatically generate sequences of query points that satisfy the user-desired regret, which is verified by its universally good empirical performance on diverse problems, including BBO benchmark functions, hyper-parameter optimization and robot control problems.

View on arXivView PDF

Code Implementations(1)

lamda-bbo/RIBBOCommunity100%

Official implementation of IJCAI'25 paper "Reinforced In-Context Black-Box Optimization"

100Shell, PythonSep 1, 20231 years ago

Similar Papers

Cite this paper

@article{song2024reinforced,
  title  = {Reinforced In-Context Black-Box Optimization},
  author = {Lei Song and Chenxiao Gao and Ke Xue and Chenyang Wu and Dong Li and Jianye Hao and Zongzhang Zhang and Chao Qian},
  year   = {2024},
  eprint = {2402.17423},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.17423v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.17423.svg)](https://codeofpaper.com/paper/2402.17423)

Discussion