arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2503.08131cs.LG
收藏

基于大语言模型的大规模多任务贝叶斯优化

Large Scale Multi-Task Bayesian Optimization with Large Language Models

Computer and Information Science, UPenn(宾夕法尼亚大学计算机与信息科学系);Perelman School of Medicine, UPenn(宾夕法尼亚大学佩雷尔曼医学学校)

Yimeng Zeng, Natalie Maus, Haydn Thomas Jones, Jeffrey Tao, Fangping Wan, Marcelo Der Torossian Torres, Cesar de la Fuente-Nunez, Ryan Marcus, Osbert Bastani, Jacob R. Gardner

AI总结:

本研究提出一种结合大语言模型与贝叶斯优化的正反馈循环方法,可扩展至约1500个任务,在数据库查询优化和抗菌肽设计领域实现了更优的优化效果与更少的调用成本。

摘要:

在多任务贝叶斯优化中,目标是利用优化现有任务的经验提升新任务的优化效率。尽管已有采用多任务高斯过程或深度核迁移的方法,但当任务规模超出中等数量时,其性能提升十分有限。我们提出一种利用大语言模型(LLMs)从过往优化轨迹中学习并加以改进的新方法,可扩展至约1500个不同任务。具体而言,我们提出一种反馈循环:先用贝叶斯优化(BO)找到特定任务的高质量解,再基于这些解对LLM进行微调;随后用该LLM为新任务的后续BO搜索生成初始点;这些新搜索的轨迹又为LLM微调提供额外训练数据,由此形成完整循环。我们在两个不同领域评估了该方法:数据库查询优化和抗菌肽设计。结果表明,我们的方法形成了正反馈循环,LLM生成的初始点逐步优化,带来更优的优化性能。随着反馈循环持续推进,我们发现LLM最终仅需少量样本就能生成新任务的解,这些解优于贝叶斯优化“从零开始”得到的解,同时所需的oracle调用次数显著更少。

英文摘要:

In multi-task Bayesian optimization, the goal is to leverage experience from optimizing existing tasks to improve the efficiency of optimizing new ones. While approaches using multi-task Gaussian processes or deep kernel transfer exist, the performance improvement is marginal when scaling beyond a moderate number of tasks. We introduce a novel approach leveraging large language models (LLMs) to learn from, and improve upon, previous optimization trajectories, scaling to approximately 1500 distinct tasks. Specifically, we propose a feedback loop in which an LLM is fine-tuned on the high quality solutions to specific tasks found by Bayesian optimization (BO). This LLM is then used to generate initialization points for future BO searches for new tasks. The trajectories of these new searches provide additional training data for fine-tuning the LLM, completing the loop. We evaluate our method on two distinct domains: database query optimization and antimicrobial peptide design. Results demonstrate that our approach creates a positive feedback loop, where the LLM's generated initializations gradually improve, leading to better optimization performance. As this feedback loop continues, we find that the LLM is eventually able to generate solutions to new tasks in just a few shots that are better than the solutions produced by "from scratch" by Bayesian optimization while simultaneously requiring significantly fewer oracle calls.

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

↑