Skip to content
Back to skills

Pairwise Preference Prediction Accuracy

ASecurity

Measures how well a reward model predicts human preference by comparing its scoring of image pairs against ground-truth human choices. It probes the model's ability to generalize alignment signals to unseen prompts and image distributions. Use when the user has predictions and gold and needs to compute pairwise preference prediction accuracy.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 11, 2026
researchpythongoperformance

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill pairwise-preference-prediction-accuracy --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pairwise Preference Prediction Accuracy?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pairwise Preference Prediction Accuracy
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-pairwise-preference-prediction-accuracy/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-pairwise-preference-prediction-accuracy)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pairwise-preference-prediction-accuracy
description: Measures how well a reward model predicts human preference by comparing its scoring of image pairs against ground-truth human choices. It probes the model's ability to generalize alignment signals to unseen prompts and image distributions. Use when the user has predictions and gold and needs to compute pairwise preference prediction accuracy.
metadata:
  skill_kind: metric
  source_arxiv: 2409.07253
  bibtex_key: [REDACTED]
  confidence: high
---

# pairwise-preference-prediction-accuracy

> Alignment of Diffusion Models: Fundamentals, Challenges, and Future — Liu et al. (2024) (arXiv:2409.07253, 2024)

## What this evaluates

Measures how well a reward model predicts human preference by comparing its scoring of image pairs against ground-truth human choices. It probes the model's ability to generalize alignment signals to unseen prompts and image distributions.

## Datasets

- **Pick-a-Pic v1** — total ?; splits: test (-1)

## Metrics

- `pairwise preference prediction accuracy` **(primary)** — range: percent
  - Ratio of test cases where the reward model assigns a higher score to the image-text pair that was preferred by humans over the alternative pair generated from the same prompt.

## Input / output format

**Input**: A text prompt and a pair of generated images (or image-text pairs) to be scored by the reward model, along with the ground-truth human preference label for the pair.

**Output**: A scalar accuracy value (percentage or 0-1 score) indicating the fraction of correctly predicted human preferences.

## Scoring recipe

```python
correct = 0
for prompt, img_a, img_b, human_pref in test_set:
    score_a = reward_model(prompt, img_a)
    score_b = reward_model(prompt, img_b)
    if (human_pref == 'A' and score_a > score_b) or (human_pref == 'B' and score_b > score_a):
        correct += 1
accuracy = correct / len(test_set)
```

## Common pitfalls

- Models often overfit to the specific data distribution of their training benchmark, leading to high accuracy on native datasets but poor generalization to out-of-distribution prompts.
- Using a reward model to evaluate a policy trained with that same model can cause circular reasoning and inflated scores ('evaluation hacking').

## Evidence (verbatim from paper)

> To evaluate the performance of reward models in predicting human preference, the classical metric used is pairwise preference prediction accuracy. To calculate this accuracy, the reward model is first used to score a pair of images with the same prompt. The accuracy is then determined by the ratio of cases where the reward model assigns a higher score to the image-text pair preferred by humans on the test set.

## Citation

```bibtex
@misc{liu2024alignmentdiffusion,
  title={Alignment of Diffusion Models: Fundamentals, Challenges, and Future},
  author={Liu et al. (2024)},
  year={2024},
  note={arXiv:2409.07253}
}
```

- arXiv: 2409.07253

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.