Reproduce “Nemotron-Labs-TwoTower: Diffusion Language Modeling with Pretrained Autoregressive Context” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Fitsum Reda, John Kamalu, Roger Waleffe, Mostofa Patwary, Mohammad Shoeybi, Bryan Catanzaro

NVIDIA's Nemotron-Labs-TwoTower introduces a block-wise autoregressive diffusion language model that decouples context representation from iterative denoising, utilizing a frozen pretrained AR model and a trainable denoiser. This architecture achieves 2.42x higher generation throughput while retaining 98.7% of the baseline autoregressive model's quality on a 30B parameter hybrid MoE model.

Key insights

  • Decoupling context and denoising roles with a frozen pretrained AR model as a context provider effectively preserves generation quality while substantially increasing throughput in large-scale diffusion LMs.
  • Specific design choices like `adaLN` time conditioning and a data curriculum mirroring the backbone's pretraining are crucial for optimizing denoiser performance and achieving robust quality.
  • The iterative confidence unmasking sampling strategy and observed left-to-right commitment ordering contribute to efficient, adaptive block completion, with easy tokens committed early.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.