Skip to content
PodSubs
ShowsPeopleGuestsJobsNewsEvents
More
BlogPodCred
Menu
ShowsPeopleGuestsJobsNewsEventsBlogPodCredNetworksSign in
Join nowSign in
  • Shows
  • People
  • Jobs
  • News
  • More
    • Guests
    • Events
    • Blog
    • PodCred
    • Networks
    Join nowSign in

Daily Paper Cast

Daily Paper Cast artwork

Multi-Branch Transformer

Nov 18, 202624 minAudioEpisode 2513
ShareXLinkedInFacebookWhatsAppEmail

🤗 Upvotes: 31 | cs.LG, cs.CL Authors: Gaotang Li, Lingjie Chen, Chunyuan Deng, Zhiwei Xu, Hongzheng Chen, Christopher De Sa, Jingrui He, Yingheng Wang, Hanghang Tong Title: Multi-Branch Transformer Arxiv: http://arxiv.org/abs/2611.19800v1 Abstract: 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.

Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.

Transcript

From the show. Tap a time to play from there.

Evan: Welcome to Daily Paper Cast. Ashley: Today's paper is from the Hugging Face daily paper list of November 18, 2026, with 31 upvotes. The title is 'Multi-Branch Transformer.' Evan: The first two authors are Gaotang Li and Lingjie Chen, with the corresponding author being Jingrui He. They are from the University of Illinois Urbana-Champaign. Ashley: The Introduction section discusses how scaling transformer language models traditionally focuses on increasing depth and width by stacking more layers or expanding the transformations within each block.

This has been the cornerstone for many advancements in large language models, including innovations in attention mechanisms, sparse expert computation, and residual connections. These methods mostly rely on the sequential composition of full transformer blocks. Evan: So what new approach does this paper propose for scaling transformers, Ashley? Ashley: The paper introduces a novel concept called branching, where the composition of transformer blocks happens in parallel rather than sequentially. This is different from the traditional models that stack layers vertically in sequence.

The key question the authors seek to answer is whether transformers can scale more effectively and efficiently through the parallel composition of full blocks. Evan: That sounds intriguing. Can you explain how these Multi-Branch Transformers, or MBTs, are structured? Ashley: Of course. An MBT processes the input through initial shared layers known as the prelude, then the computation is split across independently parameterized branches that execute concurrently. After processing through these parallel branches, their outputs are fused, and the result is passed through shared final layers called the coda.

Evan: So they still use sequential composition within each branch, but run these branches concurrently. How exactly does this benefit the model’s scalability? Ashley: Exactly. By preserving the sequential structure within individual branches and allowing the final layers to build on multiple transformation paths, MBTs can harness the benefits of parallelism without sacrificing the complexity and richness of sequential transformer blocks. This approach is complementary to other systems approaches like tensor and pipeline parallelism, which can also be applied to these models.

Evan: The paper mentions different variants of MBTs. Can you go over them? Ashley: Sure. There are three key variants: Wide-Shallow MBTs, which preserve the original block width and distribute blocks across the branches; Narrow-Deep MBTs, which maintain depth along each branch but use narrower blocks; and Balanced MBTs, which find a midpoint between width and depth, using intermediate settings for both. This diversification allows the model to explore different trade-offs between width and depth within a fixed computational budget.

Evan: How do these variants perform relative to traditional transformers in terms of efficiency and effectiveness? Ashley: Wide-Shallow MBTs show consistent performance improvements over traditional sequential transformers while keeping the training compute budget comparable. Balanced MBTs further elevate modeling performance, striking a delicate balance between width and depth. Empirical results show that MBTs could retain comparable quality even as the number of branches increased from two to three or four. Additionally, the authors propose the Joint-KV method to enhance inference efficiency for long context processing by constructing a shared key-value cache from branch representations at each depth.

Evan: Interesting. How do these design choices impact the overall scalability and efficiency of transformers? Ashley: The scaling curves fitted during this study indicate that traditional transformers could require up to 1.26 times as much training body compute to match the validation loss of the final MBT models. The MBTs showed up to 51.4% higher decoding throughput on a single H200 GPU, along with reduced full-model key-value cache storage by up to 34%. Extensive ablation studies demonstrated that branching yields gains beyond changes in width and depth settings and enhances key-value sharing strategy efficiency.

