Abstract
Deep Convolutional Neural Networks (DCNNs) have significantly advanced Single Image Super-Resolution (SISR), but their high computational costs hinder deployment on edge devices. While quantization can compress these models, standard techniques often fail for super-resolution because high-performance SR models typically omit Batch Normalization (BN), leading to activations with large dynamic ranges and unpredictable outliers. We introduce Parameterized Max Scale (PAMS), a quantization scheme featuring a trainable clipping parameter, and Structured Knowledge Transfer (SKT), a loss function that aligns spatial correlations between teacher and student networks. Our approach enables 4-bit and 8-bit quantization of heavy models like EDSR and RDN with minimal performance loss, in some cases even exceeding the accuracy of full-precision baselines.
Introduction
State-of-the-art super-resolution models, such as EDSR and RDN, often utilize hundreds of layers and billions of FLOPs. Deploying these on mobile hardware requires aggressive compression. Quantization—reducing precision from 32-bit floats to 4 or 8-bit integers—is a standard solution. However, SR models present a unique challenge: the "BN Paradox." To preserve fine image details, researchers typically remove Batch Normalization. Without BN, the data flowing through the network layers exhibits a massive dynamic range, making it difficult for standard quantization methods to map values to a limited bit-budget without losing critical information to outliers.
Methods
The proposed PAMS framework addresses the quantization of No-BN networks through two primary innovations:
Parameterized Max Scale (PAMS)
Instead of using a fixed range for quantization, PAMS introduces a trainable parameter ($\alpha$) that acts as a truncated upper bound. During training, the network learns the optimal $\alpha$ for each layer, and values outside the range $[-\alpha, \alpha]$ are clipped. This allows the model to ignore outliers and focus its precision on the most significant data range. Unlike previous asymmetric methods, PAMS is symmetric, which is better suited for the zero-centered distributions typically found in SR networks.
Structured Knowledge Transfer (SKT)
To mitigate the accumulation of quantization errors across layers, we employ a teacher-student training regime. SKT goes beyond simple pixel-wise comparison by aligning the spatial correlation of feature maps between the full-precision teacher and the quantized student. This forces the student network to "attend" to the same structural features, such as edges and textures, as the high-precision model.
Experimental Results
The models were trained on the DIV2K dataset and evaluated on standard benchmarks including Set5, Set14, BSD100, and Urban100 using PSNR and SSIM metrics.
- Performance Gains: Remarkably, the 8-bit PAMS-EDSR model improved the PSNR on the Set5 benchmark from 32.095dB to 32.124dB, while achieving a 2.42× compression ratio.
- Significant Compression: For the Residual Dense Network (RDN), PAMS achieved an 86.2% reduction in storage size at 4-bit precision while maintaining competitive visual quality.
- Comparison to Baselines: PAMS consistently outperformed popular quantization methods like DoReFa-Net and PACT. On the Urban100 dataset, 8-bit PAMS-EDSR outperformed 8-bit DoReFa-EDSR by a significant margin of 1.796dB.
Discussion and Limitations
PAMS effectively serves as a learnable substitute for the range-limiting properties of Batch Normalization without the associated blurring side effects. However, challenges remain. While 8-bit performance is excellent, a noticeable drop occurs when moving to 4-bit precision, and ultra-low bit-widths (1-bit or 2-bit) remain an open research problem. Additionally, while the algorithmic benefits are clear, the actual hardware speedup depends on specialized kernels capable of handling 4-bit arithmetic efficiently, and the SKT regime increases overall training complexity.
Summary updated