Metraipolis › archive › dc_500f24188036

Decode-Branch Transformers: Decoupling the Primary Prefill Path from Additional Decode Computation — arXiv:2608.12385

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.12385
License (as archived)
CC0-1.0
Archived
2026-10-19T04:17:11.517Z
SHA-256 of the archived text
27f823d705f1c9c2e0fe80c99057767489d53ee0576d8549674a55918fbab017
Stable URL of this page
https://metraipolis.com/documento/dc_500f24188036

How to cite

Decode-Branch Transformers: Decoupling the Primary Prefill Path from Additional Decode Computation — arXiv:2608.12385 — arXiv (en), https://arxiv.org/abs/2608.12385 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_500f24188036 (Metraipolis archive dc_500f24188036, sha256 27f823d705f1c9c2e0fe80c99057767489d53ee0576d8549674a55918fbab017)
BibTeX
@misc{dc500f24188036,
  title = {Decode-Branch Transformers: Decoupling the Primary Prefill Path from Additional Decode Computation — arXiv:2608.12385},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.12385},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_500f24188036; sha256 27f823d705f1c9c2e0fe80c99057767489d53ee0576d8549674a55918fbab017},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.12385. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

As large language models serve ever more requests, cumulative inference cost is growing relative to the one-time cost of training. In typical serving, prompt prefill runs in parallel and is compute-bound, whereas autoregressive decode is sequential and memory-traffic-bound. Conventional width or depth scaling raises both costs together, since every added layer is evaluated in both phases and enlarges the weights read at each decode step. We instead ask whether additional learned computation can be allocated to continuation prediction while preserving prompt-wide primary computation and a single KV cache. We realize this with the Decode-Branch Transformer. Its primary path alone processes the prompt and writes the KV cache; the decode branch is omitted during prefill and activated only from the final prompt position onward, adding continuation computation without writing state or affecting the primary path. The paths share attention, MLP, and output matrices, using separate token embeddings with lightweight coupling. Grouped decode reuses loaded weight tiles and the primary KV cache across both paths, so the added arithmetic does not proportionally increase dominant memory traffic or decode latency. Across matched-token comparisons, Decode-Branch achieves lower validation loss across architectures and data settings. In MoE models, the primary and branch expert fan-outs become independent knobs for trading prompt cost, decode cost, and predictive quality. We study two expert-allocation regimes, holding prefill or decode computation fixed, and expose a prefill-decode-quality trade-off enabled by phase-specific expert allocation.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-14 in cs.AI).
Categorie arXiv: Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2608.12385 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-19T04:13:06.516Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-08-14?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).