Introduction
Image Super-Resolution (SR) is a critical task for reconstructing high-resolution images from low-resolution counterparts. However, the computational demands of modern SR models often preclude their deployment on resource-constrained edge devices. Binary Neural Networks (BNNs) offer a potential solution by quantizing weights and activations to 1-bit, theoretically reducing memory usage by 32× and accelerating computation by up to 58×. Despite these benefits, standard BNNs typically suffer a significant performance degradation in SR tasks compared to full-precision models.
The primary challenge lies in the fundamental difference between classification and SR tasks. While classification models utilize Batch Normalization to stabilize distributions, modern SR architectures often omit it to preserve fine-grained image details. This results in activations with massive variations across pixels, channels, and layers. Standard binarization methods "crush" this diverse information, leading to the loss of subtle textures essential for high-quality reconstruction.
The SCALES Framework
To address these issues, the authors propose SCALES, a novel binarization framework that utilizes "Efficient Scalings" to capture lost variance. The architecture is designed to be flexible, supporting both CNN-based and Transformer-based SR models.
The framework introduces three key components:
- Layer-wise Scaling Factor (LSF): Instead of a simple sign function, SCALES employs a learnable scaling factor (α) and a channel-wise learnable threshold (β), allowing the network to adapt to varying activation magnitudes across different layers.
- Spatial Re-scaling: A lightweight side-branch (comprising a 1x1 convolution and a sigmoid) predicts a spatial scaling map from the full-precision input. This map is multiplied by the binary convolution output to handle pixel-to-pixel variations.
- Channel-wise Re-scaling: For CNNs, Global Average Pooling followed by a 1D convolution captures inter-channel relationships, applying a per-channel scaling factor.
Crucially, these modules are input-dependent, allowing the network to dynamically adjust its scaling based on the specific features of the input image.
Analysis of Activation Variance
A key insight of this work is the quantification of activation variance in SR networks. The researchers found that variance in SR models is orders of magnitude higher than in classification models. For instance, the layer-to-layer variance in EDSR is approximately 3494, compared to just 0.92 in ResNet18.
This extreme variance explains why static binarization techniques fail. By implementing input-dependent scaling, SCALES preserves the dynamic range necessary for reconstructing sharp edges and repetitive textures.
Experimental Results
The SCALES framework was evaluated on standard benchmarks including DIV2K, Set5, Set14, B100, and Urban100.
- Performance Gains: On the Urban100 dataset, SCALES outperformed the previous state-of-the-art (E2FIF) by 0.22dB PSNR while utilizing fewer parameters.
- Transformer Breakthrough: SCALES enabled the first accurate binary Transformer for SR, achieving a PSNR improvement of over 1dB compared to the BiBERT baseline.
- Hardware Efficiency: Testing on a Redmi K40S (Snapdragon 870) demonstrated a 9.9× speedup over full-precision models and a 1.2× speedup over prior binary methods, all while maintaining superior image quality.
Conclusion
EBSR represents a significant step forward in making high-quality Image Super-Resolution viable for mobile and embedded devices. By identifying and addressing the high variance inherent in SR activations through efficient, input-dependent scaling, the SCALES framework bridges the gap between 1-bit efficiency and full-precision quality. Future work may explore the binarization of the scaling branches themselves or the application of these techniques to generative models like Diffusion-based SR.
Summary updated