arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.19094cs.CLcs.LG
收藏

上下文符号回归:利用大型语言模型进行函数发现

In-Context Symbolic Regression: Leveraging Large Language Models for Function Discovery

Aalto University(阿尔托大学)

Matteo Merler, Katsiaryna Haitsiukevich, Nicola Dainese, Pekka Marttinen

AI总结:

本文提出首个利用大型语言模型进行符号回归的综合框架ICSR,通过LLM迭代细化函数形式并用外部优化器确定系数,在四个基准上匹配或超越最佳基线性能,且方程更简单、分布外泛化更好。

摘要:

目前最先进的符号回归(SR)方法构建的是专用模型,而大型语言模型(LLMs)的应用在很大程度上仍未被探索。在这项工作中,我们引入了首个利用LLMs进行SR任务的综合性框架。我们提出了上下文符号回归(ICSR),这是一种SR方法,它利用LLM迭代地细化函数形式,并使用外部优化器确定其系数。ICSR利用LLM强大的数学先验,根据观测数据提出一组可能的初始函数,并根据误差对其进行细化。我们的研究结果表明,LLM能够成功找到拟合给定数据的符号方程,在四个流行基准上匹配或超越了最佳SR基线的整体性能,同时产生更简单的方程并具有更好的分布外泛化能力。

英文摘要:

State of the art Symbolic Regression (SR) methods currently build specialized models, while the application of Large Language Models (LLMs) remains largely unexplored. In this work, we introduce the first comprehensive framework that utilizes LLMs for the task of SR. We propose In-Context Symbolic Regression (ICSR), an SR method which iteratively refines a functional form with an LLM and determines its coefficients with an external optimizer. ICSR leverages LLMs' strong mathematical prior both to propose an initial set of possible functions given the observations and to refine them based on their errors. Our findings reveal that LLMs are able to successfully find symbolic equations that fit the given data, matching or outperforming the overall performance of the best SR baselines on four popular benchmarks, while yielding simpler equations with better out of distribution generalization.

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

↑