Learning across scales - A multiscale method for Convolution Neural Networks

Eldad Haber, Lars Ruthotto, Elliot HolthamarXiv 2017

TL;DR

This paper frames Convolutional Neural Network (CNN) training as an optimal control problem, treating forward propagation as a time-dependent differential equation. This novel perspective allows them to develop multiscale methods for scaling CNNs across both image resolution and network depth, leading to more efficient training and improved performance.

What Problem Does This Paper Address?

Training deep Convolutional Neural Networks (CNNs) is notoriously challenging. It often requires extensive trial-and-error to find effective architectures and parameters, leading to high computational costs. Furthermore, CNNs are typically trained on data of a fixed resolution, making it difficult to adapt them to images of different resolutions without expensive interpolation. Similarly, scaling the depth of a network can be problematic due to initialization difficulties. This paper aims to address these challenges by developing a principled framework for "learning across scales," enabling CNNs to be more efficiently trained and adapted to varying image resolutions and network depths.

Methods

The core of the paper's contribution lies in re-framing CNNs through the lens of optimal control and continuous differential equations.

  • Continuous Formulation: They interpret the forward propagation of a CNN as a time-dependent nonlinear differential equation. Learning then becomes an optimal control problem where network parameters are adjusted to solve this equation and match data-label relationships.
  • Multiscale Methods (Resolution):
    • Restriction: They develop methods to adapt CNN parameters (specifically convolution kernels) from high-resolution to low-resolution images. This is achieved using an algebraic multigrid approach, where convolution operators are restricted to coarser meshes. This allows classifying low-resolution images using networks trained on high-resolution data without explicit image interpolation.
  • Prolongation: Conversely, they propose methods to adapt parameters from low-resolution to high-resolution. This involves prolongating convolution operators to finer meshes, enabling the use of coarse-mesh trained networks for high-resolution classification.
  • Multiscale Methods (Depth): They propose a strategy to scale the depth of CNNs by gradually increasing the number of layers. This is facilitated by the continuous formulation, where network depth corresponds to time steps. Parameters from shallower networks are used to initialize the training of deeper ones, effectively "warm-starting" the learning process.

Datasets

  • MNIST: Used for demonstrating both image resolution scaling and shallow-to-deep network training. The dataset was adapted to coarse (14x14) and fine (28x28) resolutions.
  • ImageNet-10: Used to demonstrate the computational benefits of coarse-mesh training. Images were pre-processed to 224x224 resolution, and a subset of 10 categories was used.

Key Insights and Ideas

  • CNNs as Differential Equations: Viewing CNN forward propagation as a continuous differential equation provides a powerful theoretical foundation for understanding and manipulating network behavior.
  • Parameter Scaling over Data Interpolation: The paper highlights that scaling CNN parameters (convolution kernels) across resolutions is often more efficient and effective than interpolating the image data itself, especially for memory-constrained applications like mobile devices.
  • Warm-Starting for Deep Networks: Using parameters from shallower networks to initialize deeper ones significantly accelerates training and improves convergence, particularly for very deep architectures where initialization is a major hurdle.
  • Algebraic Multigrid for Convolution Operators: Adapting algebraic multigrid techniques to restrict and prolong convolution operators is a novel application that bridges classical numerical methods with deep learning.

Key Results

  • Image Resolution Scaling (MNIST):
    • Classifying low-resolution images using a high-resolution trained network (without retraining) achieved a validation accuracy of 91.02% (compared to 61.02% with original kernels).
  • Classifying high-resolution images using a low-resolution trained network (without retraining) achieved a validation accuracy of 94.92% (compared to 84.09% without restricting kernels).
  • Shallow to Deep Training (MNIST): The multiscale initialization strategy significantly reduced the number of iterations required to reach optimal validation accuracy and lower loss function values compared to random initialization, especially for deeper networks. Figure 2 visually demonstrates this improved convergence.
  • ImageNet-10 Training:
    • The multiscale approach resulted in a considerable reduction in the number of epochs needed to reach convergence.
  • It achieved superior training and validation accuracy in fewer epochs compared to training on fine-resolution images directly.
  • While computational savings were "slight" in terms of total time, the approach yielded lower training and validation errors.

Limitations and Future Work

  • Pooling Layer: The authors note that for simplicity, they ignored the pooling layer, though it can be added in general.
  • Generalization: While demonstrated on image classification, the framework's applicability to other domains (e.g., video, 3D data) is suggested but not extensively explored.
  • Computational Savings: The paper mentions "slight" computational savings for ImageNet, suggesting that further optimization or exploration of specific architectures might be needed to maximize these benefits.
  • Future Work: The paper's conclusion points towards casting CNNs as optimal control problems providing new insights and motivating new ways to solve and regularize learning problems, implying ongoing research in this direction. The exploration of different time integration methods for stability and the potential for further acceleration of deep network training are also implied.

Summary updated

BibTeX
@misc{haber2017learning,
  author = {Eldad Haber and Lars Ruthotto and Elliot Holtham},
  title = {{Learning across scales - A multiscale method for Convolution Neural Networks}},
  year = {2017},
  eprint = {1703.02009},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1703.02009},
}
Figure