Abstract
Boolean Matrix-Vector Multiplication (BMVM) is a fundamental problem in computational complexity. This paper investigates the complexity of BMVM within the cell probe model, specifically focusing on succinct data structures where the input matrix is stored in its original form alongside a small amount of redundant memory. We present a new data structure achieving a query time of $\tilde{O}(n^{3/2})$ with $\tilde{O}(n^{3/2})$ bits of redundancy. Furthermore, we establish a near-tight lower bound showing that for any succinct data structure, the product of query time $t$ and redundancy $r$ must satisfy $t \cdot r = \Omega(n^3)$. These results effectively settle the complexity of BMVM in the cell probe model and highlight the distinction between memory-access costs and computational costs.
Introduction
Calculating the product $Mv$, where $M$ is an $n \times n$ boolean matrix and $v$ is a boolean vector, is a cornerstone of algorithmic research. In the online version of this problem (OMV), the matrix $M$ is preprocessed, and vectors $v$ arrive one at a time. A long-standing conjecture in the word-RAM model suggests that no algorithm can process these queries significantly faster than $O(n^2)$ time per query.
However, the complexity changes when viewed through the lens of the cell probe model. In this model, the cost of an algorithm is measured solely by the number of memory cells accessed, while internal computation is considered free. This paper addresses the "succinct" version of the problem: how much extra memory (redundancy, $r$) is required to achieve a specific query time ($t$) when the matrix itself is stored in a read-only, systematic format?
Methodology
The Upper Bound: Randomized Sampling and Greedy Preprocessing
The authors propose a novel data structure that improves upon previous query times. The approach consists of two phases:
- Preprocessing: The algorithm employs a greedy strategy to identify "dense" sub-matrices. It identifies row and column pairs that cover a significant portion of the 1-entries in the matrix, allowing these entries to be encoded efficiently within the redundancy.
- Querying: When a query vector $v$ is received, the algorithm first checks the pre-encoded "covered" regions. For the remaining "uncovered" entries, it utilizes randomized sampling. Because the operation is a Boolean OR, the algorithm only needs to find a single '1' to determine if a row-vector product is '1'. By sampling a small number of random entries, the algorithm can determine the result with high probability without scanning the entire row.
This combination yields a query time of $\tilde{O}(n^{3/2})$ using $\tilde{O}(n^{3/2})$ bits of extra memory, a marked improvement over the previous $\tilde{O}(n^{7/4})$ benchmark.
The Lower Bound: The Encoding Argument
To prove the limits of any such data structure, the authors utilize an encoding argument derived from communication complexity. They construct a family of "hard" matrices where each row is partitioned into blocks containing exactly one '1'.
The core of the proof demonstrates that if a query algorithm were to use too few probes, it could be used to compress the matrix into a representation smaller than its mathematical entropy. Since random data cannot be compressed beyond its entropy, this establishes a fundamental trade-off: $t \cdot r = \Omega(n^3)$. This bound holds for redundancy $r$ in the range $[n, n^2/4]$. If redundancy is minimal ($r < n$), the query time must be at least $\Omega(n^2)$, necessitating a near-full scan of the matrix.
Key Insights
The research provides several critical insights into the nature of Boolean logic and memory complexity:
- Model Disparity: The ability to beat the $O(n^2)$ query time in the cell probe model suggests that the hardness of the OMV conjecture in the word-RAM model is likely due to the computational overhead of processing bits rather than the physical limitation of accessing memory.
- The Power of Sampling: The upper bound highlights that for Boolean operations, randomized sampling is a potent tool for reducing memory probes, as one does not always need to see the entire input to determine the output.
- Generalization to $\mathbb{F}_2$: The authors demonstrate that these bounds are not unique to Boolean OR/AND logic. Similar lower bounds apply to matrix-vector multiplication over the field $\mathbb{F}_2$ (XOR/AND), suggesting a broader structural hardness in matrix-vector operations.
Conclusion and Future Work
This work effectively closes the gap between upper and lower bounds for succinct BMVM in the cell probe model. However, several avenues for future research remain. While the bounds are near-matching, polylogarithmic gaps persist. Additionally, the current lower bounds focus on "systematic" data structures where the matrix is stored in its original form. Extending these results to "non-systematic" structures—where the matrix can be stored in any compressed or transformed format—remains a significant challenge. Finally, the discrepancy between the cell probe model and the word-RAM model suggests that new techniques are required to prove lower bounds that account for the actual cost of computation.
Summary updated