Manuscript Offprint

arXiv:2611.12127

Lost in Rounding: bf16 Recurrent State Makes Hybrid Reasoning Models Think Longer

Yuchuan Weng, Xin Chen, Chi Liu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Hybrid reasoning models interleave attention with recurrent mixers such as Mamba-2 and Gated DeltaNet, whose state is stored in a cache between decoding steps. Prior work showed that storing this state in FP16 or INT8 with round-to-nearest (RTN) makes Mamba-2 and GDN hybrids more verbose, and that stochastic rounding (SR) fixes it. We study the other 16-bit format that serving engines expose, bf16, on six open hybrid reasoning models and 590 competition-math problems. With bf16 RTN state, five of the six models reason longer (geometric-mean length ×1.07 to ×1.27; also under greedy decoding in the two models tested) and hit the 32K token cap more often. On Qwen3.5-9B, cap hits rise from 118 to 223 and accuracy falls from 85.6% to 70.8%. On LiveCodeBench, both models tested also reason longer and lose 12.6 and 13.4 points of pass@1. Rerunning the capped items with a 128K budget halves the accuracy gap but does not close it (93.6% vs. 86.6%): bf16 runs that never finish are twice as common, and 85% of them are exact repetition loops. On Nemotron-Nano-9B-v2, by contrast, 30 of 31 extra caps finish at 128K, so the cost there is mostly extra tokens (exploratory). Same-width bf16 SR removes the length increase in four of the five affected models, restores Qwen3.5-9B to 87.6% and brings code length and pass@1 near FP32 levels, so the failure is mostly rounding bias, not missing resolution. With an integer-hash random generator, SR on Qwen3.5-9B matches FP32 on cap hits and accuracy (113 vs. 118; 85.6% for both) at the memory and decoding speed of bf16 RTN. In the Nemotron-Nano-v2 lineage, SR on a band of intermediate-decay heads (25% of heads) is enough to remove the effect, while random heads and the two decay octiles with the largest teacher-forced KL share are not; in Nemotron-3 and Qwen3.5-9B the effect is instead spread across heads. We recommend that evaluations of hybrid models report the state dtype, cap rate and output length alongside accuracy.

1 Introduction

Hybrid models combine a few attention layers with many recurrent layers, such as Mamba-2 (Dao & Gu, 2024) or Gated DeltaNet (GDN) (Yang et al., 2024). At decode time each recurrent layer reads its state from a cache, updates it once per token, and writes it back. The state is therefore re-rounded at every step, so any rounding bias can accumulate over a long reasoning trace. A bf16 cache takes half the memory of FP32 and, on our servers, admits twice as many requests per GPU (Appendix B).

Lengthening from rounding bias is already documented for some formats. Nemotron 3 Super reports that casting the SSM cache to FP16 increases verbosity by up to 37%, attributes this to round-to-nearest bias that “accumulates coherently over time”, and fixes it with stochastic rounding (NVIDIA, 2026b). Nemotron 3 Ultra extends the finding to INT8 and FP8 caches (NVIDIA, 2026c). Nazari et al. (2026) find the same for INT8 state on Qwen-3.5 and Nemotron-H: RTN lengthens responses and exhausts the budget more often, while SR stays close to the FP32 baseline. For bf16, the evidence is mixed. A vLLM bug fix reports that bf16 rounding of the recurrent state “shows up as runaway generations” in one Nemotron model and changes the default to FP32 (vLLM contributors, 2026b). In that model, FP32 cut generations hitting the token cap from 23% to 0.25% and raised requests/s 2.55×. LeapQuant reports that bf16 state lowers Qwen3.5-9B's AIME score from 87.9% to 72.1%, but finds that SR “helps little” for state error (Pan et al., 2026, §§3.2, 4.2). DAMP finds that FP16 beats bf16 at equal storage and attributes this to FP16’s finer resolution (Zhang et al., 2026). In SGLang, SR is available only for FP16 Mamba caches (SGLang contributors, 2026b); a pull request adding bf16 SR for GDN and Mamba was closed without accuracy results (SGLang contributors, 2026c).

We build on this work with a controlled study of bf16 RTN state on six open hybrid reasoning models (two related Mamba-2 models, a Mamba-2 MoE, two GDN models and a parallel hybrid). Our contributions are:

  1. A paired six-model measurement at bf16. Against FP32 on the same prompts, bf16 RTN lengthens reasoning in five of six models and raises cap hits, under both sampling and greedy decoding (§4), and on code in both models tested (§7).

  2. Budget versus non-termination. Rerunning capped items at 128K shows that about half of Qwen3.5-9B's accuracy loss disappears with more budget, while the rest comes from runs that never finish, mostly exact loops; on Nemotron-Nano-9B-v2 nearly all extra caps finish (§5). The common “both-finished” accuracy split (Liou et al., 2026) hides this.

  3. Bias, not resolution. Same-width bf16 SR, which we implement in SGLang’s Mamba-2 and GDN decode kernels, removes the effect in four of five affected models (§6). This extends the FP16 and INT8 results of NVIDIA (2026b;c); Nazari et al. (2026) to bf16, on both Mamba-2 and GDN models, and argues against a resolution-only explanation of the bf16 gap (Zhang et al., 2026).

  4. bf16 SR at bf16 cost. SR writes to the same bf16 cache as RTN, so it needs no extra memory, and its only cost is random-bit generation. With Triton’s default Philox our GDN kernel decodes at 30–60% of RTN speed; with an integer hash, SR on Qwen3.5-9B matches the throughput of a same-day RTN run, end to end and at matched batch size, and FP32’s length, cap hits, loops and accuracy (pre-registered; §6).

  5. Teacher-forced KL misranks head groups. In Nemotron-Nano-v2, SR on a band of intermediate-decay heads (two decay octiles, 25% of heads) removes essentially all of the effect, while random heads and the two octiles with the largest teacher-forced KL share do not (§8). In Nemotron-3 and Qwen3.5-9B the effect is spread across heads, so head selection has to be validated per model.

Key tests were pre-registered: we wrote predictions and pass/fail criteria in a working notebook before running each arm. The notebook is not externally timestamped; Appendix A lists the criteria. We label the remaining analyses exploratory.

References (29)