# DiffusionBlocks: Block-wise Neural Network Training via Diffusion Interpretation

- **ID:** 506
- **Kind:** paper
- **URL:** https://arxiv.org/abs/2506.14202
- **Authors:** Makoto Shing, Masanori Koyama, Takuya Akiba
- **Venue:** arXiv / Sakana AI / The University of Tokyo
- **Published:** 2025
- **Tags:** diffusionblocks, block-wise-training, score-matching, sakana, iclr, backprop-free, huginn
- **Topics:** block-wise training, diffusion, memory-efficient training
- **Added:** 2026-10-01
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/506

## 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.

## Attributes

- **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.

## From the source (fetched 2026-10-03)

- **Published:** Jun 17, 2025 (arXiv)
- **Last revised:** Jun 12, 2026 (arXiv)
- **arXiv categories:** cs.LG, cs.AI, stat.ML (arXiv)
- **Author comment:** To appear at the 14th International Conference on Learning Representations (ICLR 2026). v4: Fixed typos in experimental details (Appendix E.4) (arXiv)
- **Citations:** 9 (1 influential) (Semantic Scholar)
- **References:** 60 (Semantic Scholar)

## Abstract

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 .

## 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

- [How Much Is One Recurrence Worth? Iso-Depth Scaling Laws for Looped Language Models](https://papers.projxon.ai/entries/699) (paper 2026, #699)

## Similar entries

- [Toward a mechanistic understanding of inference in visual cortex and diffusion models](https://papers.projxon.ai/entries/453) (paper, #453)
- [MILO: Efficient Many-shot In-Context Learning with Block-wise Low-rank Compression](https://papers.projxon.ai/entries/1067) (paper, #1067)
- [Block Delta Memory (BDM): Sparse Recurrent Memory with Dense Execution](https://papers.projxon.ai/entries/1060) (code, #1060)
- [Differentiable neural computers](https://papers.projxon.ai/entries/1113) (post, #1113)
- [Decoding Looped Transformers Better for (Almost) Free](https://papers.projxon.ai/entries/857) (paper, #857)
- [Charformer: Fast Character Transformers via Gradient-based Subword Tokenization](https://papers.projxon.ai/entries/569) (paper, #569)
