Geometric generality of Transformer-based Gröbner basis computation
Abstract
The intersection of deep learning and symbolic mathematics has seen rapid progress in recent years, exemplified by the work of Lample and Charton [ Deep Learning for Symbolic Mathematics , In International Conference on Learning Representations, 2020 (ICLR2020)]. They demonstrated that effective training of machine learning models for solving mathematical problems critically depends on high-quality, domain-specific datasets. In this paper, we address the computation of Gröbner basis using Transformers. While a dataset generation method tailored to Transformer-based Gröbner basis computation has previously been proposed [Kera et al., Learning to compute Gröbner bases , Advances in Neural Information Processing Systems 37 (2024), 33141–33187], it lacked theoretical guarantees regarding the generality or quality of the generated datasets. In this work, we prove that datasets generated by the previously proposed algorithm are sufficiently general, enabling one to ensure that Transformers can learn a sufficiently diverse range of Gröbner bases. Moreover, we propose an extended and generalized algorithm to systematically construct datasets of ideal generators, further enhancing the training effectiveness of Transformer. Our results provide a rigorous geometric foundation for Transformers to address a mathematical problem, which is an answer to Lample and Charton’s idea of training on diverse or representative inputs.
Fields of Study & Subjects
Polynomial and algebraic computation
Mathematical and Computational Methods
Neural Networks and Applications
Publication details
- Journal / source
- Contemporary mathematics - American Mathematical Society
- Pages
- 195–214
- Publication date
- 1 January 2026
- Language
- EN