Abstract
Image colorization is a challenging ill-posed problem requiring both deep semantic understanding and precise structural preservation. This paper presents a novel framework that "piggybacks" on the semantic richness of pre-trained Text-to-Image (T2I) diffusion models. By decoupling the colorization process into a diffusion guider for semantic color priors and a lightness-aware VQVAE for structural fidelity, the proposed method achieves state-of-the-art results. The approach ensures that colorized outputs are not only semantically plausible but also perfectly aligned with the original grayscale input's fine details.
Introduction
Colorizing a grayscale image is a "one-to-many" task: a single luminance value can correspond to various chrominance possibilities. To produce realistic results, a model must possess a "human-like" global understanding of the scene—for instance, recognizing that while a sky is typically blue, a "sunset" context necessitates orange and red hues.
Existing colorization methods frequently encounter two primary obstacles:
- The Semantic Gap: Models often lack the contextual depth required to color complex objects accurately, resulting in desaturated or "bleeding" colors.
- Structural Distortion: While large-scale generative models like Stable Diffusion offer vast semantic knowledge, they operate in compressed latent spaces. Direct application to colorization often leads to a loss of fine textures and sharp edges present in the original grayscale source.
This research bridges these gaps by leveraging the massive color priors of T2I models while introducing architectural safeguards to maintain pixel-perfect structural alignment.
Methodology: The Piggyback Framework
The proposed architecture avoids the prohibitive cost of training large generative models from scratch by utilizing a two-component system that "piggybacks" on existing weights.
1. The Diffusion Guider
Rather than fine-tuning the entire Stable Diffusion model, the authors keep the pre-trained U-Net weights frozen. They introduce a Diffusion Guider module that processes the grayscale image and optional text prompts. This module "hijacks" the denoising process, guiding the model to generate a latent color prior—a low-resolution representation of the intended color scheme based on the scene's semantics.
2. Lightness-aware VQVAE
Standard latent diffusion decoders often struggle with high-frequency detail reconstruction. To address this, the authors modified the VQVAE decoder by adding a Grayscale Encoder. This encoder provides a "shortcut" for high-resolution structural information (lightness) directly to the decoder. This ensures that the final output retains every original detail—from skin texture to fine foliage—while the color information is derived from the diffusion-generated latent prior.
Experimental Setup
The Diffusion Guider was trained on the COCO dataset, while the lightness-aware VQVAE utilized ImageNet. Evaluation was conducted across several benchmarks:
- ImageNet-ctest: 10,000 images for quantitative assessment.
- COCO-Stuff: 5,000 images for semantic complexity testing.
- KeystoneDepth: Used to demonstrate performance on real-world historical photographs.
Key Insights and Results
The core innovation lies in the realization that re-learning visual semantics is unnecessary if a model like Stable Diffusion already possesses them. By freezing main weights and using a guider, the system gains the benefits of a billion-parameter model with significantly reduced training overhead.
Multimodal Control and Semantic Accuracy
Because the system is built on a T2I backbone, it naturally supports multimodal inputs. Users can colorize images automatically, provide text prompts for specific moods, or use "color hint" points to guide the process.
Quantitative Performance
The model achieved state-of-the-art (SOTA) performance on the Fréchet Inception Distance (FID) metric. On the COCO-Stuff dataset, it reached an FID of 8.23, a significant improvement over previous hybrid models like DISCO (10.59). Qualitative user studies further confirmed a strong preference for this method, particularly in its ability to follow complex semantic prompts (e.g., distinguishing between "rainy day" and "at night") compared to existing multi-modal colorizers.
Conclusion and Limitations
While the framework sets a new standard for semantically-aware colorization, some limitations remain. The current implementation is optimized for $256 \times 256$ resolutions, matching the base Stable Diffusion v1.4 architecture. Additionally, the iterative nature of diffusion sampling makes inference slower than single-pass CNN-based methods, requiring GPU acceleration for practical use. Future work may involve extending the model to higher resolutions and exploring domain-specific fine-tuning for non-natural imagery.
Summary updated