Reproduce “Bernoulli On-Policy Distillation: Don't Ignore High-Confidence Student Tokens” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Mingyu Cao, Yaokai Jin, Shiwei Liu, Lu Yi

Bernoulli OPD trains a smaller language model on its own responses, matching teacher and student probabilities for each sampled token-versus-rest event. This removes vanilla reverse-KL distillation’s extra confidence-dependent suppression. In the primary setting, tokens above 0.9 made up 72.0% of samples but received 2.4% of vanilla’s gradient mass, versus 46.5% under Bernoulli; the five-benchmark average rose from 44.38 to 51.76. Across four mathematical-reasoning settings, aggregate scores exceeded vanilla’s, with gains varying by teacher.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.