Learning Fast Monomial Orders for Gr\"obner Basis Computations
R. Caleb Bunch, Alperen A. Erg\"ur, Melika Golestani, Jessie Tong, Malia Walewski, Yunus E. Zeytuncu

TL;DR
This paper introduces a reinforcement learning approach to select monomial orders for Gr"obner basis computations, significantly improving efficiency over traditional heuristics by exploiting complex geometric structures.
Contribution
It formulates monomial order selection as a reinforcement learning problem, demonstrating that learned policies outperform standard heuristics in computational efficiency.
Findings
Learned policies reduce computational cost in benchmarks.
Deep RL exploits non-linear geometric structures.
Policies resist simplification into interpretable models.
Abstract
The efficiency of Gr\"obner basis computation, the standard engine for solving systems of polynomial equations, depends on the choice of monomial ordering. Despite a near-continuum of possible monomial orders, most implementations rely on static heuristics such as GrevLex, guided primarily by expert intuition. We address this gap by casting the selection of monomial orderings as a reinforcement learning problem over the space of admissible orderings. Our approach leverages domain-informed reward signals that accurately reflect the computational cost of Gr\"obner basis computations and admits efficient Monte Carlo estimation. Experiments on benchmark problems from systems biology and computer vision show that the resulting learned policies consistently outperform standard heuristics, yielding substantial reductions in computational cost. Moreover, we find that these policies resist…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsPolynomial and algebraic computation · Model Reduction and Neural Networks · Formal Methods in Verification
