🤖 AI Summary
This work addresses the symbolic learnability and scalability bottlenecks in Gröbner basis computation for solving systems of multivariate polynomial equations. We propose a symbolic-neural hybrid method based on a Hierarchical Attention Transformer (HAT). Our key contributions are threefold: (i) we introduce, for the first time, tree-structured inductive bias into the attention mechanism, enabling faithful modeling of polynomial ideals of arbitrary depth; (ii) we develop a theory-guided computational cost analysis framework, integrated with curriculum learning to overcome size limitations; and (iii) extensive experiments demonstrate that our approach significantly outperforms Kera et al. (2024) across multiple benchmarks—scaling problem size by an order of magnitude, reducing computational overhead by over 40%, and exhibiting superior robustness and generalization.
📝 Abstract
At NeurIPS 2024, Kera et al. introduced the use of transformers for computing Groebner bases, a central object in computer algebra with numerous practical applications. In this paper, we improve this approach by applying Hierarchical Attention Transformers (HATs) to solve systems of multivariate polynomial equations via Groebner bases computation. The HAT architecture incorporates a tree-structured inductive bias that enables the modeling of hierarchical relationships present in the data and thus achieves significant computational savings compared to conventional flat attention models. We generalize to arbitrary depths and include a detailed computational cost analysis. Combined with curriculum learning, our method solves instances that are much larger than those in Kera et al. (2024 Learning to compute Groebner bases)