AlgoViz

Learning from preferences

hard 6 min

Preference learning trains a system to favor one response over another for the same prompt.

Trace the example

Follow the evidence through each stage, then test a change in the case.

A judge prefers long answers to correct answers

A judge prefers long answers to correct answers. Selected component: Response pairs inside Feedback set.
Open full-size diagram

Feedback set

Chosen: precise · rejected: verbose error

Keep pairs for the same prompt. Inspect the labels for shortcuts such as length, style or source order.

Both the training judge and the candidate favor longer answers. What separates a real improvement from this shortcut?