Polynomially Over-Parameterized Convolutional Neural Networks Contain Structured Strong Winning Lottery Tickets

Arthur Carvalho Walraven da Cunha, Francesco D'Amore, Emanuele Natale · OpenReview

TL;DR

This paper proves that Convolutional Neural Networks (CNNs), even when randomly initialized, contain "structured" subnetworks (like winning lottery tickets) that can perform as well as a smaller, trained network. This is a significant step towards understanding and achieving efficient deep learning models by tackling the challenge of structured pruning, which has been mathematically difficult to analyze.

What Problem Does This Paper Address?

Deep learning models have achieved remarkable success, largely due to extreme over-parameterization. However, this leads to massive computational costs and memory requirements, hindering progress and real-world deployment. Pruning aims to reduce model size by removing redundant parameters. While the "Lottery Ticket Hypothesis" (LTH) suggests that sparse subnetworks exist within larger networks that can be trained to achieve high performance, most research has focused on unstructured pruning (removing individual weights). This is computationally inefficient and difficult to leverage on hardware. Structured pruning (removing entire neurons, filters, or blocks) offers greater efficiency but has been mathematically challenging to analyze within the LTH framework. This paper addresses this gap by developing new mathematical tools to formally prove the existence of structured lottery tickets in CNNs.

Methods

The core of this paper's contribution lies in extending the mathematical framework for analyzing the Lottery Ticket Hypothesis (LTH) to structured pruning in Convolutional Neural Networks (CNNs).

  • Multidimensional Random Subset-Sum Problem (MRSS): The authors leverage recent advances in the multidimensional generalization of the Random Subset-Sum Problem (RSSP). They develop a novel variant of this theorem that can handle dependencies between random variables, which are crucial for analyzing structured pruning in CNNs. This is a key technical contribution.
  • Structured Sparsity: They combine two types of structured sparsity: block sparsity and filter pruning. This allows them to prune entire filters in CNNs, leading to direct reductions in computational cost and memory usage without the overhead of storing sparse indices.
  • Iterative Layer-wise Approximation: The proof strategy involves showing that each layer of a CNN can be approximated by a pruned subnetwork. By iteratively applying this to all layers, they demonstrate that the entire CNN can be approximated by a structured sparse subnetwork.
  • Radially-Non-increasing Functions: The analysis relies on properties of radially-non-increasing functions and their derivatives, which are used to bound the approximation error.

Datasets

Not discussed in the paper. The paper focuses on theoretical guarantees for random CNNs rather than empirical evaluation on specific datasets.

Key Insights and Ideas

  • Structured Lottery Tickets Exist in CNNs: The paper provides theoretical proof that CNNs, even when randomly initialized, contain "structured" subnetworks that can act as winning lottery tickets. This is a significant theoretical advance for structured pruning.
  • Bridging the Gap in Mathematical Tools: The development of a multidimensional Random Subset-Sum Problem variant that accounts for stochastic dependencies is a crucial enabler for analyzing structured pruning in complex architectures like CNNs.
  • Structured Pruning Offers Real Efficiency: By focusing on structured pruning (filter removal), the paper highlights a path towards achieving practical computational and memory savings, which unstructured pruning struggles to deliver due to hardware limitations and indexing overhead.
  • Over-parameterization as a Resource: The work reinforces the idea that over-parameterization, while costly, can be a source of inherent structure that enables efficient subnetworks to be found.

Key Results

  • Sub-exponential Bounds for Structured SLTH: The paper provides the first sub-exponential theoretical bounds for the Strong Lottery Ticket Hypothesis (SLTH) specifically for structured pruning in CNNs.
  • Approximation Guarantees: For a wide class of CNN architectures, the authors prove that a randomly initialized network can be pruned in a structured manner to approximate any sufficiently smaller target network with high probability.
  • Polynomial Over-parameterization: The results imply that a polynomially over-parameterized random CNN can contain structured subnetworks that approximate a target network. The specific over-parameterization required is related to the dimensions of the target network's kernels.

Limitations and Future Work

  • Shape Hypothesis: The analysis relies on specific assumptions about the shape of CNN kernels, which might limit its applicability to all CNN architectures. The authors suggest that techniques for reshaping tensors via pruning could be a promising direction.
  • ReLU Activation: The current analysis is restricted to ReLU activation functions. While the authors note their approach doesn't rely on ReLU's specific properties as heavily as some prior work, extending to other activations would be valuable.
  • Random Weights Assumption: The theoretical guarantees are based on randomly initialized weights. Relaxing this assumption to support more general weight distributions is a suggested future direction.
  • Experimental Validation: The authors acknowledge that performing meaningful experiments for structured pruning is challenging due to the computational cost of solving subset-sum problems. They suggest extending existing algorithms like "edge pop-up" to structured pruning as a future research avenue.
  • Optimal Bounds: The paper presents a step towards optimal bounds for the MRSS problem and structured SLTH, but further work is needed to achieve near-linear dependencies on the dimension.

Summary updated

Abstract

The Strong Lottery Ticket Hypothesis (SLTH) states that randomly-initialised neural networks likely contain subnetworks that perform well without any training. Although unstructured pruning has been extensively studied in this context, its structured counterpart, which can deliver significant computational and memory efficiency gains, has been largely unexplored. One of the main reasons for this gap is the limitations of the underlying mathematical tools used in formal analyses of the SLTH. In this paper, we overcome these limitations: we leverage recent advances in the multidimensional generalisation of the Random Subset-Sum Problem and obtain a variant that admits the stochastic dependencies that arise when addressing structured pruning in the SLTH. We apply this result to prove, for a wide class of random Convolutional Neural Networks, the existence of structured subnetworks that can approximate any sufficiently smaller network. This result provides the first sub-exponential bound around the SLTH for structured pruning, opening up new avenues for further research on the hypothesis and contributing to the understanding of the role of over-parameterization in deep learning.
BibTeX
@inproceedings{cunha2023polynomially,
  author = {Arthur Carvalho Walraven da Cunha and Francesco D'Amore and Emanuele Natale},
  title = {{Polynomially Over-Parameterized Convolutional Neural Networks Contain Structured Strong Winning Lottery Tickets}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=Qs0oBs6tI5},
}
Figure