PocketSR: The Super-Resolution Expert in Your Pocket Mobiles
Haoze Sun, Linfeng Jiang, Fan Li, Renjing Pei, Zhixin Wang, Yong Guo, Jiaqi Xu, Haoyu Chen, Jin Han, Fenglong Song, Yujiu Yang, Wenbo Li
TL;DR
PocketSR tackles the high cost of diffusion-based RealSR by substituting the heavy VAE with a compact Lite Encoder-Decoder and by progressively transferring generative priors to lightweight U-Net modules through online annealing pruning and multi-layer feature distillation. The two-stage training yields a 146M-parameter, one-step SR model that processes 4K images in about 0.8 seconds and delivers perceptual results on par with state-of-the-art methods, while achieving real-time performance on a single GPU. This work demonstrates that diffusion priors can be leveraged for practical, edge-friendly SR without sacrificing fidelity, enabling deployment in mobile photography and related applications. Limitations include reduced detail generation under severe degradations and a need for further hardware-aware optimization across edge platforms.
Abstract
Real-world image super-resolution (RealSR) aims to enhance the visual quality of in-the-wild images, such as those captured by mobile phones. While existing methods leveraging large generative models demonstrate impressive results, the high computational cost and latency make them impractical for edge deployment. In this paper, we introduce PocketSR, an ultra-lightweight, single-step model that brings generative modeling capabilities to RealSR while maintaining high fidelity. To achieve this, we design LiteED, a highly efficient alternative to the original computationally intensive VAE in SD, reducing parameters by 97.5% while preserving high-quality encoding and decoding. Additionally, we propose online annealing pruning for the U-Net, which progressively shifts generative priors from heavy modules to lightweight counterparts, ensuring effective knowledge transfer and further optimizing efficiency. To mitigate the loss of prior knowledge during pruning, we incorporate a multi-layer feature distillation loss. Through an in-depth analysis of each design component, we provide valuable insights for future research. PocketSR, with a model size of 146M parameters, processes 4K images in just 0.8 seconds, achieving a remarkable speedup over previous methods. Notably, it delivers performance on par with state-of-the-art single-step and even multi-step RealSR models, making it a highly practical solution for edge-device applications.
