Pick-a-Pic: An Open Dataset of User Preferences for Text-to-Image Generation

Yuval Kirstain, Adam Polyak, Uriel Singer, Shahbuland Matiana, Joe Penna, Omer Levy

TL;DR

The authors introduce Pick-a-Pic, a massive open-source dataset of over half a million human preferences for text-to-image generation collected via a public web app. Leveraging this data, they trained PickScore, a CLIP-based reward model that achieves superhuman performance in predicting user preferences and serves as a more reliable evaluation metric than traditional scores like FID.

What Problem Does This Paper Address?

While Large Language Models (LLMs) have benefited immensely from Reinforcement Learning from Human Feedback (RLHF), the text-to-image (T2I) field has lagged behind. The primary bottleneck is data: large-scale datasets of what humans actually prefer are typically proprietary secrets held by companies like Midjourney or OpenAI.

Furthermore, current evaluation standards are flawed. Researchers often use MS-COCO captions, which are mundane descriptions of real photos (e.g., "a man riding a bike"), failing to capture the creative, fantastical, or highly specific prompts real users write. Standard metrics like FID (Fréchet Inception Distance) measure how well a generated set matches a real image distribution but often penalize the "vividness" and high-contrast styles that humans actually find pleasing.

Methods

The authors built a web application where users generate images using state-of-the-art models (like Stable Diffusion XL) and choose their favorite between two options (or indicate a tie).

The Pick-a-Pic web app flow: (a) user writes a prompt, (b) user picks a preference, (c) a new image replaces the rejected one.

Using this data, they developed PickScore:

  1. Architecture: They started with CLIP-H, a powerful vision-language model.
  2. Objective: They fine-tuned the model using a reward-modeling objective similar to InstructGPT. The goal was to minimize the KL-divergence between the model's predicted preference distribution and the actual user choices.
  3. Scoring: The model computes the inner product of text and image embeddings, scaled by a learned temperature parameter, to produce a scalar "satisfaction" score.

Datasets

  • Pick-a-Pic (New): Initially released with 500,000+ examples and 35,000 distinct prompts. A newer version mentioned in the paper exceeds one million examples. Unlike datasets labeled by paid crowd workers, this features "intrinsically motivated" users who care about the output of their own prompts.
  • MS-COCO: Used as a baseline for traditional evaluation, though the authors argue it is less relevant for modern T2I use cases.

Key Insights and Ideas

  • Superhuman Preference Prediction: PickScore achieved 70.5% accuracy in predicting preferences, surpassing human "expert" raters (68.0%). This is because the original user has a specific intent that an external rater cannot see; PickScore manages to capture the general features of what makes an image "good" across many such intents.
  • The FID Paradox: The authors found that FID can correlate negatively with human preference. Increasing the Classifier-Free Guidance (CFG) scale often makes images more vivid and "pop," which users love, but it pushes the image distribution away from "natural" photos, worsening the FID score.
  • Model Selection via Guidance: The dataset allowed the authors to quantify the "sweet spot" for hyperparameters. For instance, they found that a guidance scale of 9 is generally preferred over a scale of 3 for Stable Diffusion XL.
Win rates vs. CFG scale (a) and preference distribution between different backbone models (b).

Key Results

  • Superior Correlation: PickScore shows a strong positive correlation (0.917) with human rankings, whereas FID showed a staggering negative correlation (-0.900) in the same study.
  • Benchmarking: In head-to-head comparisons against other scoring functions like HPS and ImageReward, PickScore consistently outperformed them on the Pick-a-Pic test set.
  • Enhancement via Ranking: By generating 100 images for a single prompt and using PickScore to select the best one ("Best-of-N" sampling), the authors achieved a 71.4% win rate over the vanilla model's output.
Examples where PickScore (right) chooses more aesthetically pleasing or prompt-aligned images than CLIP-H (left).

Limitations and Future Work

  • NSFW and Bias: Despite filtering, the authors acknowledge that the dataset may still contain NSFW content or reflect the inherent biases of the user base.
  • Aesthetics vs. Faithfulness: PickScore sometimes prioritizes "pretty" images over strict adherence to the prompt.
  • Future Directions: The authors suggest that PickScore could be used directly in the training loop (e.g., via RLHF or Rejection Sampling) to create models that are natively aligned with human aesthetics from day one.

Summary updated

Abstract

The ability to collect a large dataset of human preferences from text-to-image users is usually limited to companies, making such datasets inaccessible to the public. To address this issue, we create a web app that enables text-to-image users to generate images and specify their preferences. Using this web app we build Pick-a-Pic, a large, open dataset of text-to-image prompts and real users' preferences over generated images. We leverage this dataset to train a CLIP-based scoring function, PickScore, which exhibits superhuman performance on the task of predicting human preferences. Then, we test PickScore's ability to perform model evaluation and observe that it correlates better with human rankings than other automatic evaluation metrics. Therefore, we recommend using PickScore for evaluating future text-to-image generation models, and using Pick-a-Pic prompts as a more relevant dataset than MS-COCO. Finally, we demonstrate how PickScore can enhance existing text-to-image models via ranking.
BibTeX
@inproceedings{kirstain2023pick,
  author = {Yuval Kirstain and Adam Polyak and Uriel Singer and Shahbuland Matiana and Joe Penna and Omer Levy},
  title = {{Pick-a-Pic: An Open Dataset of User Preferences for Text-to-Image Generation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=G5RwHpBUv0},
}
Figure