Abstract
Video colorization is a complex task requiring both visual realism and temporal consistency. This paper presents a fully automatic framework for video colorization based on Deep Diffusion Probabilistic Models (DDPM). By operating within a compressed latent space and utilizing a novel "hotline" of visual attention features for conditioning, the proposed model achieves high-quality results with significant computational efficiency. Evaluation on the DAVIS and LDV datasets demonstrates superior performance in terms of Fréchet Inception Distance (FID) and Color Distribution Consistency (CDC) compared to existing state-of-the-art methods.
Introduction
While deep learning has revolutionized image colorization, extending these successes to video remains challenging. Key issues include maintaining temporal consistency to prevent flickering, reducing the need for manual user input (such as scribbles or reference frames), and managing the high computational cost of processing high-resolution video sequences. This research addresses these challenges by implementing a fully automatic latent diffusion-based approach that requires only monochromatic video as input.
Methodology
The core of the proposed system is a Latent Diffusion Model (LDM) architecture. By performing diffusion in a compressed latent space rather than the high-dimensional pixel space, the model significantly reduces resource requirements while maintaining generative quality.
The architecture, as illustrated in Figure 3, consists of four primary modules:
- Encoder ($\mathcal{E}$): A pre-trained ImageNet model that maps colored training frames into the latent space to provide ground truth targets.
- Visual Attention Conditioning (VAC): Utilizing a Vision Transformer (ViT-B/32), this module analyzes grayscale input frames to generate a feature representation termed the "hotline." This signal guides the diffusion process by providing semantic context.
- Diffusion Model Latent Colorization (DMLC): A U-Net-based diffusion engine that iteratively removes noise from a latent representation, guided by the "hotline" features.
- Decoder ($\mathcal{D}$): A pre-trained component that reconstructs the final colored image from the denoised latent representation.
The "hotline" concept is a pivotal innovation, allowing the model to understand scene context—such as distinguishing between a vehicle and vegetation—before generating color.
Experimental Results
The model was trained and validated using the DAVIS (120 videos) and LDV (200 videos) datasets, and benchmarked against NTIRE 2023 standards.
Quantitative Analysis
The framework was compared against several leading methods, including those by Lei et al., Chen et al., and Huang et al.
- Visual Quality: The model achieved an FID score of $5.02 \times 10^{-4}$, outperforming competitors and indicating higher realism.
- Temporal Stability: A CDC score of $3.19 \times 10^{-3}$ was recorded, reflecting low inter-frame flickering.
- Reconstruction Accuracy: The PSNR was 27.95 dB. While slightly lower than some specialized methods, the authors argue that FID better represents human perceptual quality in generative tasks.
Qualitative Analysis
Visual evaluations show that the model effectively identifies complex objects and applies vibrant, realistic colors. While some "color leaking" occurs at fine boundaries in highly complex scenes, the overall output closely resembles the ground truth.
Conclusion and Future Work
This study demonstrates that latent diffusion models, when properly conditioned with visual attention features, can provide a robust and efficient solution for automatic video colorization. The use of a "hotline" signal ensures semantic accuracy, while the latent space operation allows for training on modest hardware like a single GTX 1080 Ti.
Future research will focus on scaling the architecture for higher resolutions, addressing color leaking through improved boundary modeling, and incorporating explicit temporal layers (like 3D convolutions) to further enhance frame-to-frame consistency.
Summary updated