NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

More Algorithms for Provable Dictionary Learning

Sanjeev Arora, Aditya Bhaskara, Rong Ge, Tengyu MaarXiv 2014

Abstract

Dictionary learning, or sparse coding, involves recovering an unknown dictionary matrix $A \in \mathbb{R}^{n \times m}$ and a sparse vector $x \in \mathbb{R}^m$ from observed samples $y = Ax$. While heuristic methods are common, provable algorithms have historically been limited to cases where $x$ is extremely sparse—specifically, having fewer than $\sqrt{n}$ non-zero entries. This paper presents a new quasipolynomial-time algorithm that breaks this $\sqrt{n}$ barrier, allowing for sparsity levels up to $n/poly(\log n)$. By introducing the concept of "individually recoverable features," the authors demonstrate that the sparsity bottleneck is a computational challenge rather than an information-theoretic one.

Introduction

The problem of dictionary learning is central to neuroscience, machine learning, and signal processing. In the overcomplete case ($m > n$), we seek to represent data as a linear combination of more basis vectors than there are dimensions in the observation space. Mathematically, given $y = Ax$, where $A$ is the dictionary and $x$ is a sparse coefficient vector, the goal is to recover both $A$ and $x$.

While algorithms like K-SVD are widely used in practice, they lack rigorous guarantees of convergence to the true underlying dictionary. Recent theoretical breakthroughs by Spielman et al. (2012), Arora et al. (2013), and Agarwal et al. (2013) provided the first provable algorithms. However, these methods were constrained by a "sparsity barrier": they required the number of non-zero entries in $x$ to be less than $\sqrt{n}$. This paper addresses the challenge of designing algorithms that remain provably effective in the "slightly-sparse" regime, where sparsity significantly exceeds $\sqrt{n}$.

The Challenge of High Sparsity

The $\sqrt{n}$ limit in previous research stems from the geometry of sparse supports. When a vector $x$ has $k$ non-zero entries, the probability that two random $k$-sparse vectors share more than one non-zero coordinate is low only if $k < \sqrt{n}$. Once $k$ exceeds this threshold, the "overlaps" between different samples become frequent and complex. Standard intersection-based methods, which rely on identifying unique overlaps to isolate dictionary columns, fail because the signal from any single feature is drowned out by the collective noise of other overlapping features.

Individually Recoverable Features

The core contribution of this work is the identification of individually recoverable features. A feature (a column of $A$) is considered recoverable if its presence in a sample $y$ creates a detectable "signature" in the distribution of observed values that cannot be easily replicated by other combinations of features.

Instead of looking for global intersections, the authors focus on local "fingerprints." Even in high-sparsity regimes, a specific feature will cause a simultaneous elevation in the values of the specific pixels (coordinates) it affects. By identifying small subsets of these pixels—termed "signature sets" ($t \approx \text{poly}(\log n)$)—the algorithm can anchor its estimation of the dictionary.

The Proposed Algorithm

The authors propose a multi-stage approach to learn the dictionary $A$:

  1. Enumeration of Signature Sets: The algorithm identifies small subsets of pixels that are highly correlated with a specific feature. Because these sets are small, the algorithm can afford to enumerate them in quasipolynomial time ($n^{O(\log^2 n)}$).
  2. Expansion and Estimation: Once a signature set is found, the algorithm uses a "Recovery Step" to identify the full set of $d$ pixels (where $d \gg t$) that the feature affects. It then estimates the corresponding column of the dictionary $A$ by analyzing the statistics of the observations where this signature set is active.
  3. Iterative Refinement: The initial estimates are refined to ensure they are "inverse polynomially equivalent" to the true dictionary. This ensures that for a random sparse vector $x$, the reconstruction $\hat{A}x$ is very close to the true $Ax$.

The paper first develops this for non-negative dictionaries to build intuition, then generalizes the approach to handle dictionaries with negative entries by using variance-based concentration bounds (Bernstein’s Inequality).

Results and Theoretical Implications

The algorithm successfully learns the dictionary when the sparsity is as high as $n/poly(\log n)$, far exceeding the previous $O(\sqrt{n})$ limit. As a theoretical work, these results are validated using a generative probabilistic model where the dictionary $A$ satisfies specific combinatorial properties (low pairwise intersection between column supports) and $x$ is generated from a $\rho$-Bernoulli distribution.

The use of quasipolynomial time is a strategic trade-off. While $n^{O(\log^2 n)}$ is slower than standard polynomial time, it is significantly more efficient than the exponential time required for brute-force search. This result establishes that the $\sqrt{n}$ barrier is not an inherent information-theoretic limit of the dictionary learning problem, but rather a hurdle that can be cleared with more sophisticated combinatorial techniques.

Conclusion

This work provides a new perspective on the limits of sparse coding. By shifting the focus from coordinate intersections to individually recoverable features and signature sets, the authors provide a provable path forward for high-sparsity dictionary learning. Future work remains to determine if a true polynomial-time algorithm exists for this regime and to relax the combinatorial assumptions required for the dictionary matrix $A$.

Summary updated

BibTeX
@misc{arora2014more,
  author = {Sanjeev Arora and Aditya Bhaskara and Rong Ge and Tengyu Ma},
  title = {{More Algorithms for Provable Dictionary Learning}},
  year = {2014},
  eprint = {1401.0579},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1401.0579},
}
Figure