Abstract
This paper introduces Canonical Weight Normalization (CPNorm), a novel method that re-imagines convolutional neural network (CNN) weights as a sum of rank-one vector products via Canonical Polyadic (CP) decomposition. By training networks in this decomposed form, the authors achieve faster convergence and competitive accuracy across standard benchmarks. Crucially, CPNorm provides a "built-in" mechanism for model compression: by learning individual scale parameters for each rank, the network naturally identifies redundant components that can be pruned with minimal impact on performance.
Introduction
Deep learning models are characterized by high memory and computational requirements. While techniques like Weight Normalization (WN) improve training stability and speed, they do not inherently address model size. Conversely, model compression techniques such as pruning are typically applied as a separate post-processing step after full training. This paper addresses this gap by proposing a weight representation that naturally supports both stable normalization and efficient compression. By leveraging CP decomposition, the authors transform standard weight tensors into a sum of rank-one components, enabling a unified framework for optimization and shrinkage.
Methods: CP-Normalization
The core innovation of this work is CP-normalization (CPNorm). Instead of storing a standard weight tensor $W$, the model represents it as a sum of outer products of vectors:
$$W = \sigma \sum_{r=1}^{R} \lambda_r (a_r \circ b_r \circ c_r)$$
Components and Scaling
In this formulation, $a_r, b_r,$ and $c_r$ are vectors whose outer product ($\circ$) forms a rank-one tensor. The parameter $\sigma$ acts as a global scaling factor, similar to standard Weight Normalization, while $\lambda_r$ provides a specific scale for each individual rank in the sum. After each optimization step, the vectors are re-normalized to unit length, effectively decoupling the weight direction from its magnitude.
Initialization
A significant hurdle in tensor-based networks has been the complexity of initialization, often requiring expensive methods like Alternating Least Squares. The authors demonstrate that for modern optimizers like Adam, random initialization (e.g., Kaiming initialization) is sufficient and performs competitively, significantly lowering the barrier to adoption.
Experimental Setup
The researchers evaluated CPNorm on three standard image classification benchmarks using LeNet and AlexNet-like architectures:
- MNIST: Handwritten digit recognition.
- CIFAR-10: Classification of 60,000 small images across 10 diverse categories.
- SVHN: Street View House Numbers, representing digit recognition in natural scenes.
Results and Discussion
Accuracy and Convergence
On the CIFAR-10 dataset using an AlexNet-like structure and the RMSProp optimizer, CPNorm achieved an accuracy of 88.70%, outperforming both standard Weight Normalization (87.17%) and un-normalized models (82.51%). The results suggest that the CP-form provides a beneficial inductive bias or regularization effect.
Importance Ranking and Compression
Because each rank-one component is associated with a learned scale $\lambda_r$, the network naturally ranks the importance of its components. Compression becomes a straightforward task of sorting $\lambda_r$ values and discarding the smallest ones. The authors found they could remove 25% of parameters with virtually no loss in accuracy. Even at 50% compression, the accuracy drop remained minimal (e.g., from 88.32% to 87.79% on CIFAR-10). On SVHN, a 50% compressed CPNorm model still outperformed the original full-rank un-normalized model.
Conclusion
Canonical Weight Normalization offers a promising path toward more efficient deep learning. By integrating normalization and compression into the weight representation itself, it simplifies the pipeline for deploying high-performance models on resource-constrained devices. Future work includes exploring adaptive rank selection during training and investigating the performance of lower initial ranks to further reduce the initial memory footprint.
Summary updated