DPO Concept › The Role of Beta
Language AI HandbookAll chapters DPO Concept › The Role of BetaOne section · Sections in this chapter10 / 14 ↓
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
The parameter plays a useful role in both RLHF and DPO, but it is worth understanding its specific effect in the DPO context in detail. Recall that controls the strength of the KL constraint, mediating the tradeoff between matching preferences and staying close to the reference model. This single parameter has large effects on both the optimization dynamics and the final solution, and choosing it well requires understanding its role.
Think of as the "stubbornness" of the model toward its original training. A small means the model is willing to change substantially based on the preference data: it will move far from the reference distribution to match human preferences. A large means the model is conservative: it insists on staying close to how it was originally trained, making only modest adjustments to satisfy the preference data. The right value depends on how much you trust the preference data relative to the pretraining distribution.
In RLHF, we explicitly compute the KL divergence between the policy and reference model and add it as a penalty term with coefficient . This requires computing log-probabilities under both models and combining them appropriately. In DPO, the constraint is built into the loss function itself through the log-ratio terms. The parameter determines how aggressively the model should diverge from the reference when the preference signal demands it. Both approaches implement the same mathematical constraint, but DPO does so implicitly through the structure of the loss.
Low values allow the model to deviate significantly from the reference to match preferences. When is small, the preference margin has a large effect on the loss, so the model will make substantial changes to ensure it assigns higher probability to preferred responses. This can lead to better preference satisfaction but risks overfitting to the preference dataset or moving too far from the model's pretrained capabilities. A model trained with very low might become extremely good at the specific types of comparisons in the training data while losing the general capabilities it had before alignment. In the limit of , the model collapses entirely to a distribution concentrated on whatever responses appear as "chosen" in the training data.
High values keep the model close to the reference. This provides regularization but can limit the model's ability to fully incorporate preference information. When is large, even large preference margins produce relatively modest gradients, so the model changes slowly and stays close to its starting point. The optimal choice depends on the quality and coverage of the preference dataset, the size of the model, and the desired balance between helpfulness and safety. Practitioners often need to tune empirically, though values between 0.1 and 0.5 are common starting points for most alignment tasks. Very small values like 0.01 risk degradation of general capabilities, while very large values like 2.0 may fail to align the model.


Beta and the Implicit Reward Scale
There is another way to think about that connects the DPO objective back to the reward-policy duality. Recall that the implicit reward of the trained policy is . The parameter directly controls the scale of this implicit reward. A small means that even a modest change in relative probability corresponds to a large reward difference. A large means you need a dramatic change in relative probability to create a meaningful reward difference.
This perspective helps explain why also controls the sharpness of the trained policy. When is small, the reward landscape is steep: small changes in log-probability ratios translate to large reward differences, which drive large changes in the policy. The trained policy ends up concentrated on a narrow set of high-reward outputs. When is large, the reward landscape is flat: you need large log-probability changes to get meaningful reward signal, so the policy stays spread out close to the reference distribution. Tuning is therefore tuning the effective temperature of the reward signal.