Generating realistic text within natural scene images—such as street signs, billboards, or storefronts—remains a "boss level" challenge for generative AI. Unlike text on posters or covers, scene text must integrate seamlessly with complex, three-dimensional environments. In this paper, the authors introduce SceneVTG++, a two-stage framework designed to generate high-fidelity, context-aware, and controllable multilingual text.
The Four Pillars of Scene Text Generation
To move beyond simple overlays, the researchers identify four key criteria that a robust system must satisfy:
- Fidelity: The generated text must appear photographically realistic and be stroke-accurate, avoiding the "gibberish" common in earlier models.
- Reasonability: Text must be placed on logical carriers (e.g., a wall, not the sky) and the content must match the context (e.g., "Domestic Arrivals" at an airport).
- Utility: The synthetic images must be of high enough quality to serve as training data for Optical Character Recognition (OCR) systems.
- Controllability: Users should be able to specify exact fonts, colors, and languages.
The SceneVTG++ Framework
SceneVTG++ addresses these requirements through a specialized two-stage pipeline that separates "thinking" from "drawing."
Stage 1: Text Layout and Content Generator (TLCG)
This stage acts as the system's "brain." It utilizes a fine-tuned Multi-Modal Large Language Model (MMLM), specifically LLaVA, to analyze a background image. By leveraging the model's inherent world knowledge, TLCG suggests where text should be placed and what it should say based on the surrounding scene. It employs a two-step "Chain-of-Thought" process: first identifying proposal points, then defining precise bounding boxes.
Stage 2: Controllable Local Text Diffusion (CLTD)
This stage acts as the "artist." While standard models like Stable Diffusion operate in a compressed latent space that often blurs small text, CLTD works at the pixel level. It renders text locally within the regions defined by Stage 1, using conditioning for glyphs, font stroke masks, and precise RGB values for color control.
Multilingual Mastery and Data Innovation
A major contribution of this work is its performance across different scripts. By training on a diverse set of languages, SceneVTG++ can generate complex characters (such as Chinese or Hindi) that maintain their structural integrity within a scene.
To support this, the researchers introduced two new datasets:
- SceneVTG-Erase++: A dataset of 197K image pairs where real-world text was erased, teaching the model how text integrates with complex backgrounds.
- SceneVTG-Syn: A synthetic dataset of 100K pairs designed to maximize font and color diversity.
Key Results and Utility
SceneVTG++ significantly outperforms previous state-of-the-art models like AnyText and TextDiffuser-2. In English text generation, it achieved a Line Accuracy (LA) of 74.93%, nearly doubling the performance of AnyText (37.17%). In multilingual tasks, the lead was even more pronounced, with SceneVTG++ reaching 42.71% accuracy compared to AnyText’s 10.59%.
Crucially, the framework excels in Utility. When an OCR model was trained using synthetic data from SceneVTG++, its recognition accuracy on real-world benchmarks improved by over 12% compared to models trained on other synthetic datasets. This proves that the generated images are not just visually pleasing but are technically accurate enough to train other AI systems.
Conclusion
By combining the reasoning power of MMLMs with pixel-level diffusion, SceneVTG++ provides a comprehensive solution for generating controllable, realistic scene text. While the two-stage process is computationally heavier than simple rendering, the resulting fidelity and utility represent a significant step forward for both generative media and OCR training.
Summary updated