DiffusionBlocks: Block-wise Neural Network Training via Diffusion Interpretation
Summary
Interprets residual updates as Euler steps of a probability-flow ODE, partitions layers into B blocks each assigned an equi-probability noise range, and trains one block at a time with score matching (Bx memory cut). Matches or beats end-to-end on ViT CIFAR-100 (59.30 vs 60.25), DiT CIFAR-10/ImageNet FID, MD4 text8 BPC 1.45 vs 1.56, Llama-2-style LM1B/OWT, and Huginn recurrent-depth (single-pass vs 32 iterations). Also beats NoProp variants on CIFAR-100. Code https://github.com/SakanaAI/DiffusionBlocks.
- Venue
- arXiv / Sakana AI / The University of Tokyo
- Purpose
- Train transformer residual blocks independently by treating layer updates as diffusion denoising steps
- Scale
- ViT 12L B=3 CIFAR-100; DiT-S/2 CIFAR-10 and DiT-L/2 ImageNet-256 B=3; 12L MDM text8 B=3; 12L Llama-2-style LM1B/OWT B=4; Huginn Pythia-70M-style recurrent-depth on LM1B
- Time period
- 2025-06-17 (arXiv 2506.14202 v1); last revised 2026-06-12 (v4). To appear ICLR 2026. HF paper publishedAt 2025-06-17.
- Added
- Oct 1, 2026
- Research status
- done
From the source
- Published
- Jun 17, 2025
- Last revised
- Jun 12, 2026
- arXiv categories
- cs.LG, cs.AI, stat.ML
- Author comment
- To appear at the 14th International Conference on Learning Representations (ICLR 2026). v4: Fixed typos in experimental details (Appendix E.4)
- Citations
- 9 (1 influential)
- References
- 60
Abstract (from arXiv)
End-to-end backpropagation requires storing activations throughout all layers, creating memory bottlenecks that limit model scalability. Existing block-wise training methods offer means to alleviate this problem, but they rely on ad-hoc local objectives and remain largely unexplored beyond classification tasks. We propose $\textit{DiffusionBlocks}$, a principled framework for transforming transformer-based networks into genuinely independent trainable blocks that maintain competitive performance with end-to-end training. Our key insight leverages the fact that residual connections naturally correspond to updates in a dynamical system. With minimal modifications to this system, we can convert the updates to those of a denoising process, where each block can be learned independently by leveraging the score matching objective. This independence enables training with gradients for only one block at a time, thereby reducing memory requirements in proportion to the number of blocks. Our experiments on a range of transformer architectures (vision, diffusion, autoregressive, recurrent-depth, and masked diffusion) demonstrate that DiffusionBlocks training matches the performance of end-to-end training while enabling scalable block-wise training on practical tasks beyond small-scale classification. DiffusionBlocks provides a theoretically grounded approach that successfully scales to modern generative tasks across diverse architectures. Code is available at https://github.com/SakanaAI/DiffusionBlocks .
Tags
Topics
block-wise training, diffusion, memory-efficient training
Research notes
- Primary: arxiv abs (cs.LG/AI/stat.ML). Sakana AI / UTokyo; correspondence mkshing/takiba@sakana.ai, masanori.koyama@weblab.t.u-tokyo.ac.jp. Code Apache-2.0 https://github.com/SakanaAI/DiffusionBlocks (244 stars / 27 forks at check). HF paper page 5 upvotes; linked models are unofficial (joelhenwang/OdinNext-*), not recorded in hf_* fields. Discord posted abs. Uses public CIFAR/ImageNet/text8/LM1B/OWT; no new corpus, so no datasets_local row. ArXiv license widget not visible in converted abs HTML, so paper license left blank.
Cited by, within this collection
Similar entries
- Paper Toward a mechanistic understanding of inference in visual cortex and diffusion models
- Paper MILO: Efficient Many-shot In-Context Learning with Block-wise Low-rank Compression
- Code Block Delta Memory (BDM): Sparse Recurrent Memory with Dense Execution
- Post Differentiable neural computers
- Paper Decoding Looped Transformers Better for (Almost) Free
- Paper Charformer: Fast Character Transformers via Gradient-based Subword Tokenization