TL;DR
This paper introduces CARINOX, a novel inference-time framework that significantly improves the compositional alignment of text-to-image diffusion models. By intelligently combining noise exploration and optimization, guided by a carefully selected set of reward functions, CARINOX achieves state-of-the-art results on challenging benchmarks, producing more accurate and semantically rich images without requiring model fine-tuning.
What Problem Does This Paper Address?
Text-to-image (T2I) diffusion models, while impressive, often struggle with compositional alignment. This means they can fail to accurately represent complex prompts involving object relationships, specific attributes, or spatial arrangements. For instance, a prompt like "a red cube on top of a blue sphere" might result in a blue cube and a red sphere, or the objects might be in the wrong spatial configuration. Existing inference-time methods that try to fix this either optimize a single initial noise vector (which can get stuck due to poor starting points) or explore many noise vectors (which can be computationally expensive). Furthermore, the choice of reward function used to guide these processes is crucial but often ad-hoc, leading to suboptimal performance. CARINOX aims to solve these issues by unifying exploration and optimization with a principled reward selection strategy.
Methods
CARINOX combines two key ideas:
- Unified Noise Optimization and Exploration: Instead of choosing between optimization or exploration, CARINOX uses both. It starts by exploring multiple initial noise candidates (seeds). Each of these candidates is then refined using gradient-based noise optimization. This means the initial noise vector is iteratively adjusted to maximize a reward signal, similar to how neural networks are trained, but applied to the initial noise itself. This process is made more stable by using gradient clipping to prevent any single reward from dominating the update and by adding latent space regularization to keep the noise vector within a reasonable distribution.
- Correlation-Guided Reward Combination Selection: The authors conducted a study to find the best combination of reward functions. They evaluated various metrics (embedding-based, VQA-based, image-only) on a benchmark and correlated their scores with human judgments. This led to a principled selection of a reward set that best captures compositional alignment.
Datasets
- T2I-CompBench++: Used for evaluating compositional alignment across various categories (color, shape, texture, spatial relations, numeracy, etc.).
- HRS benchmark: Used to evaluate broader aspects beyond compositionality, including creativity, style, and visual writing.
- MS-COCO dataset: Used for evaluating image quality and diversity (FID, Density, Coverage).
Key Insights and Ideas
- Synergy of Exploration and Optimization: Neither exploration nor optimization alone is sufficient. Combining them allows CARINOX to explore a wider space of possibilities and then refine the most promising ones, leading to more robust results.
- The Importance of Reward Selection: A carefully chosen set of reward functions, validated against human preferences, is critical for effective guidance. Ad-hoc combinations or single metrics are less effective.
- Inference-Time Solutions are Scalable: CARINOX offers a way to improve T2I generation without retraining the entire diffusion model, making it a practical and efficient solution.
- Gradient Clipping is Crucial: Without proper gradient clipping, dominant reward signals can lead to unrealistic or distorted outputs, even if compositionally aligned.
Key Results
- Improved Compositional Alignment: CARINOX achieves significant improvements on T2I-CompBench++ (+16% average score) and HRS (+11% average score) compared to state-of-the-art methods.
- Outperforms Baselines: It consistently outperforms both pure optimization (e.g., ReNO) and pure exploration (e.g., ImageSelect) methods across various compositional categories.
- Preserves Image Quality and Diversity: The method maintains high image quality and diversity, as measured by FID, Density, and Coverage metrics.
- Qualitative Improvements: Figures in the paper demonstrate CARINOX's ability to accurately render complex prompts involving object relationships, attributes, and spatial arrangements, as well as better text rendering and stylistic coherence.
Limitations and Future Work
- Computational Overhead: CARINOX introduces additional runtime and VRAM usage compared to baseline models due to its multi-reward optimization and best-of-N exploration. However, the authors argue this is justified by the performance gains.
- Future Work:
- Incorporating richer or domain-specific reward models, including those trained on human preferences beyond compositionality or multimodal evaluators for style/creativity.
- Extending the framework to multi-step diffusion models to allow gradients to propagate across the full denoising trajectory.
- Developing a more general reinforcement learning-style framework where reward definitions and update strategies co-evolve.
Summary updated