English

$XX^{t}$ Can Be Faster

Data Structures and Algorithms 2025-05-19 v2 Artificial Intelligence Machine Learning Symbolic Computation

Abstract

We present RXTX, a new algorithm for computing the product of matrix by its transpose XXtXX^{t} for XRn×mX\in \mathbb{R}^{n\times m}. RXTX uses 5%5\% fewer multiplications and 5%5\% fewer operations (additions and multiplications) than State-of-the-Art algorithms. Note that the accelerations not only holds asymptotically for large matrices with nn \rightarrow \infty, but also for small matrices including n=4n = 4. The algorithm was discovered by combining Machine Learning-based search methods with Combinatorial Optimization.

Keywords

Cite

@article{arxiv.2505.09814,
  title  = {$XX^{t}$ Can Be Faster},
  author = {Dmitry Rybin and Yushun Zhang and Zhi-Quan Luo},
  journal= {arXiv preprint arXiv:2505.09814},
  year   = {2025}
}

Comments

improved presentation

R2 v1 2026-06-28T23:33:44.217Z