# Breaking Routing And Inter-device Dependencies in Mixture-of-Experts

> BRAID-MoE breaks the sequential combine-route-dispatch chain in MoE inference by routing from stale residuals, achieving up to 1.37x decode speedup with under 1% quality loss.

- **Source:** [arXiv](https://arxiv.org/abs/2611.32572)
- **Published:** 2026-11-28
- **Permalink:** https://picx.dev/p/w7CZGE
- **Whiteboard:** https://picx.dev/p/w7CZGE/image

## Summary

## Summary (Overview)

- **BRAID-MoE** is a novel Mixture-of-Experts (MoE) architecture that combines **laddered residual connections** with **early routing** to break the sequential combine→route→dispatch dependency chain, enabling back-to-back communication operations that can overlap with computation.
- The architecture decouples routing from the preceding combine operation: the router reads the **pre-combine residual** $h_\ell$, while experts still process the **fresh post-combine activation** $y_\ell$, preserving model quality while exposing new parallelism.
- **Training results**: BRAID achieves validation losses within 0.98% (0.4B-A0.1B) and 0.49% (2.5B-A0.5B) of sequential baselines at matched compute budgets, demonstrating minimal quality degradation.
- **Checkpoint adaptation**: Existing sequential MoE checkpoints can be converted to BRAID with only ~10% additional training, recovering within 0.9% and 0.3% of original validation loss; SFT recovery on OLMoE-1B-7B recovers average accuracy from 60.2% to 70.2% (vs. 74.6% original).
- **Inference speedups**: On Qwen3-30B-A3B, BRAID achieves up to **1.29× prefill** and **1.37× decode** speedups over sequential execution across one or two four-H100 nodes, outperforming all competing overlap strategies (Parallel and Ladder) in every tested configuration.

---

## Introduction and Theoretical Foundation

### Background and Motivation

Sparse MoE models increase parameter capacity without proportionally increasing per-token computation: each token activates only a small subset of a larger expert bank. This design is central to frontier models like Qwen3 (up to 235B total parameters), DeepSeek-V3, and Kimi K3 (activating 16 of 896 routed experts in a 2.8T-parameter model).

As expert banks grow faster than active computation, **Expert Parallelism (EP)** becomes essential: experts are sharded across devices, and tokens move to devices hosting their selected experts. However, the resulting **token dispatch** and **combine** operations can account for nearly half of total execution time (as reported by COMET).

### Key Challenge: Sequential Dependencies

Standard MoE inference is constrained by dependencies that limit communication-computation overlap. Under EP, each MoE layer must:
1. **Route** tokens to experts (compute assignments)
2. **Dispatch** tokens to remote devices
3. **Compute** expert outputs
4. **Combine** outputs back to source ranks

These phases create a serial chain: combine→route→dispatch, where routing depends on the preceding combine, and dispatch depends on both routing and fresh activations.

### Theoretical Foundations

Two complementary ideas motivate BRAID:

1. **Ladder architectures** (Zhang et al., 2025a; Dukler et al., 2026): Duplicate the residual stream and shift attention/FFN computations relative to one another, enabling overlap with minimal quality impact.

2. **Early routing** (Hwang et al., 2024; Cai et al., 2025): Compute expert assignments from earlier representations, allowing dispatch to begin earlier at the cost of potential convergence degradation.

BRAID combines these ideas to mitigate their respective limitations: ladder residuals provide the structural parallelism, while early routing removes routing from the critical path without sacrificing fresh activations for expert computation.

---

## Methodology

### BRAID Architecture

The BRAID-MoE architecture is defined as:

$$
\begin{array}{c} (S _ {\ell}, \pi_ {\ell}) = \mathrm{Route} _ {\ell} (h _ {\ell}), \\ h _ {\ell + 1} = y _ {\ell} + \mathrm{Attn} _ {\ell} (h _ {\ell}), \\ y _ {\ell + 1} = h _ {\ell + 1} + \mathrm{MoE} _ {\ell} (y _ {\ell}; S _ {\ell}, \pi_ {\ell}). \end{array}\tag{2}
$$

Key differences from prior approaches:
- **Router** consumes $h_\ell$ (pre-combine residual), available before the preceding combine completes
- **Experts** process $y_\ell$ (post-combine, incorporating preceding MoE output but not current attention)
- This removes both **attention** and **routing** from the combine-to-dispatch critical path

### Multi-Stream Execution Schedule

BRAID uses a **two-stream execution schedule** (Algorithm 1):

**Computation stream** ($S_{\text{comp}}$):
1. Route from $h_\ell$
2. Attention from $h_\ell$
3. Residual update: $h_{\ell+1} \leftarrow y_\ell + a_\ell$
4. Expert computation on dispatched tokens

**Communication stream** ($S_{\text{comm}}$):
1. Combine sharded expert outputs $X_\ell$ with residual $h_\ell$ → $y_\ell$
2. Dispatch $y_\ell$ using precomputed routing assignments $\pi_\ell$

The communication stream executes **combine and dispatch back-to-back** (consecutive kernels), with both overlapping attention computation. CUDA events synchronize the streams only when data dependencies require it.

### Implementation Details

- **Custom DeepEP combine epilogue**: Fuses residual addition and RMSNorm into the combine kernel, avoiding a separate normalization kernel and reducing intermediate memory traffic
- **Separate RMSNorm** for the early router (distinct from expert-input normalization)
- **SM allocation tuning**: Communication kernels consume SM resources; BRAID balances communication progress against computation throughput to minimize end-to-end latency

### Training Protocols

| Experiment | Protocol |
|---|---|
| **Pretraining from scratch** | Qwen3-inspired MoEs (0.4B-A0.1B and 2.5B-A0.5B), 64 routed experts, top-K=8, Muon optimizer for attention/expert matrices, AdamW for embeddings/routers/norm/head, FineWeb v1.4.0 |
| **Checkpoint adaptation** | Convert final half of layers to BRAID, continue training for ~10% of original budget (313 steps for 0.4B, 998 steps for 2.5B) |
| **Post-training recovery** | OLMoE-1B-7B-Instruct, convert upper half of layers, SFT for 2 epochs on 5% of Infinity-Instruct 7M and Gen subsets |

---

## Empirical Validation / Results

### Pretraining from Scratch

**Table 1: Pretraining comparisons at fixed token budget**

| Scale | Schedule | Validation cross-entropy | Difference vs. Sequential |
|---|---|---|---|
| 0.4B-A0.1B (3.27B tokens) | Sequential | 2.744 | - |
| | Parallel | 2.770 | +0.94% |
| | Ladder | 2.772 | +1.02% |
| | **BRAID** | **2.771** | **+0.98%** |
| 2.5B-A0.5B (10.46B tokens) | Sequential | 2.345 | - |
| | Parallel | 2.357 | +0.53% |
| | Ladder | 2.358 | +0.58% |
| | **BRAID** | **2.356** | **+0.49%** |

All alternative architectures exhibit stable convergence with training trajectories closely matching the sequential baseline.

### Checkpoint Adaptation

**Table 2: Held-out validation cross-entropy before/after checkpoint continuation**

| Scale | Sequential (Before→After) | BRAID (Before→After) |
|---|---|---|
| 0.4B-A0.1B | 2.744 → 2.726 | 2.932 → 2.768 |
| 2.5B-A0.5B | 2.345 → 2.319 | 2.416 → 2.352 |

BRAID recovers within 0.9% (small) and 0.3% (large) of original sequential checkpoints with only ~10% additional training.

### Post-Training Recovery (OLMoE-1B-7B)

**Table 3: OLMES downstream accuracy (%)**

| Model | Avg. Accuracy |
|---|---|
| Original OLMoE | 74.6 |
| BRAID-half (pre-SFT) | 60.2 |
| BRAID-half + SFT | 70.2 |

SFT recovers the converted model to within 4.4 percentage points of the original checkpoint.

### Inference Speedups (Qwen3-30B-A3B)

**Table 4: Reference workload (16 prompts × 1,024 tokens/GPU)**

| Topology | Schedule | Prefill Speedup | Decode Speedup | Combine Overlap (P/D) | Dispatch Overlap (P/D) |
|---|---|---|---|---|---|
| EP=4 | Sequential | 1.000× | 1.000× | 0%/0% | 0%/0% |
| | Parallel | 1.112× | 1.068× | 0%/0% | 93.2%/86.9% |
| | Ladder | 1.090× | 1.103× | 86.1%/92.8% | 11.6%/11.1% |
| | **BRAID** | **1.171×** | **1.182×** | **96.3%/89.2%** | **92.8%/82.7%** |
| EP=8 | Sequential | 1.000× | 1.000× | 0%/0% | 0%/0% |
| | Parallel | 1.175× | 1.222× | 0%/0% | 52.9%/90.1% |
| | Ladder | 1.133× | 1.165× | 90.6%/65.2% | 2.6%/4.3% |
| | **BRAID** | **1.178×** | **1.278×** | **95.3%/88.8%** | **31.3%/5.8%** |

**Key scaling trends:**
- **Prefill**: Speedups increase with context length L (attention provides longer computation window); up to **1.29×** at L=4096, EP=8
- **Decode**: Speedups increase with batch size B and context length L for EP=8; up to **1.37×** at largest B and L
- **EP=4**: Communication is short enough to be largely hidden; BRAID overlaps 96.3% of combine and 92.8% of dispatch in prefill

---

## Theoretical and Practical Implications

### Theoretical Significance

1. **Routing staleness is tolerable**: BRAID demonstrates that computing routing decisions from a slightly stale residual (pre-combine rather than post-combine) has minimal impact on model quality, with validation loss increases under 1%.

2. **Architectural parallelism exposed**: By decoupling routing from combine, BRAID opens the possibility of **fusing combine and dispatch into a single communication kernel**, potentially eliminating an entire communication phase.

3. **General principle**: The results suggest that limited routing staleness can be systematically exploited to improve communication-computation overlap in MoE inference, providing a design principle for future architectures.

### Practical Implications

1. **Checkpoint conversion is feasible**: Existing sequential MoE checkpoints can be adapted to BRAID with limited additional training (~10% of pretraining budget), making the architecture practical for deployment without full retraining.

2. **Inference acceleration**: BRAID achieves substantial speedups (up to 1.29× prefill, 1.37× decode) on production-scale models (Qwen3-30B-A3B), with the strongest gains when communication is a major latency bottleneck.

3. **Scaling behavior**: The architecture is most beneficial when communication duration approaches the available computation window—exactly the regime where inter-node EP (EP=8) operates.

4. **Resource allocation trade-off**: BRAID introduces a tunable trade-off between SM allocation for communication kernels vs. computation, requiring workload-specific tuning for optimal performance.

---

## Conclusion

### Main Takeaways

BRAID-MoE successfully combines early routing with laddered residuals to relax the sequential combine→route→dispatch dependency in MoE inference. The architecture:
- Enables **back-to-back combine and dispatch** communication operations that overlap with attention computation
- Preserves **fresh activations** for expert computation while computing routing from earlier residuals
- Achieves **minimal quality degradation** (<1% validation loss increase at matched compute)
- Enables **efficient checkpoint conversion** with limited continued training
- Outperforms competing overlap strategies (Parallel, Ladder) in **all tested settings**

### Future Directions

1. **Kernel fusion**: The adjacency of combine and dispatch creates opportunities for fusing both communication phases into a single kernel, potentially eliminating an entire communication operation.

2. **Tensor-parallel overlap**: Expert computation in BRAID can potentially overlap with subsequent attention-side tensor-parallel collectives, further hiding communication.

3. **End-to-end training throughput**: Fixed wall-clock comparisons could favor BRAID, as its overlap capabilities may allow more training tokens within the same time budget.

4. **Larger-scale validation**: Testing at larger model scales (e.g., 100B+ parameters) and more diverse workloads would further validate the architecture's benefits.

---

_Markdown view of https://picx.dev/p/w7CZGE, served by PicX — AI-generated visual whiteboard summaries of research papers._