These results position branching as a practical path for scaling language models towards better modeling quality and faster inference. Evan: This concludes our discussion of the Introduction section. Evan: Ashley, let's dive deeper into the methodology. How do the authors exactly implement the Multi-Branch Transformer structure? Ashley: Certainly, Evan. The architecture of the Multi-Branch Transformer, or MBT, is designed to replace parts of the traditional serial Transformer stack with independently parameterized branches.

The MBT processes input tokens through shared blocks at the beginning and end of the sequence, known as the prelude and coda, respectively. In between, the computation is split across multiple branches, each made up of a stack of Transformer blocks. Evan: So what happens inside these branches? Ashley: Within each branch, the computation proceeds sequentially as it would in a standard Transformer block. Each block in the branch takes the hidden states from the previous block, applies causal attention, and follows it with a mixture-of-experts feed-forward module.

This mechanism retains the core functionality of the Transformer while leveraging parallelism across branches. Evan: And how are the outputs from these branches combined? Ashley: At the end of the parallel processing, the outputs from all branches are normalized, concatenated, and projected back into the shared width. This fusion step is crucial as it maintains the consistency of the model's output, ensuring that the subsequent layers in the coda receive a unified representation to process. Evan: This must involve some intricate computation.

How do they decide the width and depth of these branches? Ashley: Excellent question, Evan. The authors describe three width–depth allocation strategies. First, Wide-Shallow MBTs keep the original block width and distribute blocks evenly across branches. Second, Narrow-Deep MBTs preserve the depth along each branch but reduce the block width to accommodate more blocks. Lastly, Balanced MBTs strike a midpoint between these two, adjusting both width and depth to balance computational loads. Evan: How do these different approaches impact the performance and efficiency of the model?

Ashley: Wide-Shallow MBTs are particularly effective when blocks are distributed evenly across branches, showing consistent improvements in language modeling performance. Narrow-Deep MBTs, while maintaining the depth, require adjustments in width which can sometimes impact performance. Balanced MBTs, with their intermediate adjustments, often provide the strongest performance among the studied configurations. This diversified approach allows each variant to explore different trade-offs between computation depth and width within a fixed compute budget.

Evan: It sounds like the authors also introduced something called Joint-KV. Can you elaborate on that? Ashley: Joint-KV is a method introduced to enhance inference efficiency, especially for long-context processing. Normally, each branch in an MBT constructs its own key-value cache during computation. Joint-KV, however, constructs a shared key-value cache from the representations of all branches at each depth, while maintaining branch-specific queries. This consolidated cache significantly reduces storage requirements and memory traffic during decoding.

Evan: How does that translate into practical benefits? Ashley: The benefits are substantial. By consolidating key-value information, Joint-KV reduces the memory footprint of the model, making it more efficient during inference. The approach also supports an inference engine that exploits branch grouping and shared-cache reuse, thus reducing redundant key-value reads and enhancing throughput. Evan: What else did the authors do to test the effectiveness of their design choices? Ashley: Extensive ablation studies were conducted to benchmark MBTs against traditional transformers.

These studies consistently showed performance gains that go beyond simply adjusting width and depth. The branching architecture, complemented by Joint-KV, proved robust across various fusion functions and performed best when the branches were placed in the middle layers of the model. Evan: Did the authors discuss any specific experimental setups or datasets used in their evaluations? Ashley: Yes, they did. The experiments were carried out using a scaling ladder of mixture-of-experts models ranging from 0.8 billion to 2.1 billion total parameters.

The models were pre-trained on the FineWeb-Edu dataset, utilizing the Llama 3 tokenizer, with a context length of 4,096 tokens. Each model's training recipes and protocols reflected recent advancements in LLM pretraining efficiency. Evan: And how did these models fare in terms of downstream evaluation performance? Ashley: In downstream evaluations, MBTs consistently outperformed standard transformers across various zero-shot tasks. The authors reported improvements in tasks like HellaSwag, ARC Easy and Challenge subsets, OpenBookQA, SciQ, WinoGrande, Boolean Questions, LAMBADA, and Physical Interaction QA.

These results highlight the robustness and versatility of MBTs in real-world applications. Evan: Impressive results indeed. What about the practical inference gains you mentioned earlier? Ashley: The practical inference gains were also notable. Across multiple configurations and input sizes, MBTs showed reduced key-value cache storage and higher decoding throughput compared to standard transformers. For example, with 64K-token inputs, the Joint-KV MBTs achieved up to 1.50 times the decoding throughput of standard models on a single H200 GPU.

