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

利用等价图改进符号回归的遗传编程

Improving Genetic Programming for Symbolic Regression with Equality Graphs

Federal University of ABC(ABC联邦大学);University of Applied Sciences Upper Austria(上奥地利应用科技大学)

Fabricio Olivetti de Franca, Gabriel Kronberger

AI总结:

本文提出 eggp 方法,利用等价图存储已访问表达式并过滤子树组合,减少遗传编程在符号回归中的重复访问,从而在不增加计算成本的情况下提升模型简洁性与准确性。

摘要:

使用遗传编程(GP)搜索符号回归模型时,往往会重复访问原始形式或等价形式的表达式。反复评估等价表达式效率低下,因为这不会立即带来更好的解。然而,进化算法需要多样性,并应允许积累在当前阶段不活跃、但可能在后续阶段发挥重要作用的构建块。等价图是一种能够紧凑存储表达式及其等价形式的数据结构,可以高效验证某个表达式是否曾以其任一已存储的等价形式被访问过。我们利用 e-graph 来调整子树算子,以降低重复访问表达式的概率。我们提出的改进方法称为 eggp,它将每个已访问的表达式存储到 e-graph 中,从而能够从可选的子树组合中过滤掉所有会生成已访问表达式的组合。结果表明,对于小规模表达式,该方法在不增加计算成本的情况下,提升了简单 GP 算法的性能,使其能够与 PySR 和 Operon 竞争。值得强调的是,eggp 能够在 SRBench 中选定的一组基准以及一组真实世界数据集上,可靠地给出既简短又准确的模型。

英文摘要:

The search for symbolic regression models with genetic programming (GP) has a tendency of revisiting expressions in their original or equivalent forms. Repeatedly evaluating equivalent expressions is inefficient, as it does not immediately lead to better solutions. However, evolutionary algorithms require diversity and should allow the accumulation of inactive building blocks that can play an important role at a later point. The equality graph is a data structure capable of compactly storing expressions and their equivalent forms allowing an efficient verification of whether an expression has been visited in any of their stored equivalent forms. We exploit the e-graph to adapt the subtree operators to reduce the chances of revisiting expressions. Our adaptation, called eggp, stores every visited expression in the e-graph, allowing us to filter out from the available selection of subtrees all the combinations that would create already visited expressions. Results show that, for small expressions, this approach improves the performance of a simple GP algorithm to compete with PySR and Operon without increasing computational cost. As a highlight, eggp was capable of reliably delivering short and at the same time accurate models for a selected set of benchmarks from SRBench and a set of real-world datasets.

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

↑