Convolutional Dictionary Learning in Hierarchical Networks

Javier Zazo, Bahareh Tolooshams, Demba E. Ba, Harvard John A. Paulson

Introduction

Convolutional Neural Networks (CNNs) have become the standard for computer vision, yet they are often viewed as "black boxes" requiring immense data and parameter counts. Bridging the gap between these deep architectures and interpretable frameworks like Convolutional Sparse Coding (CSC) has been a long-standing goal. However, traditional multi-layer CSC models (ML-CSC) struggle with depth; as layers increase, feature maps often lose sparsity, making signal inference (the "inverse problem") computationally difficult.

This paper introduces a Hierarchical Convolutional Sparse Coding (H-CSC) model that addresses these challenges by decomposing images into "scale" (smooth) and "detail" (sparse) components across multiple layers. This approach maintains sparsity throughout the network, offering a mathematically grounded alternative to standard CNNs.

The H-CSC Framework

The core of the proposed model is a recursive generative process that mimics the structure of wavelet decomposition while allowing for learned dictionaries.

Block diagram of the proposed Hierarchical Convolutional Sparse Coding (H-CSC) model.

As shown in Figure 1, the signal at each layer is decomposed into two parts:

  1. Scale Signal ($x_i$): Represents smooth, low-frequency information.
  2. Detail Signal ($u_i$): A sparse vector representing high-frequency innovations.

The low-pass scale coefficients at layer $i-1$ are generated by filtering the scale coefficients from the next layer ($x_i$) through dictionary $A_i$ and adding the filtered sparse detail ($u_i$) through dictionary $B_i$. Inference is performed using the Fast Iterative Shrinkage-Thresholding Algorithm (FISTA). Notably, the soft-thresholding step in FISTA is mathematically analogous to the ReLU activations used in standard CNNs, providing a theoretical justification for their success.

Results and Efficiency

The H-CSC model was evaluated on the MNIST dataset. By "tying" filters across different layers—using the same dictionaries to mimic multi-scale wavelet application—the model achieves remarkable parameter efficiency.

Visualization of learned sparse codes $u_1$ and detail filters $B_1$.

Qualitative results (Figure 2) demonstrate that the learned detail filters $B_1$ capture specific, high-frequency edges and strokes, while the corresponding sparse codes $u_1$ identify their locations. Quantitatively, a 3-layer tied-filter model achieved 98.11% test accuracy on MNIST using only 800 trainable parameters. For comparison, a standard ML-CSC model required over 1.6 million parameters to reach a similar accuracy level (98.85%).

Conclusion

The H-CSC model demonstrates that hierarchical sparsity can be maintained at depth, leading to highly interpretable and efficient networks. While currently tested on MNIST, the framework provides a promising path toward "white-box" deep learning. Future work will explore scaling this decomposition to more complex datasets like ImageNet and incorporating standard CNN operations like strided convolutions and pooling to handle varying image resolutions.

Summary updated

BibTeX
@misc{zazo2019convolutional,
  author = {Javier Zazo and Bahareh Tolooshams and Demba E. Ba and Harvard John A. Paulson},
  title = {{Convolutional Dictionary Learning in Hierarchical Networks}},
  year = {2019},
  eprint = {1907.09881},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1907.09881},
}
Figure