[Paper Review] Learning Diverse Image Colorization
This paper proposes a method to generate diverse, realistic colorizations for single grayscale images by learning a low-dimensional latent embedding of color fields via a variational autoencoder (VAE) and modeling a multi-modal conditional distribution between input grayscale features and the latent codes. The approach outperforms standard CVAE and cGAN baselines in generating diverse, spatially coherent colorizations with improved perceptual quality and higher variance in predictions.
Colorization is an ambiguous problem, with multiple viable colorizations for a single grey-level image. However, previous methods only produce the single most probable colorization. Our goal is to model the diversity intrinsic to the problem of colorization and produce multiple colorizations that display long-scale spatial co-ordination. We learn a low dimensional embedding of color fields using a variational autoencoder (VAE). We construct loss terms for the VAE decoder that avoid blurry outputs and take into account the uneven distribution of pixel colors. Finally, we build a conditional model for the multi-modal distribution between grey-level image and the color field embeddings. Samples from this conditional model result in diverse colorization. We demonstrate that our method obtains better diverse colorizations than a standard conditional variational autoencoder (CVAE) model, as well as a recently proposed conditional generative adversarial network (cGAN).
Motivation & Objective
- To address the inherent ambiguity in image colorization by generating multiple realistic, diverse colorizations for a single grayscale input.
- To model long-range spatial coherence in color fields, avoiding the speckled noise caused by independent per-pixel sampling.
- To learn a smooth, low-dimensional latent representation of color fields that preserves spatial structure and enables high-fidelity decoding.
- To build a multi-modal conditional model $P(\mathbf{z}|\mathbf{G})$ that captures diverse colorization modes from grayscale features.
- To improve upon existing methods like CVAE and cGAN by generating more diverse and perceptually natural colorizations.
Proposed method
- A variational autoencoder (VAE) is trained to encode color fields $\mathbf{C}$ into a low-dimensional latent code $\mathbf{z}$, with a custom decoder loss to reduce blurriness and improve fidelity.
- The VAE incorporates a specificity loss and a colorfulness-weighted L1 loss to better handle imbalanced pixel color distributions and preserve vividness.
- Grayscale image features $\mathbf{G}$ are extracted from the conv-7 layer of a pre-trained colorization CNN, capturing spatial and color-affinity information.
- A Mixture Density Network (MDN) is used to model the multi-modal conditional distribution $P(\mathbf{z}|\mathbf{G})$, enabling diverse sampling of latent codes.
- At test time, multiple $\mathbf{z}_k \sim P(\mathbf{z}|\mathbf{G})$ are sampled and decoded into diverse, spatially coherent colorizations $\mathbf{C}_k$.
- The method combines VAE-based reconstruction with conditional modeling to balance diversity and realism in colorization outputs.
Experimental results
Research questions
- RQ1Can a low-dimensional latent space for color fields be learned such that it preserves spatial coherence and enables high-fidelity reconstruction?
- RQ2How can a multi-modal conditional model $P(\mathbf{z}|\mathbf{G})$ be constructed to generate diverse yet realistic colorizations from a single grayscale input?
- RQ3Can loss functions that account for color distribution imbalance and spatial structure improve the quality and diversity of generated colorizations?
- RQ4How does the proposed method compare to CVAE and cGAN baselines in generating diverse, perceptually plausible colorizations?
- RQ5To what extent can variance in generated colorizations serve as a proxy for diversity when ground-truth diversity is unavailable?
Key findings
- The proposed method achieves higher variance in diverse colorizations compared to CVAE and cGAN, indicating better diversity, while maintaining comparable error-of-best to ground truth.
- The inclusion of specificity and colorfulness-weighted L1 losses reduces blurriness and improves perceptual quality, especially in skin tones and vivid regions like grass and sky.
- On the LFW and LSUN Church datasets, the method achieves lower mean absolute error and weighted absolute error than standard L2 loss, despite not being trained for these metrics.
- Qualitative results show diverse colorizations with varied skin tones, clothing colors, and background hues, demonstrating effective modeling of multiple plausible modes.
- The method outperforms CVAE and cGAN in generating diverse, artifact-free colorizations, with cGAN failing to produce diversity and CVAE producing low-variance, noisy outputs.
- The use of a VAE-based latent space enables high-fidelity color field reconstruction, while the MDN-based conditional model successfully captures multi-modal dependencies.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.