StyleGAN2

The paper redesigned StyleGAN’s normalization and regularization to reduce artifacts and improve image quality.

Metadata

FieldValue
PaperAnalyzing and Improving the Image Quality of StyleGAN
AuthorsTero Karras, Samuli Laine, Miika Aittala, Janne Hellsten, Jaakko Lehtinen, Timo Aila
Year2019 preprint; 2020 conference
VenueCVPR 2020
arXiv1912.04958
CVFCVPR 2020 paper
CodeNVlabs/stylegan2
Statusverified

Question

StyleGAN made style-based synthesis a canonical high-resolution GAN architecture, but it also introduced characteristic artifacts. StyleGAN2 asks:

The answer is a revised generator with weight modulation/demodulation, no progressive growing, and path length regularization.

Main Claim

StyleGAN2 keeps the style-based synthesis idea but changes how styles affect convolutional weights and how the generator is regularized.

The durable architecture claim is:

This is not just a training tweak. It is a generator-architecture correction paper.

Architecture Contract

ItemContract
Inputlatent code mapped to intermediate style
Generatorstyle-based convolutional synthesis network
Main changereplace AdaIN-style feature normalization with weight modulation and demodulation
Training topologyavoid progressive growing in favor of a fixed architecture
Regularizationpath length regularization for smoother latent-to-image mapping
Outputhigh-resolution image
Main targetreduce StyleGAN artifacts and improve image quality

From AdaIN to Weight Demodulation

StyleGAN injects style through adaptive instance normalization:

StyleGAN2 argues that this feature normalization can contribute to artifacts. The redesigned view modulates convolution weights directly.

Let be a style vector and let be a per-input-channel style scale. For convolution weight:

where indexes output channel, input channel, and spatial kernel position, modulation gives:

Demodulation normalizes each output channel:

This preserves style control while reducing signal magnitude artifacts.

Why Remove Progressive Growing?

Progressive GAN grows the network resolution during training:

StyleGAN inherited this lineage. StyleGAN2 revisits it because progressive growing can leave resolution-dependent artifacts and makes the generator/discriminator interface change during training.

The revised approach uses a fixed generator architecture:

This makes training topology more stable and easier to analyze.

Path Length Regularization

The mapping from latent to image should have a well-conditioned Jacobian. StyleGAN2 encourages small and consistent changes in image space for changes in latent space.

Let:

The local sensitivity is related to:

Path length regularization penalizes deviations in the norm of image-space changes induced by latent perturbations:

where is a random image-space direction and is a moving average target length.

The practical effect is smoother latent interpolation and easier generator inversion.

Generator Redesign

StyleGAN2 compares generator structures and uses skip or residual paths rather than relying on progressive growing.

ComponentStyleGANStyleGAN2
style injectionAdaIN on activationsweight modulation/demodulation
training topologyprogressive growingfixed architecture
artifact diagnosisobserved after synthesisexplicitly analyzed and targeted
latent smoothnessstyle mixing and metricspath length regularization

Relation to StyleGAN Lineage

PaperMain Contribution
Progressive GANgrow generator/discriminator resolution over training
StyleGANstyle-based per-layer synthesis control
StyleGAN2weight demodulation and fixed generator redesign to reduce artifacts

The sequence is useful because it shows how high-resolution GANs moved from training curriculum to generator control to artifact-aware architecture design.

Evidence

Evidence TypeWhat It Supports
artifact analysisStyleGAN artifacts are tied to architecture/normalization behavior
image quality metricsrevised generator improves distribution quality metrics
perceptual comparisonsartifacts are reduced in generated images
path length regularization analysislatent interpolation and inversion behavior improve

Limits

  • The paper is centered on unconditional image generation.
  • It improves the StyleGAN lineage but does not remove adversarial training tradeoffs.
  • The architecture is still compute- and data-sensitive.
  • Later StyleGAN variants address aliasing, data efficiency, and domain adaptation separately.

Concepts