NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

The Effect of Tensor Rank on CNN’s Performance

Eleftheria Vorgiazidou, Konstantinos K. Delibasis, Ilias MaglogiannisIFIP 2023 · OpenAlex

Introduction

Convolutional Neural Networks (CNNs) have revolutionized computer vision, setting the standard for tasks ranging from image classification to object detection. However, their state-of-the-art performance comes at a high cost: significant memory requirements and massive computational demands, often measured in billions of floating-point operations (FLOPs). These "heavy" architectures pose a major challenge for deployment on resource-constrained edge devices, such as smartphones, IoT sensors, and embedded systems.

The primary bottleneck in these networks is the convolutional filter. In classic architectures like AlexNet, the first layer utilizes large 2D filters (e.g., $11 \times 11$) that are mathematically "full-rank." This means they possess a high degree of complexity and redundancy. This research investigates a fundamental question: Do we truly need this level of complexity? By applying low-rank tensor decomposition, the authors demonstrate that CNNs can be simplified significantly without sacrificing their predictive power.

Methodology: Low-Rank Tensor Decomposition

The core innovation of this work lies in a layer decomposition strategy. Instead of performing a single convolution with a standard 2D filter, the operation is split into two consecutive, simpler layers: a Vertical Convolutional Layer and a Horizontal Convolutional Layer.

Decomposition of a standard 2D convolutional layer into sequential vertical and horizontal 1D filter layers.

As illustrated in the figure above, the vertical layer uses $F \times 1$ filters, while the horizontal layer uses $1 \times F$ filters. Mathematically, this transformation replaces a full-rank 2D filter with a sum of rank-1 separable filters. This approach leverages the fact that many features learned by early CNN layers, such as edges and simple textures, are inherently low-rank.

A key technical contribution of this paper is the rigorous mathematical formalism used to calculate the rank of the equivalent tensor slices. To maintain architectural consistency with the original AlexNet, the researchers meticulously adjusted parameters like stride and padding—effectively halving them across the two new layers—to ensure the spatial dimensions of the output remained identical to the baseline model.

Representation of the equivalent tensor resulting from the combination of vertical and horizontal filters.

By treating the sequence of 1D filters as an equivalent tensor (shown above), the researchers could directly compare the representational capacity of their lean model against the full-rank original.

Experimental Setup and Datasets

To validate the effectiveness of this decomposition, the authors utilized the Caltech101 database. They designed three experimental scenarios of increasing complexity to test the model's robustness:

  • 12 Classes: 3,946 samples.
  • 20 Classes: 4,453 samples.
  • 30 Classes: 5,052 samples.

Images were preprocessed to a standard $227 \times 227$ RGB format. To prevent overfitting and ensure the gains were due to the architecture itself, the models were trained from scratch (avoiding transfer learning) and augmented with random rotations, reflections, and shears.

Key Insights: Efficiency Meets Performance

The study yielded several surprising insights into the nature of convolutional filters:

  1. The Efficiency of Separability: Forcing the network to use 1D filters acts as a form of regularization. It encourages the model to focus on fundamental structural features more efficiently.
  2. The "Sweet Spot" for Rank: By varying $n_v$ (the number of vertical kernels), the researchers found that even extremely low-rank configurations ($n_v \ge 2$) often outperformed the original full-rank AlexNet.
  3. Redundancy as Noise: The fact that lower-complexity filters often led to better generalization suggests that standard 2D filters may contain redundant information that acts as "noise" during the training process.

Results and Impact

The empirical results demonstrate a dramatic shift in the efficiency-accuracy trade-off:

  • Accuracy Gains: In the 12-class task, the low-rank model achieved 85.00% accuracy, surpassing the original AlexNet's 83.86%. Similar trends were observed across other class counts, provided the rank was at least 2.
  • Computational Reduction: The most striking gains were in FLOPs. For the first convolutional layer, operations were reduced by up to 99.2% at the lowest rank setting. Even at higher rank settings ($n_v=96$), a 23.83% reduction was maintained.
  • Memory Savings: The total number of learnable parameters across the network dropped by 25% to 30%, reducing the footprint from approximately 2.3 million to 1.6 million parameters.

Conclusion and Future Work

This research proves that low-rank tensor decomposition is a powerful tool for creating leaner, faster CNNs. While the current study focused on AlexNet and the Caltech101 dataset, the implications for mobile and real-time computing are significant.

Future work will involve applying these techniques to modern architectures like ResNet and exploring more complex tasks, such as real-time object detection in video for sports analytics. By continuing to refine how we represent and decompose tensors, we can move toward a future where high-performance AI is accessible on every device.

Summary updated

BibTeX
@inproceedings{vorgiazidou2023effect,
  author = {Eleftheria Vorgiazidou and Konstantinos K. Delibasis and Ilias Maglogiannis},
  title = {{The Effect of Tensor Rank on CNN’s Performance}},
  booktitle = {IFIP},
  year = {2023},
  doi = {10.1007/978-3-031-34111-3\_46},
}
Figure