English

Learning selection strategies in Buchberger's algorithm

Machine Learning 2020-08-19 v3 Symbolic Computation Commutative Algebra Algebraic Geometry Machine Learning

Abstract

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.

Keywords

Cite

@article{arxiv.2005.01917,
  title  = {Learning selection strategies in Buchberger's algorithm},
  author = {Dylan Peifer and Michael Stillman and Daniel Halpern-Leistner},
  journal= {arXiv preprint arXiv:2005.01917},
  year   = {2020}
}

Comments

14 pages, minor typo and format fixes, to appear in Proceedings of the 37th International Conference on Machine Learning (ICML 2020)

R2 v1 2026-06-23T15:18:39.942Z