What Drives Compositional Generalization in Visual Generative Models?
Karim Farid, Rajat Sahay, Yumna Ali Alnaggar, Simon Schrodi, Volker Fischer, Cordelia Schmid, Thomas Brox
TL;DR
This work investigates what drives compositional generalization in visual generative models by conducting controlled, cross-architecture experiments that compare continuous versus discrete output spaces and varying conditioning completeness. The authors show that models trained to represent continuous distributions exhibit stronger level-2 compositional generalization, while full, non-quantized conditioning is crucial for reliable recombination of factors. They further introduce a JEPA-based auxiliary objective to improve discrete models (e.g., MaskGIT), which yields more disentangled representations and stronger compositionality, supported by mechanistic analyses of attention heads and circuits. The results extend to real-world video domains and suggest that continuous latent or intermediate representations, together with complete conditioning, are key for developing generative models with reliable, systematic generalization across modalities and tasks.
Abstract
Compositional generalization, the ability to generate novel combinations of known concepts, is a key ingredient for visual generative models. Yet, not all mechanisms that enable or inhibit it are fully understood. In this work, we conduct a systematic study of how various design choices influence compositional generalization in image and video generation in a positive or negative way. Through controlled experiments, we identify two key factors: (i) whether the training objective operates on a discrete or continuous distribution, and (ii) to what extent conditioning provides information about the constituent concepts during training. Building on these insights, we show that relaxing the MaskGIT discrete loss with an auxiliary continuous JEPA-based objective can improve compositional performance in discrete models like MaskGIT.
