arXiv study maps when contrastive learning from failures beats success-only fine-tuning
A new arXiv paper offers theory for combining two common post-training recipes, identifying conditions where adding a contrastive term helps models learn from failed rollouts.
In plain words
When tuning a language model from attempts that either succeed or fail, developers can fine-tune on successes alone or use contrastive learning, which teaches the model to prefer successes over failures. The paper analyzes when combining both approaches outperforms using successes alone.
What was announced
The authors frame post-training from rollouts with binary outcomes as a choice between two standard recipes: supervised fine-tuning on successful rollouts, which they call success conditioning, and pairwise contrastive learning on success-failure pairs. Although the two losses are often combined in practice and the combination is frequently reported to work best, they note there has been little theory explaining when and why. Their analysis covers a margin-based contrastive term plus a weighted success conditioning term, set in a contextual bandit model with binary rewards, and characterizes when adding the contrastive term improves on success conditioning.
The findings extend from expected reward to ranking-based metrics of the kind used in generative retrieval. The authors also study unweighted and DPO-style reference-reweighted variants of the contrastive losses, showing that how well the base policy aligns with action rewards determines their relative performance. They report validation through synthetic experiments and a real-world generative retrieval setting.
What it does not show
- The source is the paper's abstract only, so the full article's proofs, experimental setup and detailed results are not covered here.
Sources
Source-support review completed 2 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 2 Dec 2026
New to the subject? AI from the Ground Up starts from the beginning.