Tagger: Deep Unsupervised Perceptual Grouping

Klaus Greff, Antti Rasmus, Mathias Berglund, Tele Hotloo Hao, Harri Valpola, Jürgen Schmidhuber

TL;DR

Tagger introduces iTerative Amortized Grouping (TAG), a framework that allows neural networks to perform unsupervised perceptual grouping—essentially learning to segment scenes into individual objects without being told what an "object" is. By iteratively refining group assignments through a denoising process, Tagger outperforms standard convolutional networks on cluttered multi-object tasks and dramatically improves semi-supervised learning efficiency.

What Problem Does This Paper Address?

Humans don't just see a grid of pixels; we see a world structured into distinct objects, each with its own properties. This is known as perceptual grouping.

Perceptual grouping decomposes a complex scene into distinct objects and background layers.

For a machine, however, this is incredibly difficult. Standard neural networks often process an entire scene as one "clump" of features. When multiple objects overlap or share similar textures, their features interfere with one another, leading to errors in classification or reasoning.

While supervised segmentation exists, it requires massive amounts of pixel-perfect labels. The authors of this paper ask: Can a network learn to group features into objects entirely on its own, simply by learning to understand the structure of the data?

Methods: iTerative Amortized Grouping (TAG)

The authors propose a framework called iTerative Amortized Grouping (TAG). The core idea is to let the network split its internal representations into $K$ different "groups" (or slots).

The TAG framework uses iterative routing to separate features, such as isolating a digit from a textured background.

Key components include:

  • Iterative Inference: Grouping is a "chicken-and-egg" problem: to segment an object, you need to know its features, but to extract its features, you need to segment it. TAG solves this by alternating between estimating group assignments and refining object representations over several iterations (typically 3–5).
  • Amortized Inference: Instead of using a slow, traditional optimization algorithm (like Expectation-Maximization) at test time, they train a neural network (the "parametric mapping") to predict the results of that optimization quickly.
  • Denoising Objective: The system is trained as a denoising autoencoder. It receives a corrupted version of the input and must reconstruct the clean version. To do this efficiently in a multi-object scene, the network is forced to learn how to assign different parts of the input to different groups.
  • The "Tagger" Architecture: While TAG is a general framework, the specific implementation in this paper uses a Ladder Network as the backbone. This choice is intentional because Ladder Networks are designed for hierarchical latent variable modeling, which fits the object-part hierarchy of real-world scenes.

Crucially, Tagger is domain-agnostic. Unlike most computer vision models, it doesn't assume the input is a 2D grid of pixels; it can work on any modality where features should be grouped.

Datasets and Key Insights

The researchers evaluated Tagger on three increasingly difficult benchmarks, including "Shapes" (overlapping geometric shapes) and "TextureMNIST" (digits superimposed on heavily cluttered, textured backgrounds).

  • Grouping as a Computational Tool: The most striking insight is that grouping isn't just an end goal (like segmentation); it's a tool that improves classification. By isolating the features of one digit from the "noise" of another, the network can classify them more accurately.
  • Beating Convolutions with Fully Connected Layers: In the heavily cluttered two-digit TextureMNIST task, a fully connected version of Tagger outperformed a state-of-the-art Convolutional Network (ConvNet). This suggests that the ability to resolve feature interference through grouping is sometimes more powerful than the spatial priors of convolutions.
  • The Power of Semi-Supervised Learning: Grouping allows the network to make sense of unlabeled data. If the network can see that a certain set of pixels "belongs together" as an object, it only needs a few labeled examples to learn what that object is called.

Key Results

  • Segmentation Quality: On the Shapes dataset, Tagger achieved an Adjusted Mutual Information (AMI) score of 0.97 (where 1.0 is perfect), far surpassing previous unsupervised methods like Reconstruction Clustering (0.61).
  • Classification Accuracy: On the two-digit TextureMNIST task, Tagger achieved a 7.9% error rate, while a standard ConvNet struggled at 12.6%.
  • Sample Efficiency: In a semi-supervised setting with only 1,000 labeled examples, Tagger reached 24.9% error on the two-digit task. For comparison, the baseline Ladder Network (a very strong semi-supervised model) had a 68.5% error rate. This demonstrates that grouping is a massive "force multiplier" for learning from limited data.

Limitations and Future Work

While Tagger is a significant step forward, the authors acknowledge some limitations. The number of groups ($K$) is predefined; while the model is robust enough to leave groups empty, it doesn't dynamically discover the optimal number of groups. Additionally, the iterative nature of the model introduces computational overhead compared to standard feed-forward networks. Finally, scaling this approach from overlapping digits to high-resolution, natural "in-the-wild" images remains a challenge for future research.

Ultimately, the authors conclude that grouping is a fundamental pillar of perception, and integrating it into neural networks will be essential for scaling AI to more complex, real-world tasks.

Summary updated

BibTeX
@inproceedings{greff2016tagger,
  author = {Klaus Greff and Antti Rasmus and Mathias Berglund and Tele Hotloo Hao and Harri Valpola and Jürgen Schmidhuber},
  title = {{Tagger: Deep Unsupervised Perceptual Grouping}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2016},
  url = {https://openreview.net/forum?id=ryWdxKbdWr},
}
Figure