Introduction
Modern text-to-image (T2I) diffusion models are capable of generating stunningly realistic imagery, yet they remain notoriously "alliterate." Even state-of-the-art models frequently struggle to render simple words correctly within a scene. This limitation hinders the adoption of T2I models in fields like automated advertising, UI design, and educational content creation.
TextInVision is a comprehensive new benchmark comprising over 50,000 prompts designed to systematically stress-test the text-rendering capabilities of T2I models. By distinguishing between text complexity (the difficulty of the word itself) and prompt complexity (the density of the surrounding scene), the researchers provide a granular look at where current architectures fail.
Systematic Evaluation Framework
The researchers developed a framework to evaluate models across two primary axes:
- Prompt Complexity: Categorized into "Simple" (text-focused) and "Complex" (text as part of a detailed scene).
- Text Attributes: Variations based on word frequency, Oxford 5000 difficulty levels, string length, and the inclusion of special characters or gibberish.
Performance is measured using OCR-based edit distance and human evaluation. A unique "VAE-only" experiment was also conducted to isolate the impact of image compression on text legibility.
The TextInVision Benchmark
The benchmark includes:
- TextInVision Dataset: 50,000+ prompts covering six real-world domains: Advertisements, Educational Content, Logos/Branding, Maps/Flowcharts, Objects/Scenes, and Posters.
- VAE Test Set: 1,000 high-resolution real-world images used to evaluate the reconstruction limits of Variational Autoencoders.
Key Insights: Why Models Fail
The study identifies several critical factors that impede accurate text generation:
The VAE Bottleneck
A major, often overlooked source of error is the Variational Autoencoder (VAE). If the VAE cannot reconstruct text from a real image during the compression/decompression phase, the diffusion model cannot be expected to generate it. The Flux VAE achieved a 51% word retention rate, while the SD 1.5 VAE managed only 39%, indicating a significant hardware-level bottleneck.
Semantic Pressure and Word Length
Interestingly, models often perform better on gibberish than on rare real words. The authors hypothesize that rare words exert "semantic pressure," causing the model to "correct" them into more frequent terms. Furthermore, word length is a much greater predictor of failure than linguistic difficulty. Models struggle significantly as character counts increase, often losing coherence mid-sentence.
Prompt Distraction
As prompts become more descriptive, text accuracy drops. The model's attention is divided between the scene's context and the specific spelling requirements, leading to "distraction" where the text becomes a secondary priority.
Results and Performance
Flux, SD 3.5, and SD 3 emerged as the top-performing models, significantly outclassing older architectures like SD-XL. However, even these leaders show a sharp decline in performance as prompt complexity increases. Human evaluation confirmed that automated OCR metrics (like edit distance) are reliable proxies for legibility, showing a strong negative correlation with human-rated accuracy.
Future Directions
The authors suggest that future research should prioritize:
- Text-Aware VAEs: Designing compression stages that specifically preserve high-frequency textual details.
- Long-Text Coherence: Improving the model's ability to maintain spelling accuracy over strings exceeding 15 characters.
- Instruction Prioritization: Developing methods to ensure models weight text instructions heavily, even within dense, complex prompts.
Summary updated