TL;DR
CHATS (Combining Human-Aligned optimization and Test-time Sampling) is a novel framework that unifies training-time preference alignment with test-time sampling for text-to-image (T2I) models. By separately modeling "preferred" and "dispreferred" image distributions and employing a unique proxy-prompt sampling strategy, CHATS achieves state-of-the-art performance in text-image alignment and aesthetics, all while demonstrating remarkable data efficiency.
The Problem: Disconnected Alignment and Sampling
Modern text-to-image generation relies heavily on two distinct techniques to produce high-quality results:
- Human Preference Alignment: Methods like Direct Preference Optimization (DPO) are applied during training to teach the model to favor images that align with human aesthetics over those that do not.
- Classifier-Free Guidance (CFG): A test-time sampling technique that steers the model toward the text prompt and away from "unconditional" (random) noise.
The authors identify a critical missed opportunity: these two processes are currently treated as independent mechanisms. While DPO focuses on distinguishing "good" from "bad" during training, CFG focuses on steering during inference. The authors argue that these two stages are naturally synergistic—both essentially navigate the "preferred" versus "dispreferred" space. Treating them separately often leads to suboptimal results in complex generation tasks, such as precise object counting or attribute binding.
Methods: A Dual-Model Collaboration
The core innovation of CHATS is the transition from a traditional single-model approach to a dual-model collaboration.
- Dual-Model Architecture: Instead of forcing one model to learn everything, CHATS utilizes two models initialized from the same reference. The Preferred Model ($\theta+$) is tasked with capturing high-quality, human-aligned features. Conversely, the Dispreferred Model ($\theta-$) is dedicated to capturing the "negative space"—the unconditional and dispreferred distributions.
- Reformulated Training Objective: The authors introduce a modified DPO loss that trains both models simultaneously. This ensures the preferred model learns desirable traits while the dispreferred model learns to represent the "less optimal" but complementary distribution without collapsing.
- CHATS Sampler: During inference, the two models collaborate. The sampling process is actively guided toward the preferred distribution while being "repelled" by the dispreferred distribution.
- Proxy-Prompt Strategy: To mitigate the computational overhead of running multiple forward passes, the authors introduce a "proxy prompt." This mathematically combines the text prompt and a null prompt into a single representation for the dispreferred model, maintaining efficiency while capturing the necessary guidance signals.
Datasets and Evaluation
The researchers evaluated CHATS using several key datasets and benchmarks:
- Training Datasets: The models were trained on Pick-a-Pic v2 (PaP v2), a massive dataset of ~851k human-ranked image pairs, and OpenImagePreferences (OIP), a much smaller (7,459 pairs) but significantly higher-quality dataset generated by top-tier models like SD3.5-large and FLUX.1-dev.
- Evaluation Benchmarks: Performance was measured using HPS v2 (for aesthetic quality across styles like Anime, Concept-Art, and Photography), GenEval (an object-centric framework testing compositional skills), and DPG-Bench (featuring long, dense prompts with complex relationships).
Key Insights
- Quality Over Quantity: One of the most striking findings is CHATS's data efficiency. It achieved superior results using only the 7,459 high-quality pairs from the OIP dataset, outperforming traditional methods trained on nearly a million pairs. This suggests that for preference alignment, the "cleanliness" of the preference signal matters far more than the sheer volume of data.
- The Power of "Negative" Modeling: By giving the dispreferred distribution its own dedicated model, the preferred model is freed from the "interference" of having to represent low-quality modes. This separation allows for much sharper distinctions between what the user wants and what the model should avoid.
- Robustness of $\alpha$: The framework introduces a hyperparameter $\alpha$ to balance the guidance. The authors found that a default value of 0.5 works consistently well across different model architectures (SD1.5, SDXL, and In-house DiT models), making it a reliable, "plug-and-play" improvement.
Key Results
CHATS demonstrates significant improvements in both aesthetic quality and prompt adherence compared to standard models and previous alignment techniques.
- Aesthetic Superiority: CHATS set new state-of-the-art scores on HPS v2. For example, on SDXL, it improved the aesthetic score from 27.38 (Standard) to 29.51.
- Compositional Breakthroughs: On the challenging GenEval benchmark, CHATS showed massive gains in difficult tasks. It improved "Counting" accuracy by +10.18% and "Color Attribution" by +2.13% compared to the previous best-in-class method (Diffusion-DPO).
- Closing the Gap: CHATS effectively narrowed the aesthetic gap between older, smaller models (like SD1.5) and newer, larger models (like SDXL), proving that better optimization can partially compensate for smaller model sizes.
Limitations and Future Work
While highly effective, CHATS does have some limitations:
- Inference Throughput: Even with the proxy-prompt strategy, CHATS requires separate processing for the preferred and dispreferred models. This results in a slight reduction in throughput (roughly 3-11% slower depending on batch size).
- Model Size: Maintaining two models increases the storage and memory footprint during both the training and sampling phases.
- Future Direction: The authors suggest that model distillation could be the next logical step. Compressing the knowledge of this dual-model system back into a single, highly optimized model could eliminate the inference overhead entirely while retaining the alignment benefits.
Summary updated