Sketching Sparse Matrices

Gautam Dasarathy, Parikshit Shah, Badri Narayan Bhaskar, Robert D. NowakarXiv 2013

Abstract

This paper addresses the fundamental challenge of recovering a large sparse matrix from a highly compressed "sketch." By introducing the concept of distributed sparsity, the authors provide a theoretical framework and a practical convex optimization algorithm for near-optimal matrix recovery. They demonstrate that a $p \times p$ matrix $X$ can be perfectly reconstructed from a sketch $Y = AXB^T$ of size $m \times m$ (where $m \ll p$) using $\ell_1$ minimization, provided the non-zero entries are sufficiently spread across rows and columns.

Introduction

In fields such as genomics, signal processing, and social network analysis, researchers frequently encounter massive matrices where the dimension $p$ can reach tens of thousands. Storing, transmitting, or measuring these matrices directly is often impossible. While standard Compressed Sensing (CS) provides tools to recover sparse vectors, matrices present a unique structural challenge. Specifically, the sensing operator is often constrained by the physics of data acquisition, frequently taking the form of a tensor (Kronecker) product: $Y = AXB^T$. This paper explores how to achieve efficient recovery under these specific constraints.

The Problem: Structural Constraints in Matrix Sensing

The core difficulty with the operator $Y = AXB^T$ is that it is significantly more restricted than a general linear map. If the "information" (the non-zero entries) in matrix $X$ is concentrated entirely within a single row or column, the sensing matrices $A$ and $B$ cannot distinguish between different entries in that row/column. This necessitates a new definition of sparsity that accounts for the spatial distribution of data within the matrix.

Methodology

Distributed Sparsity

The authors define a matrix as $d$-distributed sparse if no row or column contains more than $d$ non-zero entries. This property prevents the "Arrow Matrix" problem, where a single dense row or column hides information from the sketching process.

The Sketching Process

To compress the data, the authors use sensing matrices $A$ and $B$ derived from the adjacency matrices of random $\delta$-left regular bipartite graphs. These are sparse binary matrices where each column contains a fixed number of ones in random positions. The $p \times p$ matrix $X$ is then transformed into an $m \times m$ sketch $Y$.

Recovery via Convex Optimization

To reconstruct $X$ from $Y$, the authors propose solving a linear program ($P_1$): $$\min \|X\|_1 \text{ subject to } Y = AXB^T$$ This algorithm minimizes the $\ell_1$ norm of the entries of the reconstructed matrix. The authors prove that while the tensor product of two expander graphs is not a perfect expander itself, it retains a "Weak Distributed Expansion" property. This property is sufficient to satisfy the Nullspace Property (NSP), ensuring that $\ell_1$ minimization will converge on the true sparse solution.

Key Insights and Theoretical Guarantees

  • Near-Optimal Scaling: The authors prove that the sketch dimension $m$ only needs to scale as $O(\sqrt{dp} \log p)$. Since the total number of measurements is $m^2$, the required measurements scale as $O(dp \log^2 p)$. Given that a $d$-distributed matrix has at most $dp$ non-zeros, this result is only a logarithmic factor away from the absolute theoretical lower bound.
  • Robustness to Noise: The framework is not limited to perfectly sparse matrices. Theorem 2 demonstrates that if the matrix is "mostly" sparse with some noise or perturbation, the recovery error remains proportional to the magnitude of that noise.
  • Phase Transitions: Experimental results show a sharp phase transition between successful recovery and failure. The boundary follows the curve $p \approx \frac{1}{14} m^2$, confirming the theoretical prediction that the matrix dimension $p$ can grow quadratically relative to the sketch dimension $m$.

Applications

The versatility of this sketching method extends to several domains:

  1. Covariance Sketching: Estimating correlations in high-dimensional data from compressed samples.
  2. Graph Sketching: Compressing large networks while preserving essential "cut" information.
  3. Image Processing: The authors demonstrate that natural images (like the classic "Lena" test image), when transformed into the wavelet domain, exhibit the distributed sparsity required for successful recovery.

Conclusion and Future Work

Dasarathy et al. establish a robust link between expander graphs and matrix recovery. By identifying distributed sparsity as the key requirement for Kronecker-structured sensing, they provide a path forward for high-dimensional data compression. Future research directions include refining the analysis for extreme rectangular matrices and investigating performance under specific statistical noise models, such as additive Gaussian or Wishart noise.

Summary updated

BibTeX
@misc{dasarathy2013sketching,
  author = {Gautam Dasarathy and Parikshit Shah and Badri Narayan Bhaskar and Robert D. Nowak},
  title = {{Sketching Sparse Matrices}},
  year = {2013},
  eprint = {1303.6544},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1303.6544},
}
Figure