Learning step sizes for unfolded sparse coding.

Pierre Ablin, Thomas Moreau, Mathurin Massias, Alexandre Gramfort

Abstract

Sparse coding is typically solved by iterative optimization techniques, such as the Iterative Shrinkage-Thresholding Algorithm (ISTA). Unfolding and learning weights of ISTA using neural networks is a practical way to accelerate estimation. In this paper, we study the selection of adapted step sizes for ISTA. We show that a simple step size strategy can improve the convergence rate of ISTA by leveraging the sparsity of the iterates. However, it is impractical in most large-scale applications. Therefore, we propose a network architecture where only the step sizes of ISTA are learned. We demonstrate that for a large class of unfolded algorithms, if the algorithm converges to the solution of the Lasso, its last layers correspond to ISTA with learned step sizes. Experiments show that our method is competitive with state-of-the-art networks when the solutions are sparse enough.

Introduction

Sparse coding—the task of finding a sparse representation of data using a dictionary—is a cornerstone of signal processing and machine learning, particularly in solving the Lasso problem. The standard solver, the Iterative Shrinkage-Thresholding Algorithm (ISTA), is reliable but often too slow for real-time applications.

To address this, "Deep Unfolding" has emerged as a powerful technique. By treating iterations of ISTA as layers in a neural network (LISTA) and training on data, we can learn weights that significantly accelerate convergence. However, standard LISTA learns massive weight matrices, which obscures the connection to the original dictionary and requires substantial training data. This paper explores whether we can achieve the speed of learned networks while maintaining the simplicity and interpretability of the original algorithm by learning only scalar step sizes.

Methods and Theoretical Insights

The authors introduce two primary concepts: Oracle-ISTA (OISTA) and Step-LISTA (SLISTA).

Sparsity and Step Sizes

Standard ISTA is constrained by a step size limit of $1/L$, where $L$ is the global smoothness constant of the dictionary. However, when the solution is sparse, the algorithm effectively operates on a small subset of the dictionary (the active support). This local smoothness is typically much higher, allowing for more aggressive step sizes.

The cost function $F_x$ and its quadratic surrogates. When restricted to the active support, the surrogate $Q_{x, L_S}$ allows for a larger step size $1/L_S$ compared to the global $1/L$.

OISTA is a theoretical algorithm that uses an "oracle" to identify the current sparsity pattern and take these larger steps. Since computing this oracle is expensive, the authors propose Step-LISTA (SLISTA). In SLISTA, the dictionary $D$ remains fixed, and only a single scalar step size $\alpha^{(t)}$ is learned for each layer $t$. This preserves the dictionary structure, which is crucial for applications like convolutional sparse coding.

Asymptotical Weight Coupling

A key theoretical result is the Asymptotical Weight Coupling Theorem. It proves that if any LISTA-style network converges to the Lasso solution, its weights must eventually align with the dictionary. This implies that in deeper layers, complex learned networks naturally simplify into a structure identical to SLISTA.

Experiments and Results

The approach was evaluated on synthetic Gaussian data and semi-real data from the scikit-learn digits dataset. The networks were trained in an unsupervised manner by directly minimizing the Lasso cost function.

Performance and Efficiency

SLISTA is exceptionally parameter-efficient, using only $T$ parameters (one per layer) compared to the $T \times (nm + 2)$ parameters in standard LISTA. Despite this reduction, SLISTA remains competitive, especially in high-sparsity regimes (high regularization $\lambda$).

Learned step sizes $\alpha^{(t)}$ across layers. The network learns steps that are significantly larger than the standard $1/L$ limit, typically residing between $1/L$ and the theoretical support-based limit $2/L_S$.

As shown in the figure above, the learned step sizes in SLISTA consistently exceed the $1/L$ threshold, confirming that the network successfully learns to exploit the sparsity of the iterates to accelerate convergence.

Conclusion

This work demonstrates that learning complex weight matrices is not always necessary for accelerating sparse coding. By learning just one scalar step size per layer, Step-LISTA (SLISTA) achieves state-of-the-art convergence speeds while preserving the original dictionary structure and interpretability. While standard LISTA still performs better in low-sparsity scenarios, SLISTA offers a highly efficient and theoretically grounded alternative for sparse regimes. Future work may involve combining SLISTA with dictionary learning or applying it to large-scale structured imaging tasks.

Summary updated

BibTeX
@inproceedings{ablin2019learning,
  author = {Pierre Ablin and Thomas Moreau and Mathurin Massias and Alexandre Gramfort},
  title = {{Learning step sizes for unfolded sparse coding.}},
  booktitle = {NeurIPS},
  year = {2019},
  url = {https://openreview.net/forum?id=StHEiApZmCs},
}
Figure