The sigmoid function converts any real-valued input into a number between zero and one: σ(z) = 1/(1 + e^-z). In pairwise preference modeling, it turns a score difference into a preference probability. section 5.1
For reward-model scores, σ(rθ(yc|x) − rθ(yr|x)) represents the probability that the chosen completion is preferred to the rejected completion. Larger positive differences approach one; negative differences approach zero. section 5.1
Pairwise reward modeling
Given a prompt x and completions yc and yr, maximize σ(rθ(yc|x) − rθ(yr|x)), or equivalently minimize −log σ(rθ(yc|x) − rθ(yr|x)). section 5.1
Equation 5.2
\[\label{eq:bradterry_unbounded} {P(i > j) = \frac{e^{r_i}}{e^{r_i} + e^{r_j}} = \sigma(r_i-r_j).}\]The Bradley–Terry equation shows how exponentiated unbounded scores reduce to a sigmoid of their difference. section 5.1















