WAIT: Feature Warping for Animation to Illustration video Translation using GANs

Samet Hicsonmez, Nermin Samet, Fidan Samet, Oguz Bakir, Emre Akbas, Pinar Duygulu

TL;DR

WAIT (feature Warping for Animation to Illustration video Translation) is a novel GAN-based framework that stylizes animation videos using an unordered set of book illustrations. By integrating feature warping layers directly into the generator, it achieves high temporal consistency and style fidelity without the computational overhead of external optical flow or temporal predictor networks.

What Problem Does This Paper Address?

Translating the style of a video (like a modern 3D animation) into another domain (like classic hand-drawn book illustrations) is a difficult task in computer vision. Most existing video-to-video (V2V) translation models rely on two things that aren't always available:

  1. Ordered sequences in the target domain: Having a "target video" to learn from.
  2. A single style image: Relying on just one image to define the entire style.

In the case of children's books adapted into movies (e.g., Peter Rabbit or The Gruffalo), we have the animation sequence, but the "target style" consists of an unordered set of illustrations from various books. Using standard image-to-image models like CycleGAN on individual frames leads to distracting "flickering" artifacts because the model doesn't understand temporal relationships. While some V2V models use optical flow to fix this, flow estimation is slow, complex, and often requires synthetic data for training.

Comparison of different V2V architectures. WAIT (d) simplifies the process by moving temporal logic inside the generator.

Methods

The authors introduce WAIT, a framework that ensures temporal coherency by design rather than through external losses.

The WAIT Generator

Instead of processing one frame at a time, the WAIT generator takes two inputs: a reference frame ($I_t$) and a nearby auxiliary frame ($I_{t+\delta}$).

  • Backbone: It uses a standard CNN (based on CycleGAN) to extract feature maps for both frames.
  • Offset Network: It calculates the difference between these feature maps and passes it through an "Offset Network" to learn how features move or change between frames.
  • Parallel Warping Layers: The core innovation is a set of five parallel warping layers. These layers use deformable convolutions at different resolutions (dilations) to warp the features of the auxiliary frame to match the reference frame.

By warping features internally, the network learns to produce stylized frames that are naturally consistent with their neighbors, effectively "smoothing" the style application across time.

Figure 1: Left: Sequences from animation movies adopted from stories illustrated by Axel Schef- fler (AS) and Beatrix Potter (BP) where temporal relation exists. Right: Pages taken from various books corresponding to the same illustrators. Note that, even when the same characters are present both in animations and illustrations, their resemblance is limited. Colors and styles are also differ- ent in movies and books. Moreover, on BP dataset, in some illustrations corners are left blank.

Datasets

The authors evaluated their method on three distinct datasets:

  1. Axel Scheffler (AS): Source frames from animations like The Gruffalo and Zog translated into the style of Scheffler’s book illustrations.
  2. Beatrix Potter (BP): Source frames from the Peter Rabbit animation translated into the classic watercolor style of Potter’s original books.
  3. Flowers: A publicly available dataset of time-lapse videos of blooming dandelions, used to test the model's generalization to other domains.
Examples of the source animation videos and the target unordered illustration sets for the AS and BP datasets.

Key Insights and Ideas

  • Architecture as Regularization: Instead of adding a complex temporal loss function that might be hard to balance, WAIT uses its internal warping architecture to enforce temporal stability.
  • Efficiency Matters: WAIT adds only 0.03M parameters to the baseline CycleGAN. This makes it significantly lighter and faster than state-of-the-art models like I2V-GAN, which can exceed 100M parameters.
  • Handling Unordered Targets: The model successfully learns a consistent style from a collection of different book pages, which may vary in color palette and composition, a much harder task than learning from a single style image.

Key Results

WAIT outperformed several strong baselines, including CycleGAN, ReCycleGAN, and OpticalFlowWarp, across multiple metrics:

  • Visual Quality: On the AS dataset, WAIT achieved an FID (Fréchet Inception Distance) of 164.06, significantly better than CycleGAN (175.25) and ReCycleGAN (177.59). Lower FID indicates higher similarity to the target illustration style.
  • Temporal Consistency: Qualitatively, WAIT eliminated the "dark patches" and flickering common in other models. Quantitatively, it remained highly competitive on Flow Warping Error (FWE), proving that its internal warping is as effective as explicit optical flow methods.
  • Speed: WAIT is much faster to train and test than models that rely on heavy temporal predictors or multi-stage flow estimation.
Visual results on the AS dataset. WAIT (far right) captures the target style more accurately and with fewer artifacts than the baselines.

Limitations and Future Work

While WAIT excels at animation-to-illustration translation, the authors noted:

  • Simple Scenes: On very simple datasets with static backgrounds (like the Flowers dataset), standard image-to-image models might still perform slightly better on certain metrics because there is less "motion" for the warping layers to resolve.
  • Future Directions: The authors suggest exploring more complex spatio-temporal contexts and potentially applying this feature-warping approach to other unpaired video tasks beyond style transfer.

Summary updated

Abstract

In this paper, we explore a new domain for video-to-video translation. Motivated by the availability of animation movies that are adopted from illustrated books for children, we aim to stylize these videos with the style of the original illustrations. Current state-of-the-art video-to-video translation models rely on having a video sequence or a single style image to stylize an input video. We introduce a new problem for video stylizing where an unordered set of images are used. This is a challenging task for two reasons: i) we do not have the advantage of temporal consistency as in video sequences; ii) it is more difficult to obtain consistent styles for video frames from a set of unordered images compared to using a single image. Most of the video-to-video translation methods are built on an image-to-image translation model, and integrate additional networks such as optical flow, or temporal predictors to capture temporal relations. These additional networks make the model training and inference complicated and slow down the process. To ensure temporal coherency in video-to-video style transfer, we propose a new generator network with feature warping layers which overcomes the limitations of the previous methods. We show the effectiveness of our method on three datasets both qualitatively and quantitatively. Code and pretrained models are available at https://github.com/giddyyupp/wait.
BibTeX
@inproceedings{hicsonmez2023wait,
  author = {Samet Hicsonmez and Nermin Samet and Fidan Samet and Oguz Bakir and Emre Akbas and Pinar Duygulu},
  title = {{WAIT: Feature Warping for Animation to Illustration video Translation using GANs}},
  booktitle = {Neurocomputing},
  year = {2023},
}
Figure