Abstract
Single Image Super-Resolution (SISR) has seen significant advancements through deep learning, yet deploying these models on mobile devices remains challenging due to high computational demands and significant quality degradation during 8-bit quantization. We present XCAT, an ultra-lightweight SISR model optimized for real-time mobile performance. XCAT utilizes Heterogeneous Group Convolution Blocks (HXBlock) and Cross Concatenation to reduce FLOPs while maintaining inter-channel communication. Furthermore, we introduce an "Identity Kernel" upsampling technique to bypass hardware bottlenecks. Our results demonstrate that XCAT achieves a latency of 8.8ms on mobile NPUs with only 16K parameters and a negligible 0.07 dB PSNR drop after quantization, outperforming existing lightweight models in efficiency and robustness.
Introduction
While Deep Learning has revolutionized the ability to reconstruct high-resolution images from low-resolution inputs, most state-of-the-art models are computationally intensive. These models typically require high-end GPUs and high-precision floating-point arithmetic (FP32) to maintain visual fidelity. When transitioning these architectures to mobile hardware, developers face two critical bottlenecks: latency spikes on mobile Neural Processing Units (NPUs) and "quantization failure." The latter occurs when models are converted to 8-bit integers (UINT8) to save power, often resulting in a massive drop in Peak Signal-to-Noise Ratio (PSNR) and visible artifacts.
XCAT is designed to be a "quantization-native" network—efficient enough to run in real-time on mobile devices while remaining robust to the precision loss inherent in 8-bit math.
Methodology
The XCAT architecture introduces several innovations to balance the trade-off between inference speed and image reconstruction quality.
HXBlock (Heterogeneous Group Convolution)
Standard group convolutions split channels evenly across paths. XCAT introduces a heterogeneous split (for example, 21 channels to one path and 7 to another). One path utilizes a 1x1 convolution to blend pixel information, while the other employs a 3x3 convolution to capture spatial patterns. This asymmetric approach significantly reduces the total number of floating-point operations (FLOPs) by allocating more resources to simpler blending operations where spatial complexity is less critical.
Cross Concatenation
To ensure effective information flow between the split paths of the HXBlock without the overhead of expensive 1x1 depth-wise convolutions, the authors implemented "cross concatenation." This technique uses a circular shift of tensors to provide necessary inter-channel communication at almost zero computational cost.
Identity Kernel Upsampling
On many mobile NPUs, standard software-level operations like tensor copying or repeating are surprisingly slow. XCAT replaces these with a fixed, non-trainable 1x1 convolution that acts as an identity kernel. This effectively performs nearest-neighbor upsampling by leveraging the hardware's highly optimized convolution engines, bypassing common software bottlenecks.
Quantization-Aware Training
To ensure the model remains stable during the transition to 8-bit precision, the researchers utilized specific training tweaks:
- Intensity-Augmented Training: Scaling image brightness during training to improve the model's dynamic range.
- Clipped ReLU: Restricting activation ranges to ensure weights translate accurately to 8-bit integers.
- Calibration Optimization: The authors discovered that the "Representative Dataset" used for quantization calibration significantly impacts final quality. They performed a linear search to identify the optimal images for calibrating the 8-bit ranges.
Experiments and Results
Experimental Setup
The model was trained on the DIV2K and Flickr2K datasets and evaluated against standard benchmarks including Set5, Set14, B100, Urban100, and Manga109. Hardware performance was benchmarked on the Mali-G71 MP2 GPU and the Synaptics Dolphin NPU using AI Benchmark 5.
Performance Metrics
- Ultra-Lightweight Footprint: XCAT contains only 16K parameters, making it significantly smaller than comparable models like ABPN (42K) or FSRCNN (25K).
- Real-Time Latency: On the Synaptics Dolphin NPU, XCAT achieved a 3x upscaling latency of just 8.8ms (NHWC format), enabling real-time performance for video and camera previews.
- Quantization Robustness: While older models like FSRCNN experienced quality drops of over 11 dB when moved to 8-bit, XCAT maintained its fidelity with a loss of only 0.07 dB. This ensures that the visual difference between the high-precision and mobile versions is virtually imperceptible.
Conclusion
XCAT demonstrates that hardware-first design can overcome the traditional limitations of mobile SISR. By treating upsampling as a convolution and utilizing asymmetric feature processing, XCAT achieves a balance of speed and quality that was previously difficult to reach on mobile NPUs. Future work may involve scaling the HXBlock to deeper architectures and exploring its application in other real-time computer vision tasks.
Summary updated