AnimeColor: Reference-based Animation Colorization with Diffusion Transformers

Yuhong Zhang, Liyao Wang, Han Wang, Danni Wu, Zuzeng Lin, Feng Wang, Li Song · DOI

TL;DR

This paper introduces AnimeColor, a novel framework for animating colorization using Diffusion Transformers (DiTs). It addresses the challenges of color accuracy and temporal consistency in existing methods by integrating sketch sequences with a DiT-based video diffusion model, guided by both high-level semantic and fine-grained color information from reference images.

What Problem Does This Paper Address?

Colorizing animation is a crucial but labor-intensive step in production. Existing methods often struggle with temporal consistency (leading to flickering) and color accuracy, especially in complex scenes with large motion or when trying to match a specific style. While diffusion models have shown promise in video generation, their application to animation colorization, particularly with precise control from reference images and sketches, remains an open challenge. This paper aims to bridge this gap by providing a robust and controllable solution for high-quality animation colorization.

Methods

AnimeColor builds upon Diffusion Transformers (DiTs) for video generation, leveraging their strong generative capabilities. The core innovation lies in integrating sketch sequences as a control mechanism within the DiT architecture. To achieve precise color control, two key components are introduced:

  • High-level Color Extractor (HCE): This module uses the RADIO foundation model to extract semantic color information from a reference image. It then employs a Q-Former to aggregate these features and generate high-level color reference tokens. These tokens are integrated into the DiT via cross-attention to guide semantic color consistency.
  • Low-level Color Guider (LCG): This module uses a trainable copy of the DiT to extract fine-grained color details from the reference image. These low-level color reference tokens are then concatenated with the intermediate vision and text tokens within the DiT's attention blocks, enabling fine-grained color control.

A multi-stage training strategy is employed to optimize these components effectively, first training the sketch-guided generation, then focusing on HCE, then LCG, and finally fine-tuning the entire model for optimal integration.

Datasets

  • Training: A large dataset of anime video clips was collected and curated using Open-Sora. Text inputs were generated using PLLAVA, and sketch sequences were obtained using XDoG. 100,000 video clips were used for training, with one frame randomly selected as a reference image per clip.
  • Testing: An additional 1,800 video clips were used for testing, with the first frame of each clip serving as the reference.

Key Insights and Ideas

  • DiT for Animation Colorization: The paper demonstrates that DiT-based architectures, known for their strong generative power, are well-suited for animation colorization, offering improved temporal consistency over U-Net based models.
  • Hierarchical Color Control: The combination of a High-level Color Extractor (for semantic consistency) and a Low-level Color Guider (for fine-grained detail) is crucial for achieving accurate and nuanced colorization.
  • Sketch as a Control Signal: Integrating sketch sequences directly into the DiT's latent space via concatenation allows for effective sketch-guided generation, improving alignment and reducing training complexity.
  • RADIO for Color Extraction: Using the RADIO foundation model for the HCE proves more effective than CLIP for extracting rich color information from anime images, leading to better color consistency and reducing issues like color unevenness.

Key Results

  • Quantitative Performance: AnimeColor outperforms state-of-the-art methods (AniDoc, ToonCrafter, LVCD, CN+IPA, Concat) across various metrics, including PSNR, SSIM, LPIPS, FID, and FVD, indicating superior color accuracy, visual quality, and sketch alignment. For instance, it achieves a PSNR of 23.56 and FID of 4.87.
  • Qualitative Performance: The method demonstrates robust performance across diverse animation scenes (single-character, multi-character, non-character) and excels in challenging large-motion scenarios where other methods struggle. It maintains temporal consistency, avoiding flickering and color jumps.
  • User Study: A user study showed that AnimeColor was preferred by the majority of participants, validating its superior performance in terms of perceptual quality, color consistency, and temporal stability.

Limitations and Future Work

  • Limitations: While the paper highlights significant improvements, the ablation study on the image encoder (Table 4) shows that the RADIO-based method, while better at color consistency, has slightly lower PSNR, SSIM, and SA scores compared to the CLIP-based method. This suggests a potential trade-off between different aspects of color control.
  • Future Work: The paper suggests that the framework's adaptability can be further explored for applications like colorization with natural images as references, demonstrating its generalization capabilities. The authors also mention the code will be made publicly available, encouraging further research and development in this area.

Summary updated

BibTeX
@inproceedings{zhang2025animecolor,
  author = {Yuhong Zhang and Liyao Wang and Han Wang and Danni Wu and Zuzeng Lin and Feng Wang and Li Song},
  title = {{AnimeColor: Reference-based Animation Colorization with Diffusion Transformers}},
  booktitle = {ACM Multimedia},
  year = {2025},
  doi = {10.1145/3746027.3755524},
}
Figure