Abstract
Deep learning models are often criticized for being over-parameterized "black boxes" that ignore the inherent structure of data. This paper introduces the Deep Double Sparsity Encoder (DDSE), an architecture that "unfolds" classical sparse coding optimization into a neural network. By enforcing sparsity on both internal features and model parameters, DDSE achieves superior accuracy, extreme parameter efficiency, and remarkable robustness to limited training data compared to standard dense networks.
Introduction
Classical sparse coding assumes signals can be represented by a few atoms from a dictionary. While mathematically grounded and interpretable, it is computationally expensive due to its iterative nature. Previous "unfolding" methods like LISTA (Learned Iterative Soft-Thresholding Algorithm) accelerated this by mapping iterations to network layers but maintained dense weight matrices. DDSE extends this by incorporating a "double sparsity" constraint, where the dictionary itself is modeled as a sparse combination of a base dictionary, leading to a model that is sparse in its own weights.
Methodology
The DDSE architecture is derived by unfolding the Iterative Shrinkage and Thresholding Algorithm (ISTA), a standard solver for sparse coding problems.
- Unfolding and Double Sparsity: Each ISTA iteration is treated as a layer in a feed-forward network. The dictionary $D$ is constrained as $D = D_0S$, where $D_0$ is a fixed base dictionary (e.g., calculated via PCA) and $S$ is a sparse matrix.
- Sparse Weights: This formulation results in weight matrices ($W_1, W_2, W_3$) that are explicitly constrained to be sparse. Instead of learning dense connections, the model only learns the most significant $s$ elements per row/column.
- Training via Projected Gradient Descent (PGD): To maintain strict sparsity, the authors use PGD. After each standard gradient update, a "hard thresholding" step sets all but the $s$ largest-magnitude weights to zero.
Key Insights
- Data-Driven Regularization: Unlike Dropout, which randomly zeros out weights, DDSE uses magnitude-based hard thresholding. This acts as a principled, data-driven form of regularization.
- Inductive Bias: By forcing the model to follow the double-sparsity structure, the authors provide a strong "inductive bias," allowing the model to learn effectively even when training data is extremely scarce.
- Parameter Efficiency: As the network depth increases, DDSE becomes orders of magnitude smaller than dense counterparts. The parameter count ratio approaches $2s/m$, where $s$ is the sparsity level and $m$ is the feature dimension.
Experimental Results
The model was evaluated on the MNIST dataset with various augmentations and reduced training set sizes to test robustness.
Superior Accuracy and Scalability
DDSE consistently outperformed five baselines, including standard fully connected networks, Dropout, DropConnect, and the original LISTA. Its performance advantage widened as the number of unfolded iterations grew from 1 to 6.
Data Efficiency
The most striking result is DDSE's robustness to small datasets. When trained on only 5% of the MNIST data, DDSE maintained high performance with only a ~2.5% drop in accuracy, whereas baselines like LISTA and DropConnect saw performance degradation of 4% to 6% or more.
Optimal Sparsity
Empirical results suggest an "optimal" sparsity ratio ($s/n$) of approximately 0.25 for MNIST, indicating that the model achieves its best generalization when it is roughly 75% sparse.
Conclusion and Future Work
DDSE bridges the gap between interpretable signal processing and powerful deep learning. While it faces challenges typical of non-convex optimization and initialization sensitivity, its success suggests that baking structural constraints like double sparsity into deep architectures is a promising path for creating efficient and robust models. Future work may explore other structural constraints, such as tree or subspace structures, within this unfolding framework.
Reference: Wang, Z., & Huang, T. S. (2016). Deep Double Sparsity Encoder: Learning to Sparsify Not Only Features But Also Parameters. arXiv preprint arXiv:1608.06374v2.
Summary updated