arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.08212cs.LGcs.CLgr-qchep-th
收藏

具有上下文学习的LLM用于算法理论物理

LLMs with in-context learning for Algorithmic Theoretical Physics

Kavli IPMU (WPI), UTIAS, The University of Tokyo, and Center for Data-Driven Discovery(Kavli IPMU(WPI)、UTIAS、东京大学以及数据驱动发现中心)

Anamaria Hell, Leander Thiele

AI总结:

本文探讨了利用大语言模型和计算机代数系统进行理论物理算法计算的可能性,通过与Maple接口验证了其在修正引力理论中的应用效果。

摘要:

理论物理中越来越多的算法计算虽然概念简单,但耗时且有细微之处需注意。鉴于大语言模型(LLM)的近期进步,研究LLM结合计算机代数系统(CAS)运行时和足够信息的上下文是否能可靠执行这些算法任务变得自然。本文将Claude与Maple接口,并应用此框架到修正引力理论中的宇宙扰动。我们展示了该方法的当前能力、典型失败及改进方法。我们发现,一个前沿LLM在提供示例的情况下能够解决大多数测试问题。

英文摘要:

There is an increasing number of algorithmic computations in theoretical physics. These, while conceptually simple, can nevertheless be time-consuming and contain subtleties that should not be overlooked. Given the recent improvement of Large Language Models (LLM), it is natural to investigate whether LLMs equipped with a computer algebra system (CAS) runtime and sufficiently informative context can reliably carry out these algorithmic tasks. In this work, we interface Claude with Maple, and apply this framework to cosmological perturbations in modified theories of gravity. We demonstrate the current capabilities of this approach, the typical failures, and how the same can be improved. We find that a frontier LLM supplied with worked examples is able to solve most test problems.

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

↑