{
  "id": 1498,
  "kind": "paper",
  "title": "bf16 Rounding Silently Discards Most RL Policy Updates: A Hidden Training-Inference Mismatch and an Unbiased One-Line Fix",
  "summary": "RL post-training keeps fp32 master weights in the optimizer and serves rollouts from a bf16 copy made by round-to-nearest conversion - the export rule in every open-source framework the authors examined (verl, TRL, OpenRLHF, slime, prime-rl, AReaL). Near a weight of magnitude |w| the bf16 grid spacing is u ~ |w|/128, so round-to-nearest discards any update smaller than u/2 ~ |w|/256; at common RL learning rates (eta ~ 1e-6) almost every update is that small. Measured on Qwen3-1.7B: only 0.4-0.5% of served weights change per optimizer step (0.13% at eta = 3e-7), a weight crosses a rounding boundary only every ~50-200 steps, and under a decaying LR schedule the sampler effectively freezes while the optimizer keeps moving - the data-generating policy lags the optimizer by 50-150 steps. Muon is worse: its per-element updates are nearly uniform in magnitude, so at eta = 1e-6 almost none cross a boundary. The mismatch is invisible to existing corrections (PPO clipping, truncated importance sampling, IcePop) because the ratio they form compares the trainer's bf16 forward pass with the sampler, and both sit downstream of the same rounding: the visible per-token |log rho| stays ~0.01 all training while the hidden master-versus-served ratio - never formed by any framework - grows to 0.10-0.16 on MATH and ~0.45 on knights-and-knaves, with per-token effective sample size between master and served policy falling to 0.2-0.35 on 2,000-token tasks. Fix (Fair Cast): export with an unbiased rounding rule - stochastic rounding (E[q] = theta exactly) or error feedback (a sigma-delta-style residual keeping accumulated export error bounded by u) - AND compute the training loss on the served copy; both halves are necessary, either alone fails. One line at the export call, no hyperparameters, 22-38 ms per export of 1.7B parameters. Results across 25 matched seed-pairs (Qwen3-0.6B to 4B, AdamW and Muon, GRPO on logic/game/math/code tasks): Fair Cast ahead on 18, tied on 6, behind on 1, mean gain 6.1 points; zebra puzzles 0.57 +/- 0.16 over four runs vs round-to-nearest collapsing to 0.33 +/- 0.10; on knights-and-knaves the round-to-nearest sampler stays frozen for the first ~20 steps (0.12 -> 0.15 -> 0.22) where Fair Cast moves immediately (0.12 -> 0.51 -> 0.79), and a single optimizer step moves an fp32 sampler 0.17 -> 0.84 while the bf16 round-to-nearest sampler stays at 0.19 across three steps. Two further findings: under round-to-nearest the saved fp32 checkpoint can score 12-50 points BELOW its own served export (the checkpoint is not the model; any finer export inherits the gap), and the round-to-nearest lag is an uncontrolled low-pass filter on the served policy that acts as a regularizer - exporting an EMA of the master with the same unbiased rounding restores it as a single explicit knob and surpasses round-to-nearest on the one task where the filter helps. Relation to prior diagnostics: Dirhoussi, Gallouedec et al. derived the same dead-zone threshold and PULSE measured the resulting update sparsity, but both treated it as a communication artefact and made the trainer agree with the stale sampler; this paper instead makes the served copy track the master and trains on the served copy. Code and full training harness public (MIT). Joins the precision thread and the train-inference-mismatch cluster (IDs 1588/1589): it identifies a mismatch upstream of every correction in that cluster, since they all compare copies downstream of the rounding.",
  "body": "",
  "notes": "License: paper CC BY 4.0 (license icon on the arXiv record); code MIT (verified on the repo: github.com/andrewgcodes/faircast, includes the full training harness and per-arm configs). Shared as a bare t.co link 2026-11-02 resolving directly to the arXiv page.",
  "url": "https://arxiv.org/abs/2610.41073",
  "links": [],
  "authors": [
    "Andrew Gao (Stanford University)",
    "William Gao (Stanford University)"
  ],
  "tags": [],
  "topics": "",
  "venue": "arXiv preprint",
  "publisher": "",
  "source": "arxiv",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": 2026,
  "added_at": "2026-11-02T00:00:00.000Z",
  "verified_at": "2026-11-02T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "legacy_paper_id": "1797"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-11-02T15:22:50.044Z",
  "updated_at": "2026-11-02T15:22:50.044Z",
  "page": "https://papers.projxon.ai/entries/1498",
  "markdown": "https://papers.projxon.ai/entries/1498.md",
  "api": "https://papers.projxon.ai/api/entries/1498",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 1281,
      "kind": "paper",
      "title": "Score Centering Stabilizes Off-policy Reinforcement Learning",
      "summary": "LLM RL is notoriously sensitive to small differences between training and inference engines (training-inference mismatch, TIM); eliminating TIM entirely would cost too much rollout efficiency. The paper shows the instability of RL under TIM is primarily caused by drift: a persistent bias between training and inference engines that accumulates with every training step. It derives an additive 'score centering' correction term that stabilizes RL under TIM by canceling drift. Training models from 0.6B to 30B parameters, score centering alone matches or outperforms importance-sampling-based methods under sampler quantization, with the gap growing as mismatch becomes more severe; because the correction is additive it composes with importance sampling, and the composition beats pure importance-sampling baselines in staleness experiments. Experiments: Qwen3-30B-A3B-Base on INTELLECT-2 math data with progressively stronger quantization of the sampler. Official code: github.com/martin-marek/score-centering. Industry-adoption note (Lambert share, 2026-11-05): Lambert reports score-centering is now popular in industry RL stacks - e.g. Tinker's StableReinforce uses it (secondhand, via Lambert) - and has added it to the RLHF Book as its own section in the policy-gradients chapter (rlhfbook.com/c/06-policy-gradients#score-centering), framing the derivation as the cleanest way to understand training-inference mismatch.",
      "url": "https://arxiv.org/abs/2609.20807",
      "authors": [
        "Martin Marek",
        "Max Ryabinin"
      ],
      "tags": [
        "score-centering",
        "drift-correction",
        "training-inference-mismatch",
        "off-policy-rl",
        "importance-sampling",
        "rlvr",
        "llm-post-training"
      ],
      "venue": "arXiv 2609.20807 (cs.LG), submitted 17 Sep 2026",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-06T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1281",
      "markdown": "https://papers.projxon.ai/entries/1281.md",
      "api": "https://papers.projxon.ai/api/entries/1281"
    },
    {
      "id": 1044,
      "kind": "post",
      "title": "vime × RL-Kernel × AMD: Bitwise Train–Rollout Consistency on ROCm (RL-Kernel v0.1.0)",
      "summary": "vLLM Blog (2026-09-14) on RL-Kernel v0.1.0 with vime and AMD: Megatron training and vLLM rollout often disagree on logprobs for the same weights/tokens because kernels, Split-K/KV, reduction order, and intermediate precision differ, which pollutes importance ratios and KL/clipping. RL-Kernel aligns the numerical execution contract (RMSNorm, Attention, GEMM/SwiGLU, linear logprob, collectives) while vime aligns the timeline and weight sync. On ROCm they added deterministic MFMA GEMM, vocabulary reduction, HIP IPC, AITER/CK Attention schedule fixes, math/fusion last-bit fixes, and paged-KV/HIP-Graph state fixes. End-to-end Qwen3-8B BF16 GRPO on 8× MI300X (Megatron TP4/CP2; 2× vLLM TP4 colocated; 200 steps; dapo-math-17k) reports mismatch_count=0 and max_abs_diff=0 throughout on the strict path vs native mismatches every step. Apache-2.0 at github.com/RL-Align/RL-Kernel (pyproject 0.1.0; torch>=2.4.1; transformers==5.13.1; optional cuda/rocm/vllm extras). Docs https://rl-align.github.io/RL-Kernel/. Scope today: Qwen3-8B Dense + vime + CUDA/ROCm; MoE/multimodal next.",
      "url": "https://vllm.ai/blog/2026-09-14-rl-kernel-v0-1-0-train-rollout-bitwise-consistency",
      "authors": [
        "RL-Kernel Team",
        "vime Team",
        "AMD Team (core: Chutian Wang",
        "Jiajie Li",
        "Siru He",
        "Xiaosong Ma",
        "Kaijie Lin",
        "Jian Zhang",
        "Huihong Lu",
        "Yunxiang Cai",
        "Bosong Yang",
        "Zhewei Liu",
        "Houhong Liang",
        "Ryan Huang",
        "Vensen Mu)"
      ],
      "tags": [
        "rl-kernel",
        "vime",
        "vllm",
        "megatron",
        "bitwise-consistency",
        "train-rollout",
        "rocm",
        "mi300x",
        "grpo",
        "amd",
        "rl-align",
        "apache-2.0",
        "vendor-blog"
      ],
      "venue": "vLLM Blog / RL-Align",
      "source": "web",
      "license": "Apache-2.0 (RL-Kernel; LICENSE + pyproject)",
      "published_year": null,
      "added_at": "2026-09-25T02:09:13.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1044",
      "markdown": "https://papers.projxon.ai/entries/1044.md",
      "api": "https://papers.projxon.ai/api/entries/1044"
    },
    {
      "id": 1290,
      "kind": "tool",
      "title": "RL Environment Explorer — Hugging Face Hub RL Environments filter",
      "summary": "Hugging Face launched a dedicated RL Environments filter on the Hub (announced Sept 28, filter live Oct 5, 2026): any dataset repository tagged `rl-environment` appears at huggingface.co/datasets?other=rl-environment, giving one shared index for agent tasksets across five frameworks — OpenEnv, Harbor, MiMo, Verifiers, and NVIDIA NeMo Gym. Framework tags (harbor, verifiers, openenv, nemo-gym) are registered as dataset libraries: each puts the framework's icon on the dataset page and generates a framework-specific loading snippet under 'Use this dataset'; a repo can carry multiple tags since compatibility is non-exclusive. Environments are framed as data + runtime: the Hub hosts, versions, gates, and previews tasksets (tasks, tests, containers, reward rules); execution happens locally or on supported cloud backends (HF Jobs, HF Sandboxes), and the Hub itself does not run environments. Already seeded environments include Harbor's BeyondSWE, Terminal-Lego, Harbor-Mix, and NatureBench; Verifiers' Reverse-Text-RL, Multi-SWE-RL-Verified (2,232/4,703 rows), R2E-Gym-Subset-Verified, and Scale-SWE-Verified (17,202/20,181); and NeMo Gym's Workplace Assistant (5 databases, 26 tools, 690 business tasks), Structured Outputs, CFBench, and SysBench. Announced with 12M+ RL task entries across RL environments on the Hub; OpenEnv auto-tags on upload.",
      "url": "https://huggingface.co/blog/rl-environments",
      "authors": [
        "Adithya S K / Hugging Face"
      ],
      "tags": [
        "rl-environment-explorer",
        "rl-environments-filter",
        "hugging-face-hub",
        "openenv",
        "harbor",
        "verifiers",
        "nemo-gym",
        "mimo",
        "tasksets",
        "agent-rl"
      ],
      "venue": "Hugging Face Hub",
      "source": "blog",
      "license": "",
      "published_year": null,
      "added_at": "2026-10-07T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1290",
      "markdown": "https://papers.projxon.ai/entries/1290.md",
      "api": "https://papers.projxon.ai/api/entries/1290"
    },
    {
      "id": 839,
      "kind": "post",
      "title": "The ultimate guide to multi-harness RL",
      "summary": "The ultimate guide to multi-harness RL (Adithya S Kolavi / FineEnvs, Hugging Face Space, 2026-10-01). Not a paper: a 33-figure ~60-page interactive research article plus full artifact release documenting how to do RL across multiple agent harnesses without modifying them -- claiming the first public multi-harness agent RL pipeline. Core idea: a 'capture proxy' sits between the agent harness and vLLM, speaks the four API formats coding agents use (OpenAI Chat Completions, OpenAI Responses, Anthropic Messages, Gemini), records exact token ids/logprobs sampled by vLLM, and reconstructs TRL-trainable traces, so the same rollouts run unmodified through 10+ harnesses. Full GRPO runs: LFM2.5-2.6B trained with multi-harness RL on 1,000 SmolDataEnvs data-analysis tasks, evaluated on 250 held-out tasks under four harnesses: base 42.2% -> multi-harness RL 54.2% pass@1 overall (step 1,000; best checkpoint step 700: 54.6%); per-harness OpenCode 49.6%, Claude Code 48.8%, Codex 53.6%, Mini-SWE-Agent 64.8%. OpenCode-only RL (step 900) reached 52.4% overall and won on its home harness (56.0%) but lost to multi-harness RL on Claude Code and Codex. Tool efficiency: correctness-only reward keeps tool calls high; adding a small bonus for fewer calls cut tool calls 31.1% on 356 task/harness pairs solved by both base and model, savings in all four harnesses. SFT comparison: fine-tuning on 3,189 successful Qwen3.8-27B teacher rollouts (17,929 examples, 2 epochs) plateaued -- OpenCode SFT 47.5% (-8.5% calls), multi-harness SFT 43.1% (-24.2% calls), both below RL (54.6%), showing multi-harness RL beats imitation at both performance and efficiency. Setup: async GRPO (TRL Async GRPO), 1,000 steps, reward = correctness x (1 + 0.1x15/(15+tool_calls)), 8 rollouts per GRPO group (one harness each, rotating), on 2xH100 (~32h OpenCode-only, 46h multi-harness); rollouts in E2B sandboxes via OpenEnv + Harbor. OpenEnv is BSD-3-Clause (PR #1036 capture proxy + Harbor, PR #1280 typed TrainingTrace API); TRL PR #6947 HarnessRolloutWorker (on TRL main, not v1.14.1). Trained models (full weights) under LFM Open License v1.0: LFM2.5-2.6B-multiharness-RL, -opencode-RL, -multiharness-SFT, -opencode-SFT, Qwen3.5-2B variants. Caveat from the model card: best-checkpoint selection used the test set (no separate validation set); single-run results on fixed harness versions.",
      "url": "https://huggingface.co/spaces/FineEnvs/multi-harness-rl",
      "authors": [
        "Adithya S Kolavi (FineEnvs / Hugging Face)"
      ],
      "tags": [
        "multi-harness-rl",
        "agent-harnesses",
        "grpo",
        "trl",
        "openenv",
        "vllm",
        "capture-proxy",
        "claude-code",
        "codex",
        "opencode",
        "tool-efficiency",
        "sft-vs-rl",
        "smoldataenvs",
        "harbor",
        "agentic-rl"
      ],
      "venue": "Hugging Face Space, 2026-10-01",
      "source": "article",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/839",
      "markdown": "https://papers.projxon.ai/entries/839.md",
      "api": "https://papers.projxon.ai/api/entries/839"
    },
    {
      "id": 1095,
      "kind": "post",
      "title": "SFT, RL, and On-Policy Distillation Through a Distributional Lens",
      "summary": "Independent technical essay arguing that SFT pulls toward a fixed external dataset (forward-KL / catastrophic-forgetting risk), RL reshapes regions the current policy already visits, and on-policy distillation (OPD) is in between: teacher logits with student-generated states. Reports a minimal code-editing task (fix a corrupted function and nothing else) where SFT and RL teachers both learn the task but RL generalizes better and forgets less on LiveCodeBench v6. OPD students from either teacher look similar, slightly beat the RL teacher on the editing metrics, and forget less than the SFT teacher even when distilled from it. Prefers Shenfeld et al.'s nearest-task-solving-policy view of on-policy data over KL-direction or uniform-token-gradient stories as the main anti-forgetting mechanism. Discusses GLM 5 / DeepSeek v4 using OPD to merge experts and MiMo-V2 Flash Table 7 domain-wise teacher recipes. No new public dataset or weights.",
      "url": "https://nrehiew.github.io/blog/sft_rl_opd/",
      "authors": [
        "nrehiew (GitHub nreHieW)"
      ],
      "tags": [
        "sft",
        "rl",
        "on-policy-distillation",
        "opd",
        "opsd",
        "catastrophic-forgetting",
        "post-training",
        "livecodebench",
        "distributional-view",
        "independent-blog"
      ],
      "venue": "nrehiew.github.io",
      "source": "web",
      "license": "",
      "published_year": null,
      "added_at": "2026-09-01T18:32:46.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1095",
      "markdown": "https://papers.projxon.ai/entries/1095.md",
      "api": "https://papers.projxon.ai/api/entries/1095"
    },
    {
      "id": 1260,
      "kind": "paper",
      "title": "Planning to Learn (The horizon problem: policy gradients are myopic)",
      "summary": "Shows that when policy gradients fail, the usual suspects (exploration, credit assignment, sampling noise) are not the cause. A classifier is a policy whose expected reward — expected accuracy — is the probability assigned to the correct label, so the policy gradient is exact and smooth; yet exact policy gradient loses to cross-entropy even on expected accuracy (ImageNet: 4% vs 62% for cross-entropy). The exact gradient is myopic: it values an update only by what it buys now, but each update also sets where the next one starts, so an update's value depends on how much learning remains. Viewed this way, cross-entropy is 'patient accuracy' — the total error an example would pay if its log-odds rose at unit speed forever — while exact policy gradient is the zero-horizon limit. Truncating this total at the learning that remains yields the horizon loss, a one-line change moving from cross-entropy toward exact policy gradient as training runs out. Provably escapes the trap that catches each endpoint in a simple allocation model; on MNIST and ImageNet (ResNet-50, ResNet-101, ViT-S/16), the horizon loss improves top-1 accuracy over cross-entropy at a flat learning rate, with gains growing under label noise. Implication for LLM post-training: policy gradient 'only cares about the end result' (accuracy), so cross-entropy-like losses over a longer horizon can yield better expected reward than following the policy gradient directly.",
      "url": "https://arxiv.org/abs/2610.03667",
      "authors": [
        "Ian Osband"
      ],
      "tags": [
        "policy-gradient",
        "cross-entropy",
        "myopia",
        "horizon-loss",
        "rl-post-training",
        "deepmind",
        "osband"
      ],
      "venue": "arXiv 2610.03667 [cs.LG], submitted 2 Oct 2026, preprint",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-05T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1260",
      "markdown": "https://papers.projxon.ai/entries/1260.md",
      "api": "https://papers.projxon.ai/api/entries/1260"
    }
  ]
}
