[Paper Review] MFAGAN: A Compression Framework for Memory-Efficient On-Device Super-Resolution GAN
MFAGAN proposes a memory-efficient GAN framework for on-device super-resolution by introducing a multi-scale feature aggregation generator, a lightweight PatchGAN discriminator, and a two-stage compression pipeline combining knowledge distillation and hardware-aware neural architecture search. It achieves up to 8.3× memory reduction and 42.9× computation reduction over ESRGAN with only minor perceptual quality degradation, enabling real-time inference at ~70ms latency on Snapdragon 865.
Generative adversarial networks (GANs) have promoted remarkable advances in single-image super-resolution (SR) by recovering photo-realistic images. However, high memory consumption of GAN-based SR (usually generators) causes performance degradation and more energy consumption, hindering the deployment of GAN-based SR into resource-constricted mobile devices. In this paper, we propose a novel compression framework extbf{M}ulti-scale extbf{F}eature extbf{A}ggregation Net based extbf{GAN} (MFAGAN) for reducing the memory access cost of the generator. First, to overcome the memory explosion of dense connections, we utilize a memory-efficient multi-scale feature aggregation net as the generator. Second, for faster and more stable training, our method introduces the PatchGAN discriminator. Third, to balance the student discriminator and the compressed generator, we distill both the generator and the discriminator. Finally, we perform a hardware-aware neural architecture search (NAS) to find a specialized SubGenerator for the target mobile phone. Benefiting from these improvements, the proposed MFAGAN achieves up to extbf{8.3}$ imes$ memory saving and extbf{42.9}$ imes$ computation reduction, with only minor visual quality degradation, compared with ESRGAN. Empirical studies also show $\sim$ extbf{70} milliseconds latency on Qualcomm Snapdragon 865 chipset.
Motivation & Objective
- Address the challenge of high memory and computation costs in deploying GAN-based super-resolution models on memory- and energy-constrained mobile devices.
- Overcome the instability and memory explosion issues in GAN-based SR models, especially when compressed for mobile deployment.
- Develop a hardware-aware compression framework that balances model efficiency, inference speed, and perceptual quality on target mobile hardware.
- Enable real-time, on-device inference with minimal visual quality degradation through architectural innovation and model compression.
Proposed method
- Design a memory-efficient Multi-Scale Feature Aggregation Module (MFAM) to replace dense connections and reduce memory access cost in the generator.
- Introduce a lightweight PatchGAN discriminator to stabilize training and improve perceptual quality, especially when paired with a compressed generator.
- Apply a two-stage compression pipeline: first distilling both generator and discriminator to stabilize training of the compressed model, then applying NAS-based channel pruning for further memory reduction.
- Perform hardware-aware evolutionary search to specialize a SubGenerator for the target mobile chipset (e.g., Snapdragon 865), optimizing for latency and memory efficiency.
- Deploy the final model using TensorFlow Lite on mobile devices to validate real-world inference performance.
- Balance the student discriminator and compressed generator via knowledge distillation to avoid mode collapse and maintain high-quality generation.

Experimental results
Research questions
- RQ1Can a memory-efficient generator architecture reduce memory access cost in GAN-based super-resolution without sacrificing perceptual quality?
- RQ2How does a lightweight PatchGAN discriminator compare to standard discriminators in stabilizing training for compressed generators?
- RQ3Can knowledge distillation effectively stabilize the training of a compressed GAN when both generator and discriminator are distilled?
- RQ4To what extent can hardware-aware neural architecture search optimize model efficiency and inference latency on mobile platforms?
- RQ5What is the trade-off between memory reduction, computation savings, and visual quality in compressed on-device GANs?
Key findings
- MFAGAN achieves up to 8.3× reduction in memory access cost and 42.9× reduction in FLOPs compared to ESRGAN, with only a 0.29 dB drop in PSNR (32.59 vs. 31.13) and a 0.0118 improvement in LPIPS (0.0514 vs. 0.0632).
- On the Qualcomm Snapdragon 865 GPU, MFAGAN achieves 70ms inference latency for 4× super-resolution, representing a 16.4× speedup over ESRGAN’s 1150ms.
- The PatchGAN discriminator significantly improves training stability and PSNR performance compared to the vanilla ESRGAN discriminator, especially when used with the lightweight MFANet generator.
- The two-stage compression pipeline—first distillation, then NAS-based pruning—successfully stabilizes training and enables effective model compression, outperforming prior GAN compression methods like AGD.
- MFAGAN achieves superior performance to state-of-the-art methods in both PSNR and LPIPS across benchmark datasets, while maintaining drastically reduced memory and computation requirements.
- Visual comparisons confirm that MFAGAN preserves sharp edges and rich textures, matching or exceeding ESRGAN and other SOTA methods in perceptual quality, especially in challenging details like hair and fabric textures.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.