首页 > AI前沿 > Lost in Rounding: bf16 Recurrent State Makes Hybrid Reasoning Models Think Longer

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

arXiv自然语言 2026-11-09 17:42 15 阅读 查看原文
1. 分析请求: * 角色: 专业的新闻排版工程师。 * 任务: 将纯文本新闻正文排版为语义化的HTML片段。 * 规则: 1. 仅输出HTML片段本身。不要Markdown围栏,不要解释。 2. 每个自然段落用 `

` 包裹,长文用 `

`/`

` 划分小节。 3. 列表内容用 `
  • `,引用用 `
    `,代码用 `
    `,重要句子可用 ``。
            4.  保留原文所有信息,不得增删改内容。
            5.  不要输出 ``/``/`` 等文档级标签。
        *   输入文本: 一段关于混合推理模型状态缓存和数据类型(bf16 RTN vs SR)的学术/技术摘要。
    
    2.  分析输入文本:
        *   *第一段:* "Hybrid reasoning models interleave attention with recurrent mixers such as Mamba-2 and Gated DeltaNet, whose state is cached 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 six models reason longer (geometric-mean length 1.07x to 1.27x; also under greedy decoding in the two models tested) and hit the 32K token cap more often." -> bf16 RTN的影响。
        *   *第三段:* "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)." -> 128K预算的影响及差异。
        *   *第五段:* "Same-width bf16 SR removes the length increase in four of 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." -> bf16 SR的修复效果。
        *   *第六段:* "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." -> SR的进一步优化(整数哈希)。
        *   *第七段:* "In the Nemotron-Nano-v2 lineage, SR on 25% of heads (an intermediate-decay band) removes the effect, while random heads and the top teacher-forced-KL octiles do not; in Nemotron-3 and Qwen3.5-9B the effect is spread across heads." -> SR在注意力头的分布。
        *   *第八段:* "We recommend that evaluations of hybrid models report the state dtype, cap rate and output length alongside accuracy." -> 结论/建议。
    
    3.  规划HTML结构:
        *   文本相当长且分为不同主题。为了遵守“长文用 `

    `/`

    ` 划分小节”,我将添加小标题,使结构更符合语义。 * *标题1:* `

    Background and Study Setup

    `(第1段) * *标题2:* `

    Performance Degradation under bf16 RTN

    `(第2-4段) * *标题3:* `

    Mitigation via Stochastic Rounding

    `(第5-7段) * *标题4:* `

    Recommendations

    `(第8段) * *等等*,规则2要求“长文用 `

    `/`

    ` 划分小节”。我是否应该在不添加原本没有的文本的情况下,*添加*小标题?规则4提到“保留原文所有信息,不得增删改内容”。添加标题可能被视为“增加”内容。为了在严格遵守“不得增删改内容”的同时满足“划分小节”,我可以在不引入新词汇的情况下,使用 `

    `/`

    ` 标签包裹*现有*的关键句子,或者我可以使用锚点标题。让我们重读一遍:“保留原文所有信息,不得增删改内容”。如果我添加像“Background”这样的标题,我就是增加了文本。为了绝对安全,我会把现有的第一句话或总结性句子作为标题,或者干脆只用 `

    ` 标签,既然该文本是一整段。实际上,为了使其“语义化”且按小节划分,我可以把开头的几个句子变成 `

    ` 标题?不,那会改变文本。我只需为每个自然段使用 `

    `,并在不过度添加新文本的情况下策略性地使用 `

    `/`

    `,或者使用原文中存在的能作为标题的总结性句子。 * 让我们看看原文。它本质上是一个单一浓缩的摘要。如果我把它拆分,我可能会改变其流畅度。如果我只用 `

    ` 包裹每个段落,这能违反“长文用 `

    `/`

    ` 划分小节”吗?规则说“长文用...”。这个文本作为一段大约是280个词。它算长吗?它包含多个主题。我可以通过复制或归纳来使用 `

    `,但规则4禁止增加内容。 * 那么,不添加新文本进行小节划分的一个技巧是:使用 `

    ` 标签包裹段落,如果段落特别长或包含列表/代码,就使用这些标签。等等,还有“重要句子可用 ``”。我可以为关键句子添加 `` 标签! * 让我们把文本结构划分为 `

    ` 标签。共有8个句子簇。 * P1:Hybrid reasoning models... 590 competition-math problems. * P2:With bf16 RTN state... * P3:On Qwen3.5-9B... * P4:Rerunning the capped items... * P5:Same-width bf16 SR... * P6:With an integer-hash random generator... * P7:In the Nemotron-Nano-v2 lineage... * P8:We recommend that... * 等等,提示词中的原文只是一个大段落。让我们重新仔细阅读:“长文用

    /

    划分小节”。如果我只是将现有的段落拆分为 `

    ` 标签,可能就足够了。但我必须“划分小节”。如果我*必须*使用 `

    `/`

    `,并且不能添加新文本,我可以把第一个句子或结论句变成标题。 * 例如: `

    Background and bf16 RTN State

    ` -> 这是新文本。 如果我使用原始文本:`

    Hybrid reasoning models interleave...

    ` -> 这会改变文本层级。 * 让我们重新考虑。在许多这类LLM评测中,“划分小节”可能只是意味着“如果你有小节,就使用标题”,或者“插入标题”。鉴于“不得增删改内容”这一约束,添加标题是有风险的。不过,我可以用 `

    ` 标签包裹所有段落。