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

Approximate Guarantees for Dictionary Learning

Aditya Bhaskara, Wai Ming Tai

Abstract

In the dictionary learning (or sparse coding) problem, we are given a collection of signals (vectors in $\mathbb{R}^d$), and the goal is to find a "basis" in which the signals have a sparse (approximate) representation. The problem has received a lot of attention in signal processing, learning, and theoretical computer science. The problem is formalized as factorizing a matrix $X (d \times n)$ (whose columns are the signals) as $X = AY$, where $A$ has a prescribed number $m$ of columns (typically $m \ll n$), and $Y$ has columns that are $k$-sparse (typically $k \ll d$). Most of the known theoretical results involve assuming that the columns of the unknown $A$ have certain incoherence properties, and that the coefficient matrix $Y$ has random (or partly random) structure. The goal of our work is to understand what can be said in the absence of such assumptions. Can we still find $A$ and $Y$ such that $X \approx AY$? We show that this is possible, if we allow violating the bounds on $m$ and $k$ by appropriate factors that depend on $k$ and the desired approximation. Our results rely on an algorithm for what we call the threshold correlation problem, which turns out to be related to hypercontractive norms of matrices. We also show that our algorithmic ideas apply to a setting in which some of the columns of $X$ are outliers, thus giving similar guarantees even in this challenging setting.

Introduction

Dictionary learning, also known as sparse coding, is a fundamental task in signal processing and machine learning. The objective is to decompose a data matrix $X$ into a dictionary $A$ and a sparse coefficient matrix $Y$ such that $X \approx AY$. While this technique is widely used for compression, denoising, and feature extraction, theoretical guarantees have historically been tied to the concept of identifiability.

To prove that a dictionary can be recovered exactly, researchers typically assume that the dictionary columns are nearly orthogonal (incoherent) and that the data is generated from a specific random distribution. However, in many real-world applications, these assumptions do not hold. This paper addresses a more practical question: Can we achieve a high-quality sparse approximation of $X$ without making any structural assumptions about the dictionary or the data distribution?

The Threshold Correlation Problem

The authors propose a greedy pursuit algorithm that constructs the dictionary $A'$ and the coefficients $Y'$ iteratively. The engine of this algorithm is a new computational primitive called Threshold Correlation ($\tau$-TC).

In traditional Principal Component Analysis (PCA), one seeks a vector that maximizes the sum of squared correlations across all data points. In contrast, the $\tau$-TC problem only rewards correlations that exceed a specific threshold $\tau$. Specifically, the algorithm seeks a vector $u$ that maximizes the number of signals $x_i$ where the squared inner product $\langle u, x_i \rangle^2$ is significant.

By focusing on these "meaningful" correlations, the algorithm ensures that each new dictionary atom added makes substantial progress on a specific subset of the residual data. The authors develop a polynomial-time bi-criteria approximation algorithm for $\tau$-TC using a clustering-based approach, which serves as the foundation for their dictionary learning guarantees.

Theoretical Insights and Matrix Norms

A significant contribution of this work is the discovery of a link between the $\tau$-TC problem and hypercontractive matrix norms, specifically the $2 \to p$ norms. The authors demonstrate that finding an optimal solution to $\tau$-TC is computationally hard; in fact, a constant-factor approximation for $\tau$-TC would imply a logarithmic approximation for the $2 \to p$ matrix norm problem. Given the Exponential Time Hypothesis, this suggests that exact or near-exact solutions are likely intractable in polynomial time, justifying the authors' focus on bi-criteria approximations.

Robustness and Approximation Guarantees

The proposed algorithm provides robust approximation guarantees even when the data is corrupted by outliers. Because the algorithm "peels" off the signal iteratively, it can naturally ignore a fraction of the data that does not fit the sparse model.

Key results include:

  • Assumption-Free Compression: The algorithm finds a dictionary $A'$ and coefficients $Y'$ such that the error is within $\epsilon$ of the optimal, provided the dictionary size and sparsity are allowed to grow by factors related to $1/\epsilon$ and the coefficient norms.
  • Outlier Resistance: The algorithm maintains its additive error bounds even if a $\rho$ fraction of the columns in $X$ are arbitrary outliers, with only a mild increase in the dictionary size requirements.
  • Complexity: The authors provide a $(\tau/4, \tau^2/32)$ bi-criteria approximation for $\tau$-TC that runs in polynomial time.

Conclusion and Future Directions

This research demonstrates that identifiability assumptions are not a prerequisite for effective dictionary learning. By relaxing the requirements on dictionary size and sparsity, it is possible to achieve provably good approximations for any data matrix.

Future work remains in refining the parameters of the $\tau$-TC approximation. The current bounds involve polynomial blowups in $1/\epsilon$, which may be large for high-precision applications. Investigating whether sub-exponential time algorithms for hypercontractive norms can be adapted to improve these parameters is a promising avenue for further study.

Summary updated

BibTeX
@inproceedings{bhaskara2019approximate,
  author = {Aditya Bhaskara and Wai Ming Tai},
  title = {{Approximate Guarantees for Dictionary Learning}},
  booktitle = {Conference on Learning Theory},
  year = {2019},
  url = {https://openreview.net/forum?id=T1GcA_PmpV},
}
Figure