T-Net: Parametrizing Fully Convolutional Nets with a Single High-Order Tensor

Jean Kossaifi, Adrian Bulat, Georgios Tzimiropoulos, Maja Pantic · DOI

Introduction

The remarkable performance of modern deep neural networks is often attributed to over-parametrization. While this redundancy facilitates optimization during training, it results in models that are computationally expensive and memory-intensive, posing significant challenges for deployment on resource-constrained edge devices. Traditional compression techniques, such as pruning or layer-wise tensor decompositions (e.g., CP or Tucker), typically treat each layer as an isolated entity. This "locally optimal" approach fails to account for global structural redundancies and correlations across different stages of the network architecture.

T-Net addresses this limitation by proposing a paradigm shift: parametrizing an entire Fully Convolutional Network (FCN) as a single, unified high-order tensor. By capturing inter-layer relationships and architectural correlations, T-Net achieves substantial parameter reduction while maintaining, or even enhancing, model performance.

Methodology: The 8th-Order Weight Tensor

The fundamental innovation of T-Net is the representation of all network weights within a single 8th-order tensor $\mathcal{W}$. This tensor organizes the architectural parameters of a network—specifically a Stacked Hourglass architecture—into eight distinct modes:

  1. Number of stacked networks ($I_0$)
  2. Depth of each network ($I_1$)
  3. Signal pathways (skip, downsample, or upsample) ($I_2$)
  4. Convolutional layers per block ($I_3$)
  5. Input feature channels ($I_4$)
  6. Output feature channels ($I_5$)
  7. Kernel height ($I_6$)
  8. Kernel width ($I_7$)

To make this massive tensor manageable, the authors employ low-rank tensor decompositions.

Tucker and MPS Decompositions

The authors explore two primary decomposition formats. The Tucker T-Net decomposes the 8th-order tensor into a small core tensor $\mathcal{G}$ and eight factor matrices $U^{(0)} \dots U^{(7)}$, as illustrated in Figure 1. This format allows for fine-grained control over the compression of specific architectural dimensions. Alternatively, the MPS T-Net utilizes the Matrix-Product-State (or Tensor-Train) format, which is particularly effective for high-order tensors, offering even more aggressive compression.

Tucker decomposition of the 8th-order weight tensor into a core tensor and factor matrices.

A key advantage of T-Net is that it is end-to-end trainable. Rather than compressing a pre-existing model, the low-rank factors can be learned directly from scratch, allowing the network to optimize its internal representations within the constrained tensor space.

Experimental Evaluation

T-Net was evaluated on two demanding dense prediction tasks: MPII Human Pose Estimation and 300W Facial Part Segmentation. These tasks require the model to produce high-resolution heatmaps or segmentation masks, making them ideal for testing the efficiency of FCNs.

Qualitative result of human pose estimation on the MPII dataset using the T-Net architecture.

Key Results and Insights

The experimental results demonstrate a superior trade-off between compression and accuracy. On the MPII benchmark, T-Net achieved a 5.2x compression ratio with only a marginal 1% drop in accuracy compared to the uncompressed baseline. Furthermore, T-Net consistently outperformed hand-crafted efficient architectures like MobileNet; at comparable parameter counts, T-Net was approximately 3% more accurate.

An intriguing finding was the effect of implicit regularization. At moderate compression levels (e.g., 1.7x), T-Net actually outperformed the original uncompressed model (87.5% vs 86.99% PCKh). This suggests that the low-rank constraint prevents overfitting by forcing the model to learn more generalized, correlated features across layers.

Discussion and Future Work

While T-Net offers a powerful framework for network compression, it currently faces some implementation hurdles. Realizing the full theoretical speedup of high-order tensor contractions requires specialized CUDA kernels, as standard deep learning frameworks are not yet fully optimized for these operations. Additionally, while the "single tensor" philosophy is broadly applicable, the specific 8th-order formulation used in this study is tailored to encoder-decoder structures like the Stacked Hourglass.

Future research could involve automating the selection of tensor ranks through Neural Architecture Search (NAS) and extending the methodology to other popular architectures, such as Transformers or ResNets, by redefining the tensor modes to match their specific structural hierarchies.

Conclusion

T-Net demonstrates that treating a neural network as a single mathematical object allows for the exploitation of global redundancies that layer-wise methods ignore. By achieving significant compression without sacrificing accuracy, T-Net paves the way for more efficient and deployable deep learning models in the realm of dense prediction.

Summary updated

BibTeX
@inproceedings{kossaifi2019t,
  author = {Jean Kossaifi and Adrian Bulat and Georgios Tzimiropoulos and Maja Pantic},
  title = {{T-Net: Parametrizing Fully Convolutional Nets with a Single High-Order Tensor}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  doi = {10.1109/cvpr.2019.00801},
}
Figure