[Paper Review] Tag2Pix: Line Art Colorization Using Text Tag With SECat and Changing Loss
Tag2Pix proposes a GAN-based method for line art colorization using text-based color tags, introducing SECat (Squeeze-and-Excitation with Concatenation) for improved multi-label segmentation and a two-step training strategy with changing loss to stabilize learning. The approach achieves state-of-the-art performance in colorization quality, especially for fine details like eyes, with a 39.21 FID score on a real-world dataset.
Line art colorization is expensive and challenging to automate. A GAN approach is proposed, called Tag2Pix, of line art colorization which takes as input a grayscale line art and color tag information and produces a quality colored image. First, we present the Tag2Pix line art colorization dataset. A generator network is proposed which consists of convolutional layers to transform the input line art, a pre-trained semantic extraction network, and an encoder for input color information. The discriminator is based on an auxiliary classifier GAN to classify the tag information as well as genuineness. In addition, we propose a novel network structure called SECat, which makes the generator properly colorize even small features such as eyes, and also suggest a novel two-step training method where the generator and discriminator first learn the notion of object and shape and then, based on the learned notion, learn colorization, such as where and how to place which color. We present both quantitative and qualitative evaluations which prove the effectiveness of the proposed method.
Motivation & Objective
- To address the high cost and difficulty of manual line art colorization in the illustration industry.
- To develop a low-effort, user-friendly method for colorizing line art using only text-based color tags, avoiding complex inputs like color strokes or reference images.
- To improve the accuracy of colorization on small, fine-grained features such as eyes and hair, which are often poorly rendered in existing methods.
- To enhance training stability and performance in GAN-based colorization through a novel two-step training scheme and loss adaptation.
- To release a new dataset and pre-trained models to support reproducibility and future research.
Proposed method
- The method uses a conditional GAN framework based on Auxiliary Classifier GAN (ACGAN), where the discriminator classifies both image authenticity and input color tags.
- A novel network module, SECat (Squeeze-and-Excitation with Concatenation), is introduced to dynamically emphasize relevant color features across spatial locations, improving attention to small features.
- The generator integrates a pre-trained semantic encoder for line art and a dedicated CVT (Color Variant Tag) encoder to process text-based color hints.
- A two-step training strategy is employed: first, the network learns object and shape segmentation using a reconstruction loss, then it learns colorization with a combined adversarial and perceptual loss.
- The loss function is dynamically adjusted across training steps, prioritizing segmentation in early phases and colorization in later phases.
- The generator uses skip connections and feature concatenation to preserve spatial details, with CVT features injected via SECat blocks at multiple decoder stages.
Experimental results
Research questions
- RQ1Can a text-based tag system effectively replace complex color hints (e.g., color strokes or reference images) in line art colorization?
- RQ2Does the SECat module significantly improve the colorization of small, fine-grained features such as eyes and hair?
- RQ3Can a two-step training strategy with changing loss improve both training stability and final colorization quality in GAN-based line art colorization?
- RQ4How does the proposed method compare quantitatively and qualitatively to existing GAN-based and non-GAN-based colorization approaches?
- RQ5To what extent does the use of a dedicated dataset and pre-trained components enhance performance and reproducibility?
Key findings
- The SECat module achieved the lowest Fréchet Inception Distance (FID) of 39.21 on the test set, outperforming ResNeXt (52.49), SE-ResNeXt (45.48), and other embedding methods.
- SECat achieved the best FID with fewer parameters (15.81M) than comparable methods like Concat all (17.37M), indicating higher efficiency.
- User studies showed that SECat scored highest in segmentation (3.51), naturalness (3.60), accuracy (3.60), and overall quality (3.54), outperforming all baselines.
- Qualitative results demonstrated that only SECat correctly colorized small features like eyes and hair, even with ambiguous or sparse tags.
- The two-step training strategy led to faster convergence and improved stability, with the network achieving optimal FID after 10 epochs in the second phase.
- The proposed Tag2Pix dataset, comprising 4,127 real-world line art illustrations with corresponding color tags, enables high-fidelity, reproducible training and evaluation.
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.