Towards an understanding of CNNs: analysing the recovery of activation pathways via Deep Convolutional Sparse Coding

Michael Murray, Jared TannerarXiv 2018

Abstract

Deep Convolutional Sparse Coding (D-CSC) provides a theoretical framework for understanding Deep Convolutional Neural Networks (DCNNs) by viewing the forward pass as a sequence of sparse coding problems. While previous work by Papyan, Romano, and Elad established conditions for recovering activation paths based on worst-case analysis, these bounds were often too pessimistic to explain the success of DCNNs on real-world data. This paper extends these uniform guarantees to a modified model, proving that with high probability, the true activation pathway can be recovered even when the density of activations is significantly higher than previously thought. By incorporating a random sign pattern and leveraging one-step thresholding techniques, we show that recovery is possible for activation densities proportional to the square of the mutual coherence inverse, bridging the gap between theory and practice.

Introduction

Despite the dominance of Deep Convolutional Neural Networks (DCNNs) in computer vision, a rigorous mathematical explanation for their efficacy remains an active area of research. One prominent theory suggests that the forward pass of a DCNN—specifically the sequence of convolutions followed by ReLU nonlinearities—can be interpreted as an algorithm attempting to solve a sparse coding problem at each layer. In this context, the network is not just processing pixels; it is attempting to identify an "activation pathway," the specific set of neurons (or features) that best explain the input signal.

However, early mathematical guarantees for this process were constrained by "worst-case" scenarios. These theories suggested that networks could only reliably recover features if the data was extremely sparse, specifically limited by the "mutual coherence" ($\mu$) of the convolutional filters. This paper addresses this discrepancy by providing a probabilistic analysis that accounts for the typical behavior of networks, rather than the worst-case, demonstrating that DCNNs are theoretically capable of handling much denser information than previously proven.

The Deep Convolutional Sparse Coding (DCSC) Model

The authors utilize the Deep Convolutional Sparse Coding (DCSC) framework to model the network's behavior. In this abstraction, the process is divided into two components:

  1. The Encoder: This represents the generative process where data is formed by multiplying a sparse latent representation through a series of convolutional dictionaries.
  2. The Decoder: This represents the forward pass of a standard DCNN. It uses sparsifying activation functions, such as ReLU or hard thresholding, to attempt to recover the original latent representation from the input.

A key technical innovation in this work is the focus on "stripe-sparsity." Unlike global sparsity, which counts active neurons across the entire network, stripe-sparsity measures the number of active neurons within a specific local spatial region. This measure is more naturally aligned with the local nature of convolutional filters and provides a more granular tool for analysis.

Moving Beyond the Square-Root Bottleneck

Previous research relied on a bound of $O(\mu^{-1})$ for the number of active neurons, often referred to as the "square-root bottleneck." Because $\mu$ is typically small, this bound required the data to be unrealistically sparse.

To overcome this, the authors introduce a random sign pattern (represented as a diagonal matrix $D$) at each layer. This mathematical assumption mirrors the practical effect of Dropout used during training. By assuming these signs are random, the authors apply Rademacher concentration inequalities to demonstrate that the "interference" between different convolutional filters tends to cancel out on average.

This shift from worst-case to average-case analysis allows the authors to prove that recovery of the activation pathway is possible even when the sparsity is $O(\mu^{-2})$. Since $\mu^{-2}$ is orders of magnitude larger than $\mu^{-1}$, this result provides a much more realistic explanation for why DCNNs can process complex, dense imagery.

Key Results

Probabilistic Recovery (Theorem 3.2)

The core of the paper is Theorem 3.2, which provides a concrete formula for the probability that a DCNN will correctly identify the activation pathway through all $L$ layers of the network. The proof uses a probabilistic induction method to track how the signal and the associated "noise" (representation error) evolve as they move deeper into the architecture.

Density and Stability

The paper mathematically demonstrates that as long as the local "stripe" of a signal does not exceed a specific density threshold, the forward pass will identify the correct features with a probability approaching 1. Furthermore, the authors provide bounds on error propagation, showing that the recovery process remains stable even as the signal progresses through many layers, preventing the accumulation of errors from degrading the final representation.

Discussion and Future Work

This work offers a significant step toward a "white-box" understanding of DCNNs. By proving that the recovery of the support (the set of active neurons) is possible at higher densities, the authors reinforce the idea that the "logic" of a neural network lies in its ability to select the correct features rather than just calculating precise pixel values.

However, some limitations remain. The model assumes "weight-tied" encoders and decoders, a structure not present in all standard architectures. Additionally, while the random sign assumption is a powerful analytical tool linked to Dropout, it does not perfectly describe a frozen network during inference.

Future research may focus on training techniques that explicitly penalize high mutual coherence between filters. By encouraging lower coherence, researchers could potentially create networks that are not only more robust but also more theoretically interpretable, as their activation pathways would be more reliably recoverable.

Summary updated

BibTeX
@misc{murray2018towards,
  author = {Michael Murray and Jared Tanner},
  title = {{Towards an understanding of CNNs: analysing the recovery of activation pathways via Deep Convolutional Sparse Coding}},
  year = {2018},
  eprint = {1806.09888},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1806.09888},
}
Figure