Spatial Mixture Models with Learnable Deep Priors for Perceptual Grouping

Jinyang Yuan, Bin Li, Xiangyang Xue

Introduction

Perceptual grouping, or the "binding problem," is the fundamental cognitive ability to organize visual input into distinct, coherent objects. While humans perform this task effortlessly, it remains a significant challenge for artificial intelligence. Traditional deep learning models often struggle with compositionality—the ability to recognize that a scene is composed of separate entities. This paper introduces a novel spatial mixture model that addresses these challenges by explicitly disentangling object shape from appearance and rethinking how backgrounds are modeled in complex scenes.

Disentangled Shape and Appearance

Existing spatial mixture models, such as Neural Expectation Maximization (N-EM), frequently fail because they entangle spatial dependencies (shape) with pixel-wise variations (appearance). When objects share similar colors or textures, these models often merge them into a single entity.

To solve this, the proposed architecture utilizes two distinct neural networks to generate the parameters of the mixture model:

  • Shape Priors ($\pi$): A network $f_\phi$ generates mixture weights that define the spatial extent and boundaries of an object.
  • Appearance Priors ($\mu$): A separate network $g_\psi$ handles the conditional probability distributions representing the internal visual characteristics of the object.
Figure 1: Decomposition of scenes into shape (π) and appearance (μ) components. The model successfully separates overlapping objects by learning distinct spatial priors.

By separating the "what" from the "where," the model becomes significantly more robust. As shown in Figure 1, even when objects overlap, the learned shape priors allow the model to maintain distinct identities for each component, preventing the visual "bleeding" common in previous methods.

Modeling the Background as a Remainder

A key innovation of this work is the treatment of the background. Most models attempt to represent the background as just another object, which is problematic because backgrounds are often highly complex and lack a consistent "shape."

Instead, the authors employ a Truncated Stick-Breaking Process. In this framework, the model first defines the shapes of $K-1$ foreground objects. The background is then defined as the "remainder"—whatever pixels are left over after the foreground objects have been accounted for. This "complementary" approach simplifies the learning task; the model does not need to learn a complex representation for the background, only an accurate representation of the foreground objects.

Experimental Evaluation

The model was benchmarked against state-of-the-art methods like N-EM and Tagger using two primary datasets: Multi-Shapes and Multi-MNIST.

Multi-Shapes Results

On the Multi-Shapes task, which involves identifying overlapping geometric primitives, the proposed method achieved a Mean Squared Error (MSE) of $0.28 \times 10^{-2}$, vastly outperforming N-EM ($0.82 \times 10^{-2}$). It also reached an Adjusted Mutual Information (AMI) score of 0.941, indicating near-perfect grouping accuracy.

Multi-MNIST and Robustness to Diversity

The Multi-MNIST dataset provided a more rigorous test of the model's ability to handle object diversity. While N-EM's performance dropped sharply as the number of unique digit variants increased, the proposed model remained stable.

Figure 5: Perceptual grouping results on the Multi-MNIST dataset. The model accurately segregates overlapping handwritten digits into separate object slots.

As illustrated in Figure 5, the model successfully segregates overlapping digits into separate object slots. On the most diverse subset (70,000 variants), the model maintained an AMI of 0.683, whereas N-EM fell to 0.158. This demonstrates that the model learns the general concept of an entity rather than simply memorizing specific shapes.

Conclusion

By combining learnable deep priors with a truncated stick-breaking process, this research provides a robust framework for perceptual grouping. The explicit disentanglement of shape and appearance, coupled with the "background-as-remainder" strategy, allows for superior object segregation and reconstruction. Future work will look toward integrating temporal information (motion) and applying these models to high-resolution naturalistic imagery.

Summary updated

BibTeX
@inproceedings{yuan2019spatial,
  author = {Jinyang Yuan and Bin Li and Xiangyang Xue},
  title = {{Spatial Mixture Models with Learnable Deep Priors for Perceptual Grouping}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.33019135},
}
Figure