Skip to content
نبض AIنبضAI

Multi-Branch Transformers improve language-model quality and inference efficiency

ResearchPublished: Source: Hugging Face Daily Papers

TL;DR:The paper introduces the Multi-Branch Transformer (MBT), which runs independently parameterized Transformer-block branches in parallel between shared initial and final layers.

Multi-Branch Transformers improve language-model quality and inference efficiency

The paper introduces the Multi-Branch Transformer (MBT), which runs independently parameterized Transformer-block branches in parallel between shared initial and final layers. In controlled pretraining experiments at four mixture-of-experts scales from 0.8B to 2.1B total parameters, two-branch Wide-Shallow models outperform sequential Transformers at matched parameter and training-compute budgets, while Balanced variants improve further. The authors pair Balanced MBTs with Joint-KV, a shared key-value cache strategy, and report up to 34% less full-model KV-cache storage and up to 51.4% higher decoding throughput on one H200 GPU.

Key points

  • MBT uses shared initial and final layers with independently parameterized Transformer branches operating in parallel.
  • Two-branch Wide-Shallow models outperform sequential Transformers at matched parameter and training-compute budgets; Balanced variants improve further.
  • Joint-KV creates a shared KV cache from branch representations at each depth.
  • The final models use up to 34% less full-model KV-cache storage and achieve up to 51.4% higher decoding throughput on one H200 GPU.
  • Scaling-curve fits suggest standard Transformers need up to 1.26× the training body compute to match the final models' validation loss.

Why it matters

For teams training or serving language models, branching is a model-design option that may improve quality without increasing matched training budgets, while Joint-KV can reduce serving memory and improve decoding throughput. The reported gains are experimental results and depend on the paper's setup, including a single H200 GPU for the throughput measurement.

Companies and models mentioned

  • Multi-Branch Transformer (MBT)
  • Joint-KV
  • H200
  • Hugging Face Daily Papers

More for AI Pulse members

A personalized pulse delivered daily on Telegram and the web by role and industry, plus the full story timeline, archive, search and bilingual view.

Start free

Related stories