Block-Based Double Decoders

Asher Labovich, Benjamin Bradley, Vanessa Alexander, Chaitanya Harsha
5/11/2026
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Encoder-decoder models offer substantial inference-time savings over decoder-only models, but their pretraining objectives suffer from sparse supervision and dynamic sequence lengths, keeping them out of practice at scale. We propose block-based double decoders, a novel transformer architecture that utilizes doubly-causal block-based attention masks to train with full loss supervision and static sequence packing, combining decoder-only training efficiency with encoder-decoder inference efficiency.

Show full abstract

In scaling law experiments, block-based double decoders strongly outperform encoder-decoders and closely track decoder-only models across scales. At inference time, they cut KV-cache memory and per-token compute by at least 2/3 without sacrificing prefill caching or other existing inference optimizations available to decoder-only models.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{labovich2026blockbased,
  title  = {Block-Based Double Decoders},
  author = {Asher Labovich and Benjamin Bradley and Vanessa Alexander and Chaitanya Harsha},
  year   = {2026},
  eprint = {2605.18807},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.18807v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.18807.svg)](https://codeofpaper.com/paper/2605.18807)

Discussion