首页 > AI前沿 > Multi-Branch Transformer

Multi-Branch Transformer

arXiv机器学习 2026-11-15 13:20 39 阅读 查看原文
用户现在需要把给定的新闻正文排版成语义化的HTML片段,要遵循给出的规则。首先,先看正文内容,首先开头是介绍背景和MBT的引入,然后讲三个变体,然后实验,然后Joint-KV,然后最终方案和结果,最后消融研究。 首先,有没有需要划分小节的?可以给几个小节加

,比如“模型设计”对应介绍MBT的部分?不对,得按照内容来。首先第一段是开头的引入和MBT的提出,可以作为第一个

。然后接下来讲三个MBT变体的部分,可以用

三个MBT变体研究

,然后下面用

包裹内容。然后接下来讲预训练实验结果的部分,用

预训练实验结果

,下面的

。然后接下来讲Joint-KV的引入,用

推理效率优化:Joint-KV

,下面的

。然后讲最终方案和性能的部分,用

最终方案与性能表现

,下面的

。然后消融研究的部分用

消融研究结果

,下面的

?不对,要确保不增删改内容,所有信息都保留。 等下,先逐句看: 第一句:Transformer language models are commonly scaled by making their blocks wider or stacking them deeper. In this work, we explore a complementary path: branching, the parallel composition of full Transformer blocks. We introduce the Multi-Branch Transformer (MBT), which processes the input through shared initial layers, executes independently parameterized branches of sequential blocks in parallel, and fuses their outputs before shared final layers. 这部分可以作为一个

,前面加

或者

?比如

模型提出:多分支Transformer(MBT)

?对,然后下面

。 然后下一部分:At comparable training compute, we study three MBT variants: Wide-Shallow preserves block width, Narrow-Deep preserves sequential depth, and Balanced interpolates between them. 这部分可以作为

MBT变体设计

,然后下面

,里面的三个变体可以用

  • 吗?哦,对,三个变体是列表内容,所以可以改成:At comparable training compute, we study three MBT variants:
    • Wide-Shallow preserves block width
    • Narrow-Deep preserves sequential depth
    • Balanced interpolates between them
    不对,原文是“At comparable training compute, we study three MBT variants: Wide-Shallow preserves block width, Narrow-Deep preserves sequential depth, and Balanced interpolates between them.” 要保留所有信息,所以可以把前面的“At comparable training compute, we study three MBT variants:”放在

    里,然后下面接

      ,这样不会改内容。对,比如:

      At comparable training compute, we study three MBT variants:

      • Wide-Shallow preserves block width
      • Narrow-Deep preserves sequential depth
      • Balanced interpolates between them
      接下来下一句:In controlled pretraining experiments at four mixture-of-experts scales (0.8B to 2.1B total parameters), 2-branch Wide-Shallow MBTs consistently outperform sequential Transformers under matched parameter and training-compute budgets. Balanced MBTs improve further and retain comparable quality as the number of branches increases. 这部分可以作为

      预训练实验结果

      ,然后下面

      包裹。 然后下一句:To improve inference efficiency at long contexts, we introduce Joint-KV, which constructs a shared KV cache from branch representations at each depth. 这部分可以用

      推理效率优化:Joint-KV

      ,然后下面

      。 然后下一句:Our final recipe combines Balanced MBTs with Joint-KV, supported by an inference engine that exploits branch grouping and shared-cache reuse. Fitted scaling curves indicate that standard Transformers require up to 1.26x as much training body compute to match our final models' validation loss. These models reduce full-model KV-cache storage by up to 34% and deliver up to 51.4% higher decoding throughput on a single H200 GPU. 这部分可以作为

      最终方案与性能优势

      ,然后下面

      ,里面的重要数据可以加,比如1.26x、34%、51.4%这些? 然后下一句:Ablation studies show that branching yields gains beyond changes in width and depth, enables an effective KV-sharing strategy (Joint-KV), remains robust across fusion functions, and performs best in the middle layers. 这部分用

      消融研究结论

      ,下面

      。 最后一句:These findings show that branching offers a practical path for scaling language models toward both better modeling quality and faster inference. 这部分作为最后一个

      ,可以把重要句子加,比如“These findings show that branching offers a practical path for scaling language models toward both better modeling quality and faster inference.”? 等下,要确保所有内容都保留,不增删。现在整理一下结构:

      多分支Transformer(MBT)提出

      Transformer language models are commonly scaled by making their blocks wider or stacking them deeper. In this work, we explore a complementary path: branching, the parallel composition of full Transformer blocks. We introduce the Multi-Branch Transformer (MBT), which processes the input through shared initial layers, executes independently parameterized branches of sequential blocks in parallel, and fuses their outputs before shared final layers.

      MBT变体设计

      At comparable training compute, we study three MBT variants:

      • Wide-Shallow preserves block width
      • Narrow-Deep preserves sequential depth
      • Balanced interpolates between them

      预训练实验结果

      In controlled pretraining experiments at four mixture-of-experts scales (0.8B to 2.1B total parameters), 2-branch Wide-Shallow MBTs consistently outperform sequential Transformers under matched parameter and training-compute budgets. Balanced MBTs improve further and retain comparable quality as the number of branches increases.

      长上下文推理效率优化

      To improve inference efficiency at long contexts, we introduce Joint-KV, which constructs a shared KV cache from branch representations at each depth.

      最终方案与性能表现

      Our final recipe combines Balanced MBTs with Joint-KV, supported by an inference engine that exploits branch grouping and shared-cache reuse. Fitted scaling curves indicate that standard Transformers require up to 1.26x as much training body compute to match our final models' validation loss. These models reduce full-model KV-cache storage by up to 34% and deliver up to 51.4% higher decoding throughput on a single H200 GPU.

      消融研究结论

      Ablation studies show that branching yields gains beyond changes in width and depth, enables an effective KV-sharing strategy (Joint-KV), remains robust across fusion functions, and performs best in the middle layers.

      These findings show that branching offers a practical path for scaling language models toward both better modeling quality and faster inference.

      等下,检查有没有增删内容,所有原文的内容都包含了吗?是的,所有句子都在,没有添加或删除。然后有没有符合规则?每个自然段落用

      ,长文用

      /

      划分小节,列表用了
      • ,重要数据用了,没有文档级标签,没有多余内容。对,这样就可以了。现在确认一下,有没有哪里错了?比如,原文中的“At comparable training compute, we study three MBT variants: Wide-Shallow preserves block width, Narrow-Deep preserves sequential depth, and Balanced interpolates between them.” 这里拆分后,把前面的句子放在

        ,然后三个变体用列表,是符合语义的,没有改变内容,