arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.03676math.ACcs.LGcs.SCmath.AGstat.ML
收藏

学习 Buchberger 算法的性能度量

Learning a performance metric of Buchberger's algorithm

Purdue University(普渡大学);Illinois Tech(伊利诺伊理工学院);Cornell(康奈尔大学)

Jelena Mojsilović, Dylan Peifer, Sonja Petrović

AI总结:

本文利用易计算的理想生成元统计量构建线性回归与递归神经网络,仅凭初始输入预测 Buchberger 算法的多项式加法次数,证明该性能度量可被机器学习。

摘要:

关于 Buchberger 算法的复杂性,有什么是可以(被机器)学习的?给定一个多项式系统,Buchberger 算法利用基于多元长除法的迭代过程,计算这些多项式所生成理想的 Gröbner 基。该算法每一步的运行时间通常由一系列多项式加法主导,而这些加法的总数是一种独立于硬件的性能度量,常被用于评估和优化各种实现选择。在本工作中,我们尝试仅凭初始输入来预测一次 Buchberger 算法运行过程中发生的多项式加法次数。良好的预测有助于快速估计难度,并理解是哪些特征使 Gröbner 基计算变得困难。我们的特征和方法也可用于强化学习方法中的价值模型,以优化 [Peifer、Stillman 和 Halpern-Leistner,2020] 所引入的 Buchberger 算法。我们表明,由一组易于计算的理想生成元统计量构建的多元线性回归模型,能够在一定程度上很好地预测多项式加法次数,优于无信息模型,也优于基于一些更难计算的直观交换代数不变量所构建的回归模型。我们还训练了一个简单的递归神经网络,其表现优于这些线性模型。我们的工作可作为概念验证,表明从机器学习的角度来看,预测 Buchberger 算法中的多项式加法次数是一个可行的问题。

英文摘要:

What can be (machine) learned about the complexity of Buchberger's algorithm? Given a system of polynomials, Buchberger's algorithm computes a Gröbner basis of the ideal these polynomials generate using an iterative procedure based on multivariate long division. The runtime of each step of the algorithm is typically dominated by a series of polynomial additions, and the total number of these additions is a hardware independent performance metric that is often used to evaluate and optimize various implementation choices. In this work we attempt to predict, using just the starting input, the number of polynomial additions that take place during one run of Buchberger's algorithm. Good predictions are useful for quickly estimating difficulty and understanding what features make Gröbner basis computation hard. Our features and methods could also be used for value models in the reinforcement learning approach to optimize Buchberger's algorithm introduced in [Peifer, Stillman, and Halpern-Leistner, 2020]. We show that a multiple linear regression model built from a set of easy-to-compute ideal generator statistics can predict the number of polynomial additions somewhat well, better than an uninformed model, and better than regression models built on some intuitive commutative algebra invariants that are more difficult to compute. We also train a simple recursive neural network that outperforms these linear models. Our work serves as a proof of concept, demonstrating that predicting the number of polynomial additions in Buchberger's algorithm is a feasible problem from the point of view of machine learning.

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

↑