Abstract
Matrix-vector multiplication is one of the most fundamental computing primitives. Given a matrix $A\in\mathbb{F}^{N\times N}$ and a vector $b$, it is known that in the worst case $Θ(N^2)$ operations over $\mathbb{F}$ are needed to compute $Ab$. A broad question is to identify classes of structured dense matrices that can be represented with $O(N)$ parameters, and for which matrix-vector multiplication can be performed sub-quadratically. One such class of structured matrices is the orthogonal polynomial transforms, whose rows correspond to a family of orthogonal polynomials. Other well known classes include the Toeplitz, Hankel, Vandermonde, Cauchy matrices and their extensions that are all special cases of a displacement rank property. In this paper, we make progress on two fronts:
- We introduce the notion of recurrence width of matrices. For matrices with constant recurrence width, we design algorithms to compute $Ab$ and $A^Tb$ with a near-linear number of operations. This notion of width is finer than all the above classes of structured matrices and thus we can compute multiplication for all of them using the same core algorithm.
- We additionally adapt this algorithm to an algorithm for a much more general class of matrices with displacement structure: those with low displacement rank with respect to quasiseparable matrices. This class includes Toeplitz-plus-Hankel-like matrices, Discrete Cosine/Sine Transforms, and more, and captures all previously known matrices with displacement structure that we are aware of under a unified parametrization and algorithm. Our work unifies, generalizes, and simplifies existing state-of-the-art results in structured matrix-vector multiplication. Finally, we show how applications in areas such as multipoint evaluations of multivariate polynomials can be reduced to problems involving low recurrence width matrices.
Introduction
Matrix-vector multiplication (MVM) is a cornerstone of numerical linear algebra and computer science. While general $N \times N$ matrices require $O(N^2)$ operations, many practical applications involve "structured" matrices that can be described by far fewer parameters. Historically, specialized algorithms have been developed for specific structures like Toeplitz, Hankel, Vandermonde, and Cauchy matrices, often achieving near-linear $O(N \log^k N)$ complexity. However, these solutions have remained largely fragmented, with distinct algorithms for different structural classes.
This work bridges these gaps by introducing recurrence width, a novel structural property that unifies these disparate classes. By exploiting this property, we provide a single algorithmic framework capable of performing multiplication, inversion, and structure recovery for a vast array of structured matrices.
A Unified Framework: Recurrence Width
The primary contribution of this research is the definition of recurrence width. A matrix exhibits low recurrence width if its rows, when interpreted as polynomials, satisfy a linear recurrence relation. This property is remarkably general: it encompasses orthogonal polynomial transforms, where rows are defined by classical orthogonal polynomials, as well as matrices with displacement structure.
As illustrated in Figure 1, recurrence width serves as a "master" property. Matrices with constant recurrence width $t$ can be multiplied by a vector in $O(t^2 N \text{ poly} \log N)$ time. This framework not only simplifies the algorithmic landscape but also provides a finer-grained analysis of complexity than previous displacement-based methods. To handle the most general cases, the authors introduce "Krylov efficiency," a property describing how easily a matrix can generate a Krylov subspace, allowing the algorithm to function even with complex recurrence operators.
Bridging Displacement and Rank Structures
The second "prong" of this work extends the recurrence width framework to matrices with displacement structure relative to quasiseparable operators. Quasiseparable matrices are those where off-diagonal blocks have low rank. By combining displacement rank theory with rank-structured matrix techniques, the authors capture an even broader class of matrices, including Toeplitz-plus-Hankel-like matrices and various Discrete Trigonometric Transforms (DCT/DST).
This unification allows for "superfast" algorithms (near-linear time) even for matrices that were previously considered distinct. For instance, the inverse of a matrix with low recurrence width is shown to be related to semiseparable structures, enabling efficient linear system solving ($Ax=b$) using the same core divide-and-conquer logic as simple multiplication.
Key Results and Empirical Performance
The theoretical generality of this framework is matched by its practical potential. Key findings include:
- Near-Linear Complexity: Multiplication, inversion, and parameter recovery are all achieved in near-linear time relative to the matrix dimension $N$.
- Empirical Efficiency: In benchmarks against a brute-force $O(N^2)$ implementation at $N=10,000$, the proposed approach demonstrated significant speedups. Preprocessing was approximately 18 times faster (~18s vs ~322s), and multiplication was 2.5x to 10x faster than the baseline, with the gap widening as $N$ increases.
- Algorithmic Simplification: A single core algorithm replaces a library of specialized routines for different matrix types.
Furthermore, the authors demonstrate a novel application: reducing the problem of multipoint evaluation of multivariate polynomials to MVM with low-recurrence width matrices. This provides a new path forward for a historically challenging problem in algebraic complexity.
Limitations and Future Work
While the current framework provides a powerful unification, it focuses on exact arithmetic over a field. In real-world engineering using floating-point numbers, numerical stability remains an open question. Additionally, for small matrices (e.g., $N < 500$), the overhead of the divide-and-conquer approach makes it slower than naive methods. Future research will address these stability concerns and explore approximate matrix-vector products to further scale these techniques.
Summary updated