Alias-Free Generative Adversarial Networks

Tero Karras, Miika Aittala, Samuli Laine, Erik Härkönen, Janne Hellsten, Jaakko Lehtinen, Timo Aila

Introduction: The "Texture Sticking" Problem

State-of-the-art GANs like StyleGAN2 produce incredibly realistic images, but they fail significantly when used for animation. This failure manifests as texture sticking: while coarse features like head shape move during latent interpolation, fine details like skin pores or hair remain glued to fixed pixel coordinates. This creates a "shimmering" effect that breaks the illusion of a solid 3D object moving in space.

Comparison of latent interpolation between StyleGAN2 and StyleGAN3. The vertical slices show how textures 'stick' in StyleGAN2 but move naturally in StyleGAN3.

The authors identify aliasing as the root cause. Standard architectures "leak" absolute coordinate information through image borders, per-pixel noise, and non-ideal upsampling filters. The network uses these leaks as a "crutch" to place details rather than inheriting positions from coarser features.

Methods: Redesigning for Equivariance

StyleGAN3 overhauls the generator to be truly "alias-free" by treating feature maps as continuous, bandlimited signals rather than discrete pixel grids. Key innovations include:

  • Aggressive Filtering: Standard upsampling filters are replaced with windowed sinc filters (Kaiser window) providing >100dB stopband attenuation, ensuring no high-frequency "after-images" of the pixel grid remain.
  • Filtered Nonlinearities: Pointwise nonlinearities (ReLU) are wrapped in an "upsample-ReLU-downsample" sequence to filter high-frequency components in a higher-resolution space before they can alias.
  • Equivariant Layers: The model introduces two variants: StyleGAN3-T (translation equivariant) and StyleGAN3-R (translation and rotation equivariant). StyleGAN3-R uses 1x1 convolutions and radially symmetric filters to ensure features rotate naturally.
  • Fourier Features: Learned constant inputs are replaced with Fourier features to define a spatially infinite, continuous map.

Key Results and Metrics

StyleGAN3 matches the image quality of StyleGAN2 while achieving massive gains in equivariance. On the FFHQ-U dataset, StyleGAN3-T achieves over 60dB of translation equivariance (EQ-T), compared to the baseline's ~15dB. Realism is maintained or improved, with FID scores reaching 3.66 on FFHQ-U compared to StyleGAN2's 3.79.

Equivariance analysis: Averaging images over translations reveals that StyleGAN2 details are fixed to the pixel grid (blurring), whereas StyleGAN3 details follow the features.

Qualitatively, the "texture sticking" is eliminated. In videos, hair and skin textures move in perfect synchronization with the underlying geometry, creating a convincing sense of 3D depth and physical consistency.

Limitations and Future Work

While a breakthrough for video synthesis, StyleGAN3 is 42% to 103% more computationally expensive to train than its predecessor. Additionally, because the discriminator remains non-equivariant, it may still "prefer" certain details at specific pixel locations. Reintroducing stochastic variation (per-pixel noise) without breaking equivariance remains an open challenge for future research.

Summary updated

BibTeX
@inproceedings{karras2021alias,
  author = {Tero Karras and Miika Aittala and Samuli Laine and Erik Härkönen and Janne Hellsten and Jaakko Lehtinen and Timo Aila},
  title = {{Alias-Free Generative Adversarial Networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=J3_pi0NE-f8},
}
Figure