ACLGNov 21, 2023

Learning to Compute Gröbner Bases

arXiv:2311.12904v37 citationsh-index: 8
Originality Incremental advance
AI Analysis

This addresses a fundamental computational algebra task with notorious complexity, offering a novel machine learning approach for domain-specific applications.

The paper tackles the problem of learning to compute Gröbner bases for polynomial systems using Transformers, by developing a dataset generation method that is orders of magnitude faster than naive approaches, enabling learnability in a specific class.

Solving a polynomial system, or computing an associated Gröbner basis, has been a fundamental task in computational algebra. However, it is also known for its notorious doubly exponential time complexity in the number of variables in the worst case. This paper is the first to address the learning of Gröbner basis computation with Transformers. The training requires many pairs of a polynomial system and the associated Gröbner basis, raising two novel algebraic problems: random generation of Gröbner bases and transforming them into non-Gröbner ones, termed as backward Gröbner problem. We resolve these problems with 0-dimensional radical ideals, the ideals appearing in various applications. Further, we propose a hybrid input embedding to handle coefficient tokens with continuity bias and avoid the growth of the vocabulary set. The experiments show that our dataset generation method is a few orders of magnitude faster than a naive approach, overcoming a crucial challenge in learning to compute Gröbner bases, and Gröbner computation is learnable in a particular class.

Code Implementations2 repos
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes