Перейти к содержимому
Меню
Русский

RLHF vs DPO

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

Сравнение по критериям

Для этих двух технологий пока не зафиксированы сравнимые характеристики.

Что выбрать?

Сформировано из различий выше по фиксированным правилам, а не моделью.

Choose RLHF if…

Ни одна из зафиксированных характеристик не говорит в его пользу.

Choose DPO if…

Ни одна из зафиксированных характеристик не говорит в его пользу.

Об этой странице

Страница остаётся доступной, но исключена из поисковых индексов, пока не наберёт достаточно подробностей со ссылками на источники (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.