AI engineering glossary · LLM training alignment

What is ORPO (odds ratio preference optimisation)?

Odds ratio preference optimisation (also called ORPO): A method that merges supervised fine-tuning and preference alignment into one stage by adding an odds-ratio penalty that favours chosen over rejected responses to the ordinary language-modelling loss. It needs no reference model, saving memory.

Level: advancedTopic: LLM training alignment

Odds ratio preference optimisation: an example

Instead of running SFT and then DPO, one training run on chosen-and-rejected pairs applies both losses together.

Related terms

More LLM training alignment terms

Where you learn it

Odds ratio preference optimisation is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.