arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.15764cs.LGcs.CVcs.NE
收藏

SymFormer:使用基于transformer的架构的端到端符号回归

SymFormer: End-to-end symbolic regression using transformer-based architecture

Delft University of Technology(代尔夫特理工大学)

Martin Vastl, Jonáš Kulhánek, Jiří Kubalík, Erik Derner, Robert Babuška

摘要:

现实世界中的许多问题都可以用数学公式自然地描述。从一组观察到的输入和输出中找到公式的任务称为符号回归。近年来,神经网络已被应用于符号回归,其中基于变换的神经网络是最有前途的。在对Transformer进行大量公式(以天为单位)的训练之后,实际的推断,即,为新的、看不见的数据找到公式是非常快的(以秒的量级)。这比最先进的进化方法快得多。Transformers的主要缺点是它们生成的公式没有数值常数,必须单独优化,因此产生次优结果。我们提出了一种基于变换的方法称为SymFormer,它通过同时输出各个符号和相应的常数来预测公式。这导致在拟合可用数据方面的更好性能。此外,SymFormer提供的常数可作为后续通过梯度下降进行调整的良好起点,以进一步提高性能。我们在一组基准测试中表明,SymFormer在推理速度更快的同时,性能优于两种最先进的方法。

英文摘要:

Many real-world problems can be naturally described by mathematical formulas. The task of finding formulas from a set of observed inputs and outputs is called symbolic regression. Recently, neural networks have been applied to symbolic regression, among which the transformer-based ones seem to be the most promising. After training the transformer on a large number of formulas (in the order of days), the actual inference, i.e., finding a formula for new, unseen data, is very fast (in the order of seconds). This is considerably faster than state-of-the-art evolutionary methods. The main drawback of transformers is that they generate formulas without numerical constants, which have to be optimized separately, so yielding suboptimal results. We propose a transformer-based approach called SymFormer, which predicts the formula by outputting the individual symbols and the corresponding constants simultaneously. This leads to better performance in terms of fitting the available data. In addition, the constants provided by SymFormer serve as a good starting point for subsequent tuning via gradient descent to further improve the performance. We show on a set of benchmarks that SymFormer outperforms two state-of-the-art methods while having faster inference.

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

↑