Proceedings

Reinforced In-Context Black-Box Optimization

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 8939-8947.

https://doi.org/10.24963/ijcai.2025/994

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 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 are positively correlated to the user-desired regret, verified by its universally good empirical performance on diverse problems, including BBO benchmark, hyper-parameter optimization, and robot control problems.

  1. [Adriaensen et al., 2022] S. Adriaensen, A. Biedenkapp, G. Shala, N. H. Awad, T. Eimer, M. Lindauer, and F. Hut- ter. Automated dynamic algorithm configuration. JAIR, 75:1633-1699, 2022.
  2. [Alarie et al., 2021] S. Alarie, C. Audet, A. E. Gheribi, M. Kokkolaras, and S. Le Digabel. Two decades of black- box optimization applications. EJCO, 9:100011, 2021.
  3. [Arango et al., 2021] S. P. Arango, H. S. Jomaa, M. Wis- tuba, and J. Grabocka. HPO-B: A large-scale repro- ducible benchmark for black-box HPO based on OpenML. arXiv:2106.06257, 2021.
  4. [Astudillo and Frazier, 2021] R. Astudillo and P. I. Frazier. Thinking inside the box: A tutorial on grey-box Bayesian optimization. In WSC, pages 1-15, Phoenix, AZ, 2021.
  5. [Back, 1996] T. Back. Evolutionary Algorithms in Theory and Practice: Evolution Strategies, Evolutionary Pro- gramming, Genetic Algorithms. Oxford University Press, 1996.
  6. [Bai et al., 2023] T. Bai, Y. Li, Y. Shen, X. Zhang, W. Zhang, and B. Cui. Transfer learning for Bayesian optimization: A survey. arXiv:2302.05927, 2023.
  7. [Bain and Sammut, 1995] M. Bain and C. Sammut. A frame- work for behavioural cloning. Machine Intelligence, 15:103-129, 1995.
  8. [Balandat et al., 2020] M. Balandat, B. Karrer, D. R. Jiang, S. Daulton, B. Letham, A. G. Wilson, and E. Bak- shy. BoTorch: A framework for efficient Monte-Carlo Bayesian optimization. In NeurIPS, pages 10113-10124, Virtual, 2020.
  9. [Brown et al., 2020] T. B. Brown, B. Mann, N. Ryder, M. Subbiah, J. Kaplan, P. Dhariwal, A. Neelakantan, P. Shyam, G. Sastry, A. Askell, S. Agarwal, A. Herbert- Voss, G. Krueger, T. Henighan, R. Child, A. Ramesh, D. M. Ziegler, J. Wu, C. Winter, C. Hesse, M. Chen, E. Sigler, M. Litwin, S. Gray, B. Chess, J. Clark, C. Berner, S. McCandlish, A. Radford, I. Sutskever, and D. Amodei. Language models are few-shot learners. In NeurIPS, pages 1877-1901, Virtual, 2020.
  10. [Chen et al., 2017] Y. Chen, M. W. Hoffman, S. G. Col- menarejo, M. Denil, T. P. Lillicrap, M. Botvinick, and N. Freitas. Learning to learn without gradient descent by gradient descent. In ICML, pages 748-756, Sydney, Aus- tralia, 2017.
  11. [Chen et al., 2021] L. Chen, K. Lu, A. Rajeswaran, K. Lee, A. Grover, M. Laskin, P. Abbeel, A. Srinivas, and I. Mor- datch. Decision transformer: Reinforcement learning via sequence modeling. In NeurIPS, pages 15084-15097, Vir- tual, 2021.
  12. [Chen et al., 2022] Y. Chen, X. Song, C. Lee, Z. Wang, R. Zhang, D. Dohan, K. Kawakami, G. Kochanski, A. Doucet, M. Ranzato, S. Perel, and N. de Freitas. To- wards learning universal hyperparameter optimizers with transformers. In NeurIPS, pages 32053-32068, New Or- leans, LA, 2022.
  13. [Elhara et al., 2019] O. Elhara, K. Varelas, D. Nguyen, T. Tusar, D. Brockhoff, N. Hansen, and A. Auger. COCO: The large scale black-box optimization benchmarking (BBOB-largescale) test suite. arXiv:1903.06396, 2019.
  14. [Feurer et al., 2015] M. Feurer, J. Springenberg, and F. Hut- ter. Initializing Bayesian hyperparameter optimization via meta-learning. In AAAI, pages 1128-1135, Austin, TX, 2015.
  15. [Feurer et al., 2021] M. Feurer, J. N. Van Rijn, A. Kadra, P. Gijsbers, N. Mallik, S. Ravi, A. Müller, J. Vanschoren, and F. Hutter. OpenML-Python: An extensible Python API for OpenML. JMLR, 22(1):4573-4577, 2021.
  16. [Finn et al., 2017] C. Finn, P. Abbeel, and S. Levine. Model- agnostic meta-learning for fast adaptation of deep net- works. In ICML, pages 1126-1135, Sydney, Australia, 2017.
  17. [Frazier and Wang, 2016] P. I. Frazier and J. Wang. Bayesian Optimization for Materials Design. Springer, 2016.
  18. [Frazier, 2018] P. I. Frazier. A tutorial on Bayesian optimiza- tion. arXiv:1807.02811, 2018.
  19. [Gao et al., 2024] C. Gao, C. Wu, M. Cao, R. Kong, Z. Zhang, and Y. Yu. ACT: Empowering decision trans- former with dynamic programming via advantage con- ditioning. In AAAI, pages 12127-12135, Vancouver, Canada, 2024.
  20. [Garnelo et al., 2018] M. Garnelo, D. Rosenbaum, C. Mad- dison, T. Ramalho, D. Saxton, M. Shanahan, Y. W. Teh, D. Rezende, and S. A. Eslami. Conditional neural pro- cesses. In ICML, pages 1704-1713, Stockholm, Sweden, 2018.
  21. [Hansen, 2016] N. Hansen. The CMA evolution strategy: A tutorial. arXiv:1604.00772, 2016.
  22. [Hospedales et al., 2021] T. Hospedales, A. Antoniou, P. Mi- caelli, and A. Storkey. Meta-learning in neural networks: A survey. IEEE TPAMI, 44(9):5149-5169, 2021.
  23. [Hsieh et al., 2021] B. Hsieh, P. Hsieh, and X. Liu. Rein- forced few-shot acquisition function learning for Bayesian optimization. In NeurIPS, pages 7718-7731, Virtual, 2021.
  24. [Kaplan et al., 2020] J. Kaplan, S. McCandlish, T. Henighan, T. B. Brown, B. Chess, R. Child, S. Gray, A. Radford, J. Wu, and D. Amodei. Scaling laws for neural language models. arXiv:2001.08361, 2020.
  25. [Krishnamoorthy et al., 2023] S. Krishnamoorthy, S. Mashkaria, and A. Grover. Generative pretraining for black-box optimization. In ICML, pages 24173- 24197, Honolulu, HI, 2023.
  26. [Lange et al., 2023a] R. T. Lange, T. Schaul, Y. Chen, C. Lu, T. Zahavy, V. Dalibard, and S. Flennerhag. Discovering attention-based genetic algorithms via meta-black-box op- timization. In GECCO, pages 929-937, Lisbon, Portugal, 2023.
  27. [Lange et al., 2023b] R. T. Lange, T. Schaul, Y. Chen, T. Za- havy, V. Dalibard, C. Lu, S. Singh, and S. Flennerhag. Discovering evolution strategies via meta-black-box opti- mization. In ICLR, Kigali, Rwanda, 2023.
  28. [Laskin et al., 2023] M. Laskin, L. Wang, J. Oh, E. Parisotto, S. Spencer, R. Steigerwald, D. Strouse, S. S. Hansen, A. Filos, E. Brooks, maxime gazeau, H. Sahni, S. Singh, and V. Mnih. In-context reinforcement learning with algo- rithm distillation. In ICLR, Kigali, Rwanda, 2023.
  29. [Li et al., 2023] Y. Li, M. E. Ildiz, D. Papailiopoulos, and S. Oymak. Transformers as algorithms: Generalization and stability in in-context learning. In ICML, pages 19565-19594, Honolulu, HI, 2023.
  30. [Lin et al., 2022] T. Lin, Y. Wang, X. Liu, and X. Qiu. A survey of transformers. AI open, 3:111-132, 2022.
  31. [Lu et al., 2023] M. Lu, S. Ning, S. Liu, F. Sun, B. Zhang, B. Yang, and L. Wang. OPT-GAN: A broad-spectrum global optimizer for black-box problems by learning dis- tribution. In AAAI, pages 12462-12472, Washington, DC, 2023.
  32. [Maraval et al., 2023] A. M. Maraval, M. Zimmer, A. Gros- nit, and H. B. Ammar. End-to-end meta-Bayesian opti- misation with transformer neural processes. In NeurIPS, pages 11246-11260, New Orleans, LA, 2023.
  33. [Müller et al., 2022] S. Müller, N. Hollmann, S. P. Arango, J. Grabocka, and F. Hutter. Transformers can do Bayesian inference. In ICLR, Virtual, 2022.
  34. [Müller et al., 2023] S. Müller, M. Feurer, N. Hollmann, and F. Hutter. PFNs4BO: In-context learning for Bayesian op- timization. In ICML, pages 25444-25470, Honolulu, HI, 2023.
  35. [Nguyen and Grover, 2022] T. Nguyen and A. Grover. Transformer neural processes: Uncertainty-aware meta learning via sequence modeling. In ICML, pages 16569- 16594, Baltimore, MD, 2022.
  36. [Perrone and Shen, 2019] V. Perrone and H. Shen. Learning search spaces for Bayesian optimization: Another view of hyperparameter transfer learning. In NeurIPS, pages 12751-12761, Vancouver, Canada, 2019.
  37. [Perrone et al., 2018] V. Perrone, R. Jenatton, M. W. Seeger, and C. Archambeau. Scalable hyperparameter trans- fer learning. In NeurIPS, pages 6846-6856, Montreal, Canada, 2018.
  38. [Poloczek et al., 2016] M. Poloczek, J. Wang, and P. I. Fra- zier. Warm starting Bayesian optimization. In WSC, pages 770-781, Washington, DC, 2016.
  39. [Radford et al., 2018] A. Radford, K. Narasimhan, T. Sali- mans, and I. Sutskever. Improving language understanding by generative pre-training. OpenAI Blog, 2018.
  40. [Real et al., 2019] E. Real, A. Aggarwal, Y. Huang, and Q. V. Le. Regularized evolution for image classifier ar- chitecture search. In AAAI, pages 4780-4789, Honolulu, HI, 2019.
  41. [Shi et al., 2023] Y. Shi, K. Xue, L. Song, and C. Qian. Macro placement by wire-mask-guided black-box opti- mization. In NeurIPS, pages 6825-6843, New Orleans, LA, 2023.
  42. [Terayama et al., 2021] K. Terayama, M. Sumita, R. Tamura, and K. Tsuda. Black-box optimization for automated discovery. Accounts of Chemical Research, 54(6):1334- 1346, 2021.
  43. [Vaswani et al., 2017] A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, L. Kaiser, and I. Polo- sukhin. Attention is all you need. In NIPS, pages 5998- 6008, Long Beach, Canada, 2017.
  44. [Volpp et al., 2020] M. Volpp, L. P. Fröhlich, K. Fischer, A. Doerr, S. Falkner, F. Hutter, and C. Daniel. Meta- learning acquisition functions for transfer learning in Bayesian optimization. In ICLR, Addis Ababa, Ethiopia, 2020.
  45. [Wang et al., 2018] Z. Wang, C. Gehring, P. Kohli, and S. Jegelka. Batched large-scale Bayesian optimization in high-dimensional spaces. In AISTATS, pages 745-754, Playa Blanca, Spain, 2018.
  46. [Wang et al., 2021] Z. Wang, G. E. Dahl, K. Swersky, C. Lee, Z. Nado, J. Gilmer, J. Snoek, and Z. Ghahramani. Pre-trained Gaussian processes for Bayesian optimization. arXiv:2109.08215, 2021.
  47. [Wang et al., 2024] S. Wang, K. Xue, L. Song, X. Huang, and C. Qian. Monte Carlo tree search based space trans- fer for black box optimization. In NeurIPS, pages 49591- 49624, Vancouver, Canada, 2024.
  48. [Wistuba and Grabocka, 2021] M. Wistuba and J. Grabocka. Few-shot Bayesian optimization with deep kernel surro- gates. In ICLR, Virtual, 2021.
  49. [Xue et al., 2022] K. Xue, J. Xu, L. Yuan, M. Li, C. Qian, Z. Zhang, and Y. Yu. Multi-agent dynamic algorithm con- figuration. In NeurIPS, New Orleans, LA, 2022.
  50. [Yang and Deb, 2010] X. Yang and S. Deb. Eagle strategy using Lévy walk and firefly algorithms for stochastic op- timization. In NICSO, pages 101-111, Granada, Spain, 2010.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards