Paper

Introduction

Scaling transformers is commonly done by stacking more blocks (depth) or widening within a block (width). This paper proposes an axis orthogonal to those: the branch — arranging several full transformer blocks in parallel. MBT first processes the input through a shared prelude, then runs $K$ branches with independent parameters concurrently, fuses their outputs, and passes the result to a shared coda. The final recipe combines Joint-KV, in which branches at the same depth share a KV cache, with an inference engine that implements branch grouping and head folding, reducing the sequential steps and redundant KV reads of long-context decoding.

Problem: where does the cost come from when depth and width are used as-is

Increasing depth increases the number of sequential blocks a token passes through during generation, raising decoding cost. Increasing width raises per-block compute and memory. This paper places a third option between depth and width: split the middle of the stack into several independent branches, pass blocks sequentially within each branch, and run the branches concurrently.

The unit at which parallelism happens is the key. It is a separate axis from running attention and FFN in parallel within a block (the PaLM family), from changing the split between width and depth, and from pipeline and tensor parallelism that shard a model across devices; the axis MBT chooses is the “group of full blocks” (Figure 1, Figure 2). For this axis to pay off in serving, two things matter: adding branches must not grow the cache, and the sequential steps must actually decrease. The paper handles the former with Joint-KV and the latter with the engine features branch grouping and head folding.

Four concepts needed to read this

  • Active parameters and body compute. The backbone is a latent MoE. Standard models range from 0.80B to 2.07B total parameters and 139M to 394M active body parameters. Body compute excludes the tied LM head and counts attention, MoE, width bridges, and fusion projections, approximating a multiply-add as 2 FLOPs and training matrix operations as 3x the forward pass (Appendix A.2). Active body parameters likewise exclude embeddings and the LM head. Wide-Shallow keeps a parameter count close to the physical block count, while Narrow-Deep and Balanced adjust branch width and depth to match the standard training compute. The comparison basis is therefore body compute, not total parameter count.
  • Scaling law. For each family, four checkpoints’ (compute, validation loss) pairs are fit to $L(C) = AC^{-\alpha}$, and the comparison is framed as “how many times more compute is needed to reach the same loss.” The 1.23x for 2-branch Wide-Shallow and the 1.16x–1.26x for the final Joint-KV recipe come from this method.
  • KV cache. At every decoding step, the key and value of all tokens so far must be read again, and those values stored in memory are the KV cache. The longer the context, the more per-step memory reads dominate the time. So “how much is stored” and “how many times it is read per step” directly determine throughput.
  • Prefill, decoding, and GQA. Prefill processes the prompt in one pass up to the first token, and decoding appends subsequent tokens one at a time. The paper’s speed numbers measure only decoding throughput, excluding prefill (including the first generated token). GQA (grouped-query attention) is the standard means by which several query heads share one KV head, and the paper uses a 2:1 ratio by default.

A small example: how six blocks are split

Take a standard stack of six blocks, A→B→C→D→E→F. A is the shared prelude, F is the shared coda, and B–E are the middle. The paper uses this example to explain three allocations (Figure 3).

AllocationWhat changesWhat staysResult
StandardNone6 blocks serialDepth 6
Wide-ShallowRearrange B,C,D,E into two branches (B,C / D,E)Block width keptDepth 4, 6 total blocks
Narrow-Deep4 blocks per branchDepth 6 keptWidth narrowed to match compute
Balanced3 blocks per branchWidth and depth intermediateDepth 5

Depth counts the number of sequential blocks a single compute path passes through, excluding fusion (Figure 2 caption). That is, Wide-Shallow reduces the sequential steps from 6 to 4 by splitting the same total number of blocks across two branches. Narrow-Deep keeps depth 6 while narrowing block width, and Balanced sits in between. These three allocations underpin the paper’s experimental design (§2.2). To match the standard training compute, Narrow-Deep and Balanced reduce the residual width and MoE width inside branches while keeping the total number of experts and top-k unchanged.

