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

用于符号回归的生成式预训练Transformer:基于上下文强化学习

Generative Pre-Trained Transformer for Symbolic Regression Base In-Context Reinforcement Learning

Institute of Semiconductors, 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总结:

本文提出FormulaGPT,将基于强化学习的符号回归搜索历史蒸馏进GPT,使其在上下文中生成并更新强化学习策略,从而兼顾精度、鲁棒性、通用性与推理效率。

摘要:

数学公式是人类描述自然的语言,也是科学研究的本质。从观测数据中发现数学公式是科学研究的一项重要需求,也是人工智能面临的一项重大挑战。这一领域被称为符号回归。最初,符号回归常被表述为组合优化问题,并使用GP或强化学习算法求解。这两类算法具有较强的噪声鲁棒性和良好的通用性。然而,它们的推理时间通常较长,因此搜索效率相对较低。后来,基于大规模预训练数据提出的方法使用大量合成数据点与表达式对来训练生成式预训练Transformer(GPT)。随后,该GPT只需进行一次前向传播即可获得结果,其优势是推理速度非常快。但是,其性能高度依赖训练数据,并且在训练集之外的数据上表现较差,这导致此类方法的噪声鲁棒性和通用性不佳。那么,我们能否结合上述两类符号回归算法的优势呢?本文提出了FormulaGPT,它将基于强化学习的符号回归算法产生的海量稀疏奖励学习历史作为训练数据来训练GPT。训练完成后,基于强化学习的符号回归算法被蒸馏到一个Transformer中。当新的测试数据到来时,FormulaGPT可以直接生成一个“强化学习过程”,并在上下文中自动更新学习策略。在包括SRBench在内的十余个数据集上进行测试,FormulaGPT与四个基线相比,在拟合能力方面达到了最先进性能。此外,它在噪声鲁棒性、通用性和推理效率方面也取得了令人满意的结果。

英文摘要:

The mathematical formula is the human language to describe nature and is the essence of scientific research. Finding mathematical formulas from observational data is a major demand of scientific research and a major challenge of artificial intelligence. This area is called symbolic regression. Originally symbolic regression was often formulated as a combinatorial optimization problem and solved using GP or reinforcement learning algorithms. These two kinds of algorithms have strong noise robustness ability and good Versatility. However, inference time usually takes a long time, so the search efficiency is relatively low. Later, based on large-scale pre-training data proposed, such methods use a large number of synthetic data points and expression pairs to train a Generative Pre-Trained Transformer(GPT). Then this GPT can only need to perform one forward propagation to obtain the results, the advantage is that the inference speed is very fast. However, its performance is very dependent on the training data and performs poorly on data outside the training set, which leads to poor noise robustness and Versatility of such methods. So, can we combine the advantages of the above two categories of SR algorithms? In this paper, we propose \textbf{FormulaGPT}, which trains a GPT using massive sparse reward learning histories of reinforcement learning-based SR algorithms as training data. After training, the SR algorithm based on reinforcement learning is distilled into a Transformer. When new test data comes, FormulaGPT can directly generate a "reinforcement learning process" and automatically update the learning policy in context. Tested on more than ten datasets including SRBench, formulaGPT achieves the state-of-the-art performance in fitting ability compared with four baselines. In addition, it achieves satisfactory results in noise robustness, versatility, and inference efficiency.

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

↑