[Paper Review] Flattened Convolutional Neural Networks for Feedforward Acceleration
This paper proposes flattened convolutional neural networks that replace 3D convolutional filters with sequential 1D convolutions across channels, vertical, and horizontal directions, achieving ~2x inference speedup with comparable or better accuracy and up to 10x fewer parameters, without post-processing or manual tuning.
We present flattened convolutional neural networks that are designed for fast feedforward execution. The redundancy of the parameters, especially weights of the convolutional filters in convolutional neural networks has been extensively studied and different heuristics have been proposed to construct a low rank basis of the filters after training. In this work, we train flattened networks that consist of consecutive sequence of one-dimensional filters across all directions in 3D space to obtain comparable performance as conventional convolutional networks. We tested flattened model on different datasets and found that the flattened layer can effectively substitute for the 3D filters without loss of accuracy. The flattened convolution pipelines provide around two times speed-up during feedforward pass compared to the baseline model due to the significant reduction of learning parameters. Furthermore, the proposed method does not require efforts in manual tuning or post processing once the model is trained.
Motivation & Objective
- Address the computational inefficiency of large convolutional neural networks (CNNs) in real-time and mobile applications.
- Reduce parameter redundancy in 3D convolutional filters without compromising model accuracy.
- Accelerate feedforward inference by restructuring 3D filters into sequential 1D convolutions during training.
- Enable efficient deployment on resource-constrained devices like mobile phones and embedded systems.
- Develop a method that avoids post-training optimization or manual hyperparameter tuning while maintaining performance.
Proposed method
- Replace each 3D convolutional filter with a sequence of three 1D convolutions: across channels (lateral), vertical, and horizontal directions.
- Train the network end-to-end with the flattened 1D structure, preserving backpropagation through constrained paths.
- Use standard training procedures without additional regularization or sparsity constraints.
- Leverage coalesced memory access and reduced computation in 1D convolutions to accelerate inference.
- Implement optimized 1D convolution routines for both CPU and GPU to maximize performance gains.
- Apply the same architecture to multiple datasets to evaluate generalization and efficiency.
Experimental results
Research questions
- RQ1Can replacing 3D convolutional filters with sequential 1D convolutions maintain or improve classification accuracy?
- RQ2To what extent does the flattened 1D structure reduce parameter count and accelerate feedforward inference?
- RQ3Does the proposed method eliminate the need for post-training compression or manual hyperparameter tuning?
- RQ4How does the speedup scale with input image size and hardware platform (CPU vs. GPU)?
- RQ5Can the flattened architecture be effectively applied across diverse datasets like CIFAR-10, CIFAR-100, and MNIST?
Key findings
- The flattened model achieved 87.04% test accuracy on CIFAR-10, slightly outperforming the baseline model (86.42%).
- On CIFAR-100, the flattened model reached 60.92% accuracy compared to the baseline’s 60.08%, showing improved generalization.
- For MNIST, the flattened model achieved 99.56% accuracy, slightly below the baseline’s 99.62%, but with significantly fewer parameters.
- The flattened model achieved approximately 2x speedup in feedforward inference on both CPU and GPU across all tested image sizes.
- The speedup increased with larger image sizes due to reduced relative overhead from computation and memory access.
- Backpropagation showed minimal speedup on GPU due to frequent global memory access during gradient accumulation, but training time was still reduced on both CPU and GPU.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.