[Paper Review] Aligning Text-to-Image Models using Human Feedback
The paper proposes a three-stage pipeline to align text-to-image models with human preferences by collecting human feedback, learning a reward function from this feedback, and fine-tuning the model via reward-weighted likelihood to improve image-text alignment.
Deep generative models have shown impressive results in text-to-image synthesis. However, current text-to-image models often generate images that are inadequately aligned with text prompts. We propose a fine-tuning method for aligning such models using human feedback, comprising three stages. First, we collect human feedback assessing model output alignment from a set of diverse text prompts. We then use the human-labeled image-text dataset to train a reward function that predicts human feedback. Lastly, the text-to-image model is fine-tuned by maximizing reward-weighted likelihood to improve image-text alignment. Our method generates objects with specified colors, counts and backgrounds more accurately than the pre-trained model. We also analyze several design choices and find that careful investigations on such design choices are important in balancing the alignment-fidelity tradeoffs. Our results demonstrate the potential for learning from human feedback to significantly improve text-to-image models.
Motivation & Objective
- Motivate and quantify the misalignment between text prompts and generated images in text-to-image models.
- Develop a cost-effective method to learn a reward function from human feedback that captures alignment with human intent.
- Fine-tune diffusion-based image generators using reward-weighted objectives to improve prompt fidelity and compositionality.
- Assess trade-offs between alignment and image fidelity and analyze design choices for data diversity and auxiliary losses.
Proposed method
- Generate diverse images from prompts designed to stress alignment (colors, counts, backgrounds).
- Collect binary human feedback on alignment for image-text pairs.
- Train a reward model r_phi(x,z) using CLIP embeddings to predict human judgments, with an auxiliary prompt-classification loss to improve generalization.
- Fine-tune the text-to-image model by minimizing a reward-weighted log-likelihood objective that combines model data with pre-training data for regularization.
- Optionally employ rejection sampling to select top outputs according to the learned reward.
- Evaluate using human judgments and standard metrics (FID) to study alignment versus fidelity and generalization to unseen prompts.
Experimental results
Research questions
- RQ1Can human feedback effectively guide fine-tuning to improve image-text alignment in diffusion-based text-to-image models?
- RQ2Is a reward model trained on human judgments more correlated with human preferences than CLIP-based measures for alignment?
- RQ3Do auxiliary losses and data-diversity strategies improve reward learning and generalization to unseen prompts?
- RQ4What is the impact of reward-weighted fine-tuning on image fidelity, and can rejection sampling amplify alignment gains?
Key findings
- Fine-tuning with human feedback significantly improves image-text alignment compared with the original model, with up to 47% improvement in alignment on human evaluation.
- The learned reward function aligns better with human assessments of alignment than the CLIP score on tested prompts.
- Auxiliary prompt-classification loss and data-diversity strategies improve reward generalization to unseen prompts and objects.
- Rejection sampling based on the learned reward further improves alignment without additional model training, though it increases inference cost.
- Naive fine-tuning without diverse data can reduce image fidelity despite better alignment, highlighting alignment-fidelity tradeoffs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.