A single pass proceeds as follows.

StageInputExecutionState keptOutput
Prelude AToken embeddings XOne block: attention → MoEHidden state H of width $d$Copy H to K branches
BranchesHEach branch passes blocks sequentially with its own parametersPer-branch results $Z_1 \dots Z_K$$Z_i$
Fusion$Z_1 \dots Z_K$Per-branch RMSNorm → concatenate along the hidden dimension → bias-free linear projectionNo separate branch residual (omitted)Fused state of width $d$
Coda FFused statePass blocks sequentially—Final output

Three branch width/depth allocation schemes

Figure 3 (above) draws these three allocations side by side on the A→B→C→D→E→F example (excerpted from the original page, PDF p.4, arxiv.org/abs/2611.19800 ). In all three cases only block placement and width differ, and training compute is matched to the standard.

Method 1: Joint-KV — gathering per-branch caches into one

In the default setting (Independent-KV), each block of each branch produces key and value from its own input and keeps its own bank. With $K$ branches, the number of banks grows by $K$.

In Joint-KV, branches at the same depth share a single bank (§2.3).

$$KV^{shared}_{\ell} = \frac{1}{\sqrt{K}}\left[\bar{S}_{1,\ell};\dots;\bar{S}_{K,\ell}\right]W^{shared}_{\ell}$$

Here $\bar{S}_{i,\ell}$ is the RMS-normalized input just before attention at the $\ell$-th depth of branch $i$ (hidden width $d_b$), and $W^{shared}_{\ell}$ is a $(K d_b) \times (2 h_{KV} d_h)$ matrix. Independent-KV using $K$ matrices of size $d_b \times (2 h_{KV} d_h)$, one per branch, and Joint-KV using a single $(K d_b) \times (2 h_{KV} d_h)$ matrix have the same parameter count and the same matrix-multiply compute. The projection weights and the cache are still separate per depth, and sharing happens only at the same depth. Distributed execution therefore needs synchronization to combine branch contributions before attention.

Below is an illustrative example simplified to two branches with branch hidden width 8 (details such as the $1/\sqrt{K}$ in the original formula are omitted).

StepIndependent-KVJoint-KVState kept
Inputbranch1 [T,8], branch2 [T,8]same inputs—
Key/value computationeach projects with its own matrix → 2 banksthe concatenated [T,16] is projected with one shared matrix → 1 bank2 banks → 1 bank
Stored size (per token, per depth)2 banks1 bankreduced to 1/2
Querycomputed per branchcomputed per branch (kept as-is)kept
Readeach branch reads its own bankboth branches read the same bankread targets 2 → 1
Attention outputper branchper branchthe attention function itself is identical

The size of a single bank is set by the KV head configuration, so the savings come from the number of banks. When branch depth and KV dimension are fixed, the cache stored in the branch section becomes $1/K$ of Independent-KV, which is one quarter when $K=4$ (§2.3).

KV cache sharing across branches and the serving scheme

Figure 4 (above) shows this structure in two tiers (excerpted from the original page, PDF p.5, arxiv.org/abs/2611.19800 ). The upper tier contrasts Independent-KV, which creates a separate bank per branch at a given depth, with Joint-KV, which projects the concatenated input once to create a single bank. The lower tier shows the serving stage: (1) blocks at the same depth are grouped into one stage, (2) only one bank is kept per depth, and (3) all branches read that bank in a single attention call. In the figure, one tile represents one KV bank of a branch block. With 4 branches, Independent-KV has 16 banks, while Joint-KV has one per depth, so 4. The number of reads also drops from 4 when each branch reads separately to 1 when they are folded together.

Method 2: the serving engine actually runs branches in parallel

A smaller cache does not by itself make decoding faster, because per-branch attention calls can read the same KV repeatedly. The authors add two features to a nano-vLLM-based engine (§2.3).

The first is branch grouping. It runs the branch blocks at the same depth as a single batched stage, reducing the number of sequential steps from the physical block count $L_{physical}$ to $D = P + \max_i L_i + C$ (Equation 5). The second is head folding. It folds the branch dimension into the query head dimension, grouping queries that share a KV head and handling them with a single grouped-query attention (GQA) call. Each query head still computes its own softmax over the same key and value, so the attention function itself is unchanged.

How much branch grouping reduces sequential steps, measured as depth (serial block steps) relative to Standard, is as follows (Appendix B Table 15).

ScaleStandard4-branch3-branch2-branch
W11291011
W214111212
W316121314
W418151515

What each of the two features changes is summarized by structural factors for the 4-branch W3 Balanced model (Appendix B Figure 12). The values are counts derived from structure, not measurements.

ItemStandardRunning branches one at a timeBoth features applied
Sequential block steps per token162412
Stored KV per token1.0x1.2x0.675x
KV reads per decoding step1.0x1.2x0.675x

The time for one decoding step splits broadly into two parts: a fixed cost $F$ of executing the sequential blocks, and a cost $M$ of reading KV from memory and computing. Branch grouping reduces $F$ by the depth ratio $r_d$, and Joint-KV plus head folding reduce KV bytes by the savings rate $s$. Combining both effects, the speedup over Standard is roughly as follows (§3.3).

$$S \approx \frac{F+M}{F/r_d + (1-s)M}$$

With short inputs and low concurrency, $M$ is smaller than $F$, so the speedup comes mainly from the depth ratio. As context grows longer, KV reads dominate step time, and the speedup approaches the upper bound $1/(1-s)$ that reflects only the KV byte savings.

Result 1: splitting blocks into branches lowers loss

In the 2-branch Wide-Shallow model, varying the fraction of blocks placed in branches $\rho$ from 0 to 1 makes the loss trace a U-shaped curve at all four scales (Figure 5, Table 1).

ScaleStandard loss2-branch loss$\rho$ with lowest lossMax measured $\rho$ below Standard lossInterpolated equivalent point
W12.6532.62233.3%66.7%78.0%
W22.5542.52528.6%71.4%79.5%
W32.4712.44437.5%75.0%79.5%
W42.3922.36733.3%77.8%79.1%

$\rho$ is the fraction of blocks placed in branches. The sweep adds one block per branch at a time, so the spacing is quantized to $2/L$, and since the exact equivalent point need not fall on a measured point, it was estimated by linear interpolation between neighboring observations. The last column is that value, and they cluster within 78–80%. At all four scales the optimal allocation clusters around one third of all blocks (28.6–37.5%), lowering validation loss by 0.025–0.031 relative to Standard (§3.2.1).

Read on a common compute curve, the size of the gain becomes a single number (Figure 6a). The scaling laws are $L = 2.5204\,C^{-0.0513}$ for Standard and $L = 2.4939\,C^{-0.0509}$ for 2-branch MBT, and inverting both curves at loss 2.500 shows that Standard needs 1.23x the body compute to reach the same loss (§3.2.1, Appendix A.2). Downstream results point the same way. Averaged over nine zero-shot tasks (HS, ARC-E, ARC-C, OBQA, SciQ, WG, BoolQ, LMDA, PIQA) across W1–W4, accuracy rises from 54.23% for Standard to 56.03%, and MBT is also higher in the mean of each of the nine tasks (Figure 6b).

Result 2: the gain holds as branches increase, and adjusting width and depth together is better

Increasing the number of branches from 2 to 3 or 4 changes the mean absolute validation loss by less than 0.006, and in both families every configuration at every scale has lower loss than Standard (§3.2.2). In other words, it opens up more concurrent execution without losing the quality gain.

Balanced, which adjusts width and depth together, has lower loss than Wide-Shallow at every scale and every branch count. The allocations and results at W3 make this difference clear (§3.2.2, Table 2).

ModelKAllocationResidual widthPhysical blocks/depthValidation loss
Standard—16 serial128016/162.471
Wide-Shallow24/(4+4)/4128016/122.445
Wide-Shallow34/(3+3+2)/4128016/112.457
Wide-Shallow44/(2+2+2+2)/4128016/102.451
Balanced24/(6+6)/4102420/142.436
Balanced34/(5+5+5)/489623/132.446
Balanced44/(4+4+4+4)/489624/122.449

Because Balanced changes the number of blocks, depth, and width, the prelude includes a shared input projection. Meanwhile, holding depth fixed requires a large width reduction at 3 or 4 branches, and the price shows up as lower quality (especially at 4 branches, Appendix A.4.1). That is why Balanced, which gives up some depth to spend on width, was chosen. In the scaling laws too, Balanced has a lower $A$ and a slightly larger $\alpha$ at all three branch counts (Figure 7).

Result 3: Joint-KV cuts the cache without hurting quality

Taking the Balanced models from §3.2.2 as the Independent-KV baseline, Joint-KV counterparts were retrained with the same allocation, width, and training settings (§3.3). All 12 Joint-KV models have lower validation loss than Standard. Downstream averages are 55.92%, 55.56%, and 55.47% for 2, 3, and 4 branches, respectively, above Standard’s 54.23% (Appendix A Table 12).

Cache savings are 18.75%–34.38% for the full model (Appendix A Table 11). At W4, where Standard stores 49.5 KiB per token, Joint-KV with 2, 3, and 4 branches stores only 37.75 KiB (23.74% savings), 35.25 KiB (28.79% savings), and 33.75 KiB (31.82% savings), respectively.

The more decisive comparison is an experiment that matches cache size exactly (§4.2, Table 5). Independent-KV was given one private KV head per branch, and Joint-KV was given two shared KV heads per depth, so that both configurations store 2 KV heads per branch depth. The GQA ratio was raised from the main recipe’s 2:1 to 8:1 or more, and allocation, width, query heads, and training tokens were matched within each pair. Storage is identical, yet the losses differ.

ScaleAllocationOuter Q/KV heads (GQA)Cache/tokenValidation loss (Independent → Joint)
W13/(5+5)/316/2 (8:1)5.5 KiB2.657 → 2.646 (−0.011)
W23/(6+6)/318/2 (9:1)6.0 KiB2.568 → 2.557 (−0.011)
W34/(6+6)/420/2 (10:1)7.0 KiB2.499 → 2.487 (−0.012)
W44/(7+7)/424/3 (8:1)9.5 KiB2.392 → 2.380 (−0.012)

The extra training compute from Joint-KV’s larger KV projection is under 0.6% (at most 2.1M parameters), so it cannot explain this difference (§4.2, Appendix A.7). That is, under the same cache budget, a shared cache yields lower validation loss than per-branch private caches. Joint-KV goes beyond saving memory: it produces better quality under the same cache budget.

Result 4: decoding throughput

The comparison question is: “if the cache shrinks, does token generation actually get faster, and by how much under which conditions?” The experiment measures the decoding throughput ratio of Balanced Joint-KV models to Standard on a single H200. The protocol is as follows (§3.3, Appendix B.2).

  • Inputs: 4K prompts are 256 consecutive 4096-token windows from the FineWeb-Edu validation split; 16K, 64K, and 128K prompts come from seven RULER tasks. There are 40 samples per task at 16K and 64K and 20 at 128K (280 and 140 total per length).
  • Each request generates exactly 1024 tokens. Sampling uses temperature 1.0, top-p 0.95, no top-k, and a fixed seed.
  • Concurrency: $N \in \{1, 8, 64\}$ for 4K and 16K, $\{1, 8, 32\}$ for 64K, and $\{1, 8, 16\}$ for 128K.
  • Measurement: CUDA events separate prefill and decoding, and decoding throughput (generated tokens excluding prefill / decoding time) is averaged over three intervals of at least 60 seconds. Standard is measured once before and once after MBT, and the average of the two is the baseline (the difference between the two Standard measurements is 2.0% at $N=1$ and 0.6% at $N \ge 8$).
  • Environment: Standard and MBT use the same GPU, the same engine, and the same kernels (paged KV cache, FlashAttention-3, FlashInfer, CUDA graph replay).

