arXiv Machine Learning

Computational Algebra with Attention: Transformer Oracles for Border Basis Algorithms

arXiv:2505. 23696v2 Announce Type: replace Abstract: Solving systems of polynomial equations, particularly those with finitely many solutions, is a crucial challenge across many scientific fields.

arXiv Machine Learning
5d ago

A Survey on the Use of Machine Learning within Computer Algebra

The survey examines how Machine Learning is applied within Computer Algebra, aiming to improve existing algorithms and enable direct symbolic computation. It reviews literature on tasks such as cylindrical algebraic decomposition, Gr"obner basis computation, and symbolic integration, comparing ML methods from decision trees to transformers. Key issues identified include a lack of benchmark datasets and the need for explainable AI to build trust and advance research.

By Uzma Shafiq, Matthew England, Nayyar Zaidi
arXiv Machine Learning
Oct 15

Exhaustive Canonical Skeletons Generation: A Formal Dataset for Decomposable Symbolic Regression

The paper introduces an exhaustive dataset of univariate canonical skeletons for neural symbolic regression, generated deterministically via a constrained context-free grammar. These skeletons serve as generic structural representations that eliminate redundant expressions and provide uniform operator distribution, thereby avoiding simplicity bias. The authors also present a sampling strategy for clean numerical data and benchmark 150 SR problems across three tiers, demonstrating challenges for current state‑of‑the‑art methods.

By Giorgio Morales, Anik\'o Ek\'art
arXiv Machine Learning
Sep 25

FlashLoop: Fast and Memory-Efficient Looped Transformers via Lazy Updates

FlashLoop is a training‑free inference framework for Looped Transformers that reduces cross‑loop redundancy by employing token‑sparse updates, sparse attention, and KV‑residual quantization. It exploits observations that, as loops progress, state changes concentrate on a small token subset, attention differences are dominated by a sparse key subset, and KV residuals become amenable to low‑bit quantization. The method achieves lossless accuracy with up to 1.64× speedup and 6× KV‑cache memory reduction across several Looped Transformer models.

By Wanqi Yang, Shiwei Liu
arXiv AI
Oct 15

Clean: Second-order LLM Training at Linear Memory Cost via Nystr{\"o}m Sketching

Clean is a memory‑efficient optimizer that uses Nyström sketching to approximate SOAP’s curvature preconditioners, reducing memory complexity from quadratic to linear while preserving rich curvature information. It also reintegrates off‑subspace components and offers a low‑precision variant, Q‑Clean, that cuts optimizer memory by over 50% compared to Muon while maintaining strong performance. Clean outperforms AdamW in wall‑clock time and enables pre‑training a 13B‑parameter model on a single 80GB GPU.

By Beheshteh T. Rakhshan, Sahar Rajabi, Maziar Sargordi, Shikai Fang, Guillaume Rabusseau, Sirisha Rambhatla
arXiv Machine Learning
Oct 12

Algebraic Integer Quantization for Machine Learning Applications

The paper introduces algebraic integer number formats (AINF) as a framework for highly configurable and accurate compressed computation, emphasizing its reduction to purely integer arithmetic for error‑free multiply‑accumulate operations. A matrix multiplication engine leveraging AINF achieves performance close to the most efficient numerical counterparts on modern hardware accelerators. The authors further propose algebraic integer quantization (AIQ) as a lossy compression format for large language model inference, demonstrating competitive accuracy against the industry‑standard MX format at equivalent bit‑per‑parameter budgets, and suggest that higher‑order algebraic integers could yield even greater computational benefits.

By Anthony Kostal-Vazquez, Vassil Dimitrov, Branden Butler
arXiv AI
Jul 24

Identifying Good Rules for Efficient SAT Encodings of Single-Constant Multiplication Using Machine Learning

arXiv:2607. 21188v1 Announce Type: new Abstract: The Single Constant Multiplication problem is a fundamental NP-hard optimization task in hardware design, which seeks to decompose a fixed constant using only additions, subtractions, and bit-shifts.

By Chufeng Jiang (Graduate Center, The City University of New York), Neng-Fa Zhou (Graduate Center, The City University of New York)