Lune

ICML2024Top-tier venue

Towards AutoAI: Optimizing a Machine Learning System with Black-box and Differentiable Components

Zhiliang Chen, Chuan-Sheng Foo, Bryan Kian Hsiang Low

Abstract

Machine learning (ML) models in the real world typically do not exist in isolation. They are usually part of a complex system (e.g., healthcare systems, self-driving cars) containing multiple ML and black-box components. The problem of optimizing such systems, which we refer to as automated AI (AutoAI), requires us to jointly train all ML components together and presents a significant challenge because the number of system parameters is extremely high and the system has no analytical form. To circumvent this, we introduce a novel algorithm called A-BAD-BO which uses each ML component's local loss as an auxiliary indicator for system performance. A-BAD-BO uses Bayesian optimization (BO) to optimize the local loss configuration of a system in a smaller dimensional space and exploits the differentiable structure of ML components to recover optimal system parameters from the optimized configuration. We show A-BAD-BO converges to optimal system parameters by showing that it is asymptotically no regret. We use A-BAD-BO to optimize several synthetic and real-world complex systems, including a prompt engineering pipeline for large language models containing millions of system parameters. Our results demonstrate that A-BAD-BO yields better system optimality than gradientdriven baselines and is more sample-efficient than pure BO algorithms.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • TextResNet: Decoupling and Routing Optimization Signals in Compound AI Systems via Deep Residual Tuning cites Large Language Models are Human-Level Prompt Engineers
  • Large Language Models are Human-Level Prompt Engineers cites Instruction Induction: From Few Examples to Natural Language Task Descriptions
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Optimas: Optimizing Compound AI Systems with Globally Aligned Local RewardsShirley Wu, Parth Sarthi, Shiyu Zhao, Aaron Lee et al.ICLR 2026 · 25 citations
  2. DUET: Optimizing LLM Training Data Mixtures via Noisy Feedback from Unseen, Downstream Evaluation TasksZhiliang Chen, Gregory Kang Ruey Lau, Chuan Sheng Foo, Bryan Kian Hsiang LowICLR 2026 · 8 citations
  3. TextResNet: Decoupling and Routing Optimization Signals in Compound AI Systems via Deep Residual TuningSuizhi Huang, Mei Li, Han Yu, Xiaoxiao LiICML 2026 · 3 citations
  4. Broaden your SCOPE! Efficient Multi-turn Conversation Planning for LLMs with Semantic SpaceZhiliang Chen, Xinyuan Niu, Chuan-Sheng Foo, Bryan Kian Hsiang LowICLR 2025
  5. Compound AI Systems Optimization: A Survey of Methods, Challenges, and Future DirectionsYu-Ang Lee, Guan-Ting Yi, Mei-Yi Liu, Jui-Chao Lu et al.EMNLP 2025

Builds on9

  1. Large Language Models are Human-Level Prompt EngineersYongchao Zhou, Andrei Ioan Muresanu, Ziwen Han, Keiran Paster et al.ICLR 2023 · 297 citations
  2. Why Do We Need Weight Decay in Modern Deep Learning?Francesco D'Angelo, Maksym Andriushchenko, Aditya Vardhan Varre, Nicolas FlammarionNeurIPS 2024 · 101 citations
  3. Bayesian Optimization of Function NetworksRaul Astudillo, Peter I. FrazierNeurIPS 2021 · 50 citations
  4. Instruction Induction: From Few Examples to Natural Language Task DescriptionsOr Honovich, Uri Shaham, Samuel R. Bowman, Omer LevyACL 2023 · 48 citations
  5. Quantum Bayesian OptimizationZhongxiang Dai, Gregory Kang Ruey Lau, Arun Verma, Yao Shu et al.NeurIPS 2023 · 22 citations

Related papers

  1. Joint Composite Latent Space Bayesian OptimizationNatalie Maus, Zhiyuan (Jerry) Lin, Maximilian Balandat, Eytan BakshyICML 2024 · 3 citations
  2. LABO: LLM-Accelerated Bayesian Optimization through Broad Exploration and Selective ExperimentationZhuo Chen, Xinzhe Yuan, Jianshu Zhang, Jinzong Dong et al.ICML 2026 · 2 citations
  3. Large Language Models to Enhance Bayesian OptimizationTennison Liu, Nicolás Astorga, Nabeel Seedat, Mihaela van der SchaarICLR 2024 · 143 citations
  4. Deep Pipeline Embeddings for AutoMLSebastian Pineda-Arango, Josif GrabockaKDD 2023 · 6 citations
  5. CoFEH: LLM-driven Feature Engineering Empowered by Collaborative Bayesian Hyperparameter OptimizationBeicheng Xu, Keyao Ding, Wei Liu, Yupeng Lu et al.KDD 2026
Dusk over the sea between two cliffs drawn in fine vertical lines