Abstract
Binary Neural Networks (BNNs) offer a promising path toward deploying deep learning models on resource-constrained edge devices by providing up to 32× memory compression and 58× faster inference. However, the extreme quantization typically results in a significant accuracy gap compared to real-valued models. This paper introduces a novel training framework that re-parameterizes weight tensors using real-valued matrix and tensor decompositions before binarization. By enforcing a shared latent subspace among filters and utilizing learnable scaling factors, the proposed method achieves state-of-the-art performance on ImageNet and MPII Human Pose benchmarks without increasing inference-time complexity.
Introduction
The deployment of deep neural networks on smartphones and embedded sensors is often hindered by high computational and memory requirements. BNNs address this by restricting both weights and activations to binary values (e.g., -1 and 1). Despite their efficiency, BNNs often suffer from a "quantization gap"—for instance, a ~20% drop in Top-1 accuracy on ImageNet compared to full-precision models. A primary cause is the independent binarization of convolutional filters, which limits the network's representational capacity. This research proposes a holistic approach to weight parameterization to recover this lost performance.
Methodology
The core of the proposed approach is the use of matrix and tensor re-parameterization during the training phase. Instead of learning binary weights directly, the network learns real-valued factors through Singular Value Decomposition (SVD) or Tucker decomposition.
Latent Real-Valued Decompositions
Weights used in the forward pass are reconstructed from these real-valued factors and subsequently binarized using a sign() function. This allows the optimization process to navigate a smoother, real-valued landscape before the harsh quantization step. The authors specifically highlight Holistic Tucker decomposition, which groups identically shaped weights from across the entire network into a single high-order tensor, effectively exploiting inter-layer structural relationships.
Learnable Scaling Factors
Unlike traditional methods like XNOR-Net, which use analytically computed, strictly positive scaling factors, this method proposes learning these factors via standard back-propagation. This shift allows the scaling factors to take on a wider range of values, including negative ones, leading to more stable and expressive training.
Key Insights
- Inference Efficiency: The complex tensor decompositions are only utilized during training. Once trained, the reconstructed binary weights are deployed, ensuring the model retains the standard BNN benefits of bitwise operation speed and low memory footprint.
- Filter Coupling: By parameterizing weights in a shared latent subspace, the method forces inter-dependency between filters. This structural redundancy helps the network overcome the difficult optimization landscape inherent in binary training.
- Global Structural Context: Holistic decomposition outperformed layer-wise approaches, suggesting that treating the network's weights as a single interconnected mathematical object preserves vital structural information that independent binarization typically destroys.
Experimental Results
The proposed method sets new benchmarks for fully binarized networks:
- Human Pose Estimation (MPII): Using a binarized Hourglass architecture, the method achieved 82.5% PCKh, representing a significant 4.4% absolute improvement over previous state-of-the-art BNNs.
- Image Classification (ImageNet): A binarized ResNet-18 achieved 55.6% Top-1 accuracy, outperforming the standard XNOR-Net baseline (51.2%) by 4.4%.
Conclusion
By integrating matrix and tensor decompositions into the BNN training pipeline, this research demonstrates that the accuracy gap of binary models can be significantly narrowed without sacrificing edge-deployment efficiency. While the training phase requires more computational resources to manage the high-order tensor factors, the resulting models provide a "free lunch" of improved accuracy at the same inference speed. Future work may extend these holistic decomposition techniques to other architectures, such as Transformers, to enhance efficiency in natural language processing tasks.
Summary updated