Skip to content

Set with the IEEE conference paper template

Direct Preference Optimization: Your Language Model is Secretly a Reward Model

Rafael Rafailov, Archit Sharma, Eric Mitchell, Stefano Ermon, Christopher D. Manning, Chelsea Finn

NeurIPS 2023; arXiv:2305.18290v3

One of the most influential papers on aligning language models: it replaces reinforcement learning from human feedback (RLHF) with a simple classification loss, with no separate reward model and no reinforcement learning.

Original: arXiv:2305.18290

Direct Preference Optimization: Your Language Model is Secretly a Reward Model — Page 1 (click to enlarge)

How it was typeset

  • The two-column IEEE conference layout: title and authors span both columns; equal contribution, source and license go in a footnote at the bottom of the first column.
  • 51 references in IEEE style, with consecutive citations collapsed into [1]–[3].
  • Long equations broken to fit a column about 8.9 cm wide; the layout check confirms none runs past its column or into its number.
  • Definitions, lemmas, theorems, propositions and proofs in IEEE style, each numbered and referenceable.
  • Figure 1 redrawn as vector art; the authors’ result figures span both columns; the appendix keeps the derivations, proofs, PyTorch code and GPT-4 prompts.

Pages

  • Direct Preference Optimization: Your Language Model is Secretly a Reward Model — Page 3 (click to enlarge)

    Page 3

  • Direct Preference Optimization: Your Language Model is Secretly a Reward Model — Page 6 (click to enlarge)

    Page 6

  • Direct Preference Optimization: Your Language Model is Secretly a Reward Model — Page 11 (click to enlarge)

    Page 11

Source and license

Rafael Rafailov, Archit Sharma, Eric Mitchell, Stefano Ermon, Christopher D. Manning, Chelsea Finn. “Direct Preference Optimization: Your Language Model is Secretly a Reward Model.” NeurIPS 2023; arXiv:2305.18290v3.

Source used
The LaTeX source of arXiv version 3, which arXiv lists under CC BY 4.0.
Changes from the original
Figure 1 was redrawn (the source of its icons is unclear); the references were set in IEEE style; the Reddit and Anthropic HH samples in the appendix (third-party content), the unlikelihood sample table and the survey screenshot were left out, and mentions of them point to the original. The rest of the text, results and formulas are unchanged.

Like the original, this version is distributed under CC BY 4.0. It was re-typeset by docraft and is not endorsed by the authors or the publisher. CC BY 4.0

See the IEEE conference paper template