Mechanism
Constructs an unbiased loss estimator for the true noise-free DPO objective under symmetric preference flip probability by linearly combining the forward and flipped log-sigmoid losses:
METHOD NOTEBOOK / rDPO
Correct the DPO loss for a specified rate of random preference-label flips, under the paper’s symmetric-noise assumption.
Constructs an unbiased loss estimator for the true noise-free DPO objective under symmetric preference flip probability by linearly combining the forward and flipped log-sigmoid losses: