Abstract
Conventional 3D convolutional neural networks (CNNs) are computationally expensive, memory-intensive, and prone to overfitting. To address these challenges, we introduce spatio-temporal short-term Fourier transform (STFT) blocks. These blocks utilize non-trainable convolution layers to capture local Fourier information at multiple low-frequency points, followed by trainable linear weights to learn channel correlations. This approach significantly reduces space-time complexity, requiring 3.5 to 4.5 times fewer parameters and 1.5 to 1.8 times less computational cost than state-of-the-art methods, while enhancing feature learning capabilities.
Introduction
Video analysis via 3D CNNs is often hindered by the "dimensionality curse," where models attempt to learn spatial, temporal, and channel correlations simultaneously. This results in massive parameter counts and high computational demands. While factorizing 3D convolutions into separate 2D spatial and 1D temporal layers offers some relief, these variants still rely on learning a vast number of weights from scratch. We propose replacing learned filters with fixed mathematical descriptors based on the Short-Term Fourier Transform (STFT) to extract features more efficiently.
Methodology: The STFT Block
The core of our architecture is the Depthwise Spatio-Temporal STFT layer. Instead of optimizing 3D filter weights through backpropagation, this layer employs fixed STFT kernels to extract local frequency information.
- Non-trainable Kernels: The model computes the STFT at multiple low-frequency points within a local 3D volume (e.g., $3 \times 3 \times 3$). Low frequencies are prioritized as they capture the essential motion and structural signals while filtering out noise.
- Depthwise Processing: Following the efficiency principles of MobileNet, the STFT is applied depthwise, processing each channel independently to minimize redundancy.
- Trainable Linear Weights: A subsequent $1 \times 1 \times 1$ pointwise convolution learns to combine these fixed frequency features across channels.
We explore three primary variants: ST-STFT (3D STFT for space and time), S-STFT (2D STFT for space, trainable 1D convolution for time), and T-STFT (trainable 2D convolution for space, 1D STFT for time).
Experimental Setup
The proposed models were evaluated on seven diverse action recognition datasets:
- Temporal-heavy: Something-Something (v1 & v2), Jester, and Diving-48, where the sequence of motion is critical for classification.
- Scene-heavy: Kinetics-400, UCF-101, and HMDB-51, where static background cues often suffice for identification.
Key Insights
A primary finding is that fixed Fourier kernels are remarkably effective at encoding motion, often surpassing kernels learned via standard training. This suggests that motion patterns are inherently periodic and well-suited for frequency-domain representation. Furthermore, the STFT naturally decorrelates input signals, providing a regularization effect that helps the model generalize better and mitigates the overfitting common in 3D CNNs.
Results and Discussion
The T-STFT variant demonstrated superior performance, particularly on temporal tasks. On Something-Something v1, it achieved a Top-1 accuracy of 52.42%, outperforming the STM model while utilizing 4.1x fewer parameters. On Diving-48, it exceeded the state-of-the-art GST-ResNet50 by 5.5%.
While highly efficient, the models showed slight underperformance on massive datasets like Kinetics-400 when trained from scratch. This is likely due to the extreme parameter reduction leading to potential underfitting on very large-scale data. Future work will investigate the application of STFT blocks to other 3D domains, such as medical imaging and robotics, where efficiency is paramount.
Summary updated