Introduction: The Challenge of Automated Poster Design
In professional graphic design, text is more than just a carrier of information; it is a visual element that must harmonize with its environment. Designers meticulously select colors, gradients, and styles that complement the background while ensuring that key semantic information—such as "Limited Edition" or "New Arrival"—is visually emphasized. While AI has automated layout and copywriting, the pixel-level rendering of harmonious, semantically-aware text has remained a manual task.
This paper introduces TextPainter, a generative model designed for the TIGER (Text Image Generation for Posters) task. TextPainter automates the creation of text that is both visually integrated into a poster's background and stylistically responsive to the meaning of the words.
The TIGER Task and PosterT80K Dataset
To facilitate research in this area, the authors defined the TIGER task: generating a text image based on a background image, a target bounding box, and a text string. To support this, they curated PosterT80K, a massive dataset containing 87,529 posters and over 342,000 individual text elements. Each element is annotated with its bounding box and content. To train the model, the researchers used inpainting to erase existing text, creating "clean" backgrounds that the model must then learn to "paint" back into with professional-grade harmony.
The TextPainter Framework
TextPainter utilizes a multimodal architecture built on three core technical innovations:
- Visual Harmony via StyleGAN: The model employs a dual-path encoder to analyze both the global poster context and the local patch where text will be placed. This context guides a StyleGAN-based generator to produce textures and colors that blend naturally with the background.
- Semantic-Aware Text Comprehension: Leveraging a pre-trained Chinese-CLIP model, TextPainter performs both sentence-level and word-level fusion. A Semantic-Aware Cross-Attention mechanism identifies keywords within a sentence, allowing the model to apply distinct visual styles (e.g., different colors or weights) to the most important words.
- Contextual Padding: To avoid the "boxy" artifacts common in standard convolutional padding, TextPainter uses actual pixels from the surrounding background during training. This ensures the generated text integrates seamlessly into the final composition.
Evaluation and Results
TextPainter was evaluated against several baseline methods using both quantitative metrics and human judgment:
- Quantitative Performance: The model achieved state-of-the-art results in structural and color accuracy, with an SSIM of 0.7042 and a PSNR of 33.49, significantly outperforming retrieval-based and classification-based baselines.
- Qualitative User Study: In a study involving 30 participants, TextPainter’s designs were preferred 50.65% of the time, compared to 36.88% for the next best method. Users specifically noted the model's ability to create a clear hierarchy of information through semantic emphasis.
Conclusion and Future Work
TextPainter demonstrates that high-quality graphic design requires a synthesis of visual context and linguistic understanding. By treating style as an implicit variable inferred from the background and using semantics to drive design choices, the model moves closer to human-level creative intuition. Future iterations aim to expand the model's capabilities to other scripts beyond Chinese and to provide designers with more granular control over the generated styles.
Summary updated