Does Data Scaling Lead to Visual Compositional Generalization?

Arnas Uselis, Andrea Dittadi, Seong Joon Oh
7/9/2025
cs.LG

Official code: oshapio/visual-compositional-generalization (2 stars, last commit 2025-06-29).

Abstract

Compositional understanding is crucial for human intelligence, yet it remains unclear whether contemporary vision models exhibit it. The dominant machine learning paradigm is built on the premise that scaling data and model sizes will improve out-of-distribution performance, including compositional generalization. We test this premise through controlled experiments that systematically vary data scale, concept diversity, and combination coverage. We find that compositional generalization is driven by data diversity, not mere data scale. Increased combinatorial coverage forces models to discover a linearly factored representational structure, where concepts decompose into additive components. We prove this structure is key to efficiency, enabling perfect generalization from few observed combinations. Evaluating pretrained models (DINO, CLIP), we find above-random yet imperfect performance, suggesting partial presence of this structure. Our work motivates stronger emphasis on constructing diverse datasets for compositional generalization, and considering the importance of representational structure that enables efficient compositional learning. Code available at https://github.com/oshapio/visual-compositional-generalization.

View on arXivView PDF

Code Implementations(1)

20May 29, 20251 years ago

Similar Papers

Cite this paper

@article{uselis2025does,
  title  = {Does Data Scaling Lead to Visual Compositional Generalization?},
  author = {Arnas Uselis and Andrea Dittadi and Seong Joon Oh},
  year   = {2025},
  eprint = {2507.07102},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.07102v1},
  journal = {ICML 2025 2025}
}

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/2507.07102.svg)](https://codeofpaper.com/paper/2507.07102)

Discussion