English

The Polynomial Set Associated with a Fixed Number of Matrix-Matrix Multiplications

Numerical Analysis 2025-08-14 v3 Numerical Analysis

Abstract

We consider the problem of computing matrix polynomials p(X)p(X), where XX is a large dense matrix, with as few matrix-matrix multiplications as possible. More precisely, let Π2m\Pi_{2^{m}}^* represent the set of polynomials computable with mm matrix-matrix multiplications, but with an arbitrary number of matrix additions and scaling operations. We characterize this set through a tabular parameterization. By deriving equivalence transformations of the tabular representation, we establish new methods that can be used to construct elements of Π2m\Pi_{2^{m}}^* and determine general properties of the set. The transformations allow us to eliminate variables and prove that the dimension is bounded by m2m^2, which is subsequently proven to be sharp, i.e., dim(Π2m)=m2\dim(\Pi_{2^m}^*)=m^2. Consequently, we have identified a parameterization that, to the best of our knowledge, is the first minimal parameterization. We also conduct a study using computational tools from algebraic geometry to determine the largest degree dd such that all polynomials of that degree belong to Π2m\Pi_{2^{m}}^*, or its closure. In many cases, the computational setup is constructive in the sense that it can also be used to determine a specific evaluation scheme for a given polynomial.

Keywords

Cite

@article{arxiv.2504.01500,
  title  = {The Polynomial Set Associated with a Fixed Number of Matrix-Matrix Multiplications},
  author = {Elias Jarlebring and Gustaf Lorentzon},
  journal= {arXiv preprint arXiv:2504.01500},
  year   = {2025}
}

Comments

23 pages, 1 figure, 1 table