Rethinking Bayesian Optimization for Co-Optimizing LLM Training Configurations
Zhiliang Chen, Alfred Leong, Shao Yong Ong, Apivich Hemachandra, Gregory Kang Ruey Lau, Chuan Sheng Foo, Zhengyuan Liu, Nancy F Chen, Bryan Kian Hsiang Low
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: LLM Agents, Evals & Benchmarks › Evolutionary Optimization with LLMs · Type: new method · Keywords: Bayesian optimization, LLM training configuration, scaling law predictor, multi-fidelity optimization, budget allocation
Areas: Optimization & Algorithms › Optimization, Estimation, Approximation › Bayesian Optimization
Summary
JoBS is a budget-aware Bayesian optimization approach that learns a scaling-law predictor from a few training steps and then uses this predictor to co-optimize data and model configurations without full training runs.
Explained to a 5-year-old
We want to make a big computer brain (LLM) work better on tasks. Trying many ways to train it is very slow and expensive. The paper creates a smart shortcut that guesses how well a training plan will work after just a little practice. This shortcut lets us try many plans quickly without waiting for the whole training. As a result, the brain learns better ways faster.
Explained to a 5-year-old, longer
Imagine a giant computer brain that helps us answer questions. To make it smarter, we need to give it the right data and the right size. Trying every possible combination takes a long time because each try needs a lot of work. The researchers noticed that if you train a little bit, you can see how well the final result will be. They built a rule that uses this pattern to guess the final performance. This rule works like a quick calculator that tells you the score before the whole training finishes. With this calculator, they can test many ideas without waiting for the full training. They split the work into two parts: first, they learn the guessing rule, then they use it to search for the best ideas. After they find the best plan, they run the full training to make sure it works. This way they save a lot of time and money. The new method helps the computer brain get better faster and uses resources more wisely.
For a technical reader
JoBS addresses the high cost of full LLM training during Bayesian optimization by learning a scaling-law predictor from a few training steps. This predictor approximates final model performance, allowing the optimizer to explore many data-model configurations without running expensive full trainings. The remaining budget is used for final full-training evaluations of the most promising configurations. By analytically deriving the optimal split between predictor learning and optimization iterations, JoBS reduces average regret. Empirically, it outperforms separate data and model optimizations as well as existing multi-fidelity Bayesian optimization baselines across diverse downstream tasks.
Problem
Optimizing LLM performance on downstream tasks by jointly selecting data and model configurations is expensive because each configuration requires a full training run, and the high dimensionality of the search space demands many evaluations.
Method
The approach allocates part of the optimization budget to train a scaling-law-inspired predictor on a small number of steps, then uses this predictor within a Bayesian optimization loop to explore many configurations, reserving the remaining budget for final full-training evaluations.
Results
The approach achieves superior performance compared to independent data and model optimizations and existing multi-fidelity Bayesian optimization baselines on a variety of downstream tasks.
Contributions
It introduces a budget-allocation strategy that learns a scaling-law predictor to approximate full training performance, enabling efficient co-optimization of data and model configurations, and provides regret analysis for the optimal budget split.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction