Learning selection strategies in Buchberger's algorithm

05/05/2020
by   Dylan Peifer, et al.
0

Studying the set of exact solutions of a system of polynomial equations largely depends on a single iterative algorithm, known as Buchberger's algorithm. Optimized versions of this algorithm are crucial for many computer algebra systems (e.g., Mathematica, Maple, Sage). We introduce a new approach to Buchberger's algorithm that uses reinforcement learning agents to perform S-pair selection, a key step in the algorithm. We then study how the difficulty of the problem depends on the choices of domain and distribution of polynomials, about which little is known. Finally, we train a policy model using proximal policy optimization (PPO) to learn S-pair selection strategies for random systems of binomial equations. In certain domains, the trained model outperforms state-of-the-art selection heuristics in total number of polynomial additions performed, which provides a proof-of-concept that recent developments in machine learning have the potential to improve performance of algorithms in symbolic computation.

READ FULL TEXT
research
07/01/2023

An ML approach to resolution of singularities

The solution set of a system of polynomial equations typically contains ...
research
06/07/2021

Learning a performance metric of Buchberger's algorithm

What can be (machine) learned about the complexity of Buchberger's algor...
research
06/25/2019

Optimistic Proximal Policy Optimization

Reinforcement Learning, a machine learning framework for training an aut...
research
05/31/2021

Resultant-based Elimination in Ore Algebra

We consider resultant-based methods for elimination of indeterminates of...
research
10/22/2021

A Reinforcement Learning Approach to Parameter Selection for Distributed Optimization in Power Systems

With the increasing penetration of distributed energy resources, distrib...
research
05/19/2023

Probabilistic Lexicase Selection

Lexicase selection is a widely used parent selection algorithm in geneti...

Please sign up or login with your details

Forgot password? Click here to reset