Multigrid-in-Channels Architectures for Wide Convolutional Neural Networks

Jonathan Ephrath, Lars Ruthotto, Eran Treister · DOI

TL;DR

This paper introduces a "multigrid-in-channels" approach to design convolutional neural networks (CNNs) that are both wider and more parameter-efficient. By applying a multigrid hierarchy to the channel dimension, they achieve full channel coupling with a linear increase in parameters, unlike the quadratic growth in standard CNNs. This allows for wider networks that maintain or improve accuracy while significantly reducing computational cost.

What Problem Does This Paper Address?

Modern deep learning models, especially for tasks like image classification, have seen a trend towards deeper and wider architectures to achieve higher accuracy. A key component of this trend is increasing the number of channels (the "width") in convolutional layers. However, standard CNNs have a quadratic relationship between the number of channels and the number of parameters/computations per layer. This means that as networks get wider, the computational cost and memory requirements explode, becoming a significant bottleneck for training and deployment. The paper aims to break this quadratic scaling barrier, enabling the design of wider, more expressive networks without an exorbitant increase in computational resources.

Methods

The core innovation is the application of a "multigrid" concept, traditionally used for solving differential equations, to the channel dimension of CNNs. Instead of fully connecting every input channel to every output channel in a convolution, they introduce a hierarchical structure. This hierarchy operates on different "levels" of channel groupings.

  • Grouped Convolutions: At each level, convolutions are applied to groups of channels, limiting the direct connections. This is a standard technique but is used here in a structured, hierarchical way.
  • Multigrid Hierarchy: The architecture uses a cycle of "coarsening" and "prolongation" operations across channel groups.
  • Restriction (Coarsening): A "restriction" operator (implemented as a sparse 1x1 convolution) reduces the number of channels by averaging or grouping them, creating coarser representations.
  • Prolongation: A "prolongation" operator (also a sparse 1x1 convolution) expands the channel representation back to a finer level.
  • Additive vs. Multiplicative Cycles: They propose two main ways to combine these operations within a "multigrid cycle":
  • Additive: Similar to traditional additive multigrid methods, where corrections are added.
  • Multiplicative: A more advanced approach where information propagates sequentially through levels, offering potentially greater expressiveness.
  • Full Coupling: Crucially, the multigrid structure ensures that despite using grouped convolutions at intermediate levels, the overall architecture achieves "full coupling" of channels. This means information can still propagate between any two channels, but through a more efficient, structured path.

Datasets

The paper evaluates their proposed architectures on the following standard image classification datasets:

  • CIFAR-10/100: Datasets consisting of 60,000 natural images of size 32x32, with 10 and 100 classes, respectively.
  • ImageNet: The large-scale ILSVRC dataset, containing over 1.28 million images of size 224x224, with 1000 classes.

Key Insights and Ideas

  • Channel Redundancy: The paper builds on the observation that standard CNNs often have redundant connections between channels, meaning that sparser connectivity patterns can achieve similar performance.
  • Structured Sparsity: While random sparsity has been explored, it often hinders hardware efficiency. The multigrid approach introduces a structured sparsity pattern that is amenable to efficient implementation (e.g., using grouped convolutions).
  • Linear Scaling for Width: The most significant insight is that by applying multigrid to the channel dimension, they can achieve a linear relationship between the number of channels and the number of parameters/operations, effectively decoupling network width from quadratic computational cost.
  • Bridging Local and Global Connectivity: The multigrid hierarchy allows local operations (grouped convolutions) at finer levels to be complemented by coarser-level operations that effectively connect information across wider channel groups, achieving a form of global connectivity.

Key Results

  • Parameter Reduction: For both ResNet and MobileNetV2 architectures, their multigrid versions achieved comparable or better test accuracies with significantly fewer parameters. For example, on CIFAR10, an MG-ResNet with 64-128-256-512 channels and a group size of 16 achieved 94.4% accuracy with 1.8M parameters, while a standard ResNet with similar channel counts achieved 94.5% with 4.7M parameters.
  • Competitive Accuracy: On ImageNet, MG-ResNet34 variants achieved competitive accuracies with fewer parameters than the baseline ResNet34. For instance, a MG-ResNet34 with 128-256-512-1024 channels achieved 75.4% accuracy with 11.7M parameters, compared to ResNet34's 74.0% with 21.8M parameters.
  • Wider Networks: The approach enables widening networks. For example, they showed that doubling the channels in a MobileNetV2 variant resulted in a network that consumed fewer parameters than a slightly wider original MobileNetV2 while achieving comparable accuracy.
  • Additive vs. Multiplicative: The paper notes that the multiplicative multigrid cycle generally performed better than the additive version.

Limitations and Future Work

  • Training Time: The authors acknowledge that the reduction in parameters does not directly translate to faster training times on current hardware. This is attributed to the inefficient implementation of grouped convolutions on modern GPUs, which also affects other reduced CNN architectures. They suggest this might change with increased hardware support for such operations.
  • Generalization: While demonstrated on ResNet and MobileNetV2, the authors believe their multigrid layer can be employed in a variety of CNN architectures, including U-Nets and others. They specifically mention that their approach is most attractive for wide networks where many levels can be added.
  • Future Directions: The paper implicitly suggests exploring more efficient hardware implementations for grouped convolutions and further investigating the application of this multigrid-in-channels concept to other network architectures and tasks. They also mention the potential for generalizing the approach to layers with different numbers of input and output channels.

Summary updated

BibTeX
@misc{ephrath2020multigrid,
  author = {Jonathan Ephrath and Lars Ruthotto and Eran Treister},
  title = {{Multigrid-in-Channels Architectures for Wide Convolutional Neural Networks}},
  year = {2020},
  eprint = {2006.06799},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.06799},
}
Figure