Grasping the Arrow of Time from the Singularity: Decoding Micromotion in Low-dimensional Latent Spaces from StyleGAN

Qiucheng Wu, Yifan Jiang, Junru Wu, Kai Wang, Gong Zhang, Humphrey Shi, Zhangyang Wang, Shiyu ChangarXiv 2022 · DOI

Abstract

StyleGAN, though trained exclusively on static images, contains latent structures that encode facial dynamics. This paper explores the extraction of low-dimensional "micromotion" subspaces from StyleGAN's latent space. By utilizing reference anchoring and robust space decomposition, the authors demonstrate that realistic animations—such as smiling, aging, and head rotation—can be applied to diverse facial images, including classical paintings and sculptures, using simple linear transformations.

Introduction

While StyleGAN is renowned for generating hyper-realistic static faces, it is fundamentally a static model. Previous attempts to animate these faces usually required "per-example" searching—finding a specific "smile direction" for one specific person—or heavy fine-tuning of the model itself. This research addresses a deeper question: Does StyleGAN’s latent space possess a universal, identity-agnostic understanding of motion? The authors aim to decode subtle temporal features, termed micromotions, from a space designed only for snapshots.

Methodology

The authors propose a three-step workflow to extract and apply motion from the model's latent space:

  1. Reference Anchoring: To identify a specific motion, "anchors" are established using either text-based prompts (via StyleCLIP) or video-based frame inversion into the $W+$ latent space.
  2. Robust Space Decomposition: Latent codes are often noisy, potentially altering identity or background during expression changes. The authors employ Robust Principal Component Analysis (RPCA) to isolate a clean, low-rank subspace (typically 4 dimensions) representing the desired motion.
  3. Transfer and Scaling: The discovered "micromotion direction" ($\Delta V$) is applied to new images ($V_0$) using a linear formula: $V_{new} = V_0 + \alpha t \Delta V$.
The three-step workflow: Reference Anchoring, Robust Space Decomposition, and Transferring Subspace Transformation.

Key Insights and Results

The study reveals that StyleGAN is "secretly aware" of subject-disentangled feature variations. The internal geometry of its latent space naturally aligns facial features in a way that mimics physical motion. Furthermore, complex facial movements are surprisingly low-rank, requiring only a few dimensions to capture the essence of a smile or head turn.

A significant finding is the domain agnosticism of these subspaces. A micromotion learned from a real human face is transferable to cartoons, sculptures, or classical paintings without additional training. This suggests StyleGAN learns a universal "face geometry" that transcends artistic style.

Demonstration of micromotion transfer across diverse domains including classical paintings and anime.

The team successfully demonstrated five primary micromotions: smiling, anger, eye-opening, head rotation, and aging. These manipulations maintain high identity stability while requiring minimal computational overhead due to their linear nature.

Limitations and Future Work

The current method is restricted to "micromotions"—small, local facial movements. It cannot yet handle large-scale "macromotions" such as dancing or complex hand-to-face interactions. Additionally, text-anchored results are sensitive to prompt engineering, and video anchoring can occasionally introduce minor deformations. Future research will focus on exploring larger-scale motion subspaces to bridge the gap between image editing and continuous video synthesis.

Summary updated

Abstract

The disentanglement of StyleGAN latent space has paved the way for realistic and controllable image editing, but does StyleGAN know anything about temporal motion, as it was only trained on static images? To study the motion features in the latent space of StyleGAN, in this paper, we hypothesize and demonstrate that a series of meaningful, natural, and versatile small, local movements (referred to as "micromotion", such as expression, head movement, and aging effect) can be represented in low-rank spaces extracted from the latent space of a conventionally pre-trained StyleGAN-v2 model for face generation, with the guidance of proper "anchors" in the form of either short text or video clips. Starting from one target face image, with the editing direction decoded from the low-rank space, its micromotion features can be represented as simple as an affine transformation over its latent feature. Perhaps more surprisingly, such micromotion subspace, even learned from just single target face, can be painlessly transferred to other unseen face images, even those from vastly different domains (such as oil painting, cartoon, and sculpture faces). It demonstrates that the local feature geometry corresponding to one type of micromotion is aligned across different face subjects, and hence that StyleGAN-v2 is indeed "secretly" aware of the subject-disentangled feature variations caused by that micromotion. We present various successful examples of applying our low-dimensional micromotion subspace technique to directly and effortlessly manipulate faces, showing high robustness, low computational overhead, and impressive domain transferability. Our codes are available at https://github.com/wuqiuche/micromotion-StyleGAN.
BibTeX
@misc{wu2022grasping,
  author = {Qiucheng Wu and Yifan Jiang and Junru Wu and Kai Wang and Gong Zhang and Humphrey Shi and Zhangyang Wang and Shiyu Chang},
  title = {{Grasping the Arrow of Time from the Singularity: Decoding Micromotion in Low-dimensional Latent Spaces from StyleGAN}},
  year = {2022},
  eprint = {2204.12696},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.12696},
}
Figure