Efficient N-Dimensional Convolutions via Higher-Order Factorization

Jean Kossaifi, Adrian Bulat, Yannis Panagakis, Maja Pantic

Abstract

Training deep neural networks with spatio-temporal (3D) or higher-order convolutions is computationally intensive due to the massive number of parameters involved. This paper introduces CP-Higher-Order Convolution (HO-CPConv), a unified tensor factorization framework that decomposes high-order convolution kernels into a series of efficient, low-rank components. A key innovation is higher-order transduction, which allows models pre-trained on 2D image data to generalize to 3D video data by introducing and training only a small temporal factor. This approach addresses both computational burdens and the scarcity of expert-annotated video data. We demonstrate the effectiveness of HO-CPConv on large-scale facial affect estimation datasets, achieving state-of-the-art results with significantly fewer parameters.

Introduction: The Dimensionality Problem

In the realm of deep learning, 2D convolutions are the standard for image processing. However, as we move toward spatio-temporal data (video) or multi-dimensional sensor data, the computational requirements skyrocket. Standard 3D convolutional neural networks (CNNs) suffer from two primary issues:

  1. Computational Complexity: The number of parameters and floating-point operations (FLOPs) increases exponentially with dimensionality, making these models difficult to deploy on edge devices.
  2. Data Scarcity: While massive datasets of labeled static images exist (e.g., AffectNet), high-quality, expert-annotated video datasets are relatively rare and expensive to produce.

The HO-CPConv Framework

The proposed HO-CPConv framework leverages Canonical Polyadic (CP) tensor decomposition to mitigate these challenges. Instead of learning a single, dense multidimensional kernel, the framework breaks the kernel down into a sum of rank-1 tensors. This effectively replaces a large convolution with a sequence of smaller, 1D convolutions.

Mathematical formulation and visual decomposition of the CP-Higher-Order Convolution.

One of the most significant theoretical insights of this work is the unification of existing efficient architectures. The authors demonstrate that popular blocks like MobileNet-v2 and ResNet bottleneck layers are actually specific instances of this broader tensor factorization family. This provides a rigorous mathematical foundation for why these "hand-designed" efficient blocks perform so well. To further optimize efficiency, the framework includes Automatic Rank Selection. By applying Lasso regularization ($\ell_1$ penalty) to the weights during training, the model can automatically "prune" unnecessary parameters, finding the optimal balance between compression and accuracy.

Transduction: Bridging the 2D-3D Gap

The most novel aspect of this research is "higher-order transduction." This technique allows a model to "inherit" spatial knowledge from a 2D domain and apply it to a 3D domain, solving the data scarcity problem.

Overview of the transduction process from static 2D convolutions to spatio-temporal 3D convolutions.

The process involves:

  1. Static Training: Training a standard 2D model on a large static image dataset (like AffectNet) to learn robust spatial features.
  2. Expansion: "Expanding" the 2D kernels into 3D by adding a new temporal factor.
  3. Temporal Learning: Keeping the learned spatial factors fixed while training only the small temporal component on video data.
  4. Fine-tuning: Finally, fine-tuning the entire system to capture complex spatio-temporal dynamics.

Experimental Results

The authors evaluated HO-CPConv across several challenging domains, including facial affect estimation (AffectNet, SEWA, AFEW-VA) and gesture recognition (20BN-Jester).

Parameter Efficiency

On the SEWA dataset, the HO-CPConv model achieved superior results with only 11 million parameters, compared to 33 million for a standard ResNet3D and 31 million for a (2+1)D ResNet. This reduction does not come at the cost of accuracy; in fact, the factorization often acts as a form of regularization that prevents over-fitting to noise.

Performance Gains

The transduction method showed remarkable improvements over training from scratch. On the SEWA (Valence) benchmark, the Concordance Correlation Coefficient (CCC) increased from 0.41 for a standard 3D-ResNet to 0.75 using the proposed method. The model also achieved state-of-the-art performance on AffectNet for continuous emotion estimation (valence and arousal).

Conclusion

HO-CPConv provides a powerful and efficient framework for multidimensional convolutions. By unifying tensor factorization with modern neural architecture design and introducing the concept of transduction, this work enables the training of high-performance spatio-temporal models even when video data is limited. Future work may extend this framework to even higher-dimensional data, such as medical imaging (MRI/CT) or multi-sensor fusion in robotics.

Summary updated

BibTeX
@inproceedings{kossaifi2020efficient,
  author = {Jean Kossaifi and Adrian Bulat and Yannis Panagakis and Maja Pantic},
  title = {{Efficient N-Dimensional Convolutions via Higher-Order Factorization}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.00610},
}
Figure