Skip to content

Preference Data With 20% Flipped Labels: Still Usable?

THE ARGUMENT

Flipped pairs do not have to be thrown away, because a weight can be estimated alongside the policy; but recovering all of them from one annotation each needs margins of order log n, and ten times the data buys only 2.3 of headroom.

On this page

10,000 preference pairs, 2,000 of them labelled backwards, but most people's first move is to send the whole batch back for relabelling. Is that wrong? RW-DPO keeps every pair and gives each comparison a reliability weight between 0 and 1, estimated jointly with the policy. The price sits in one condition: recovering every flipped pair from one annotation each needs margins of order log n. This article turns it into numbers you can check.[1]

A fifth of the labels are backwards

A flipped pair looks like a clean one: two responses, an A/B marker, no field saying the winner was swapped. Spot-checking is the obvious fix, and its hit rate equals the flip rate itself. At 20% noise, 100 checks recover about 20 bad pairs, my multiplication, not the paper's.

The second instinct is to relabel everything, which runs into a loop: relabelling needs to know which pairs are wrong, and that needs clean data. The loop does not break by spending more. It breaks by changing the question.

RW-DPO admits the loop and steps around it. Rather than deciding which comparison is wrong, it gives each one a weight and lets data and model settle it together.[1] That sounds softer than a verdict, and it is; every later claim grows out of the swap.

The weight multiplies the likelihood

DPO's loss treats every comparison as correct, assuming A beating B is undisputed. Real data disagrees: comparisons get reversed, tied, or both responses are bad. RW-DPO gives comparison i an unknown reliability w_i from 0 to 1, entering the likelihood linearly.[1]

Two endpoints carry the meaning. With w_i fixed at 1 you have plain DPO; a reversed comparison sits at 0. Values in between are estimated, not chosen; no line separates noise from signal.

The penalty sits on minus log w_i, in a minimax-concave form. Comparisons the model agrees with stay pinned at exactly 1; only contradicted ones get pushed down. The discount is local, not a blanket haircut.

Solving is cheap: each comparison's best weight has a closed form, so a round costs one per-pair computation on top of DPO.

  • w = 1: model and label agree, the pair is used in full.
  • 0 < w < 1: partial conflict, settled by penalty and likelihood.
  • w near 0: fully reversed, the pair barely touches the gradient.

Where the log n margin bites

The theorem is narrow. With one annotation per comparison, recovering every flipped pair needs margins of order log n.[1] Margin is not accuracy; it measures how separated the two responses are.

The scale has two readings. It grows slowly, from 6.9 at a thousand pairs to 11.5 at a hundred thousand. It still grows: ten times the data adds 2.3 to the margin, and 2.3 is never zero.

Preference pairs nPairs flipped at 20%ln nChange vs previous row
1,0002006.9—
10,0002,0009.2+2.3
100,00020,00011.5+2.3

Those logarithms are my arithmetic, and 2.3 is ln 10. The paper states the order, not a constant, so read the table as a trend, never a threshold.

At 10,000 pairs with 20% noise, 2,000 bad pairs must be suppressed by weights, not hunted by hand. Below the margin, weights smear into a band of middling values and the flags stop meaning much, which is my reading, not the abstract's.

  • How separable your pairs are: near-ties give a thin margin, and log n gets harder to meet.
  • Whether flips are random: the setting assumes a fixed fraction; flips packed into hard items differ.
  • How many annotators each pair has: the theorem assumes one, and voting is outside the abstract.

Five steps before you ship it

  1. Run plain DPO first and store the per-pair loss. Without it you cannot tell which pairs moved after weighting.
  2. Add the weight layer, run a few rounds, then look at the weights. A cluster near zero is your candidate flip set; a spread from 0.3 to 0.9 means hard data, not mislabelled data.
  3. Send the flags to human review instead of relabelling everything; when flags concentrate, the load is roughly your spot-check budget.
  4. Report flip rate, n and win rate together. A win rate without its noise level tells a reader nothing.
  5. Train once on clean data and once on noisy data, reproduce the result, then decide whether to cite it.

Counterintuitively, with 10% to 30% flipped labels the win rate does not fall as the flip rate rises, it beats DPO trained on clean labels, and it matches the strongest recent method.[1] In simulations RW-DPO had the lowest average estimation error and sharper flags than recent label-correction work.[1] The abstract gives no mechanism, and I will not invent one.

What it does license is an operational reading. If the pattern reproduces on your model, cleaning before training may be overpriced. Cleaning is not wrong; it has a cost, paid in the hard examples you delete chasing noise.

Where it stops applying

The first limit is the model class. The consistency result lives in a linear-index model and assumes the initial fit already points the right way. Fine-tuning a large model is neither linear-index nor reliably right early on; when those premises fail, the guarantee does not apply.

The second limit is annotation count: the theorem assumes one per comparison. Several annotators allow a majority vote and a looser margin, but that is my inference.

The third limit is the fixed-fraction assumption. If the flip rate tracks difficulty, harder pairs get flipped more often, the fraction stops being a constant and the guarantee breaks down. In annotation work that is more common than random flipping.

So the closing line is this: noise is not the danger, assuming you know which rows are noise is. Before asking whether to clean, ask whether your margin is wide enough. The answer decides whether you discount or relabel.

References

  1. Reliability-Weighted Direct Preference Optimization: Penalized Weights for Robust Preference Learning

Sign in to Padda

A code in your inbox. No password to remember.

Connecting to sign-in…