Abstract
Unconditional video generation requires the synthesis of temporally coherent sequences that maintain identity and structural integrity over time. Traditional autoregressive models often suffer from motion collapse and error accumulation during long-duration synthesis. We present StyleInV, a non-autoregressive framework that leverages GAN inversion as a motion generator. By modulating a pre-trained StyleGAN2 backbone with temporal style codes, StyleInV produces high-resolution (256x256) videos that remain stable for thousands of frames. Our approach introduces First-Frame-Aware Acyclic Positional Encoding (FFA-APE) and First-Frame-Aware Sparse Training (FFA-ST) to ensure consistency and identity preservation. Experimental results on benchmarks such as DeeperForensics and TaiChi-HD demonstrate that StyleInV outperforms state-of-the-art methods in both visual quality and long-term stability.
1. Introduction
Generating high-quality, long-duration video remains a significant challenge in computer vision. Most existing frameworks rely on autoregressive architectures, where each frame is predicted based on its predecessor. This dependency often leads to two primary issues: motion collapse, where small errors accumulate until the video drifts into static noise, and computational inefficiency, necessitated by the use of memory-intensive 3D convolutional discriminators.
StyleInV proposes a paradigm shift by treating video generation as a continuous walk through the latent space of a pre-trained image generator. By utilizing a non-autoregressive design, the model can sample any frame at any timestamp $t$ independently, effectively bypassing the drift associated with sequential prediction.
2. Methodology
The core of StyleInV lies in reimagining the GAN inversion process. While inversion is typically used to map a static image to a latent code $w$, StyleInV uses it to drive motion.
2.1 Temporal Style Modulation
The framework employs an encoder modulated by temporal style codes. These codes are derived from a combination of a specific timestamp $t$ and a random noise vector. This allows the model to map temporal information directly into the latent space of a pre-trained StyleGAN2 decoder. Because the decoder is fixed or fine-tuned on high-quality image priors, the generated frames inherit superior spatial resolution and structural consistency.
2.2 First-Frame-Aware Components
To address potential instabilities in the generation process, the authors introduced two key components:
- FFA-APE (First-Frame-Aware Acyclic Positional Encoding): Standard positional encodings can cause jitter at the sequence onset. FFA-APE ensures that at $t=0$, the output is a fixed, learnable constant, providing a stable "anchor" frame for the rest of the sequence.
- FFA-ST (First-Frame-Aware Sparse Training): During training, the discriminator evaluates a set of frames conditioned on the first frame. This strategy forces the model to maintain identity (e.g., facial features or clothing) throughout the video duration.
2.3 Efficient Training
By adopting a non-autoregressive approach, StyleInV can be trained using 2D discriminators on sparse frames. This significantly reduces VRAM requirements compared to 3D-based methods, allowing for more efficient training on high-resolution datasets.
3. Experiments and Results
StyleInV was evaluated on four standard benchmarks: DeeperForensics, FaceForensics, SkyTimelapse, and TaiChi-HD.
3.1 Quantitative Performance
The model demonstrates state-of-the-art performance in Fréchet Video Distance (FVD). On the DeeperForensics dataset (256x256), StyleInV achieved an FVD₁₂₈ of 53.93, a marked improvement over StyleGAN-V (68.81) and MoCoGAN-HD (610.30).
3.2 Long-term Stability
A defining characteristic of StyleInV is its ability to generate extremely long sequences. While competing models often collapse after 128 frames, StyleInV maintains coherence for over 2,000 frames (exceeding one minute of footage). In stress tests, the model has demonstrated the ability to generate stable video for up to an hour.
3.3 Identity Preservation and Style Transfer
Qualitative analysis shows that StyleInV excels at preserving fine-grained details, such as accessories (glasses) and specific facial identities, over time. Furthermore, because the motion is decoupled from the appearance, the model supports "plug-and-play" style transfer. A motion sequence generated for a realistic face can be applied to a stylized StyleGAN (e.g., "Arcane" or "Cartoon" styles) without retraining the motion generator.
4. Discussion and Limitations
Despite its strengths, StyleInV is primarily "subject-centric." Its performance on the SkyTimelapse dataset was slightly lower than methods designed for global motion, as the inversion-based approach is optimized for tracking specific subjects rather than global environmental changes. Additionally, the current framework requires a two-stage training process (image GAN followed by motion generator), which could be streamlined into an end-to-end process in future work.
5. Conclusion
StyleInV introduces a robust framework for unconditional video generation by leveraging the structured latent space of StyleGAN through temporal modulation. By moving away from autoregressive dependencies, it achieves unprecedented stability and identity preservation in long-duration video synthesis.
Summary updated