AGFSync: Leveraging AI-Generated Feedback for Preference Optimization in Text-to-Image Generation

Jingkun An, Yinghao Zhu, Zongjian Li, Enshen Zhou, Haoran Feng, Xijie Huang, Bohua Chen, Yemin Shi, Chengwei Pan

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:

  1. 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.
  2. 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.
  3. 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).
The AGFSync framework: (1) Candidate Generation, (2) Preference Pair Construction, and (3) DPO Alignment.

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.

Qualitative comparison showing improved text faithfulness and detail preservation in AGFSync-tuned models compared to SDXL-base.

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

BibTeX
@inproceedings{an2025agfsync,
  author = {Jingkun An and Yinghao Zhu and Zongjian Li and Enshen Zhou and Haoran Feng and Xijie Huang and Bohua Chen and Yemin Shi and Chengwei Pan},
  title = {{AGFSync: Leveraging AI-Generated Feedback for Preference Optimization in Text-to-Image Generation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i2.32168},
}
Figure