Introduction
Text-to-image (T2I) diffusion models have achieved remarkable success in generating high-quality imagery. However, aligning these models with human preferences—specifically regarding prompt-following and aesthetic quality—remains a significant challenge. Traditional alignment methods rely on expensive, human-annotated datasets. AGFSync introduces a fully automated, AI-driven framework that eliminates the need for human labeling by leveraging Large Language Models (LLMs) and Vision-Language Models (VLMs) to optimize model performance.
The Challenge of Human-Centric Alignment
While models like Stable Diffusion are powerful, they often struggle with complex prompts or produce "uncanny" artifacts. Fixing these issues typically requires fine-tuning on human-ranked image pairs. This process is slow, difficult to scale, and prone to "data collapse," where models become overly conservative. AGFSync addresses these bottlenecks by creating a scalable, multi-aspect alignment loop powered entirely by AI feedback.
The AGFSync Framework
The AGFSync pipeline operates in three distinct stages to refine T2I models:
- Preference Candidate Set Generation: An LLM generates diverse prompts across various categories. For each prompt, the T2I model produces multiple candidate images. To ensure sufficient diversity for comparison, Gaussian noise is injected into the text embeddings.
- Preference Pair Construction: This stage utilizes a VQA-based scoring system. An LLM generates "Yes/No" questions based on the prompt, which a VLM then answers to assess faithfulness. This is combined with CLIP and aesthetic scores to create a weighted composite score.
- DPO Alignment: The model is fine-tuned using Diffusion-DPO, which optimizes the model to favor "winning" images (highest score) over "losing" ones (lowest score).
Key Insights: The Power of AI Feedback
A critical innovation in AGFSync is the use of "losers" in training. By identifying images that fail to follow prompts or exhibit poor aesthetics, Direct Preference Optimization (DPO) provides a stronger gradient for learning than methods that only utilize positive examples. Furthermore, using LLM-generated VQA pairs provides a more granular measure of logical prompt-following than traditional CLIP scores, which often act as a simple "bag-of-words" metric.
Experimental Results
AGFSync-tuned models (including SD v1.5 and SDXL) consistently outperform their base versions across multiple benchmarks. On the HPS v2 benchmark, aesthetic win rates reached up to 77.4% in specific categories like anime. Crucially, AGFSync improves both prompt-following and visual quality simultaneously, avoiding the common trade-off where aesthetic improvements lead to decreased faithfulness.
Validation with human evaluators showed a 70-83% agreement rate with the AI-generated feedback, confirming that the automated pipeline serves as a reliable proxy for human judgment.
Limitations and Future Work
While highly effective, AGFSync's performance is inherently tied to the quality of its "teacher" models (the LLM and VLM). Errors in the VQA stage can lead to incorrect model associations. Additionally, the initial dataset construction phase is computationally intensive. Future research may explore applying this methodology to newer Diffusion Transformer (DiT) architectures.
Summary updated