[Paper Review] Colorization Transformer
The Colorization Transformer (ColTran) introduces a novel, fully self-attention-based architecture for high-fidelity, diverse image colorization using conditional transformer layers and a three-stage process: coarse autoregressive colorization at low resolution, followed by parallel spatial and color super-resolution. It achieves state-of-the-art performance with an FID of 19.37 and surpasses human preference for ground-truth images in 62% of cases on Mechanical Turk evaluations.
We present the Colorization Transformer, a novel approach for diverse high fidelity image colorization based on self-attention. Given a grayscale image, the colorization proceeds in three steps. We first use a conditional autoregressive transformer to produce a low resolution coarse coloring of the grayscale image. Our architecture adopts conditional transformer layers to effectively condition grayscale input. Two subsequent fully parallel networks upsample the coarse colored low resolution image into a finely colored high resolution image. Sampling from the Colorization Transformer produces diverse colorings whose fidelity outperforms the previous state-of-the-art on colorising ImageNet based on FID results and based on a human evaluation in a Mechanical Turk test. Remarkably, in more than 60% of cases human evaluators prefer the highest rated among three generated colorings over the ground truth. The code and pre-trained checkpoints for Colorization Transformer are publicly available at https://github.com/google-research/google-research/tree/master/coltran
Motivation & Objective
- Address the challenge of generating diverse, high-fidelity colorizations for grayscale images using deep learning.
- Overcome limitations of previous autoregressive and CNN-based models in capturing global context and producing perceptually realistic outputs.
- Develop a transformer-based architecture that enables efficient, high-resolution colorization through conditional attention mechanisms.
- Improve upon existing methods by combining autoregressive modeling with parallel super-resolution for faster, higher-quality inference.
- Demonstrate that model-generated colorizations can be preferred over ground-truth images in human evaluations, indicating perceptual realism.
Proposed method
- Employ a conditional axial transformer for coarse, low-resolution (64×64) autoregressive colorization, where conditioning is applied via learnable per-pixel and per-channel components in the self-attention layers.
- Introduce conditional transformer layers that explicitly incorporate grayscale input through multiple learnable components, improving conditioning fidelity over simple input addition.
- Decompose high-resolution (256×256) colorization into three stages: coarse autoregressive colorization, followed by two parallel fully connected networks for spatial and color super-resolution.
- Use a semi-parallel sampling mechanism in the axial transformer to accelerate inference while maintaining high-quality autoregressive generation.
- Train an auxiliary parallel prediction model jointly with the coarse colorization model to improve FID scores through improved feature learning.
- Apply fast, deterministic upsampling for final high-resolution output, enabling efficient generation at 256×256 resolution.
Experimental results
Research questions
- RQ1Can a self-attention-based model achieve state-of-the-art performance in image colorization while maintaining diversity and high fidelity?
- RQ2How does explicit conditioning via learnable components in transformer layers compare to input-biasing or additive conditioning in autoregressive colorization?
- RQ3To what extent does joint training with an auxiliary super-resolution model improve colorization quality and FID scores?
- RQ4Can autoregressive transformers with axial attention efficiently generate high-resolution colorizations without custom kernels or complex attention mechanisms?
- RQ5How do human preferences for generated colorizations compare to ground-truth images in terms of realism and perceptual quality?
Key findings
- ColTran achieves a new state-of-the-art FID score of 19.37 on ImageNet 256×256 grayscale images, significantly outperforming prior methods including PixColor (24.32) and cINN (25.13).
- The model's best-of-three colorizations are preferred over the ground-truth image in 62.0% of cases in a Mechanical Turk 2AFC test, indicating superior perceptual realism.
- ColTran-B, the baseline Axial Transformer with input addition, achieves a FID of 19.98, while ColTran-S (trained on 28×28) achieves 22.06, demonstrating the benefit of higher-resolution autoregressive modeling.
- A moderate positive correlation (0.57) exists between log-likelihood and FID, suggesting that improved likelihood modeling leads to better perceptual quality.
- Visualizations show high uncertainty at object boundaries and complex textures, confirming that the model learns to reason about ambiguous color transitions.
- The auxiliary parallel prediction model contributes to improved FID, validating its role in enhancing feature representation and color fidelity during training.
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.