Learning a performance metric of Buchberger's algorithm

06/07/2021
by   Jelena Mojsilović, et al.
0

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.

READ FULL TEXT

page 6

page 15

research
05/05/2020

Learning selection strategies in Buchberger's algorithm

Studying the set of exact solutions of a system of polynomial equations ...
research
02/15/2022

On Polynomial Ideals And Overconvergence In Tate Algebras

In this paper, we study ideals spanned by polynomials or overconvergent ...
research
03/17/2020

An Algorithm for Computing a Minimal Comprehensive Gröbner Basis of a Parametric Polynomial System

An algorithm to generate a minimal comprehensive Gröbner basis of a par...
research
02/10/2023

Predicting the cardinality of a reduced Gröbner basis

We use ansatz neural network models to predict key metrics of complexity...
research
08/13/2023

Optimizing Offensive Gameplan in the National Basketball Association with Machine Learning

Throughout the analytical revolution that has occurred in the NBA, the d...
research
07/06/2021

Polynomial-Division-Based Algorithms for Computing Linear Recurrence Relations

Sparse polynomial interpolation, sparse linear system solving or modular...
research
07/01/2023

An ML approach to resolution of singularities

The solution set of a system of polynomial equations typically contains ...

Please sign up or login with your details

Forgot password? Click here to reset