Learning Fast Monomial Orders for Gröbner Basis Computations

R. Caleb Bunch, Alperen A. Ergür, Melika Golestani, Jessie Tong, Malia Walewski +1 more
2/3/2026
cs.SCcs.LGmath.AC
rl

No confident code implementation found for this paper.

Abstract

The efficiency of Gröbner 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.

Show full abstract

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öbner 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 distillation into simple interpretable models, providing empirical evidence that deep reinforcement learning allows the agents to exploit non-linear geometric structure beyond the scope of traditional heuristics.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{bunch2026learning,
  title  = {Learning Fast Monomial Orders for Gröbner Basis Computations},
  author = {R. Caleb Bunch and Alperen A. Ergür and Melika Golestani and Jessie Tong and Malia Walewski and Yunus E. Zeytuncu},
  year   = {2026},
  eprint = {2602.02972},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.02972v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.02972.svg)](https://codeofpaper.com/paper/2602.02972)

Discussion