TL;DR
This paper is a reproducibility study of ITI-GEN, a method designed to make text-to-image generation more inclusive. While ITI-GEN largely succeeds in improving diversity and quality, it struggles with disentangling certain attributes and scales poorly with multiple attributes. The authors propose Hard Prompt Search with negative prompting (HPSn) as a complementary method, particularly for handling negations and complex attribute combinations.
What Problem Does This Paper Address?
Text-to-image generative models, while impressive, often inherit biases from their training data. This can lead to generated images that underrepresent or misrepresent certain demographic groups (e.g., based on gender, skin tone, or age). The original ITI-GEN paper aimed to address this by introducing "fair tokens" that could be appended to text prompts to guide the model towards more inclusive outputs. This study aims to reproduce and critically evaluate the claims made by the ITI-GEN authors, identifying both its strengths and weaknesses.
Methods
The core of this work is a rigorous reproducibility study of the ITI-GEN method. The authors implemented ITI-GEN, trained it on various datasets, and generated images to test its claims. They also explored extensions and alternatives:
- Reproducing ITI-GEN: The authors followed the original paper's methodology, using CLIP for image classification and FID scores for image quality assessment.
- Hard Prompt Search with Negative Prompting (HPSn): As an alternative approach, they investigated Hard Prompt Search (HPS) combined with negative prompting. This method directly modifies the text prompt to include or exclude specific attributes, without requiring separate training for fair tokens.
- Combining ITI-GEN and HPSn: The study explored a hybrid approach, leveraging ITI-GEN for attributes difficult to express in text (like continuous ones) and HPSn for attributes that are easier to specify or involve negation.
- ControlNet Integration: The authors also tested the plug-and-play capability of ITI-GEN by integrating it with ControlNet, a model that allows for conditioning image generation on various inputs like depth maps or human poses.
Datasets
The study utilized the following datasets for training ITI-GEN and evaluating its performance:
- CelebA: A large-scale face attribute dataset with 40 binary attributes. Used for training and evaluating ITI-GEN on various attributes.
- FAIR: A synthetic face dataset with six skin tone levels.
- FairFace: A face dataset annotated with age, gender, and race.
- Landscapes HQ (LHQ): A dataset of natural scene images with 11 attributes.
For evaluation, the study also referenced:
- Flickr-Face-HQ Dataset (FFHQ): Used as a reference dataset for FID score calculations.
Key Insights and Ideas
- ITI-GEN's Successes: The study confirms that ITI-GEN generally improves image diversity and quality, is scalable to different domains (faces, landscapes), and exhibits plug-and-play capabilities. Its data and computational efficiency are also validated.
- The "Proxy Feature" Problem: A significant finding is that ITI-GEN can inadvertently use undesired attributes as proxies. For example, when learning about "baldness," it might rely on "gender" because most bald individuals in the training data are men. This can lead to entanglement where the model struggles to generate specific combinations (e.g., bald women).
- Scalability Limits: The claim of scalability to multiple attributes is challenged. As the number of attributes increases, ITI-GEN's training time grows exponentially, and it struggles to generate truly diverse images across all attribute combinations.
- HPSn as a Powerful Alternative: Hard Prompt Search with negative prompting (HPSn) emerges as a strong contender, particularly for handling negations and complex attribute combinations. It requires no training and appears more robust when dealing with multiple attributes.
- Complementary Strengths: The study highlights that ITI-GEN excels with continuous attributes or those hard to express in text (e.g., "colorfulness"), while HPSn is better for discrete attributes and negations. This suggests a promising avenue for combining both methods.
Key Results
- Inclusiveness and Quality: ITI-GEN generally achieves lower KL divergence (indicating better inclusiveness) and better FID scores (indicating higher image quality) compared to baseline methods like HPS on single attributes. For instance, ITI-GEN achieved a reported FID score of 54.86 on CelebA, outperforming HPS (70.55) and HPSn (65.08).
- Attribute Entanglement: In cases like "Gender" and "Bald," ITI-GEN showed a high KL divergence (0.401088) for generating bald women, indicating a failure to disentangle these attributes, whereas HPSn achieved a much lower KL divergence (0.009371).
- Computational Complexity: Training ITI-GEN exhibits exponential complexity with respect to the number of attributes, as visualized in Figure 8, making it impractical for a large number of attributes.
- Human Evaluation Discrepancy: While FID scores favored ITI-GEN, human evaluations showed that participants preferred images generated by HPS and HPSn in a significant percentage of cases (52.24% and 56.58% respectively), suggesting FID might not fully capture perceived quality or that reference dataset biases are at play.
Limitations and Future Work
- Proxy Feature Learning: The study identifies ITI-GEN's tendency to use proxy features as a key limitation, leading to entanglement and failure to generate specific attribute combinations.
- Scalability Issues: The exponential increase in training time and decrease in diversity with more attributes limits ITI-GEN's applicability to complex scenarios.
- Reference Dataset Bias: The authors acknowledge that the choice of reference images is crucial and can introduce biases, impacting what the model learns.
- Future Work: The paper proposes combining ITI-GEN with HPSn to leverage the strengths of both methods. This hybrid approach could handle a wider range of attributes more effectively, with ITI-GEN for continuous/text-difficult attributes and HPSn for discrete/negation-heavy attributes. Further work could focus on mitigating proxy feature learning and improving the scalability of ITI-GEN.
Summary updated