Sign inGet started
Paper · arXiv

Grokking of Diffusion Models: Case Study on Modular Addition

Despite their empirical success, how diffusion models generalize remains poorly understood from a mechanistic perspective. We demonstrate that diffusion models trained with flow-matching objectives exhibit grokking--delayed generalization after overfitting--on modular addition, enabling controlled analysis of their internal computations. We study this phenomenon across two levels of data regime. In a single-image regime, mechanistic dissection reveals that the model implements modular addition by composing periodic representations of individual operands. In a diverse-image regime with high intraclass variability, we find that the model leverages its iterative sampling process to partition...

AuthorsJoon Hyeok Kim, Yong-Hyun Park, Mattis Dalsætra Østby et al.
Primary categorycs.LG
Published20 April 2026
Last updated at source20 April 2026
cs.LG
Embed this entry
<iframe src="https://silytics.si/embed/item/9d33a3dd-3dff-4db7-8286-cdd3f45e109d" width="420" height="190" style="border:0" loading="lazy" title="Silytics entry"></iframe>

Free, no tracking. More about feeds and embeds.

Silytics shows public metadata from arXiv and links to the original. Information may be incomplete or out of date. Last refreshed 17 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.