Approximate Multi-Matrix Multiplication for Streaming Power Iteration Clustering

Boahen Edem, Benjamin W Priest, T.s. Jayram, Geoffrey Sanders, Grace J LiOpenReview 2026 · Submission to ICLR 2026 · Rejected

TL;DR

This paper introduces a way to perform community detection on massive, evolving graphs using a fraction of the memory typically required. By developing a new theoretical framework called Approximate Multi-Matrix Multiplication (AMMM), the authors prove that you can "sketch" (compress) a graph's adjacency matrix during power iteration without the approximation errors spiraling out of control, enabling single-pass streaming algorithms for terabyte-scale data.

What Problem Does This Paper Address?

Community detection—finding groups of related nodes in a graph—is a cornerstone of network analysis. Spectral methods, which use the eigenvalues and eigenvectors of graph matrices, are highly effective but suffer from a major "Big Data" bottleneck: they usually require multiple passes over the entire graph and enough memory to store the full matrix.

In the modern era, graphs (like social networks or transaction logs) are often:

  1. Massive: Exceeding the memory capacity of a single machine.
  2. Dynamic: Constantly changing as edges are added or deleted (a "turnstile" stream).

Existing sketching techniques work well for multiplying two matrices, but when you chain them together for iterative processes like Power Iteration, there was a fear that the approximation errors would grow exponentially. This paper aims to bridge that gap, providing a mathematically rigorous way to perform spectral clustering in a sublinear, streaming fashion.

Methods

The authors build their approach on the Stochastic Block Model (SBM), a standard statistical model for graphs with community structures. Their core contribution is the AMMM framework, which they use to analyze two new algorithms:

  1. Streaming Algorithm (Algorithm B): A single-pass approach that interleaves random sketches (Johnson-Lindenstrauss transforms) between matrix multiplications. Because the operations are linear, it can handle "turnstile" updates—meaning it can update the embedding as edges are added or removed without re-processing the whole graph.
  2. r-pass Algorithm (Algorithm C): A variant that requires $r$ passes over the data but uses even less memory ($O(\varepsilon^{-2} \log n)$) than the streaming version.

The "secret sauce" is the proof that local sketching errors accumulate linearly rather than exponentially across the chain of multiplications. This stability allows the algorithm to maintain a "separation scale"—a geometric property that ensures the largest community stays distinct enough in the low-dimensional space to be recovered by simple clustering.

Datasets

The paper relies on Synthetic SBM Graphs for evaluation.

  • Scale: Graphs with $n = 10^4$ vertices.
  • Complexity: They varied the number of communities ($K \in \{5, 10, 20\}$) and the "imbalance" (the ratio between the largest and smallest community sizes).
  • Purpose: These synthetic benchmarks allow the authors to precisely control the Signal-to-Noise Ratio (SNR) to test exactly where the approximation methods begin to fail compared to exact, expensive algorithms.

Key Insights and Ideas

  • Multi-Step Stability: The most significant theoretical "aha moment" is that sketching errors in a matrix chain grow linearly. This justifies using sketches in iterative methods like power iteration, which was previously a point of theoretical uncertainty.
  • Stable Rank is Key: The memory required for the streaming algorithm scales with the stable rank of the matrix, not its actual dimensions. In many real-world graphs, the stable rank is much smaller than the number of nodes ($n$), leading to massive space savings.
  • Imbalance is an Advantage: Surprisingly, the more "unbalanced" a graph is (i.e., one community is much larger than the others), the lower the stable rank becomes. This makes the authors' sketching approach more efficient for the very cases that are often hardest for other algorithms.

Key Results

  • Theoretical Guarantees: The authors prove that their streaming algorithm recovers the largest cluster using an embedding dimension $m$ that is sublinear in $n$.
  • Performance Parity: In experiments, the $r$-pass algorithm perfectly recovered the largest cluster once the embedding dimension met the theoretical bound.
  • Noise Robustness: The streaming approach showed a clear "phase transition"—as the embedding dimension $m$ increases, the noise from the interleaved sketches drops, and the F1 score for community recovery jumps to near-perfect (1.0).
  • Efficiency: The methods achieved results comparable to exact power iteration but with "dramatically lower memory and runtime."

Limitations and Future Work

  • Largest Cluster Focus: Currently, the theoretical recovery guarantees focus primarily on the largest community. The authors note that analyzing the recovery of all clusters is a natural next step.
  • Centering Step: The algorithm requires a "centering" step ($B = A - q11^\top$) to remove the global density effect. While they handle this linearly, they suggest that finding a way to remove this requirement would simplify the implementation.
  • Billion-Scale Testing: While the theory supports it, the current experiments were limited to $10^4$ nodes. The authors plan to implement these algorithms in distributed systems to demonstrate performance on billion-scale datasets.
  • Lower Bounds: The paper provides upper bounds on the required space, but the authors mention that finding the absolute minimum space required (lower bounds) for this problem remains an open challenge.

Summary updated

BibTeX
@misc{edem2026approximate,
  author = {Boahen Edem and Benjamin W Priest and T.S. Jayram and Geoffrey Sanders and Grace J Li},
  title = {{Approximate Multi-Matrix Multiplication for Streaming Power Iteration Clustering}},
  year = {2026},
  url = {https://openreview.net/forum?id=zWL3AwI4kq},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}
Figure