PiCo: Enhancing Text-Image Alignment with Improved Noise Selection and Precise Mask Control in Diffusion Models
Chang Xie, Chenyi Zhuang, Pan Gao
TL;DR
PiCo addresses misalignment in text-to-image diffusion by two training-free components: fast noise selection that ranks initial noises via ITM and concept scores, and a referring mask control that modulates cross-attention with pixel-level masks. The approach improves attribute binding and object attendance for complex prompts while remaining efficient due to a small $T_s$ and early denoising intervention at $T_c$. Extensive experiments on CC-500 and T2I-Compbench demonstrate higher alignment and image quality than baselines, with ablations highlighting the importance of both noise scoring and precise mask control. The work offers a practical, model-agnostic route to sharper text-image correspondence and suggests avenues for adaptive hyperparameters and addressing CLIPSeg biases.
Abstract
Advanced diffusion models have made notable progress in text-to-image compositional generation. However, it is still a challenge for existing models to achieve text-image alignment when confronted with complex text prompts. In this work, we highlight two factors that affect this alignment: the quality of the randomly initialized noise and the reliability of the generated controlling mask. We then propose PiCo (Pick-and-Control), a novel training-free approach with two key components to tackle these two factors. First, we develop a noise selection module to assess the quality of the random noise and determine whether the noise is suitable for the target text. A fast sampling strategy is utilized to ensure efficiency in the noise selection stage. Second, we introduce a referring mask module to generate pixel-level masks and to precisely modulate the cross-attention maps. The referring mask is applied to the standard diffusion process to guide the reasonable interaction between text and image features. Extensive experiments have been conducted to verify the effectiveness of PiCo in liberating users from the tedious process of random generation and in enhancing the text-image alignment for diverse text descriptions.
