Multi-Branch Transformer
On the map: Efficient LLM inference and serving → Early exit and edge inference
Abstract (arXiv)
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. At comparable training compute, we study three MBT variants: Wide-Shallow preserves block width, Narrow-Deep preserves sequential depth, and 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.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Early exit and edge inference, one of 12 directions in Efficient LLM inference and serving. Builds on 44 of its 52 references that are in the map. Submitted 15 Nov 2026.
Builds on
44 of 52 references.
References · 44
- 2017Attention Is All You Needcited by 62,125
- 2024The Llama 3 Herd of Modelscited by 16,113
- 2020Scaling Laws for Neural Language Modelscited by 7,118
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,433
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 5,132
- 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,487
- 2014Going Deeper with Convolutionscited by 4,284
- 2022Training Compute-Optimal Large Language Modelscited by 3,290
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,272
- 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,570
- 2025Gemma 3 Technical Reportcited by 2,058
32 more
- 2020GLU Variants Improve Transformercited by 2,000
- 2019Root Mean Square Layer Normalizationcited by 1,624
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,559
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,467
- 2019Deep High-Resolution Representation Learning for Human Pose Estimationcited by 1,357
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,356
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 780
- 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 611
- 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approachcited by 526
- 2016Convolutional Two-Stream Network Fusion for Video Action Recognitioncited by 387
- 2025FlashInfer: Efficient and Customizable Attention Engine for LLM Inference Servingcited by 330
- 2025Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Freecited by 323
- 2017Gated Multimodal Units for Information Fusioncited by 266
- 2023Multimodal Deep Learningcited by 266
- 2025Kimi Linear: An Expressive, Efficient Attention Architecturecited by 249
- 2016FractalNet: Ultra-Deep Neural Networks without Residualscited by 222
- 2024You Only Cache Once: Decoder-Decoder Architectures for Language Modelscited by 175
- 2024Reducing Transformer Key-Value Cache Size with Cross-Layer Attentioncited by 163
- 2025mHC: Manifold-Constrained Hyper-Connectionscited by 112
- 2024Hyper-Connectionscited by 99
- 2026Attention Residualscited by 79
- 2025Parallel Scaling Law for Language Modelscited by 35
- 2025Gemstones: A Model Suite for Multi-Faceted Scaling Lawscited by 25
- 2026LatentMoE: Toward Optimal Accuracy per FLOP and Parameter in Mixture of Expertscited by 21
- 2017Weighted Transformer Network for Machine Translationcited by 17
- 2025Scaling Inference-Efficient Language Modelscited by 17
- 2020Multi-branch Attentive Transformercited by 12
- 2026Mixture-of-Depths Attentioncited by 8
- 2026HySparse2: Hybrid Sparse Attention with Two-Level KV Sharingcited by 5
- 2026Depth-Attention: Cross-Layer Value Mixing for Language Modelscited by 4
- 2021Multi-Stream Transformerscited by 2
- 2026Parallel Track Transformers: Enabling Fast GPU Inference with Reduced Synchronizationcited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024MLKV: Multi-Layer Key-Value Heads for Memory Efficient Transformer Decoding
- 2026Mobius Learning: Cyclic Depth Folding in Transformers
- 2026The Surprising Effectiveness of Shared Memory in Looped Transformers
- 2022Efficiently Scaling Transformer Inference
- 2026FlashLoop: Fast and Memory-Efficient Looped Transformers via Lazy Updates
- 2026LEAP: Layer-wise Exit-Aware Pretraining for Efficient Transformer Inference
- 2025LLMCache: Layer-Wise Caching Strategies for Accelerated Reuse in Transformer Inference
- 2025SliceMoE: Routing Embedding Slices Instead of Tokens for Fine-Grained and Balanced Transformer Scaling