Zum Inhalt springen
Menü
Deutsch

RLHF vs DPO

Aligning a model with human preference using reinforcement learning on ranked outputs.

Merkmalsvergleich

Für diese beiden Technologien sind noch keine vergleichbaren Merkmale erfasst.

Welche sollten Sie wählen?

Aus den Unterschieden oben durch feste Regeln erzeugt, nicht von einem Modell.

Choose RLHF if…

Keines der erfassten Merkmale zeichnet es zu Ihren Gunsten aus.

Choose DPO if…

Keines der erfassten Merkmale zeichnet es zu Ihren Gunsten aus.

Über diese Seite

Die Seite bleibt erreichbar, wird aber aus den Suchindizes ausgeschlossen, bis sie genug belegte Details enthält (PRD SEO-08).

RLHF

technique · Techniques

RLHF trains a reward model on human comparisons of model outputs, then uses reinforcement learning to steer the language model toward what the reward model scores highly. It solves the problem that the behaviour people want, being helpful and refusing harmful requests, is far easier to rank than to write as a supervised target. It exists because it is what turned a raw next-token predictor into something that follows instructions, and it is the step DPO later simplified.

DPO

technique · Techniques

Direct Preference Optimization optimises a language model on pairs of preferred and rejected responses in a single supervised-style step. It solves the complexity of RLHF, which needs a separate reward model and a reinforcement learning loop that is notoriously sensitive to hyperparameters. It exists because the RLHF objective can be rewritten so the optimal policy is available in closed form, which removes the need for the reward model and the sampling loop entirely.