arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.04124cs.LG
收藏

可分解的神经符号回归

Decomposable Neural Symbolic Regression

Gianforte School of Computing(吉安福特计算学院);Montana State University(蒙塔纳州立大学)

Giorgio Morales, John W. Sheppard

AI总结:

本文提出一种可解释的神经符号回归方法,利用Transformer、遗传算法和遗传编程生成可解释的多元表达式,通过多集合Transformer生成单变量符号骨架,并通过GA和GP融合优化,实现比其他方法更准确的数学表达。

摘要:

符号回归(SR)通过发现数学表达式来建模复杂系统,但大多数方法优先最小化预测误差而非识别 governing equations,常产生过于复杂或不准确的表达式。为此,我们提出一种可分解的SR方法,利用Transformer模型、遗传算法(GAs)和遗传编程(GP)生成可解释的多元表达式。我们的可解释SR方法将训练好的“不透明”回归模型提炼为数学表达式,作为其计算函数的解释。我们采用多集合Transformer生成多个单变量符号骨架,描述每个变量如何影响不透明模型的响应。然后通过GA方法评估生成骨架的性能,选择高质量候选子集,并通过GP基于的级联过程逐步合并它们,以保持原始骨架结构。最终的多元骨架通过GA进行系数优化。我们在具有受控和变化噪声程度的问题上评估了我们的方法,证明其插值和外推误差低于或与两种GP方法、三种神经SR方法和混合方法相当。与其他方法不同,我们的方法始终学习到与原始数学结构匹配的表达式。同样,我们的方法在费曼数据集上实现了高符号解恢复率和与基准方法相竞争的预测性能。

英文摘要:

Symbolic regression (SR) models complex systems by discovering mathematical expressions that capture underlying relationships in observed data. However, most SR methods prioritize minimizing prediction error over identifying the governing equations, often producing overly complex or inaccurate expressions. To address this, we present a decomposable SR method that generates interpretable multivariate expressions leveraging transformer models, genetic algorithms (GAs), and genetic programming (GP). In particular, our explainable SR method distills a trained "opaque'' regression model into mathematical expressions that serve as explanations of its computed function. Our method employs a Multi-Set Transformer to generate multiple univariate symbolic skeletons that characterize how each variable influences the opaque model's response. We then evaluate the generated skeletons' performance using a GA-based approach to select a subset of high-quality candidates before incrementally merging them via a GP-based cascade procedure that preserves their original skeleton structure. The final multivariate skeletons undergo coefficient optimization via a GA. We evaluated our method on problems with controlled and varying degrees of noise, demonstrating lower or comparable interpolation and extrapolation errors compared to two GP-based methods, three neural SR methods, and a hybrid approach. Unlike these methods, our approach consistently learned expressions that matched the original mathematical structure. Similarly, our method achieved both a high symbolic solution recovery rate and competitive predictive performance relative to benchmark methods on the Feynman dataset.

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

↑