atlas

Research map / Architectures and efficiency / Attention and transformers

Computational Algebra with Attention: Transformer Oracles for Border Basis Algorithms

NeurIPS 2025 · Architectures and efficiency › Attention and transformers · approach: Transformer neural operators for PDEs · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes the Oracle Border Basis Algorithm, which uses a Transformer oracle to skip unnecessary reduction candidates in border basis computation while keeping output correctness, achieving up to 3.5x speedup.

Problem

Border basis computation for zero-dimensional polynomial systems spends most runtime reducing candidate polynomials that fail to extend the basis; prior deep learning approaches for Gröbner bases lack output guarantees.

Approach

A Transformer oracle predicts which variable-times-generator expansions will succeed, invoked only in the final stage with a cap of k calls and fallback to standard expansion, so correctness is preserved. Also introduces border basis sampling (via vanishing ideals), an ideal-invariant generator transform, and monomial-level token embedding.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use the Transformer oracle instead of full expansionIBBA / border basis algorithm · F31, n=5, total degree ≤4runtime: up to a 3$\times$ speedupHelped
Add fast Gaussian eliminationIBBA · F31, n=5, total degree ≤4runtime: approximately 10× wall-clock speedup in data generationHelped
Add fast Gaussian elimination alongside the oracleOBBA · F31, n=5, total degree ≤4runtime: up to two orders of magnitude improvement over IBBHelped
Train on degree-2 systems and apply the oracle to higher-degree systemsOBBA · Four-variable systems, total degree 3, 4, 6, and 8speedup: up to 1.8-timesHelped
Increase the number of leading terms retained from 1 to 5 (ablation)Transformer oracle · Expansion prediction across n=3, 4, 5F1 scoreHelped
Truncate input polynomials to their leading terms (ablation)Transformer oracle · Expansion predictionpredictive performanceNo clear effect
Use monomial embedding instead of standard tokenization (ablation)Transformer oracle · Cumulative polynomial product taskssuccess rateHelped
Use the oracle-guided expansion in place of the standard BBA expansionBorder basis algorithm · In-distribution systems, n=3runtimeNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: synthetic border basis samples over F_p polynomial rings generated via border basis sampling and ideal-invariant generat

Benchmarks: randomly sampled zero-dimensional systems over F_31 with n=3,4,5 variables out-of-distribution higher-degree systems over F_7, F_31, F_127 with n=4

Metrics: wall-clock runtime (s) precision recall F1 score no-expansion accuracy speedup factor

Baselines: BBA IBBA IBBA+FGE

Builds on: Border basis algorithm (BBA) Improved Border Basis Algorithm (IBBA) Buchberger-Möller algorithm Transformer encoder-decoder

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy