Skip to main content
QUICK REVIEW

[Paper Review] MobileStyleGAN: A Lightweight Convolutional Neural Network for High-Fidelity Image Synthesis

Sergei Belousov|arXiv (Cornell University)|Apr 10, 2021
Generative Adversarial Networks and Image SynthesisComputer Science27 references13 citations
TL;DR

MobileStyleGAN proposes a lightweight, wavelet-based style-based GAN architecture that reduces parameters by 3.5× and computational complexity by 9.5× compared to StyleGAN2, while achieving comparable image quality (FID=7.75 vs. 2.84 on FFHQ at 1024×1024). It uses knowledge distillation from a pretrained StyleGAN2 teacher, introduces depthwise separable modulated convolutions, and enables efficient inference on edge devices via graph optimization and OpenVINO acceleration.

ABSTRACT

In recent years, the use of Generative Adversarial Networks (GANs) has become very popular in generative image modeling. While style-based GAN architectures yield state-of-the-art results in high-fidelity image synthesis, computationally, they are highly complex. In our work, we focus on the performance optimization of style-based generative models. We analyze the most computationally hard parts of StyleGAN2, and propose changes in the generator network to make it possible to deploy style-based generative networks in the edge devices. We introduce MobileStyleGAN architecture, which has x3.5 fewer parameters and is x9.5 less computationally complex than StyleGAN2, while providing comparable quality.

Motivation & Objective

  • To address the high computational cost of state-of-the-art style-based GANs like StyleGAN2, which limits deployment on edge devices.
  • To reduce model size and inference complexity without sacrificing image quality in high-resolution synthesis.
  • To enable efficient inference on CPU and mobile platforms through architectural redesign and model compression techniques.
  • To explore the integration of wavelet-based representations in generative models for improved efficiency and smoother latent space.
  • To develop a distillation pipeline that transfers knowledge from a large teacher network (StyleGAN2) to a compact student network (MobileStyleGAN).

Proposed method

  • Adopt a wavelet-based image representation by predicting the discrete wavelet transform (DWT) of the output image instead of pixel values, enabling frequency-domain processing.
  • Introduce Depthwise Separable Modulated Convolution (DSMC) as a lightweight alternative to standard modulated convolutions, reducing FLOPs while preserving style modulation.
  • Propose a revised demodulation mechanism compatible with graph-level optimizations such as operation fusion and constant folding.
  • Train MobileStyleGAN using knowledge distillation: the student network mimics the teacher (StyleGAN2) via perceptual loss, GAN loss, and pixel-level loss.
  • Use a multi-loss objective combining L1 pixel loss, VGG16-based perceptual loss, and adversarial GAN loss with R1 regularization to stabilize training.
  • Leverage differentiable augmentations (affine transforms, cutout) and OpenVINO for optimized inference on CPU, enabling real-time face generation.

Experimental results

Research questions

  • RQ1Can a wavelet-based, frequency-domain representation in GANs significantly reduce computational complexity while maintaining high-fidelity image synthesis?
  • RQ2To what extent can depthwise separable modulated convolutions replace standard modulated convolutions without degrading image quality?
  • RQ3How effective is knowledge distillation in transferring high-fidelity image generation capability from a large StyleGAN2 model to a lightweight MobileStyleGAN student?
  • RQ4Can architectural modifications enable efficient inference on CPU and edge devices without relying on high-end hardware?
  • RQ5Does the integration of wavelet transforms and optimized normalization improve latent space smoothness and training stability?

Key findings

  • MobileStyleGAN reduces model parameters from 28.27M in StyleGAN2 to 8.01M, achieving a 3.5× reduction in model size.
  • Computational complexity drops from 143.15 GMACs to 15.09 GMACs, representing a 9.5× decrease in FLOPs.
  • On the FFHQ dataset, MobileStyleGAN achieves a Fréchet Inception Distance (FID) of 7.75, compared to 2.84 for StyleGAN2, indicating high perceptual quality despite compression.
  • Inference time on a CPU (Intel i5-8279U) drops from 4.3 seconds (PyTorch) to 0.16 seconds when using OpenVINO, demonstrating strong optimization potential.
  • The use of OpenVINO with graph optimizations such as constant folding and operation fusion enables real-time inference, making MobileStyleGAN suitable for edge deployment.
  • The distillation pipeline successfully transfers high-fidelity generation capability, with perceptual and adversarial losses ensuring realistic, sharp outputs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.