Reference value for DPO: separation of relative lifting from absolute probability

DPO compares the probability changes of the selected versus the unselected answer against the reference model.

• Step by stepCollate in 2 self-measured2 First-hand sources
Start Body
Learning objectives and first steps2 objectives . 1 first fix

Try to do it after reading

  • Explains the reference value for DPO: mechanisms and premises separate from absolute probability for relative lifting
  • Positioning the mechanism ' s fault limits with fixed examples

Suggested first

  • The sequence seems to be a pair of preferences

Issues and mechanisms

DPO compares the probability changes of the selected versus the unselected answer against the reference model. It uses two logarithmic differences rather than simply pushing the probability of being selected to one. This would incorporate the distribution of the original model into the target, but it would also mean that the training of margin would not necessarily indicate an increase in the absolute probability of the answer chosen, much less a direct interpretation of the factual correctness.

Under the same hint, the policy reduces the logarithmic probability of the answer selected by reference corresponding values, minus the same difference of the unselected answer; Multiply beta and then enter logical loss. The probability of a complete answer is usually summed by the positive token condition logarithmic probability, and the hint and padding should not be entered at will. The reference strategy needs to be frozen by formula and templates and cut-off should be consistent on both sides.

Δ=logπ(y+|x)/πref(y+|x)π(y−|x)/πref(y−|x)

A concrete example

The synthetic reference probability is 0.2, not 0.1; The new strategies are 0.1 and 0.02 respectively. The absolute probability of being selected was halved, but the relative ratio was 0.5 and 0.2, the ratio was 2.5 and the logarithm margin remained positive. This counter-examples that only DPO will miss absolute behavioral changes in relative indicators. Both logarithmic probabilities, generation results and independent quality are observed simultaneously.

Borders and checks

Preference for label errors, length deviations and reference mismatches change the direction of training. Some variants use varying lengths of attribution or no reference design and cannot still claim to implement the original formula. The low level of training loss may only indicate that the preference is matched and that the final release should be subject to a sub-mission assessment, in particular a return of facts, references and formats.

A method of verification

logarithmic ratios can be checked against the full sequence and comparison with token records. A hint for an additional space or end date on one side will mix a difference that is not the preferred answer. Interceptions should be kept as consistent as possible and the proportion of responses cut should be reported. If the reference front is used for random discards, the reference probability for the same text is shaking and may interfere with interpretation. A fixed pair of short text saves two-sided policy and reference logarithms that can be used as a numerical benchmark for the upgrade trainer.

Check understanding

Relative margin It's true. I can infer it. chosen More often?

Can't. Selection may decline and relative indicators will improve as long as more declines are not chosen. This is the case in this case, and the full distribution and actual generation need to be seen.

What happens when the reference model weights are quietly updated with the strategy?

The reference in the target has changed and is no longer the intended fixed reference training. Share objects, adaptor switches and reference forward mode should be checked and verifiable versions kept.

Sources and reconciliations

Definitions, methods and interfaces are available.

  1. Direct Preference Optimization
  2. Training language models to follow instructions with human feedback

Figures and calculations are reorganized according to this chapter. Mathematical measurements, framework operations and real business effects are described separately in the body of the text.

← Back to the knowledge directory
Ask Max Ask about this site
Ask Max ↗

Opening the assistant…

Paper figure

Photo comments

LEAVE A NOTE

About this photograph

Connecting to the discussion board…

    Comments become public after moderation. You can delete your own comments from this browser.
    No email is required. Clearing cookies prevents this browser from claiming earlier comments.

    MAX WANG / INDEX

    Find something

    Enter a keyword, or explore the directory below.