Skip to main content
QUICK REVIEW

[Paper Review] T-Basis: a Compact Representation for Neural Networks

Anton Obukhov, Maxim Rakhuba|arXiv (Cornell University)|Jul 13, 2020
Tensor decomposition and applicationsMathematics14 citations
TL;DR

T-Basis introduces a compact tensor representation for neural networks by learning a shared basis of 3D tensors to parameterize multiple layers via low-rank coefficients, enabling high compression with minimal accuracy drop. It achieves state-of-the-art compression ratios—e.g., 0.149× on WRN-28-10—while maintaining performance suitable for edge deployment.

ABSTRACT

We introduce T-Basis, a novel concept for a compact representation of a set of tensors, each of an arbitrary shape, which is often seen in Neural Networks. Each of the tensors in the set is modeled using Tensor Rings, though the concept applies to other Tensor Networks. Owing its name to the T-shape of nodes in diagram notation of Tensor Rings, T-Basis is simply a list of equally shaped three-dimensional tensors, used to represent Tensor Ring nodes. Such representation allows us to parameterize the tensor set with a small number of parameters (coefficients of the T-Basis tensors), scaling logarithmically with each tensor's size in the set and linearly with the dimensionality of T-Basis. We evaluate the proposed approach on the task of neural network compression and demonstrate that it reaches high compression rates at acceptable performance drops. Finally, we analyze memory and operation requirements of the compressed networks and conclude that T-Basis networks are equally well suited for training and inference in resource-constrained environments and usage on the edge devices.

Motivation & Objective

  • Address the challenge of deploying large, high-performing deep neural networks on resource-constrained edge devices.
  • Overcome the limitation of existing Tensor Ring (TR) methods that require independent factorizations per layer, leading to high parameter overhead.
  • Develop a unified, low-parameter basis representation that generalizes across multiple layers in a network.
  • Enable efficient training and inference on edge devices by minimizing memory and computational costs.
  • Demonstrate the method's effectiveness across diverse architectures and datasets, including ResNets, WideResNets, and DeepLabV3+.

Proposed method

  • Propose T-Basis as a shared set of 3D tensors (basis) to represent multiple high-dimensional weight tensors in a neural network.
  • Parameterize each layer's weight tensor as a linear combination of basis tensors, with coefficients learned during training.
  • Use Tensor Ring (TR) decomposition to represent individual layer weights, with the basis shared across layers.
  • Introduce two global hyperparameters: basis size (B) and TR rank (R), controlling model capacity and compression.
  • Apply the basis to convolutional and fully connected layers, enabling parameter-efficient compression.
  • Optimize the basis and coefficients jointly via standard backpropagation, maintaining compatibility with standard training pipelines.

Experimental results

Research questions

  • RQ1Can a shared tensor basis significantly reduce the number of parameters needed to represent a deep neural network’s weights?
  • RQ2How does T-Basis compare to existing compression methods in terms of accuracy and compression ratio across different architectures?
  • RQ3To what extent can the basis be transferred across different models and tasks without fine-tuning?
  • RQ4What is the trade-off between basis size, TR rank, and model performance in extreme compression regimes?
  • RQ5Can T-Basis maintain high performance under very high compression ratios (e.g., <1% of original parameters) on large-scale segmentation tasks?

Key findings

  • T-Basis achieves a compression ratio of 0.149× on WRN-28-10 with only 57.64% top-1 accuracy, outperforming state-of-the-art methods on CIFAR-10.
  • On DeepLabV3+ with ResNet-34 backbone, T-Basis achieves 4.777× compression with 63.07% mIoU (±0.08), within 1% of the baseline (64.08%) at 100% compression.
  • The method maintains performance even at extreme compression levels, with 1.450× compression achieving 58.18% mIoU (±0.69) on Pascal VOC.
  • T-Basis with B=32 and R=8 achieves 0.149× compression on WRN-28-10, outperforming TRN and other recent methods in accuracy-compression trade-off.
  • The basis can be transferred across models and tasks, with minimal performance drop, suggesting strong generalization capability.
  • Memory and computational requirements of T-Basis networks are low enough to support efficient training and inference on edge devices.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.