paper-with-me

홈 › Papers

The Structural Complexity of Matrix-Vector Multiplication

2025-02-28 · Emile Anand, Jan van den Brand, Rose McCarty

We consider the problem of preprocessing an $n\times n$ matrix M, and supporting queries that, for any vector v, returns the matrix-vector product Mv. This problem has been extensively studied in both theory and practice: on one side, practitioners have developed algorithms that are highly efficient in practice, whereas theoreticians have proven that the problem cannot be solved faster than naive multiplication in the worst-case. This lower bound holds even in the average-case, implying that existing average-case analyses cannot explain this gap between theory and practice. Therefore, we study the problem for structured matrices. We show that for $n\times n$ matrices of VC-dimension d, the matrix-vector multiplication problem can be solved with $\tilde{O}(n^2)$ preprocessing and $\tilde O(n^{2-1/d})$ query time. Given the low constant VC-dimensions observed in most real-world data, our results posit an explanation for why the problem can be solved so much faster in practice. Moreover, our bounds hold even if the matrix does not have a low VC-dimension, but is obtained by (possibly adversarially) corrupting at most a subquadratic number of entries of any unknown low VC-dimension matrix. Our results yield the first non-trivial upper bounds for many applications. In previous works, the online matrix-vector hypothesis (conjecturing that quadratic time is needed per query) was used to prove many conditional lower bounds, showing that it is impossible to compute and maintain high-accuracy estimates for shortest paths, Laplacian solvers, effective resistance, and triangle detection in graphs subject to node insertions and deletions in subquadratic time. Yet, via a reduction to our matrix-vector-multiplication result, we show we can maintain the aforementioned problems efficiently if the input is structured, providing the first subquadratic upper bounds in the high-accuracy regime.

📄 PDF Abstract BibTeX arXiv:2502.21240

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Reducing the Complexity of Matrix Multiplication by Quantum Computing

2026-02-05 · Jiaqi Yao, Ding Liu arxiv

Matrix multiplication is a fundamental operation in compute-intensive tasks and a key component of modern quantum acceleration frameworks. Here we present a quantum matrix multiplication algorithm based on quantum kernel…

Karatsuba Matrix Multiplication and its Efficient Custom Hardware Implementations

2025-01-15 · Trevor E. Pogue, Nicola Nicolici

While the Karatsuba algorithm reduces the complexity of large integer multiplication, the extra additions required minimize its benefits for smaller integers of more commonly-used bitwidths. In this work, we propose the …

The Synthesis of XNOR Recurrent Neural Networks with Stochastic Logic

2019-12-01 · NeurIPS 2019 12 · Arash Ardakani, Zhengyun Ji, Amir Ardakani, Warren Gross

The emergence of XNOR networks seek to reduce the model size and computational cost of neural networks for their deployment on specialized hardware requiring real-time processes with limited hardware resources. In XNOR n…

Quantization

RSR-core: A High-Performance Engine for Low-Bit Matrix-Vector Multiplication

2026-03-29 · Mohsen Dehghankar, Abolfazl Asudeh arxiv

Matrix-vector multiplication is a fundamental building block in neural networks, vector databases, and large language models, particularly during inference. As a result, efficient matrix-vector multiplication engines dir…

A Simple Sparse Matrix Vector Multiplication Approach to Padded Convolution

2024-11-29 · Zan Chaudhry

We introduce an algorithm for efficiently representing convolution with zero-padding and stride as a sparse transformation matrix, applied to a vectorized input through sparse matrix-vector multiplication (SpMV). We prov…

CPUGPU