A Cat Is A Cat (Not A Dog!): Unraveling Information Mix-ups in Text-to-Image Encoders through Causal Analysis and Embedding Optimization
About
This paper analyzes the impact of causal manner in the text encoder of text-to-image (T2I) diffusion models, which can lead to information bias and loss. Previous works have focused on addressing the issues through the denoising process. However, there is no research discussing how text embedding contributes to T2I models, especially when generating more than one object. In this paper, we share a comprehensive analysis of text embedding: i) how text embedding contributes to the generated images and ii) why information gets lost and biases towards the first-mentioned object. Accordingly, we propose a simple but effective text embedding balance optimization method, which is training-free, with an improvement of 125.42% on information balance in stable diffusion. Furthermore, we propose a new automatic evaluation metric that quantifies information loss more accurately than existing methods, achieving 81% concordance with human assessments. This metric effectively measures the presence and accuracy of objects, addressing the limitations of current distribution scores like CLIP's text-image similarities.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Text-to-Image Generation | IntraCompBench Class | Accuracy #278 | 16 | |
| Text-to-Image Generation | HRS-Bench | Color Fidelity43.8 | 16 | |
| Text-to-Image Generation | T2I-CompBench | Color Fidelity80.5 | 16 | |
| Text-to-Image Generation | Similar Textures | SR78 | 11 | |
| Text-to-Image Generation | T2I-CompBench color set | 2 Objects Exist76.3 | 9 | |
| Text-to-Image Generation | Custom Compositional Prompts 1.0 (test) | 2 Objects Exist Score56.5 | 7 | |
| Text-to-Image Generation | Similar Shapes | SR (gemini)48.5 | 7 | |
| Multi-object image generation | Similar Shapes | Success Rate52 | 7 | |
| Multi-object image generation | Many Objects | Success Rate (SR)24 | 7 | |
| Text-to-Image Generation | Extended Many Objects | Success Rate33.5 | 7 |