Decoding throughput multiple over Standard

Figure 9 (above) splits panels by input length (4K, 16K, 64K, 128K), with the number of concurrent requests $N$ on the x-axis (log scale) and the decoding throughput multiple over Standard on the y-axis (excerpted from the original page, PDF p.11, arxiv.org/abs/2611.19800 ). A y-value of 1.0 means “the same as Standard,” and the shading is one standard deviation across scales. Averaged over scales W1–W4, the 4-branch models are faster than Standard in every condition, with multiples between 1.12x at 4K with 1 request and 1.50x at 128K with 16 requests. Per scale as well, every setting is at least 1.08x. The 2-branch models average 1.01x–1.32x. The reason 4 branches beat 2 is also simple: fewer sequential steps and fewer KV bytes read.

Across the full 48 settings spanning the four scales, 4 branches range from 1.08x to 1.60x and 3 branches from 1.03x to 1.48x, while 2 branches are slower than Standard in 7 settings (Appendix B Table 16). Six are at W1 (0.93x–0.99x) and one is at W3 (0.99x, 4K input, $N=1$). For a single short 4K request, the actual multiple for every MBT stays at 0.84–0.91 of the depth ratio. This is because embeddings, the LM head, sampling, and MBT-specific operations do not shrink in proportion to depth. At W1, 2 branches reduce the sequential steps by only one (12→11). The reduction cannot cover the MBT-specific operation cost (branch input mapping, fusion, bank construction, head folding: 100–160 µs per step at 4 branches and 130–190 µs at 2).

The paper’s headline “up to 51.4% throughput improvement” is the value at 64K-token input with 8 concurrent requests (§1), and the best individual setting is 1.60x, from the W2 model at 128K with 8 requests. There is a reason the gap widens as length and concurrency grow. For W3 with 4 branches, the upper bound $1/(1-s)$ reflecting only KV byte savings is 1.48x, yet at 128K with 16 requests it reaches 1.58x, exceeding the bound. At 128K, attention in the full-width layers is 27% longer than at 64K, but attention over the shared bank does not slow down. Standard’s entire KV cache sits in the full-width layers, whereas only 74% of MBT’s cache is in those layers and the rest is in the shared bank. As a result, MBT’s average bandwidth for reading KV is 3.05 TB/s, higher than Standard’s 2.81 TB/s (Appendix B.3).

Result 5: how much each engine feature contributes

Decoding speedup contribution by engine mechanism

Figure 14 (above) compares three engines on the 4-branch W3 model (excerpted from the original page, PDF p.29, arxiv.org/abs/2611.19800 ). The x-axis is the number of concurrent requests $N$ (log scale), the y-axis is the decoding throughput multiple over Standard, and panels are for 4K, 16K, and 64K inputs. The series are Standard, a naive engine running branches one at a time, an engine adding only branch grouping, and the full engine that also adds head folding. The naive engine is always slower than Standard. The gain from branch grouping is large at short inputs and low concurrency, and the gain from adding head folding grows with input length and concurrency. Only with both enabled does it beat Standard in every setting. In the earlier formula, this means the feature that reduces $F$ and the feature that reduces $M$ serve different conditions (§B.4).

Confirmation experiment: does the gain really come from “branches”?

The authors check whether control models that change only width and depth can explain MBT’s gain (Figure 10). Alongside the 2-branch Wide-Shallow MBT, they compared a “full-stack wide–shallow” that widens the sequential stack as a whole and a “local wide–core” that replaces the two branches with a single wide core. The Wide-Shallow MBT beat both controls at all four scales and also fit a better scaling curve. Narrow-Deep, which keeps depth, also beat Standard at all four scales and has the steepest scaling exponent ($\alpha = 0.0548$ versus 0.0515 for Wide-Shallow). At W1, losses are 2.653 for Standard, 2.661 for full-stack wide–shallow, 2.638 for local wide–core, 2.630 for Wide-Shallow MBT, and 2.641 for Narrow-Deep MBT (§4.1).

