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

利用经编辑的大语言模型作为通用科学优化器

Exploiting Edited Large Language Models as General Scientific Optimizers

University of Science and Technology of China(中国科学技术大学)

Qitan Lv, Tianyu Liu, Hong Wang

AI总结:

针对基于提示的LLM优化难以利用观测反馈的问题,提出双层GSO框架,通过内层模拟、外层LLM修正及模型编辑联合更新,在7项任务和6种骨干上持续优于现有方法。

摘要:

大语言模型(LLM)凭借其广泛的知识和先进的推理能力,已被广泛应用于科学场景中的数学优化。现有方法主要侧重于以基于提示的方式利用LLM求解优化问题,将观测反馈作为额外的文本描述。然而,由于LLM对提示高度敏感,且容易在冗长提示中迷失方向,这些方法难以有效利用来自每个优化步骤的观测反馈,从而严重阻碍了其在现实场景中的应用。为应对这些挑战,我们提出了一种概念简单且通用的双层优化方法,即General Scientific Optimizers(GSO,通用科学优化器)。具体而言,GSO首先利用内层模拟器作为实验平台,评估当前解并提供观测反馈。随后,LLM充当知识渊博且多才多能的科学家,通过从反馈中修正潜在错误来生成新的解,作为外层优化。最后,模拟与LLM中的专家知识通过模型编辑,以双层交互的方式联合更新。大量实验表明,在七种不同任务上使用六种不同LLM骨干时,GSO始终优于现有的最先进方法,证明了其有效性和广泛的应用范围。

英文摘要:

Large language models (LLMs) have been widely adopted in mathematical optimization in scientific scenarios for their extensive knowledge and advanced reasoning capabilities. Existing methods mainly focus on utilizing LLMs to solve optimization problems in a prompt-based manner, which takes observational feedback as additional textual descriptions. However, due to LLM's \textbf{high sensitivity to the prompts} and \textbf{tendency to get lost in lengthy prompts}, these methods struggle to effectively utilize the {observational} feedback from each optimization step, which severely hinders the applications for real-world scenarios. To address these challenges, we propose a conceptually simple and general {bi-level} optimization method, namely \textbf{G}eneral \textbf{S}cientific \textbf{O}ptimizers (GSO). Specifically, GSO first utilizes inner-level simulators as experimental platforms to evaluate the current solution and provide observational feedback. Then, LLMs serve as knowledgeable and versatile scientists, generating new solutions by refining potential errors from the feedback as the outer-level optimization. Finally, simulations together with the expert knowledge in LLMs are jointly updated with bi-level interactions via model editing. Extensive experiments show that GSO consistently outperforms existing state-of-the-art methods using \textit{six} different LLM backbones on \textit{seven} different tasks, demonstrating the effectiveness and a wide range of applications.

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

↑