arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2505.14756cs.LGcs.AI
收藏

LLINBO:可信赖的LLM在环贝叶斯优化

LLINBO: Trustworthy LLM-in-the-Loop Bayesian Optimization

University of Michigan(密歇根大学)

Chih-Yu Chang, Milad Azvar, Chinedum Okwudire, Raed Al Kontar

AI总结:

针对LLM作为优化代理缺乏代理建模和不确定性校准的问题,提出LLINBO混合框架,结合LLM早期探索与统计模型利用,引入三种机制并给出理论保证,在3D打印中验证。

摘要:

贝叶斯优化(BO)是一种广泛用于优化昂贵黑盒函数的序贯决策工具。近年来,大型语言模型(LLMs)在低数据场景中展现出显著的适应性,使其成为黑盒优化的有前景工具,通过利用上下文知识提出高质量的查询点。然而,仅依赖LLMs作为优化代理会带来风险,因为它们缺乏显式的代理建模和校准的不确定性,以及其固有的不透明内部机制。这种结构上的不透明性使得难以表征或控制探索-利用权衡,最终削弱了理论可处理性和可靠性。为解决这一问题,我们提出了LLINBO:LLM在环BO,一种将LLMs与统计代理专家(如高斯过程(GP))相结合的混合BO框架。核心哲学是利用LLMs的上下文推理优势进行早期探索,同时依赖原则性的统计模型来指导高效利用。具体而言,我们引入了三种机制来实现这种协作,并建立了它们的理论保证。我们以3D打印背景下的实际概念验证来结束本文。复现结果的代码可在https://github.com/UMDataScienceLab/LLM-in-the-Loop-BO找到。

英文摘要:

Bayesian optimization (BO) is a sequential decision-making tool widely used for optimizing expensive black-box functions. Recently, Large Language Models (LLMs) have shown remarkable adaptability in low-data regimes, making them promising tools for black-box optimization by leveraging contextual knowledge to propose high-quality query points. However, LLMs lack explicit surrogate modeling and calibrated uncertainty, and their internal mechanisms remain opaque. This structural opacity can result in unnecessary experiments, which are costly in BO and may prevent the search from approaching the optimum. To address this, we propose LLINBO: LLM-in-the-Loop BO, a general framework that wraps existing LLM-based BO approaches, deciding when and how to act on their suggestions and when to revert to classical BO. We introduce three mechanisms for this interaction, each accompanied by a no-harm theoretical guarantee that ensures sublinear cumulative regret for common kernels while requiring no performance assumptions on the LLM. Beyond these theoretical guarantees, we show through simulation studies that LLINBO makes existing LLM-based BO more reliable while still exploiting the LLM's few-shot learning ability to outperform classical BO. We further demonstrate its practical use on a real-world, expensive 3D printing experiment. Code is available at https://github.com/UMDataScienceLab/LLM-in-the-Loop-BO.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