[Paper Review] Text2Colors: Guiding Image Colorization through Text-Driven Palette Generation.
This paper introduces Text2Colors, a method that generates multiple semantically aligned color palettes from text inputs—ranging from single words to full sentences—using a conditional GAN framework. It leverages a sequence-to-sequence model with attention for text-to-palette generation and a U-Net-based network for palette-guided image colorization, achieving human preference for generated palettes over ground truth and effective semantic colorization.
In this paper, we propose a novel approach to generate multiple color palettes that reflect the semantics of input text and then colorize a given grayscale image according to the generated color palette. In contrast to existing approaches, our model can understand rich text, whether it is a single word, a phrase, or a sentence, and generate multiple possible palettes from it. To achieve this task, we introduce our manually curated dataset called Palette-and-Text (PAT), which consists of 10,183 pairs of text and its corresponding color palette. Our proposed model consists of two conditional generative adversarial networks: the text-to-palette generation networks and the palette-based colorization networks. The former employs a sequence-to-sequence model with an attention module to capture the semantics of the text input and produce relevant color palettes. The latter utilizes a U-Net architecture to colorize a grayscale image using the generated color palette. Our evaluation results show that people preferred our generated palettes over ground truth palettes and that our model can effectively reflect the given palette when colorizing an image.
Motivation & Objective
- To enable text-driven generation of multiple diverse color palettes that reflect semantic content.
- To address the limitation of existing colorization methods that rely on fixed or single palettes.
- To develop a model capable of interpreting rich text inputs, including phrases and sentences, for palette generation.
- To create a dataset that supports training and evaluation of text-to-color-palette models.
- To improve image colorization quality by aligning generated colors with semantic text descriptions.
Proposed method
- The model uses a sequence-to-sequence architecture with an attention mechanism to encode text inputs and generate corresponding color palettes.
- A conditional generative adversarial network (cGAN) is employed for text-to-palette generation, ensuring realistic and diverse palette outputs.
- A separate cGAN-based U-Net network performs image colorization conditioned on the generated color palette.
- The training process involves a manually curated dataset of 10,183 text-palette pairs, named Palette-and-Text (PAT), for supervised learning.
- The model is trained end-to-end with adversarial loss and perceptual loss to ensure semantic fidelity and visual quality.
- Text embeddings are used to condition both the palette generation and colorization networks, enabling semantic alignment.
Experimental results
Research questions
- RQ1Can a model generate multiple semantically relevant color palettes from diverse text inputs such as single words, phrases, or sentences?
- RQ2How well do the generated color palettes reflect the semantic meaning of the input text compared to ground truth palettes?
- RQ3Can palette-guided image colorization produce more semantically consistent results than baseline methods?
- RQ4Does human preference favor generated palettes over ground truth palettes in controlled evaluations?
- RQ5To what extent does the model preserve semantic content when transferring text semantics to image colorization?
Key findings
- Human evaluators preferred the generated color palettes over ground truth palettes in direct comparison, indicating strong semantic alignment and aesthetic quality.
- The model successfully generated multiple diverse palettes from the same text input, reflecting different interpretations of the semantic content.
- Palette-based colorization achieved high visual fidelity, with generated images closely matching the semantic intent of the input text.
- The attention mechanism in the sequence-to-sequence model effectively captured long-range dependencies in text, improving palette relevance.
- The U-Net architecture with conditional batch normalization enabled precise colorization that adhered closely to the generated palette.
- The proposed PAT dataset of 10,183 text-palette pairs provides a valuable benchmark for future research in text-guided colorization.
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.