Lune

ICML2020Top-tier venue

Learning Selection Strategies in Buchberger's Algorithm

Dylan Peifer, Michael Eugene Stillman, Daniel Halpern-Leistner

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • HATSolver: Learning Gröbner Bases with Hierarchical Attention Transformers cites Computational Algebra with Attention: Transformer Oracles for Border Basis Algorithms
  • HATSolver: Learning Gröbner Bases with Hierarchical Attention Transformers cites Learning to compute Gröbner bases
  • Computational Algebra with Attention: Transformer Oracles for Border Basis Algorithms cites Learning to compute Gröbner bases
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Learning to compute Gröbner basesHiroshi Kera, Yuki Ishihara, Yuta Kambe, Tristan Vaccon et al.NeurIPS 2024 · 9 citations
  2. Computational Algebra with Attention: Transformer Oracles for Border Basis AlgorithmsHiroshi Kera, Nico Pelleriti, Yuki Ishihara, Max Zimmer et al.NeurIPS 2025 · 8 citations
  3. Applying language models to algebraic topology: generating simplicial cycles using multi-labeling in Wu's formulaKirill Brilliantov, Fedor Pavutnitskiy, Dmitry Pasechnyuk, German MagaiICML 2024 · 1 citation
  4. HATSolver: Learning Gröbner Bases with Hierarchical Attention TransformersMohamed Malhou, Ludovic Perret, Kristin E. LauterICLR 2026

Builds on1

  1. PLMP - Point-Line Minimal Problems in Complete Multi-View VisibilityTimothy Duff, Kathlén Kohn, Anton Leykin, Tomás PajdlaICCV 2019 · 43 citations

Related papers

  1. MIRACLE: Model-free Imitation and Reinforcement Learning for Adaptive Cut-SelectionArjun Manoj, Rijul Tandon, Agam Gupta, Hariprasad Kodamana et al.ICLR 2026
  2. Learning Branching Policies for MILPs with Proximal Policy OptimizationAbdelouahed Ben Mhamed, Assia Kamal Idrissi, Amal El Fallah SeghrouchniAAAI 2026
  3. Automated Proof of Polynomial Inequalities via Reinforcement LearningBanglong Liu, Niuniu Qi, Xia Zeng, Lydia Dehbi et al.CVPR 2025
  4. Model-based reinforcement learning for biological sequence designChristof Angermüller, David Dohan, David Belanger, Ramya Deshpande et al.ICLR 2020 · 159 citations
  5. Planning in Branch-and-Bound: Model-Based Reinforcement Learning for Exact Combinatorial OptimizationPaul Strang, Zacharie Alès, Côme Bissuel, Olivier Juan et al.AAAI 2026
Dusk over the sea between two cliffs drawn in fine vertical lines