Among learned fusion operators, results differ little (§4.3). At W3 4/(4+4)/4, the final losses of six learned fusions are 2.444–2.448, a spread under 0.005. concat–projection 2.445, joint MLP 2.445, joint SwiGLU 2.444, channel competition 2.446, low-rank bilinear 2.446, and token softmax 2.448, while a normalized sum without projection is 2.458. Removing the projection hurts, so concat–projection was kept as the default, and more complex learned fusions brought little gain.

For branch placement, the middle is better (§4.4). At W3, placing 8 of the 16 blocks into two 4-block branches and varying how the remaining 8 shared blocks split between front and back gives 2.445 for the middle 4/(4+4)/4, 2.458 for front placement 0/(4+4)/8, and 2.464 for back placement 8/(4+4)/0. Front placement beating back placement means that in this setting it is better to keep a shared coda than a shared prelude.

Limitations and when to apply it

First, the training context length and the measurement conditions do not match. All models were trained with a 4,096-token context (§3.1), but decoding speedup was measured by generating 1K tokens from 4K–128K inputs. Counting the 1K generated tokens, every sequence exceeds the 4K training context, so the paper states that this measurement looks only at speed (§3.3). Quality on long inputs is not reported.

Second, the range of scale and model type is narrow. The experiments are limited to small models of 0.80B–2.07B total parameters, and specifically to a latent MoE backbone with 64 SwiGLU experts and top-8 routing (§3.1). The scaling curves are fit from only four points in this range, so whether the roughly 1.2x training-compute gain holds when transferred to dense models with billions to tens of billions of parameters is not reported.

Third, the speed metrics focus on decoding. The measurements are decoding throughput excluding prefill (including the first generated token) (§3.3), and the engine’s two features also target the decoding stage. How much gain remains in services dominated by short requests with a heavy prefill load is not reported.

Fourth, 2-branch configurations are slower than Standard in some settings (Appendix B Table 16). When the sequential-step reduction is small, it does not exceed the MBT-specific operation cost, so from a speed standpoint 3–4 branches are more reliable.

Fifth, in distributed execution, branch parallelism requires communication to align the shared KV at every depth (§2.3). Each device computes its own branch’s contribution, and at every depth an all-reduce combines them before attention runs. The width of the reduced tensor is $2 h_{KV} d_h$, independent of the branch count, but communication cost depends on group size and topology. With tensor parallelism, each device creates its KV heads locally, avoiding extra collectives, and if the corresponding query heads are gathered on one device, head folding also stays a local operation. Branch parallelism can be useful when the model is to be spread across devices, but it requires fast interconnect, and the actual multi-device performance of this layout is not reported.

This method pays off in workloads where many requests decode long contexts concurrently and KV reads become the bottleneck. The paper’s final combination is a Balanced-allocation MBT, Joint-KV, and an engine equipped with branch grouping and head folding (Figure 1(b) shows that at 16K input with 64 requests, 2-, 3-, and 4-branch MBT lead Standard in both validation perplexity and decoding throughput). Code is available on GitHub and models on Hugging Face . However, scaling to large dense models, quality on long inputs, prefill speedup, and distributed branch parallelism remain areas this paper does not measure.

Tables from the paper

Tables converted mechanically from the arXiv e-print LaTeX source. The numbers are the paper’s own and did not pass through a model.

Table 1. Scaling ladder and best Wide–Shallow 2-branch MBTs from the paper’s figure. Standard and MBT share the backbone dimensions, physical block count, and training tokens at each scale.

