Reproduce “bf16 Rounding Silently Discards Most RL Policy Updates: A Hidden Training-Inference Mismatch and an Unbiased One-Line Fix” 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

Andrew Gao, William Gao

Fair Cast changes how reinforcement-learning post-training exports weights and computes its loss. It uses unbiased stochastic rounding to create a bf16 copy, then evaluates the loss on that served copy while passing gradients to the fp32 master. On Qwen3-1.7B zebra puzzles, it reaches 0.57 held-out accuracy versus 0.33 with round-to-nearest, but one of four runs declines late.

Summary by alphaXiv.

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