[Paper Review] Compression and Interpretability of Deep Neural Networks via Tucker Tensor Layer: From First Principles to Tensor Valued Back-Propagation
This paper introduces the Tucker Tensor Layer (TTL), a novel framework that replaces dense weight matrices in fully connected layers of deep neural networks with Tucker tensor decompositions, enabling up to 66.63-fold parameter compression on MNIST and Fashion-MNIST while maintaining performance. By deriving tensor-valued back-propagation, the method provides physical interpretability through gradient analysis of tensor factors, revealing feature importance and enabling efficient, interpretable training with a 10% speedup on VGG-16.
This work aims to help resolve the two main stumbling blocks in the application of Deep Neural Networks (DNNs), that is, the exceedingly large number of trainable parameters and their physical interpretability. This is achieved through a tensor valued approach, based on the proposed Tucker Tensor Layer (TTL), as an alternative to the dense weight-matrices of DNNs. This allows us to treat the weight-matrices of general DNNs as a matrix unfolding of a higher order weight-tensor. By virtue of the compression properties of tensor decompositions, this enables us to introduce a novel and efficient framework for exploiting the multi-way nature of the weight-tensor in order to dramatically reduce the number of DNN parameters. We also derive the tensor valued back-propagation algorithm within the TTL framework, by extending the notion of matrix derivatives to tensors. In this way, the physical interpretability of the Tucker decomposition is exploited to gain physical insights into the NN training, through the process of computing gradients with respect to each factor matrix. The proposed framework is validated on both synthetic data, and the benchmark datasets MNIST, Fashion-MNIST, and CIFAR-10. Overall, through the ability to provide the relative importance of each data feature in training, the TTL back-propagation is shown to help mitigate the "black-box" nature inherent to NNs. Experiments also illustrate that the TTL achieves a 66.63-fold compression on MNIST and Fashion-MNIST, while, by simplifying the VGG-16 network, it achieves a 10\% speed up in training time, at a comparable performance.
Motivation & Objective
- Address the dual challenges of high parameter count and poor interpretability in deep neural networks (DNNs).
- Develop a tensor-based alternative to dense weight matrices in fully connected layers to reduce model complexity.
- Enable physical interpretability by deriving back-propagation in terms of Tucker decomposition factors.
- Demonstrate that tensor-valued gradients reveal the relative importance of data modes (e.g., spatial, channel) in training.
- Achieve significant compression and speedup without sacrificing model accuracy on benchmark datasets.
Proposed method
- Treat the weight matrix of a fully connected layer as a matrix unfolding of a higher-order weight tensor.
- Apply Tucker decomposition (TKD) to the weight tensor, decomposing it into a core tensor and factor matrices for compression.
- Derive tensor-valued back-propagation by extending matrix derivatives to tensors, computing gradients with respect to each Tucker factor.
- Use the resulting gradients to interpret the contribution of each data mode (e.g., height, width, channel) to the learning process.
- Integrate the TTL into standard DNN architectures, such as VGG-16, by replacing fully connected layers with TTL components.
- Augment complex models with modal information extracted from tensor covariances (e.g., mode-3 for RGB) to improve performance and efficiency.
Experimental results
Research questions
- RQ1Can Tucker tensor decomposition be used to compress fully connected layers in DNNs while preserving performance?
- RQ2How can back-propagation be analytically derived in the Tucker tensor format to enable physical interpretability?
- RQ3What insights into feature importance can be gained by analyzing gradients with respect to Tucker decomposition factors?
- RQ4Can the relative importance of data modes (e.g., spatial, channel) be quantified and leveraged to improve model efficiency?
- RQ5To what extent can the TTL reduce training time and parameter count while maintaining accuracy on real-world datasets?
Key findings
- The TTL achieved a 66.63-fold compression on MNIST and Fashion-MNIST with comparable test accuracy to the uncompressed network.
- On CIFAR-10, the TTL-enabled Modal-VGG model achieved 89.2% accuracy with a 10% reduction in training time compared to the full VGG-16.
- Mode-3 (RGB channel information) was found to be the most significant for classification, with its inclusion improving accuracy to 89.2%.
- Training speed increased by over 12% when using the simplified VGG-16 with TTL, even without modal augmentation.
- The tensor-valued back-propagation revealed that mode-3 contributes more to learning than mode-1 or mode-2, providing physical interpretability.
- The framework enables data augmentation by feeding modal features (e.g., vectorized covariance of mode-3) into deeper networks, improving performance with reduced computational cost.
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.