arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.14424cs.LGcs.AI
收藏

通过GPT引导的蒙特卡洛树搜索从数据中发现数学公式

Discovering Mathematical Formulas from Data via GPT-guided Monte Carlo Tree Search

ANNLAB, Institute of Semiconductors, Chinese Academy of Sciences(中国科学院半导体研究所ANNLAB);School of Integrated Circuits, University of Chinese Academy of Sciences(中国科学院大学集成电路学院);School of Electronic, Electrical and Communication Engineering, University of Chinese Academy of Sciences(中国科学院大学电子电气与通信工程学院)

Yanjie Li, Weijun Li, Lina Yu, Min Wu, Jingyi Liu, Wenqiang Li, Meilan Hao, Shu Wei, Yusong Deng

AI总结:

针对符号回归中现有MCTS方法搜索效率低、预训练策略网络泛化差的问题,提出SR-GPT算法,将GPT与MCTS耦合互优化,在多数据集上的表达式恢复效果超越当前最优算法。

摘要:

找到一个简洁且可解释的数学公式来准确描述数据中各变量与预测值之间的关系,是科学研究中的一项关键任务,也是人工智能领域的重大挑战。这一问题被称为符号回归,属于NP难问题。去年,一种利用蒙特卡洛树搜索(Monte Carlo Tree Search, MCTS)的新型符号回归方法被提出,在各类数据集上取得了当前最优(state-of-the-art)结果。尽管该算法在恢复目标表达式方面相比以往方法有显著提升,但MCTS过程中缺乏引导的问题严重制约了其搜索效率。近期,部分算法加入了预训练策略网络来引导MCTS的搜索,但这类预训练策略网络的泛化能力较差。为了在效率与通用性之间实现更优的权衡,我们提出了SR-GPT——一种将蒙特卡洛树搜索(MCTS)与生成式预训练Transformer(Generative Pre-Trained Transformer, GPT)相结合的新型符号回归算法。通过利用GPT引导MCTS,MCTS的搜索效率得到显著提升。随后,我们利用MCTS的结果进一步优化GPT,增强其能力,从而为MCTS提供更精准的引导。MCTS与GPT相互耦合、协同优化,直至成功确定目标表达式。我们使用来自10余个不同符号回归数据集的222个表达式对SR-GPT进行了广泛评估。实验结果表明,无论是否添加噪声,SR-GPT在准确恢复符号表达式方面均优于现有的当前最优算法。

英文摘要:

Finding a concise and interpretable mathematical formula that accurately describes the relationship between each variable and the predicted value in the data is a crucial task in scientific research, as well as a significant challenge in artificial intelligence. This problem is referred to as symbolic regression, which is an NP-hard problem. In the previous year, a novel symbolic regression methodology utilizing Monte Carlo Tree Search (MCTS) was advanced, achieving state-of-the-art results on a diverse range of datasets. although this algorithm has shown considerable improvement in recovering target expressions compared to previous methods, the lack of guidance during the MCTS process severely hampers its search efficiency. Recently, some algorithms have added a pre-trained policy network to guide the search of MCTS, but the pre-trained policy network generalizes poorly. To optimize the trade-off between efficiency and versatility, we introduce SR-GPT, a novel algorithm for symbolic regression that integrates Monte Carlo Tree Search (MCTS) with a Generative Pre-Trained Transformer (GPT). By using GPT to guide the MCTS, the search efficiency of MCTS is significantly improved. Next, we utilize the MCTS results to further refine the GPT, enhancing its capabilities and providing more accurate guidance for the MCTS. MCTS and GPT are coupled together and optimize each other until the target expression is successfully determined. We conducted extensive evaluations of SR-GPT using 222 expressions sourced from over 10 different symbolic regression datasets. The experimental results demonstrate that SR-GPT outperforms existing state-of-the-art algorithms in accurately recovering symbolic expressions both with and without added noise.

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

↑