Do Diffusion Models Learn to Generalize Basic Visual Skills?

Amish Sethi, Boya Zeng, Wenhao Chai, Zhuang Liu
11/17/2026
cs.CVcs.LG
diffusion-flow

Official code: AmishSethi/visual-generative-lab (2 stars, Python, last commit 2026-11-18).

Abstract

Diffusion models generate high-quality images, but how well they generalize is hard to measure. Current evaluations rely on human preference and prompt-following benchmarks for text-to-image models and on distribution-level metrics such as Fréchet Inception Distance (FID) and Inception Score (IS) for class-conditional models, but these cannot tell whether models learn basic visual skills or largely match training patterns.

Show full abstract

To address this gap, we introduce the Visual Generative Lab (VGL), a controlled experimental framework for studying how diffusion models learn and generalize basic visual skills, including size, position, rotation, count, color, shape, and their compositions. By generating synthetic training data for each skill from explicit rules, VGL allows precise measurement of generalization with task-specific, rule-based metrics. Training models from scratch on these data reveals three patterns in this controlled setting: (1) with our default design, extrapolation is limited: size and position degrade within a few pixels of the training range, count reaches only about 50% accuracy on out-of-range counts, and rotation extrapolation accuracy varies widely across seeds; (2) for compositional generalization, the number of distinct basic visual skill combinations matters more than dataset size; (3) skills mostly fail independently, except position. Code and data-generation scripts: https://github.com/AmishSethi/visual-generative-lab.

View on arXivView PDF

Code Implementations(1)

20PythonSep 3, 20261 weeks agoNOASSERTION

Similar Papers

Cite this paper

@article{sethi2026diffusion,
  title  = {Do Diffusion Models Learn to Generalize Basic Visual Skills?},
  author = {Amish Sethi and Boya Zeng and Wenhao Chai and Zhuang Liu},
  year   = {2026},
  eprint = {2611.22427},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.22427v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.22427.svg)](https://codeofpaper.com/paper/2611.22427)

Discussion