Evan: That sounds like a game-changer for long-context processing. Any final thoughts on the method section before we wrap up? Ashley: In conclusion, the methodology proposed in this paper, especially the introduction of branching and Joint-KV, presents significant advancements in transformer scalability and efficiency. These innovations not only enhance model performance but also offer practical benefits for real-world applications. It's the end of the Method section; next, we'll explore the experiments and results.

Evan: Ashley, let's delve into the experimental setup and results of the paper. How did the authors design their experiments to evaluate the performance of the Multi-Branch Transformers? Ashley: The authors conducted extensive pretraining experiments using a scaling ladder of mixture-of-experts models. The scales ranged from 0.8 billion to 2.1 billion total parameters. They trained these models on the FineWeb-Edu dataset, which comprises high-quality text data designed to evaluate language modeling tasks. The tokenizer used was the Llama 3, with a context length of 4,096 tokens to ensure comprehensive evaluation across different model sizes.

Evan: What comparisons did they make, and how were these models configured? Ashley: The experiments compared standard transformers with three main variants of Multi-Branch Transformers: Wide-Shallow, Narrow-Deep, and Balanced MBTs. To further enhance inference efficiency, they included Joint-KV MBTs in their experiments. They meticulously designed the blocks for each variant to explore different width and depth combinations, data distributions, and computational loads. Key configurations involved distributing transformer blocks across branches in different ratios to balance performance and efficiency.

Evan: This sounds thorough. How did the performance of these models compare in terms of validation loss and downstream tasks? Ashley: Overall, the MBTs exhibited superior performance compared to standard transformers. The Wide-Shallow MBTs showed consistent improvements in validation loss across all scales. For instance, allocating approximately one-third of the blocks to the parallel branches reduced validation loss significantly by around 0.025 to 0.031 compared to the standard models.

Beyond that, Balanced MBTs demonstrated robust performance maintaining comparable quality even with the increasing number of branches. Joint-KV variants further optimized these outcomes by reducing the key-value cache storage and enhancing throughput during the decoding process. Evan: These validation losses are impressive. What about practical performance in real-world tasks? Ashley: In downstream evaluations, MBTs consistently proved their robustness across various zero-shot tasks.

The tasks included HellaSwag, AI2 Reasoning Challenge Easy and Challenge subsets, OpenBookQA, SciQ, WinoGrande, Boolean Questions, LAMBADA, and Physical Interaction QA. On average, MBTs outperformed standard transformers, showing clear gains in accuracy across these benchmarks. For example, the Wide-Shallow MBTs improved overall mean zero-shot accuracy from 54.23% to 56.03%, a notable enhancement in practical applications.

Evan: Were there any specific observations regarding the Joint-KV models and their efficiency during inference? Ashley: The efficiency gains with Joint-KV MBTs were pronounced. During decoding, these models managed to achieve up to 51.4% higher throughput than standard transformers. For instance, with requests involving 64K-token inputs, the 4-branch Joint-KV MBTs demonstrated a speedup range from 1.12 times with a single request to 1.50 times with 16 concurrent requests.

Such results underline the efficacy of Joint-KV in reducing memory traffic and storage while boosting speed, making them highly suitable for long-context processing tasks. Evan: That's a substantial improvement. The paper also mentions a series of ablation studies. What did these studies reveal about the robustness and efficiency of MBTs? Ashley: The ablation studies were instrumental in demonstrating that the gains from MBTs went beyond merely changing width and depth settings.

The branching approach enhanced key-value sharing strategies, proving to be robust across different fusion functions and showing optimal performance when branches were placed in the middle layers of the model. These studies affirmed that the architectural choices inherent in MBTs are crucial for their superior performance. Evan: Interesting. Did they provide any insights on the scaling laws and how MBTs compare against standard transformers in terms of computational efficiency? Ashley: The authors fitted scaling curves which indicated that standard transformers require up to 1.26 times as much training compute to match the validation loss of the MBTs at the given scales.

These MBTs also managed to reduce full-model key-value cache storage by up to 34%, alongside their decoding throughput improvements. These findings position MBTs favorably in terms of both computational efficiency and practical performance in real-world tasks. Evan: That's quite compelling. Did the paper discuss any specific metrics or results for high concurrency and long-context tasks? Ashley: Yes, it did. For contexts such as 128K-token prompts, the Joint-KV MBTs achieved noteworthy speedup, ranging from over 1.3 times to about 1.60 times compared to standard transformers.

