Large Language Models to Enhance Bayesian Optimization

Tennison Liu, N. Astorga, Nabeel Seedat, M. Schaar

arXiv:2402.03921 · 2026-07-27 공개 · arXiv · PDF

large-language-models benchmarking few-shot-learning zero-shot-learning bayesian-optimization surrogate-modeling modular-architecture hyperparameter-tuning

Abstract

Bayesian optimization (BO) is a powerful approach for optimizing complex and expensive-to-evaluate black-box functions. Its importance is underscored in many applications, notably including hyperparameter tuning, but its efficacy depends on efficiently balancing exploration and exploitation. While there has been substantial progress in BO methods, striking this balance remains a delicate process. In this light, we present LLAMBO, a novel approach that integrates the capabilities of Large Language Models (LLM) within BO. At a high level, we frame the BO problem in natural language, enabling LLMs to iteratively propose and evaluate promising solutions conditioned on historical evaluations. More specifically, we explore how combining contextual understanding, few-shot learning proficiency, and domain knowledge of LLMs can improve model-based BO. Our findings illustrate that LLAMBO is effective at zero-shot warmstarting, and enhances surrogate modeling and candidate sampling, especially in the early stages of search when observations are sparse. Our approach is performed in context and does not require LLM finetuning. Additionally, it is modular by design, allowing individual components to be integrated into existing BO frameworks, or function cohesively as an end-to-end method. We empirically validate LLAMBO's efficacy on the problem of hyperparameter tuning, highlighting strong empirical performance across a range of diverse benchmarks, proprietary, and synthetic tasks.

한국어 요약

한 줄 요약

LLAMBO는 대형 언어 모델을 활용해 베이지안 최적화 성능을 향상시키는 모듈식 접근법이다.

핵심 기여도

핵심 아이디어

LLAMBO는 베이지안 최적화(Bayesian Optimization, BO) 문제를 자연어로 표현하고, 대형 언어 모델(LLM)을 활용해 반복적으로 solution을 제안하고 평가함으로써 최적화 과정을 개선하는 접근법이다. 이는 LLM의 문맥 이해력, few-shot 학습 능력, 도메인 지식을 BO의 핵심 구성 요소인 surrogate model과 candidate point sampler에 결합하는 데 초점을 맞춘다. 기존 BO는 observation이 적은 상황에서 surrogate model의 정확도가 낮아지고, 이로 인해 sampling 과정에서 오류가 발생할 수 있다. LLAMBO는 이러한 문제를 LLM의 prior knowledge와 few-shot 학습 능력으로 보완한다. 특히, LLM은 fine-tuning 없이도 BO 프로세스에 통합될 수 있어, 기존 BO 프레임워크와의 호환성을 높인다.

기술적 접근법

주요 결과

의의 및 한계

LLAMBO는 LLM의 few-shot 학습 능력과 문맥 이해력을 BO에 결합함으로써, 기존 BO의 초기 단계에서의 성능 한계를 극복할 수 있는 새로운 가능성을 제시한다. 특히, LLM fine-tuning 없이도 기존 BO 프레임워크에 모듈식으로 통합될 수 있어, 실용적 적용성이 높다. 그러나 LLM의 prior knowledge가 특정 도메인에 제한될 수 있으며, 이는 특정 태스크에서의 성능에 영향을 줄 수 있다. 또한, LLM의 반복적 추론 과정은 계산 비용이 증가할 수 있는 한계점이 있다.

실용적 활용

LLAMBO는 하이퍼파라미터 튜닝(HPT)을 포함한 다양한 최적화 문제에 적용 가능하다. 특히, observation이 제한된 상황에서 초기 단계의 샘플 효율성을 향상시킬 수 있어, 신약 개발, 로봇 제어, 인터페이스 설계 등에서 활용 가능하다. 모듈식 설계 덕분에 기존 BO 프레임워크에 쉽게 통합되어, 기존 시스템의 성능을 향상시키는 데 유용하다.