TL;DR
SeKron is a novel tensor decomposition method that compresses convolutional neural networks (CNNs) by representing weight tensors as sequences of Kronecker products. It provides a unified framework that generalizes popular tensor decomposition methods (like Tucker, CP, Tensor-Train, and Tensor-Ring) while utilizing a single, highly efficient convolution algorithm that executes directly on the compressed factors. This flexibility allows SeKron to achieve state-of-the-art compression ratios with minimal accuracy loss across both image classification and super-resolution tasks.
What Problem Does This Paper Address?
Deploying state-of-the-art CNNs on resource-constrained edge devices remains a significant challenge due to their massive parameter counts and computational intensity. While tensor decomposition methods offer a way to compress these models by breaking down large weight tensors into smaller, low-rank factors, existing approaches are rigid. Traditional methods like Tucker, Canonical Polyadic (CP), Tensor-Train (TT), and Tensor-Ring (TR) restrict the factorization to fixed dimensions of the original tensor. This narrow set of structural choices often leads to sub-optimal compression or requires hardware-specific, customized convolution algorithms to handle reshaped tensors.
The authors introduce SeKron to eliminate these structural constraints, offering a highly flexible decomposition framework that can adapt to a wide variety of hardware and accuracy requirements.
Methods
SeKron represents multi-dimensional weight tensors using sequences of Kronecker products. Unlike traditional methods where dimensions are fixed, SeKron allows variable choices for factor dimensions and sequence lengths ($S$).
The core technical contributions include:
- Recursive Optimization: Since finding the optimal summation of Kronecker product sequences is a non-convex problem, the authors propose a recursive algorithm using Singular Value Decomposition (SVD) on reshaped intermediate matrices to find quasi-optimal factors.
- Mathematical Generality: The authors mathematically prove that CP, Tucker, TT, and TR decompositions are simply special cases of the SeKron framework under specific configuration constraints.
- Reconstruction-Free Convolution: Crucially, the authors derive a single convolution projection algorithm shared by all SeKron structures. Instead of reconstructing the large original tensor at runtime (which would defeat the purpose of compression), the convolution is performed directly using the smaller Kronecker factors via a sequence of grouped 3D convolutions.
Datasets
The authors evaluated SeKron across two main computer vision paradigms:
- High-Level Vision (Image Classification):
- CIFAR-10 using a WideResNet16-8 backbone.
- ImageNet using a ResNet50 backbone.
- Low-Level Vision (Super-Resolution):
- Trained on the DIV2K dataset (1,000 2K images).
- Evaluated on standard benchmarks: Set5, Set14, B100, and Urban100 using SRResNet16 and a lightweight EDSR-8-128 model.
Key Insights and Ideas
- The Power of Flexibility: By allowing variable factor dimensions and sequence lengths, SeKron can exploit local redundancies within weight tensors far more effectively than fixed-dimension methods. For example, a $16 \times 16$ tensor can be represented with 16 parameters using four Kronecker factors instead of 32 parameters with two factors.
- A Unified Framework: Instead of treating TT, TR, CP, and Tucker as competing methods, SeKron unifies them. This means engineers no longer have to implement separate customized convolution kernels for different decomposition styles; one efficient SeKron kernel rules them all.
- Direct Execution: The ability to bypass tensor reconstruction at runtime ensures that both memory footprint and floating-point operations (FLOPs) are reduced simultaneously, translating directly to real-world CPU speedups.
Key Results
SeKron consistently outperformed state-of-the-art decomposition and pruning methods:
- CIFAR-10: At a $4\times$ compression rate, SeKron achieved the lowest accuracy drop ($\Delta \text{Top-1} = -0.51\%$), outperforming Tensor-Train ($-2.86\%$), CP ($-3.13\%$), and Tucker ($-1.61\%$).
- ImageNet: Compressing ResNet50 with SeKron ($S=3$) yielded a Top-1 accuracy of 74.94% (only a 1.1% drop from the uncompressed baseline). This outperformed Tensor-Train by ~1.1% in accuracy while running 3× faster on a single CPU.
- Super-Resolution: SeKron outperformed Filter Basis Decomposition (FBD), the previous state-of-the-art for super-resolution compression. At a $7.8\times$ compression rate on the Urban100 dataset, SeKron achieved a PSNR of 25.46 dB compared to FBD's 25.31 dB.
Limitations and Future Work
The primary limitation of SeKron is the combinatorial explosion of the configuration search space. As the sequence length ($S$) increases, the number of candidate factor shapes grows exponentially. This makes finding the absolute best configuration for latency and compression time-consuming.
For this paper, the authors relied on a simple selection strategy and restricted their experiments mostly to $S=3$. They suggest that integrating automated rank-selection frameworks (such as ALDS or L-Rank) directly into the SeKron optimization process is a promising direction for future work to automatically navigate this vast search space.
Summary updated