Reproduce “Learning Dynamics of LLM Finetuning” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Yi Ren, Danica J. Sutherland
The authors analyze how supervised fine-tuning and preference optimization change confidence in responses. Updates reflect probabilities, gradient similarity, and loss direction. In an off-policy DPO probe, a teacher-forced greedy response rose from −113 to −63 while responses declined. Extension reached win rates of 0.6928 and 0.6045 against baseline after four DPO epochs, but this does not isolate squeezing as the sole cause.
Key insights
- SFT typically pulls up preferred response confidence but also indirectly increases confidence in preferred responses from *other* training examples, explaining a form of hallucination.
- Off-policy DPO leads to a general *decrease* in confidence across most responses due to the "squeezing effect," where large negative gradients on unlikely tokens disproportionately boost already confident ones.
- On-policy DPO variants perform better because their rejected responses are sampled from the current model, residing in higher probability regions and thus mitigating the extreme squeezing effect.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.