Parallel Separable 3D Convolution for Video and Volumetric Data Understanding.

Felix Gonda, Donglai Wei, Toufiq Parag, Hanspeter Pfister

TL;DR

This paper introduces a novel convolution block, the Parallel Separable 3D Convolution (PmSCn), designed to efficiently replace computationally expensive 3D convolutions in deep learning models for video and volumetric data. By decomposing 3D convolutions into parallel streams of 2D and 1D convolutions, their method achieves significant reductions in model size and computational cost while improving accuracy across various applications like action recognition and medical segmentation.

What Problem Does This Paper Address?

Deep learning models have achieved remarkable success in 2D image analysis. However, extending these successes to 3D data, such as videos and medical scans, often relies on 3D convolutional layers. While effective, these 3D convolutions dramatically increase computational demands and training times due to their high parameter count and complexity. Existing methods attempt to mitigate this by structuring 3D convolutions as combinations of 2D and 1D convolutions, but there's a need for a more generalized and efficient approach that can handle both single and consecutive 3D layers, and be broadly applicable across different network architectures and tasks.

Methods

The core innovation is the Parallel Separable 3D Convolution (PmSCn) block. This block is designed to replace standard 3D convolution layers. The key ideas are:

  • Tensor Decomposition for Parallel Streams: The authors mathematically justify the use of multiple parallel streams (controlled by parameter m) by decomposing the 3D convolution kernel (a 4D tensor) using high-order singular value decomposition (HOSVD). This decomposition reveals that a single 3D kernel can be represented as a sum of separable kernels, which can then be implemented as parallel 2D and 1D convolutions operating along different dimensions. This allows for capturing 3D context with fewer parameters.
  • Joint Replacement of Consecutive Layers: Instead of replacing each 3D convolution individually, the PmSCn block can be configured (using parameter n) to replace groups of consecutive 3D convolution layers. This leverages the associative property of convolutions and further reduces redundancy and computational cost.
  • Structured 2D and 1D Convolutions: The PmSCn block essentially uses m parallel streams, each consisting of n 2D convolutions along different spatial dimensions, followed by a single 1D convolution along the temporal or depth dimension. A ReLU activation is added between the 2D and 1D convolutions for non-linearity. The outputs of these parallel streams are concatenated.
  • Parameter Matching: A mechanism is introduced to match the number of parameters of the proposed PmSCn block to that of the original 3D convolution layer, ensuring a fair comparison in terms of model capacity.

Datasets

The paper evaluates their method on three distinct applications, using established datasets:

  • Video Action Recognition: UCF101 dataset, a popular benchmark for action recognition in videos.
  • MRI Brain Segmentation: Internet Brain Segmentation Repository (IBSR), containing T1-weighted MR brain images.
  • Neuron Segmentation from Electron Microscopy: FIBSEM datasets, used for segmenting neuronal structures in 3D electron microscopy data.

Key Insights and Ideas

  • 3D Convolutions are Redundant: The paper's theoretical justification through tensor decomposition suggests that standard 3D convolution kernels often contain significant redundancy, making them prone to overfitting.
  • Parallel Streams Capture 3D Context Efficiently: By decomposing the 3D kernel and implementing it as parallel 2D/1D convolutions, the method effectively captures spatial and temporal correlations with a more compact representation.
  • Joint Replacement is Key for Efficiency: Replacing groups of consecutive 3D convolutions, rather than individual ones, offers a more substantial reduction in parameters and computation, especially in deep architectures like ResNet and UNet.
  • Generalizability: The PmSCn approach is shown to be applicable across diverse network architectures (ResNet, DenseNet, UNet) and tasks (action recognition, medical imaging segmentation), highlighting its broad utility.

Key Results

The proposed PmSCn method demonstrates strong performance across all tested applications:

  • Video Action Recognition (ResNet-34): Achieved around 14% improvement in test accuracy and a significant reduction in model size compared to baseline 3D ResNet models. Notably, their models trained from scratch outperformed previous state-of-the-art methods that relied on pre-training.
  • MRI Brain Segmentation (DenseNet): Outperformed the state-of-the-art 3D DenseNet model by approximately 4% in accuracy across different segmentation regions (WM, GM, CSF) while reducing model size by 12%.
  • Neuron Segmentation (UNet): Achieved a 40% reduction in model size and a 40% improvement in accuracy (measured by Variational Information scores) compared to a baseline 3D UNet, significantly reducing over-segmentation errors.

On average, across all applications, the PmSCn method achieved approximately 14% improvement in test performance and 40% reduction in model size.

Limitations and Future Work

  • Overfitting Alleviation: While the paper shows that PmSCn alleviates overfitting (e.g., in the ResNet action recognition experiment), it's an inherent benefit of reduced model complexity rather than a direct limitation of the method itself.
  • Parameter Choices: The paper discusses parameter choices (m and n) and their impact, but the optimal selection might require further exploration for specific tasks.
  • Future Work: The authors suggest their method is flexible and can be applied to optimizing various network architectures. Future work could involve exploring more complex combinations of m and n, or integrating PmSCn into even more diverse deep learning models and applications. The availability of their TensorFlow code suggests a path for further community exploration and development.

Summary updated

BibTeX
@inproceedings{gonda2018parallel,
  author = {Felix Gonda and Donglai Wei and Toufiq Parag and Hanspeter Pfister},
  title = {{Parallel Separable 3D Convolution for Video and Volumetric Data Understanding.}},
  booktitle = {BMVC},
  year = {2018},
  url = {https://openreview.net/forum?id=mDlujjyfTL},
}
Figure