Computer Science > Machine Learning
Title:Feature Engineered Reinforcement Learning for S-pair Selection in Buchberger's Algorithm
Abstract:Selecting the order in which to process S-pairs is a crucial decision in Buchberger's algorithm for computing Groebner bases: this choice can change the cost by orders of magnitude. Recent work has shown that reinforcement learning agents viewing exponent vectors of the polynomials outperform classical heuristics on binomial ideals. We extend this line of work to general polynomial ideals by using statistical features. We introduce a 17-dimensional feature vector to describe a polynomial and use PPO to train policies on five distributions of random ideals. We find that using S-polynomial features significantly outperforms S-pair features on all five distributions. The new policies also outperform the retrained RL baseline on all five distributions, reducing algorithmic work by 41--53\% relative to the degree heuristic on four distributions where learning helps. The additional cost of the feature engineering means that wall-clock cost remains similar to the baseline, but our new approach benefits from easier transfer to unseen distributions.
| Comments: | 12 pages, Accepted in UKCI 2026 (in press) |
|---|---|
| Subjects: | Machine Learning (cs.LG) ; Symbolic Computation (cs.SC) |
| Cite as: | arXiv:2611.34088 [cs.LG] |
| (or arXiv:2611.34088v1 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2611.34088 arXiv-issued DOI via DataCite (pending registration) |
Submission history
Access Paper:
- HTML (experimental)
Additional Features
- Audio Summary
Current browse context:
References & Citations
- Google Scholar
- Semantic Scholar
BibTeX formatted citation
Bookmark
Bibliographic and Citation Tools
Code, Data and Media Associated with this Article
Demos
Recommenders and Search Tools
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.