Introduction
Traditional scene understanding typically relies on discriminative models that map images directly to labels. While effective, these models often fail when encountering out-of-distribution (OOD) data, such as scenes with more objects than seen during training or unfamiliar textures. This paper proposes a paradigm shift: understanding through creation. By inverting generative diffusion models, the researchers demonstrate that if a model can find the generative parameters required to reconstruct an image, it has effectively "understood" that image. The core of this approach is compositionality, allowing models trained on simple concepts to interpret complex, multi-object scenes.
Methodology: Inverse Generative Modeling (IGM)
The framework treats scene understanding as an inverse problem. Instead of a single monolithic model, the system uses a Compositional Generative Model where the total predicted noise is the sum of noise predictions from individual modules, each conditioned on a specific concept (e.g., an object or attribute).
To perform Inverse Inference, the model searches for the set of concepts that minimize the denoising error—the difference between the actual noise in a latent state and the model's prediction. This error serves as a proxy for likelihood; a lower error indicates a better fit for the hypothesized scene parameters. The model employs discrete inference for categorical labels and Stochastic Gradient Descent (SGD) for continuous parameters like object coordinates.
Experimental Evaluation
The authors evaluated the IGM framework across three distinct domains:
- CLEVR & CLEVRTex: The model was trained on simple scenes (3-5 objects) and tested on OOD scenes with 6-8 objects and complex textures. IGM achieved an 85.3% perception rate, significantly outperforming discriminative baselines like Slot Attention (53.3%).
- CelebA: To test attribute generalization, the model was trained only on female faces. When tested on male faces, it maintained higher accuracy (65.6%) than standard ResNets (62.2%).
- Zero-shot Animal Dataset: The framework was integrated with pretrained foundation models like Stable Diffusion to identify multiple animals in real-world images.
Zero-Shot Perception and Composition
A significant advantage of this framework is its compatibility with existing pretrained models. By comparing the denoising error of different text prompts, the model can perform multi-object recognition without additional training. This "combinatorial generalization" allows the model to understand scenes it has never seen as a whole, provided it understands the individual components.
In zero-shot animal identification tasks, the IGM approach reached 87.3% accuracy, outperforming the non-compositional "Diffusion Classifier" baseline (70.4%).
Discussion and Future Work
While powerful, IGM faces challenges regarding inference speed, as optimization-based inference is slower than a single discriminative forward pass. Furthermore, the current model assumes object independence, which simplifies the handling of occlusions and shadows. Future research aims to extend this framework to dynamic video scenes and the inference of complex scene graphs to better capture inter-object relationships.
Summary updated