These impressive results highlight their ability to handle extensive tokens concurrently, significantly improving processing efficiency for demanding tasks. This demonstrates their capability to handle large datasets and complex queries effectively. Evan: Those are substantial efficiency gains. Any final thoughts on the experimental results? Ashley: In summary, the experimental section showcases the strong performance and scalability of Multi-Branch Transformers. The variations in width and depth, coupled with the integration of Joint-KV, significantly enhance both the efficiency and effectiveness of language models.

The robust performance in both validation loss and downstream tasks, along with practical inference gains, underscores the potential of MBTs for future advancements in transformer architecture. Evan: This is the end of the Experiments section. Evan: Ashley, let's shift our focus to the Related Work section. How does this paper position the Multi-Branch Transformer within the broader landscape of transformer models and language modelling? Ashley: The Related Work section offers valuable insights into how the Multi-Branch Transformer compares and contrasts with existing models and techniques in language modeling.

Firstly, the section delves into different approaches to parallelism in large language models. This includes concurrent computations within individual blocks, as seen in models like PaLM, and exploring width–depth trade-offs in sequential stacks. These methods aim to optimize the architecture for better performance and efficiency. Evan: So the idea of parallelism isn’t new, but MBT seems to tackle it differently. Can you explain how? Ashley: Exactly, Evan. The Multi-Branch Transformer, or MBT, introduces an orthogonal axis of parallelism by organizing full transformer blocks into parallel branches rather than modifying the internal mechanisms of individual blocks.

This approach preserves the core functionality of each transformer block while leveraging parallelism across branches. It’s designed to be compatible with systems approaches like tensor and pipeline parallelism, which distribute model computation efficiently across devices. Evan: Can you give an example of how these systems approaches are typically implemented? Ashley: Certainly. Tensor and pipeline parallelism are techniques used to distribute computational work efficiently across multiple devices.

Tensor parallelism divides the tensors within each layer across different devices, allowing for concurrent computation. Pipeline parallelism, on the other hand, segments the model into stages, each executed on different devices so that multiple layers can be processed simultaneously. The MBT can integrate these approaches to enhance its efficiency further. Evan: That sounds quite powerful. How does MBT stand out when compared to multimodal transformers? Ashley: Multi-Branch Transformers also draw on the long history of multi-branch architectures, which have been notably successful in computer vision.

Examples include Inception, ResNeXt, FractalNet, and HRNet. These models utilize parallel branches to capture diverse features, improving both performance and efficiency. Applying similar concepts, MBTs extend this idea to language models, exploring parallel compositions of full transformer blocks to enhance language modeling quality. Evan: And how does the multi-branch approach in MBT relate to prior work in NLP? Ashley: Former approaches in NLP have explored parallel branches within attention modules and encoder backbones, like in multi-stream transformers.

However, the MBT pioneers the parallel composition of full transformer blocks as a method of scaling autoregressive language models, which remains relatively underexplored. Evan: The paper also mentions advancements in information flow and KV-cache sharing. How do these tie into MBT’s architecture? Ashley: Prior research has aimed to improve information flow through expanded residual streams and selective aggregation of representations across depth, which enriches interactions within a sequential block stack.

Although these methods can enhance the richness of model outputs, they also increase memory traffic. MBTs address this by reorganizing full transformer blocks into parallel branches and fusing their outputs before passing them to subsequent layers. By sharing keys and values across branches at the same depth, Joint-KV reduces redundant reads and storage requirements, improving efficiency. Evan: Was there any particular research on key-value sharing that influenced the development of Joint-KV in MBT?

Ashley: Yes, indeed. Past work on sharing keys and values has mostly focused on attention heads or across decoder layers, like in Cross-Layer Attention and YOCO. Joint-KV shares keys and values across parallel branches at the same depth, retaining branch-specific queries, which is a novel approach for multi-branch models. This enables techniques like head folding to reuse shared KV data across branches, reducing memory traffic and improving decoding speed. Evan: It’s fascinating to see how MBT not only extends parallelism but also leverages it for practical efficiency gains.

Any final remarks on the related work before we wrap up? Ashley: To sum up, the MBT positions itself as a highly viable extension in the transformer design space, offering complementary benefits alongside existing methods like width-depth adjustments, tensor parallelism, and enhanced residual connections. By adopting a parallel composition of full transformer blocks, MBT sets a new benchmark for scaling language models efficiently, making it a noteworthy advancement in both theoretical and practical applications.

