Abstract
Diffusion models have emerged as a dominant approach for text-to-image generation. Key components such as the human preference alignment and classifier-free guidance play a crucial role in ensuring generation quality. However, their independent application in current text-to-image models continues to face significant challenges in achieving strong text-image alignment, high generation quality, and consistency with human aesthetic standards. In this work, we for the first time, explore facilitating the collaboration of human performance alignment and test-time sampling to unlock the potential of text-to-image models. Consequently, we introduce CHATS (Combining Human-Aligned optimization and Test-time Sampling), a novel generative framework that separately models the preferred and dispreferred distributions and employs a proxy-prompt-based sampling strategy to utilize the useful information contained in both distributions. We observe that CHATS exhibits exceptional data efficiency, achieving strong performance with only a small, high-quality funetuning dataset. Extensive experiments demonstrate that CHATS surpasses traditional preference alignment methods, setting new state-of-the-art across various standard benchmarks.
Introduction
High-quality text-to-image (T2I) generation currently relies on two separate pillars: Human Preference Alignment (training the model to prefer "good" images over "bad" ones, often using Direct Preference Optimization or DPO) and Guided Sampling (using Classifier-Free Guidance or CFG to steer the model toward the text prompt during inference).
Traditionally, these two processes are treated as isolated silos. Preference alignment happens during the offline training phase, while CFG happens during the online sampling phase. This independence leads to a "non-synergistic" relationship where the model doesn't fully leverage the information contained in the "dispreferred" (low-quality) data during the actual generation process. Furthermore, existing alignment methods often require massive datasets to be effective. CHATS (Combining Human-Aligned optimization and Test-time Sampling) addresses this by unifying preference alignment and sampling into a single, collaborative framework.
Methodology
CHATS introduces a dual-model architecture and a specialized sampling strategy to create a unified pipeline. Instead of one model, CHATS employs two: a preferred model ($p_{\theta+}$) that learns the characteristics of high-quality, human-aligned images, and a dispreferred model ($p_{\theta-}$) dedicated to capturing the traits of low-quality images and unconditional distributions.
These models are trained simultaneously using a theoretically grounded objective function based on DPO principles. During inference, CHATS uses a novel Proxy-Prompt Sampling scheme. Rather than just steering away from "random noise" as in standard CFG, it uses a "proxy prompt"—a linear combination of the actual prompt and a null prompt—to actively repel the specific undesirable features learned by the dispreferred model. This allows the framework to tell the model not just to be generic, but to avoid specific types of "bad" outputs.
Experimental Results
The researchers evaluated CHATS using two primary preference datasets: the large-scale Pick-a-Pic v2 (~850k pairs) and the smaller, high-quality OpenImagePreferences (OIP) dataset, which contains only 7,459 pairs.
One of the most significant findings is CHATS' extreme data efficiency. It performs exceptionally well even with the tiny OIP dataset, outperforming Diffusion-DPO (the previous state-of-the-art) even when the latter is trained on much larger datasets. On the HPS v2 benchmark, CHATS consistently outperformed both "Standard" and "Diffusion-DPO" versions of SD1.5, SDXL, and an in-house T2I model across all aesthetic categories.
Furthermore, on GenEval, CHATS showed a massive +10.18% improvement in Counting tasks and a +2.13% improvement in Color Attribution over Diffusion-DPO, proving it enhances compositional intelligence alongside aesthetic quality. It also set new performance records on DPG-Bench, excelling at following complex, multi-object instructions.
Conclusion and Future Work
CHATS successfully bridges the gap between training-time alignment and test-time sampling, narrowing the performance gap between older models (like SD1.5) and modern giants (like SDXL). While the dual-model approach introduces a slight computational overhead during inference (roughly 3% to 11% slower), the gains in quality and data efficiency are substantial. Future work could involve "distilling" the two models back into a single, optimized model to regain inference speed without losing the alignment gains.
Summary updated