Abstract
We consider the problem of learning a latent $k$-vertex simplex $K \subset \mathbb{R}^d$, given access to a data matrix $A \in \mathbb{R}^{d \times n}$ whose points are obtained by randomly perturbing latent points within $K$. A wide array of latent variable models—including adversarial clustering, mixed membership stochastic block models (MMSBM), and topic models—can be framed as learning such a latent simplex. Prior state-of-the-art algorithms, such as those by Bhattacharyya and Kannan (SODA, 2020), require a running time of approximately $O(k \cdot \text{nnz}(A))$, where $\text{nnz}(A)$ is the number of non-zero entries in $A$. In this work, we demonstrate that the multiplicative dependence on $k$ is unnecessary under a natural assumption regarding the mass of the top $k$ singular values of $A$. We provide an algorithm that runs in true input-sparsity time and show that our assumption is necessary; otherwise, learning a latent simplex would imply a breakthrough in spectral low-rank approximation. Our approach utilizes a low-rank approximation to $A$ obtained in input-sparsity time, followed by vertex discovery within the resulting subspace, effectively decoupling the complexity from the number of vertices $k$ during the primary data-processing phase.
Introduction
In unsupervised learning, many problems involve recovering hidden structures from noisy, high-dimensional data. A foundational model for this is the "latent simplex" problem, where data points are viewed as convex combinations of $k$ hidden archetypes (the vertices of the simplex) subjected to noise. This model underpins Latent Dirichlet Allocation (LDA) for topic modeling, where documents are mixtures of topics, and Mixed Membership Stochastic Block Models (MMSBM) for network analysis, where nodes belong to multiple communities.
As datasets grow, the computational efficiency of recovering these vertices becomes critical. The previous benchmark algorithm required $k$ adaptive queries to the data matrix, necessitating $k$ full passes over the dataset. For applications with a large number of topics or communities, this $O(k \cdot \text{nnz}(A))$ complexity becomes a significant bottleneck. This paper presents a method to achieve "input-sparsity time," essentially reading the data only once.
Methodology
1. Mixed Spectral-Frobenius Low-Rank Approximation
To avoid the $k$-pass bottleneck, the algorithm shifts the computational burden to a compressed representation of the data. Instead of computing the exact top-$k$ singular vectors using slow power iterations, the authors employ randomized sketching (e.g., CountSketch). This produces a "mixed spectral-Frobenius" low-rank approximation in time proportional to the number of non-zero entries in the matrix.
2. Subspace Geometry and sin $\Theta$ Distance
The core theoretical insight is that the column space of this fast, coarse approximation remains geometrically close to the true top-$k$ singular space of $A$. The authors prove that the angular (sin $\Theta$) distance between these subspaces is small enough to preserve the relative positions of the latent simplex vertices.
3. Iterative Vertex Discovery in the Subspace
Once the data is projected into this $k$-dimensional proxy subspace, the algorithm identifies the vertices. It generates random vectors within the subspace and identifies data points that maximize the inner product with these vectors. By iteratively projecting away from discovered vertices, the algorithm finds the full set of $k$ points. Because these operations occur in the compressed subspace, the complexity scales with $(n+d)\text{poly}(k)$, effectively removing the $k$ multiplier from the $\text{nnz}(A)$ term.
The Significant Singular Values Assumption
The transition to input-sparsity time requires a new condition: the Significant Singular Values assumption. This requires the top $k$ singular values of the data matrix to be sufficiently larger than the remaining noise spectrum.
The authors demonstrate that this is not merely a technical convenience but a fundamental requirement. They prove a lower-bound connection: if an algorithm could solve the latent simplex problem in sub-$O(k \cdot \text{nnz}(A))$ time without this assumption, it would solve the long-standing open problem of spectral low-rank approximation in the same time. This establishes a deep theoretical link between latent variable modeling and fundamental matrix algorithms.
Experimental Results
The algorithm was tested against traditional power iteration methods on several datasets:
- Synthetic Data: Large-scale matrices ($50,000 \times 1,000$) were used to verify the theoretical speedup across various sparsity levels.
- Network Data (SNAP): On the
email-Eu-corenetwork (1,005 nodes, 42 communities) and thecom-Youtubedataset (a $100,000 \times 1,000$ bipartite graph), the algorithm showed dramatic performance gains.
Key Findings
- Speed: On the YouTube dataset with $k=100$, the traditional method took 41.788 seconds, while the new input-sparsity algorithm took only 0.366 seconds—a 114x speedup.
- Accuracy: Despite using a "coarser" approximation, the new algorithm achieved a lower least squared loss than the baseline on the YouTube dataset, suggesting that the sketching approach may also provide a beneficial regularizing effect against noise.
Conclusion
By decoupling the number of latent vertices $k$ from the data-reading complexity $\text{nnz}(A)$, this work provides a scalable framework for high-dimensional clustering and topic modeling. While the method relies on a spectral gap (the Significant Singular Values assumption), this gap is typical in many real-world latent variable models. Future work may further explore the algorithmic bridge between simplex learning and spectral approximation to find even more efficient sketching techniques.
Summary updated