As the AI landscape moves toward models increasingly trained on synthetic data, understanding the "utility" of that generated data is paramount. For synthetic images to be truly useful, they must be high-quality (aesthetically pleasing), diverse (covering many variations), and consistent (accurately reflecting the requested prompt).
While "prompt engineering" is the standard method for interacting with text-to-image (T2I) models like Stable Diffusion, the systematic impact of prompt complexity—its length and level of detail—on these three goals has remained underexplored. Most users assume that "more detail is better." However, this paper investigates that assumption, revealing a fundamental trade-off: while highly detailed prompts help synthetic data better match real-world distributions, they simultaneously reduce image diversity and make it harder for the model to follow every instruction perfectly.
Methodology
The researchers approached the problem in two stages, combining theoretical modeling with large-scale empirical evaluation.
1. Synthetic "Toy" Experiments
To understand the theoretical underpinnings of prompt complexity, the researchers first conducted synthetic experiments using a simple Mixture of Gaussians to represent data distributions.
This setup allowed them to mathematically derive why it is harder for diffusion models to generalize to general prompts (e.g., "a cat") than to specific ones (e.g., "a black cat"). They frame general prompts as an OR operator (white cat OR black cat) and specific prompts as an AND operator (black AND cat).
2. A Novel Evaluation Framework
Comparing synthetic images to real ones is notoriously tricky because real datasets have fixed, often simple captions. To solve this, the authors developed a pipeline that:
- Captions real images at different complexity levels using a Large Language Model (Gemma).
- Pairs these new captions with semantically similar real images.
- Aligns the sets to ensure a fair "apples-to-apples" comparison between real and synthetic data across varying prompt lengths.
They also tested several inference-time interventions to improve results, including standard Classifier-Free Guidance (CFG), advanced guidance techniques like APG and CADS, and Prompt Expansion (using an LLM to enrich a short prompt before generation).
Datasets
The study utilized three diverse datasets to ensure the findings generalized across different types of images:
- CC12M: A massive, noisy, internet-crawled dataset used to study general prompt detail.
- ImageNet-1k: A curated, object-centric dataset used to study "concept specificity" (e.g., "working dog" vs. "Siberian husky").
- DCI (Densely Captioned Images): A human-curated dataset with exceptionally long, detailed descriptions, used to push the limits of prompt length.
Key Findings and Insights
The "OR" is Harder than "AND"
Diffusion models are surprisingly adept at zero-shot composition (combining "black" and "dog"). However, when given a general prompt like "cat," they tend to collapse toward an "average" representation rather than showing the full diversity of all possible cat breeds. This occurs because diffusion models learn the score (the direction to move in pixel space) but not the likelihood (how much of each specific type exists in the training data).
The Diversity Plateau
As prompts get longer and more specific, diversity naturally drops because the "search space" for the image is heavily constrained. Interestingly, the authors found a "lower bound of diversity"—it doesn't collapse entirely to zero but rather plateaus, suggesting that T2I models maintain some inherent randomness even under strict constraints.
Prompt Expansion as a "Cheat Code"
Using an LLM to expand a simple prompt into a detailed one consistently yielded the best overall results. By deliberately using a pre-trained language model as a likelihood estimator, Prompt Expansion boosted both aesthetics and diversity, sometimes even surpassing the diversity found in the original real-world data.
The Consistency Struggle
T2I models have a distinct "sweet spot" for prompt length. As prompts become extremely long (such as those in the DCI dataset), the model’s ability to remain consistent with the text drops sharply. Models simply struggle to keep track of 50+ words of granular detail, leading to omitted concepts.
Distribution Shifts and Guidance Trade-offs
Increasing prompt complexity reduces the "synthetic-to-real" gap (measured by Frechet Distance), helping the model stay within the manifold of what looks like a real photo. Furthermore, while advanced guidance methods (like APG) significantly improve diversity compared to standard CFG, they often do so at the cost of prompt consistency. Ultimately, combining Prompt Expansion with APG resulted in the most appealing trade-off between quality, diversity, and consistency.
Limitations and Future Work
The authors acknowledge that their evaluation framework relies on LLMs for captioning and expansion, which inherently introduces potential LLM biases (such as "aesthetic centering") into the synthetic data. Additionally, the relatively small size of the DCI dataset limited their ability to conduct full-scale comparisons with real data at extreme prompt lengths.
Future work could explore how to bake "likelihood estimation" directly into the diffusion training process. Solving this missing piece for general prompts could reduce the reliance on inference-time interventions like prompt expansion, leading to more robust and naturally diverse generative models.
Summary updated