Abstract
Reinforcement Learning from Human/AI Feedback (RLHF/RLAIF) has been extensively utilized for preference alignment of text-to-image models. Existing methods face certain limitations in terms of both data and algorithm. For training data, most approaches rely on manual annotated preference data, either by directly fine-tuning the generators or by training reward models to provide training signals. However, the high annotation cost makes them difficult to scale up, the reward model consumes extra computation and cannot guarantee accuracy. From an algorithmic perspective, most methods neglect the value of text and only take the image feedback as a comparative signal, which is inefficient and sparse. To alleviate these drawbacks, we propose the InstructEngine framework. Regarding annotation cost, we first construct a taxonomy for text-to-image generation, then develop an automated data construction pipeline based on it. Leveraging advanced large multimodal models and human-defined rules, we generate 25K text-image preference pairs. Finally, we introduce cross-validation alignment method, which refines data efficiency by organizing semantically analogous samples into mutually comparable pairs. Evaluations on DrawBench demonstrate that InstructEngine improves SD v1.5 and SDXL's performance by 10.53% and 5.30%, outperforming state-of-the-art baselines, with ablation study confirming the benefits of InstructEngine's all components. A win rate of over 50% in human reviews also proves that InstructEngine better aligns with human preferences.
Introduction
While text-to-image (T2I) models have become incredibly powerful, they still struggle with "alignment"—the ability to consistently generate exactly what a user asks for without distortions or aesthetic failures. Current alignment methods typically rely on expensive manual human annotations or opaque "reward models." These reward models often act as black boxes; they might indicate that one image is superior to another, but they fail to explain the underlying reasoning.
Furthermore, existing methods often treat the prompt as a static input rather than a source of fine-grained preference information. This neglect of the text side of the equation can lead to "reward hacking," where models improve their scores on specific metrics without actually becoming more useful or aesthetically pleasing to humans. InstructEngine addresses these issues by moving alignment beyond simple binary rankings toward fine-grained, instruction-driven feedback.
Methodology: The InstructEngine Framework
InstructEngine shifts the paradigm from manual ranking to an automated, instruction-aware pipeline. By utilizing a structured taxonomy and a novel cross-validation training strategy, it achieves high performance with significantly less data than traditional methods.
1. Instruction Taxonomy
To ensure the model learns across a wide variety of scenarios, the framework utilizes a comprehensive hierarchy of 20 major themes and 400 subtopics. This taxonomy ensures that training data covers complex concepts ranging from "Ancient Civilizations" to "Ecology Protection," preventing the model from over-optimizing for a narrow set of "pretty" images.
2. Automated Preference Data Pipeline
Using GPT-4o and SDXL, the framework generates a dataset of 25,000 preference pairs. These pairs are designed to inject preferences across three critical dimensions:
- Content Consistency: Varying object types or quantities to ensure the model follows specific details.
- Counterfactual Scenarios: Including distorted or imaginary content to teach the model what to avoid.
- Aesthetics: Contrasting vibrant, lifelike styles with dull or low-quality versions.
3. Cross-validation Alignment
InstructEngine employs a refined version of Direct Preference Optimization (DPO). The "cross-validation" approach organizes semantically analogous samples into mutually comparable pairs. A key finding of this research is the importance of respecting causality: the authors found that trying to distinguish between two similar texts based on a single image (reverse causal training) actually confuses the generator. Consequently, InstructEngine focuses on the "one prompt, two images" format to maintain a stable mapping from text to image.
Evaluation and Results
InstructEngine demonstrates superior data efficiency, achieving state-of-the-art results with only 25,000 samples—a fraction of the volume used by many competing methods.
- Quantitative Performance: On the DrawBench benchmark, InstructEngine improved the average performance of Stable Diffusion v1.5 by 10.53% and SDXL by 5.30%, outperforming baselines like ReFL and Diffusion-DPO.
- Human Preference: Side-by-side human evaluations confirmed these findings, with InstructEngine-aligned models achieving a win rate of over 50% against all major baselines.
- Qualitative Quality: Visual results indicate significant improvements in rendering specific details, such as correct anatomical features and sophisticated lighting/color contrast.
Conclusion
InstructEngine proves that the diversity and granularity of instructions are more critical for T2I alignment than sheer data volume. By encoding preferences into interpretable text instructions and respecting the causal flow of generative modeling, the framework provides a scalable and transparent path toward better model alignment. Future work will explore expanding this framework to even more complex multi-modal instructions and further refining aesthetic dimensions with next-generation generators.
Summary updated