Alternating minimization for dictionary learning with random initialization

Niladri S. Chatterji, Peter L. BartlettNeurIPS 2017

Note on the Title: While the original paper title mentions "random initialization," a crucial 2019 erratum clarifies that the primary theoretical contribution is a proof of local linear convergence under a specific initialization assumption, rather than a purely random start.

Introduction

Dictionary learning, or sparse coding, is a foundational task in signal processing and machine learning. The goal is to find a basis (the "dictionary" $A^*$) and a set of sparse coefficients ($x^*$) such that a set of observed data points $y$ can be represented as $y = A^*x^*$. This technique is widely used in applications ranging from image denoising to modeling the visual cortex.

This paper provides a rigorous theoretical foundation for a popular heuristic used to solve this problem: alternating minimization. By shifting the analytical framework from the traditional operator norm to the matrix infinity norm, the authors provide the first theoretical guarantees for a dictionary learning algorithm capable of handling highly overcomplete dictionaries while achieving an information-theoretically optimal sparsity level of $s = O(\sqrt{d})$.

The Challenge of Dictionary Learning

The core difficulty in dictionary learning is that the problem is inherently non-convex; both the dictionary $A^*$ and the sparse coefficients $x^*$ are unknown and must be learned simultaneously. Practitioners typically rely on alternating minimization—fixing $A$ to find $x$, then fixing $x$ to update $A$.

While empirically successful, theoretical proofs explaining why and when this alternating procedure converges have historically been restrictive. Previous analyses often required the "operator norm" (the largest singular value) of the dictionary to be bounded. This assumption severely limits the dictionary's flexibility, particularly its degree of "overcompleteness" (having significantly more basis vectors than dimensions), which is a common requirement in real-world applications.

Proposed Methodology

The authors propose a two-step alternating procedure designed to overcome these theoretical limitations:

  1. Sparse Coding Step: To estimate the coefficients $x$, the algorithm employs a robust estimator known as the $\{\ell_1, \ell_2, \ell_\infty\}$-MU Selector. This is a variation of the Dantzig selector, specifically modified to handle "worst-case" corruption in the dictionary. This step is followed by hard-thresholding to ensure the estimated signs of the coefficients match the ground truth.
  2. Dictionary Update Step: The dictionary is then updated using a straightforward gradient descent step based on the $\ell_2$ loss.

The critical innovation in their analysis is the use of the matrix infinity norm (the largest absolute entry in the matrix) to measure error. By focusing on entry-wise error rather than global singular values, the authors successfully provide guarantees for dictionaries where the operator norm grows with the dimension.

Key Theoretical Insights and Results

As a purely theoretical paper, the authors define a rigorous generative model for synthetic data—assuming incoherent dictionaries and sub-Gaussian sparse coefficients—and prove that their algorithm succeeds under these conditions.

  • Infinity Norm over Operator Norm: Switching to the matrix infinity norm allows the dictionary to be much "larger" in terms of energy than previous theories permitted, perfectly matching the behavior of overcomplete dictionaries used in practice. The results hold even when the number of basis vectors $r$ is a polynomial function of the dimension $d$.
  • Minimax Optimality: The authors prove that their chosen sparse estimator (the MU Selector) is minimax optimal for this problem. Under the specified conditions, no other estimator can achieve a significantly better error rate in the infinity norm.
  • Optimal Sparsity: The algorithm successfully handles a sparsity level of $s = O(\sqrt{d})$. For incoherent dictionaries (where columns are not overly similar), this represents the information-theoretically optimal limit for successful recovery.
  • Local Linear Convergence: The main result (Theorem 3) demonstrates that if the initial dictionary estimate is within a specific radius $R^{(0)}$ of the truth in the infinity norm, the algorithm returns a dictionary $A^{(T)}$ such that the error drops geometrically. Specifically, $\|A^{(T)} - A^*\|_\infty \le (7/8)^T R^{(0)}$ with high probability, meaning the algorithm converges to the true dictionary very quickly once in the right neighborhood.
  • Sample Complexity: The paper establishes upper bounds on the number of samples ($n$) required per iteration, demonstrating that it scales reasonably with the number of dictionary elements ($r$) and the sparsity ($s$).

Limitations and Future Work

While the paper makes significant theoretical strides, several open challenges remain:

  • Initialization: As noted in the 2019 erratum, the proof requires the starting dictionary to be somewhat close to the truth. Finding a provable mechanism to reach this "initial ball" from a purely random start remains an open problem.
  • The $\sqrt{d}$ Barrier: While $O(\sqrt{d})$ sparsity is optimal for incoherent dictionaries, some empirical algorithms appear to function beyond this limit. Breaking this barrier theoretically is a significant future challenge.
  • Sign Identification: The current proof relies heavily on correctly identifying the signs of the sparse coefficients at every step. Future work could explore whether this strict requirement can be relaxed in favor of a more robust strategy.

Summary updated

BibTeX
@inproceedings{chatterji2017alternating,
  author = {Niladri S. Chatterji and Peter L. Bartlett},
  title = {{Alternating minimization for dictionary learning with random initialization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2017},
  url = {https://openreview.net/forum?id=H1-IgDWuZB},
}
Figure