arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2509.03036cs.LGcs.AIcs.IRcs.SC
收藏

利用预训练大语言模型实现物理启发符号回归的知识整合

Knowledge Integration for Physics-informed Symbolic Regression Using Pre-trained Large Language Models

Department of Computing Jonkoping University(乔恩考普大学计算机系);Department of Information Science University of Haifa(海法大学信息科学系)

Bilge Taskin, Wenxiong Xie, Teddy Lazebnik

AI总结:

针对物理启发符号回归依赖人工特征工程、适配性有限的问题,提出将预训练大语言模型融入符号回归损失函数的方法,经多算法多模型多物理场景验证,可提升方程重建效果与抗噪鲁棒性,且提示工程可进一步优化性能。

摘要:

符号回归(SR)已成为自动化科学发现的有力工具,能够从实验数据中推导控制方程。越来越多的研究表明,将领域知识融入符号回归有助于提升所发现方程的普适性与实用性。物理启发符号回归(PiSR)通过纳入领域知识来实现这一目标,但现有方法通常需要专门的公式构建与人工特征工程,仅适用于领域专家,限制了其适应性。本研究利用预训练大语言模型(LLMs)推动物理启发符号回归中的知识整合。借助在海量科学文献上训练的大语言模型的上下文理解能力,我们旨在实现领域知识融入的自动化,减少人工干预需求,让该过程能适配更广泛的科学问题。具体而言,我们将大语言模型融入符号回归的损失函数,新增一项由大语言模型对符号回归生成方程的评估项。我们采用三种符号回归算法(DEAP、gplearn、PySR)与三种预训练大语言模型(Falcon、Mistral、LLama 2),在三类物理动力学场景(落体、简谐运动、电磁波)中对方法进行了全面评估。结果表明,大语言模型的融入持续提升了从数据重建物理动力学的效果,增强了符号回归模型对噪声和复杂度的鲁棒性。我们进一步探究了提示工程的影响,发现信息量更丰富的提示能显著提升性能。

英文摘要:

Symbolic regression (SR) has emerged as a powerful tool for automated scientific discovery, enabling the derivation of governing equations from experimental data. A growing body of work illustrates the promise of integrating domain knowledge into the SR to improve the discovered equation's generality and usefulness. Physics-informed SR (PiSR) addresses this by incorporating domain knowledge, but current methods often require specialized formulations and manual feature engineering, limiting their adaptability only to domain experts. In this study, we leverage pre-trained Large Language Models (LLMs) to facilitate knowledge integration in PiSR. By harnessing the contextual understanding of LLMs trained on vast scientific literature, we aim to automate the incorporation of domain knowledge, reducing the need for manual intervention and making the process more accessible to a broader range of scientific problems. Namely, the LLM is integrated into the SR's loss function, adding a term of the LLM's evaluation of the SR's produced equation. We extensively evaluate our method using three SR algorithms (DEAP, gplearn, and PySR) and three pre-trained LLMs (Falcon, Mistral, and LLama 2) across three physical dynamics (dropping ball, simple harmonic motion, and electromagnetic wave). The results demonstrate that LLM integration consistently improves the reconstruction of physical dynamics from data, enhancing the robustness of SR models to noise and complexity. We further explore the impact of prompt engineering, finding that more informative prompts significantly improve performance.

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

↑