Shared backbone ScaleShared backbone $L$Shared backbone $d_{\rm model}$Shared backbone $d_{\rm ffn}$Tokens (B)Selected MBT AllocationParameters (B / M) StandardParameters (B / M) MBTLoss $\downarrow$ StandardLoss $\downarrow$ MBT
W112102451227.845$4/(2+2)/4$0.799 / 139.20.801 / 141.32.6532.622
W214115257641.088$5/(2+2)/5$1.134 / 205.41.136 / 208.12.5542.525
W316128064057.942$5/(3+3)/5$1.555 / 289.71.558 / 293.02.4712.444
W418140870478.841$6/(3+3)/6$2.074 / 394.22.077 / 398.22.3922.367

Table 2. W3 width–depth allocations at comparable compute. Full configurations appear in Table 9.

Model$K$ (# branches)Allocation$d$$m$$f$$L/D$BodyLoss $\downarrow$
Standard—$16$ (serial)128064064016/161.50322.471
Wide–Shallow2$4/(4+4)/4$128064064016/121.51642.445
Wide–Shallow3$4/(3+3+2)/4$128064064016/111.52302.457
Wide–Shallow4$4/(2+2+2+2)/4$128064064016/101.52962.451
Balanced2$4/(6+6)/4$102451251220/141.53012.436
Balanced3$4/(5+5+5)/4$89643244823/131.51602.446
Balanced4$4/(4+4+4+4)/4$89640040024/121.51482.449

Table 3. W4 Balanced MBTs with Independent-KV and Joint-KV. Cache capacity and savings are for Joint-KV relative to Standard; full W1–W4 results appear in Table 11.

Architecture ModelArchitecture AllocationBlock widths $d$Block widths $m$Block widths $f$Loss $\downarrow$ IndependentLoss $\downarrow$ JointKV cache KiB/tokenKV cache Saved
Standard18 (serial)14087047042.392–49.50–
$K=2$$4/(7+7)/4$11525925922.3632.36137.7523.74%
$K=3$$4/(6+6+6)/5$8964964962.3662.36635.2528.79%
$K=4$$4/(6+6+6+6)/5$7684324322.3672.36433.7531.82%

Table 4. Example of the ablation setting at W1 with fixed data and approximately matched body compute.

FamilyAllocationBlocks / depthOuter or all-layer $d/m/f$Core or branch $d/m/f$Body compute (PFLOP-days)
Standard$12$$12/12$$1024/512/512$—0.3665
Global wide–shallow$9$$9/9$$1280/640/512$—0.3721
Local wide-core$3/3/3$$9/9$$1024/512/512$$1664/640/640$0.3636
Wide–Shallow MBT$3/(3+3)/3$$12/9$$1024/512/512$$1024/512/512$0.3706
Narrow–Deep MBT$3/(6+6)/3$$18/12$$1024/512/512$$640/320/416$0.3705

Table 5. Joint-KV versus Independent-KV across W1–W4 at matched KV-cache capacity. Each pair shares block allocations, widths, query heads, and training tokens. Training body compute is in PFLOP-days; full configurations in Table 14.

ScaleAllocationQ/KV heads Outer (ratio)Q/KV heads Independent-KVQ/KV heads Joint-KVQ/KV heads KV/token (KiB)Body compute Independent-KVBody compute Joint-KVValidation loss $\downarrow$ Independent-KVValidation loss $\downarrow$ Joint-KVValidation loss $\downarrow$ $\Delta$
W1$3/(5+5)/3$$16/2\;(8{:}1)$$16/1$$16/2$5.50.38480.38672.6572.646$-0.011$
W2$3/(6+6)/3$$18/2\;(9{:}1)$$16/1$$16/2$6.00.77230.77632.5682.557$-0.011$
W3$4/(6+6)/4$$20/2\;(10{:}1)$$16/1$$16/2$7.01.44361.44992.4992.487$-0.012$
W4$4/(7+7)/4$$24/3\;(8{:}1)$$18/1$$18/2$9.52.65512.66642.3922.380$-0.012$

Table 6. Fusion of normalized branch vectors $h_1,h_2$ in W3 $4/(4+4)/4$. $W=[W_1\;W_2]$, $A_i$, $B_i$, and $P$ are learned weight matrices; $a_i=A_iW_i h_i$, $b_i=B_iW_i h_i$, and $\phi=\operatorname{SiLU}$. $g$ is a channelwise sigmoid gate and $\beta$ is a tokenwise softmax over branches; $\odot$ denotes elementwise multiplication. The last row tests parameter-free aggregation.

FusionFused output $z$Loss $\downarrow$
Concat–projection$W[h_1;h_2]$2.445
Channel competition$2[g\odot W_1h_1+(1-g)\odot W_2h_2]$2.446
Joint MLP$W[h_1;h_2]+P\phi(a_1+a_2)$2.445
Low-rank bilinear$W[h_1;h_2]+P(a_1\odot a_2)$2.446
Joint SwiGLU$W[h_1;h_2]+P[\phi(a_1+a_2)\odot(b_1+b_2)]$2.444
Token softmax$2(\beta_1W_1h_1+\beta_2W_2h_2)$2.448
Normalized sum (no projection)$(h_1+h_2)/\sqrt{2}$2.458

Table 7. Standard backbone and pretraining configuration for W1–W4. MBT variants use the same per-scale data and optimization recipe unless their experiment specifies a change.

SettingW1W2W3W4
Backbone
Blocks $L$12141618
Residual width $d$1,0241,1521,2801,408
MoE latent width $m$512576640704
Expert hidden width $f$512576640704
Query / KV heads16 / 818 / 920 / 1022 / 11
Attention head dimension64646464
Experts / active experts per token64 / 864 / 864 / 864 / 8
Total parameters (B)0.79901.13351.55492.0735
Active-body parameters (M)139.226205.441289.713394.204
Training schedule
Training tokens (B)27.84541.08857.94278.841
Context length4,0964,0964,0964,096
Global batch (sequences)128128256256
Optimizer updates $T$53,11078,37055,25875,189
Warmup updates531783552751
Shared settings
OptimizerAdamW; $\beta=(0.9,0.95)$, $\epsilon=10^{-8}$
Weight decay / gradient clipping0.1 / 1.0
Learning-rate scheduleLinear warmup; cosine decay to $0.1\eta_{\max}$
NormalizationPre-RMSNorm and Q/K RMSNorm; $\epsilon=10^{-5}$
Position embeddingFull-channel RoPE; base 500,000
Vocabulary / embedding128,256; tied input embedding and LM head
Precision / seedBF16 / 1234
Attention / hidden dropout0 / 0

Table 8. Per-scale zero-shot results for the Standard and selected 2-branch MBT checkpoints in the paper’s figure. Scores are percentages ($\uparrow$); the higher score in each pair is bold.

TaskW1 StandardW1 MBTW2 StandardW2 MBTW3 StandardW3 MBTW4 StandardW4 MBT
HellaSwag45.1546.4450.2952.1553.3054.6557.3458.63
ARC-E57.3760.8262.4663.7263.4767.1765.6667.63
ARC-C31.0631.4033.4535.1535.5838.9137.4638.40
OBQA34.4036.2035.2039.2037.6039.2040.6041.80
SciQ75.2077.0080.5082.5084.5084.7081.1086.10
WG54.8554.3853.2855.3357.8557.6256.4358.01
BoolQ56.3658.6547.2258.0757.5558.8458.7860.95
LMDA37.4237.0538.9539.4740.5641.8444.5246.07
PIQA69.8069.5371.0071.6572.3672.2573.6175.46
Average51.2952.3952.4855.2555.8657.2457.2859.23

Figures in this post are taken from the original arXiv:2611.19800 (CC BY 4.0). Only size and format were changed.

License

Author: Jaehun Ryu

Link: https://jaehun.me/en/posts/paper-2611-19800/

License: CC BY 4.0

This work is licensed under the Creative Commons Attribution 4.0 International License. You are free to use it for any purpose, including commercial use, as long as you provide proper attribution.

Comments