Sparse Deep Stacking Network for Image Classification

Jun Li, Heyou Chang, Jian Yang

Presented at AAAI 2015, this research introduces the Sparse Deep Stacking Network (S-DSN). This hybrid architecture is designed to merge the representational power of sparse coding with the computational efficiency of Deep Stacking Networks (DSN) for image classification tasks.

The Efficiency-Accuracy Trade-off

In computer vision, sparse coding is considered a gold standard for feature extraction. By mimicking the human brain's visual processing—where only a small percentage of neurons are active at any given time—it produces robust, noise-resistant features. However, sparse coding is computationally expensive because inference requires solving an iterative optimization problem for every test case.

Conversely, Deep Stacking Networks (DSN) are highly efficient. They utilize simple modules stacked together, with closed-form solutions for many of their weights. While fast, traditional DSNs typically use sigmoid activations and lack the discriminative power provided by sparse representations in complex image tasks.

The S-DSN Architecture

The authors propose a new building block called the Sparse Simplified Neural Network Module (Sparse SNNM) to bridge this gap. The architecture relies on four key pillars:

  1. Sparse Regularization: The Sparse SNNM includes a mixed-norm ($l_1/l_2$) regularization penalty. This encourages "group sparsity," forcing the network to learn structured and compact features.
  2. ReLU Activation Functions: Unlike traditional DSNs that rely on sigmoid functions, S-DSN incorporates Rectified Linear Units (ReLU) to mitigate the vanishing gradient problem and accelerate training.
  3. Stacking Strategy: To build depth, the output of one module is concatenated with the original raw input to form the input for the subsequent module, allowing the network to capture increasingly higher-order features.
  4. Dual-Optimization: Output layer weights are solved via closed-form convex optimization, while projection weights are updated via gradient descent, ensuring stable training compared to standard backpropagation.

Key Insights: Learning Sparsity Directly

A major contribution of this work is the realization that complex iterative optimization isn't necessary at test time to achieve sparse features. By training a projection matrix with a sparsity penalty, the network learns to "predict" the sparse representation in a single matrix multiplication.

Comparison of activations between a standard DSN and the proposed S-DSN(relu), demonstrating the significantly higher sparsity achieved by the latter.

Using Hoyer’s sparseness measure, the authors demonstrated that S-DSN produces much sparser activations than a standard DSN. Crucially, they found a direct correlation: higher sparsity consistently led to higher recognition accuracy across different datasets.

Experimental Results

The model was evaluated on several benchmarks, including Extended YaleB, AR Face Database, 15-Scene, and Caltech101.

Table showing the relationship between Hoyer’s Sparseness Measure (HSM) and classification accuracy for S-DSN and DSN across the Extended YaleB and AR datasets.

Key performance metrics include:

  • Superior Accuracy: The S-DSN reached 98.8% accuracy on the 15-scene dataset, outperforming deep models like DeCAF.
  • Significant Speedup: In face recognition tests, the S-DSN was 7 times faster than the popular LC-KSVD sparse coding algorithm during inference.
  • Benefits of Depth: Results consistently showed that a two-layer S-DSN performed better than a one-layer version, confirming the effectiveness of the stacking strategy.

Conclusion

The S-DSN successfully bridges the gap between slow-but-accurate sparse coding and fast-but-shallow stacking networks. While the current implementation assumes certain simplifications in the optimization gradient for regularization, it provides a viable path for real-time applications requiring high-accuracy image classification. Future work may explore scaling this architecture to massive datasets like ImageNet or automating the determination of optimal group sizes for sparsity.

Summary updated

BibTeX
@inproceedings{li2015sparse,
  author = {Jun Li and Heyou Chang and Jian Yang},
  title = {{Sparse Deep Stacking Network for Image Classification}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2015},
  doi = {10.1609/aaai.v29i1.9786},
}
Figure