Temporal Factorization of 3D Convolutional Kernels

Gabrielle Ras, Luca Ambrogioni, Umut Güçlü, Marcel van Gerven

Abstract

3D convolutional neural networks (CNNs) are powerful for video analysis but suffer from high parameter counts and extreme data hunger. This paper proposes 3D Temporal Transformer (3DTT) kernels, which factorize 3D kernels along the temporal dimension using learnable spatial transformations. By imposing a sequential prior, 3DTT kernels significantly improve performance in low-data regimes while reducing total parameters by up to 45% compared to standard 3D convolutions.

Introduction

While 2D CNNs have achieved remarkable success in image recognition, extending these architectures to video remains computationally expensive. Standard 3D CNNs treat time as a third spatial dimension, leading to a parameter explosion and requiring massive datasets for convergence. Previous attempts to mitigate this, such as (2+1)D convolutions, factorize at the layer level. This work introduces factorization at the individual kernel level to better capture temporal continuity and reduce the search space during training.

Methods

The core of the proposed approach is the 3D Temporal Transformer (3DTT) kernel. Instead of learning an entire $T \times W \times H$ volume of weights, the model learns a single 2D "base" kernel slice ($K_0$) and a set of learnable transformation parameters ($\Theta$).

Architecture of the 3DTT kernel, where subsequent temporal slices are generated via spatial transformations of the base slice.

To construct the full 3D kernel, a spatial transformation (e.g., rotation, scaling, or translation) is applied to $K_0$ to generate $K_1$, which is then transformed to produce $K_2$, and so on. These slices are concatenated to form the final kernel. This restriction to affine transformations acts as an inductive bias, forcing the model to learn features that evolve logically over time, effectively baking "temporal continuity" into the architecture.

Experimental Setup

To evaluate the model, the authors introduced Video-MNIST, a dataset of 70,000 sequences where each digit class is associated with a specific motion pattern (e.g., '0' moves horizontally, '3' rotates clockwise). This requires the model to perform joint spatial and temporal recognition to correctly classify the sequences.

Results

The researchers compared a standard 3D LeNet-5 baseline against the 3DTT variant (LeNet-5-3DTTN) across varying amounts of training data.

Accuracy vs. training videos for standard 3D CNN and 3DTTN, showing the latter's advantage in low-data regimes.

The results indicate a clear advantage for 3DTTN in data-constrained scenarios. In the "low-data regime" (10 to 50 total training videos), the 3DTTN significantly outperformed the standard 3D CNN. For example, with only 10 training videos, 3DTTN achieved 47.7% accuracy, compared to the baseline's 37.4%. Furthermore, 3DTTN achieved competitive results while using up to 45% fewer parameters than the standard 3D model. While the standard 3D CNN eventually achieves higher peak accuracy with very large datasets (e.g., >1000 videos), the 3DTTN remains superior when data is scarce.

Conclusion

3DTT kernels provide a robust inductive bias for video processing, enabling efficient learning from limited data. By factorizing at the kernel level, the method provides a direct way to control temporal feature learning. While simple affine transformations may be insufficient for complex real-world actions, this approach offers a promising direction for reducing the computational and data requirements of 3D CNNs.

Summary updated

BibTeX
@inproceedings{ras2019temporal,
  author = {Gabrielle Ras and Luca Ambrogioni and Umut Güçlü and Marcel van Gerven},
  title = {{Temporal Factorization of 3D Convolutional Kernels}},
  booktitle = {BNAIC/BENELEARN},
  year = {2019},
}
Figure