Abstract
In the era of big data, matrices are often too large to be stored or processed in their entirety. Instead, they are accessed through restricted query models, most notably the matrix-vector product ($Mv$). This paper provides a comprehensive analysis of the query complexity required to solve fundamental problems in linear algebra, statistics, and graph theory within this model. We establish tight upper and lower bounds, revealing how factors such as adaptivity, the underlying mathematical field, and the specific matrix representation dictate the difficulty of extracting information.
Introduction
The matrix-vector product is a ubiquitous primitive in modern computing, serving as the foundation for streaming algorithms, distributed systems, and compressed sensing. In these contexts, a matrix $M$ is treated as a black box: an algorithm provides a query vector $v$ and receives the product $Mv$. While this model is widely used, the fundamental limits of what can be learned from a limited number of such "pokes" remained partially understood.
This research addresses the question: What is the minimum number of queries $q$ needed to determine specific properties of an unknown matrix $M$? By formalizing this sampling model, the authors map the complexity landscape for tasks ranging from rank estimation to graph connectivity.
Methodology
The study employs a rigorous theoretical framework to derive both algorithmic upper bounds and information-theoretic lower bounds.
The Oracle Model
The matrix $M \in \mathbb{F}^{n \times d}$ is accessed via a right-multiplication oracle. The complexity is measured by the number of queries $q$ required to output a correct answer with high probability. The authors distinguish between non-adaptive algorithms (where all $q$ queries are chosen simultaneously) and adaptive algorithms (where query $v_i$ can depend on the results of $Mv_1, \dots, Mv_{i-1}$).
Lower Bound Techniques
To prove that certain problems are inherently difficult, the authors utilize reductions from communication complexity. By showing that a low-query algorithm for a matrix problem would imply an impossible communication protocol for problems like Disjointness, they establish lower bounds on $q$. Additionally, Yao’s Minimax Principle is used to provide lower bounds for randomized algorithms by considering the performance of deterministic algorithms on a specific distribution of inputs.
Upper Bound Techniques
Algorithmic solutions often leverage probabilistic tools such as the Johnson-Lindenstrauss (JL) Lemma for norm estimation. For linear algebra problems like rank approximation, the authors analyze the spectral properties of matrices and the behavior of Wishart distributions to design query-efficient strategies.
Key Results and Complexity Map
The paper's primary contribution is a detailed "menu" of query complexities for various problem classes. These results are summarized in the table below.
Linear Algebra Problems
For many core linear algebra tasks, the query complexity is surprisingly low. For instance, testing if a matrix is unitary requires only a single query, while symmetry or diagonal testing can be achieved in $O(1)$ queries. However, trace estimation is significantly harder, requiring $\Omega(n/\log n)$ queries. In the case of rank approximation, the authors prove that $p+1$ queries are necessary and sufficient to distinguish a rank-$p$ matrix from one of higher rank.
Streaming and Statistics
The results in this category highlight the importance of the underlying field. For example, identifying an "all ones" column is trivial (1 query) over the real numbers $\mathbb{R}$ but requires $\Omega(n)$ queries over the binary field $\mathbb{F}_2$. This demonstrates that the numerical representation of data can be as critical as the algorithm itself.
Graph Problems
The complexity of graph problems depends heavily on how the graph is encoded as a matrix. If a graph is represented by a bipartite adjacency matrix, determining connectivity is difficult, requiring $\Omega(n/\log n)$ queries. Conversely, if the graph is represented by a signed edge-vertex incidence matrix, the problem becomes exponentially easier, requiring only $O(\text{polylog } n)$ queries.
Discussion: Insights on Adaptivity and Representation
The research reveals several counter-intuitive insights into the nature of matrix queries.
The Power of Adaptivity
Adaptivity does not always provide an advantage. For rank approximation, adaptive queries offer no improvement over non-adaptive ones. However, for finding the maximum eigenvalue, adaptivity is a "superpower," reducing the complexity from $\Theta(n)$ for non-adaptive queries to $\Theta(\epsilon^{-0.5} \log n)$ for adaptive ones.
The "One-Way Mirror" Effect
The authors identify a stark asymmetry between right-multiplication ($Mv$) and left-multiplication ($u^TM$). A property that is trivial to detect from one side (e.g., parity of columns via left-multiplication) may require a linear number of queries from the other. This suggests that the "direction" of interaction with data is a fundamental constraint.
Conclusion and Future Work
This work provides a foundational map for the query complexity of matrix-vector products. While it covers a broad spectrum of problems, several avenues for future research remain. Tight bounds for approximating Schatten-p norms are still needed. Furthermore, extending this model to non-linear queries or refining the constant factors for the proposed graph algorithms would bridge the gap between theoretical bounds and practical implementation in large-scale data systems.
Summary updated