Reproduce “A Mechanistic Study of Algorithmic Generalization in Diffusion Models on Modular Arithmetic” 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

Joon Hyeok Kim, Yong-Hyun Park, Mattis Dalsætra Østby, Jiatao Gu

The authors study whether diffusion models can generalize image-based modular addition to unseen operand pairs. They analyze Fourier features in a single-image regime and test whether changing frequency concentration predicts correction failure when sampling resumes from a deliberately corrupted result. In the diverse-image setup, this signal tracks failure with R-squared 0.84. This supports a task-specific account, not a general law.

Summary by alphaXiv.

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