Evan: And that's the end of the Related Work section. Evan: Ashley, we’ve covered a lot of ground today. Could you summarize the key contributions and takeaways of the Multi-Branch Transformer paper for our listeners? Ashley: Evan. The Multi-Branch Transformer paper presents a novel approach to scaling transformer models by introducing parallelism at the granularity of full transformer blocks, referred to as branching. This method enables the parallel composition of these blocks, allowing transformers to scale more efficiently and effectively.

Evan: That’s an intriguing concept indeed. What are the main advantages of this branching approach? Ashley: The primary advantages include more efficient use of computational resources and improved language modeling performance. The paper’s empirical results show that Wide-Shallow MBTs consistently outperform traditional transformers under similar compute budgets. Balanced MBTs strike a middle ground, further enhancing performance by appropriately balancing width and depth across branches.

Joint-KV optimizes inference efficiency by consolidating key-value caches, thereby reducing storage requirements and memory traffic during decoding. Evan: And were there any significant practical gains from implementing MBTs? Ashley: Yes, especially in terms of decoding throughput. For example, Joint-KV MBTs delivered up to 51.4% higher throughput on a single H200 GPU compared to standard transformers, making them highly effective for long-context processing and high-concurrency tasks.

The thorough ablation studies also highlighted that the benefits of branching extend beyond mere adjustments in width and depth, improving overall model robustness. Evan: It's clear that the Multi-Branch Transformer offers notable advancements in transformer architecture. Thank you, Ashley, for unpacking this paper with us today. Ashley: Thank you, Evan. And thanks to our listeners for joining us on this exploration of cutting-edge AI research. We hope you found today’s discussion insightful. Evan: Remember to tune in to Daily Paper Cast for more deep dives into the latest AI papers.

Until next time!

Open the transcript file

Hosts and Guests

Nobody is credited on this episode yet.

Credit the people on this episode

Be the first to rate this episode

More episodes

All episodes
  1. Motion Mamba 2.0: Autoregressive Diffusion Mamba for Long-Horizon Humanoid Control

    Nov 24, 202624 minAudio

    🤗 Upvotes: 136 | cs.RO, cs.CV Authors: Yue Huang, Tianshan Zhang, Zeyu Zhang, Jayeon Kang, Akide Liu, Sungjoon Choi, Dacheng Tao, Hao Tang Title: Motion Mamba 2.0: Autoregressive Diffusion Mamba for Long-Horizon...

    Credit the people on this episode

  2. Embo-Harness: Towards Understanding Frontier-Model-as-Policy Harness

    Nov 24, 202622 minAudio

    🤗 Upvotes: 86 | cs.RO Authors: Xiao-Ming Wu, Kang Liao, Yuexiao Ma, Taolin Zhang, Mingqian Zhou, Nuo Chen, Ziming Li, Yihang Luo, Rui Li, Zhonghua Wu, Tianyu Xie, Xiawu Zheng, Zhongang Cai, Zhi Hou, Chen Change Loy...

    Credit the people on this episode

  3. 3AGameFactory-Motion: Agentic Rigging and Reliable Complex Motion Generation for Diverse 3D Assets

    Nov 24, 202623 minAudio

    🤗 Upvotes: 56 | cs.CV Authors: Bohan Zeng, Kaixin Zhu, Yifan Yang, Dongge Yu, Zihao Wu, Yifan Dai, Zhou Liu, Junbo Niu, Xiaochen Ma, Shiran Ge, Zimo Meng, Junzhu Liang, Huanyao Zhang, Jinhang Liu, Tianqi Xiao, Jinhao...

    Credit the people on this episode

  4. WeMM-Ecom: Advancing Multimodal Content Understanding for WeChat E-Commerce

    Nov 24, 202623 minAudio

    🤗 Upvotes: 52 | cs.AI, cs.CV Authors: Binhui Xie, Jinmin Li, Haomiao Tang, Guangting Wang, Song Jin, Jianwei Zhu, Fengyun Rao, Jing Lyu Title: WeMM-Ecom: Advancing Multimodal Content Understanding for WeChat E-Commerce...

    Credit the people on this episode

  5. Let the Fixer Decide: Training a Code Localizer from the Fixer's Likelihood

    Nov 24, 202621 minAudio

    🤗 Upvotes: 41 | cs.AI, cs.SE Authors: Khalil Hennara, Muhammad Hreden, Zeina Aldallal, Sara Chrouf, Safwan AlModhayan Title: Let the Fixer Decide: Training a Code Localizer from the Fixer's Likelihood Arxiv:...

    Credit the people on this episode