SynDaCaTE: A Synthetic Dataset For Evaluating Part-Whole Hierarchical Inference

Jake Levi, Mark van der Wilk · DOI

Abstract

Understanding objects as hierarchies of parts—mereological inference—remains a significant challenge in computer vision. While capsule networks were designed to address this, their evaluation on standard datasets often obscures whether they truly learn hierarchical relationships. We introduce SynDaCaTE (SYNthetic DAtaset for CApsule Testing and Evaluation), a benchmark providing ground-truth pose information for object parts. Our analysis shows that the main bottleneck for capsule networks is part extraction from pixels. Moreover, we find that standard CNNs can match the data efficiency of capsule networks once parts are identified, and that SetTransformers are highly effective for part-to-whole reasoning when sufficient depth is provided.

Introduction: The Challenge of Mereological Inference

Computer vision has long sought to achieve "mereological inference," the ability to perceive objects as structured hierarchies of parts (e.g., recognizing a "face" as a specific spatial arrangement of "eyes," "nose," and "mouth"). Capsule networks were proposed to solve this by explicitly modeling these hierarchies, promising improved data efficiency and robustness. However, evaluating these models on standard datasets like MNIST is problematic; high classification accuracy does not necessarily imply that the model has learned the underlying hierarchy. SynDaCaTE addresses this "black box" problem by providing a controlled environment with explicit labels for every sub-component.

The SynDaCaTE Dataset: A White-Box Benchmark

SynDaCaTE features 21 object types across three hierarchical levels: Lines (bottom-level), Characters (composites of lines), and Words (composites of characters). Each of its seven tasks (e.g., ImToParts, PartsToClass) includes 60,000 training and 10,000 test samples. Crucially, every image includes optional ground-truth pose information (class, position, scale) for every sub-part, enabling a "white-box" evaluation of a model's internal reasoning.

Methodology: Decoupling Part Extraction and Hierarchical Reasoning

The authors decompose hierarchical inference into two sub-tasks:

  1. Image-to-parts: Identifying the generalized pose of constituent parts from raw pixels.
  2. Parts-to-wholes: Inferring the identity and pose of a larger object from a set of parts.

By isolating these steps, the study compares various architectures, including classic CapsNets, modernized CNNs, SetTransformers, and MLPs, to pinpoint where specific inductive biases succeed or fail.

Experimental Results: Efficiency and Architectural Inductive Biases

A key finding is that the "vision bottleneck" — extracting clean part information from pixels — is the primary hurdle for capsule networks. When this step fails, the entire hierarchy collapses. Furthermore, the supposed data efficiency advantage of capsule networks appears to be a myth in this context.

Figure 1: Test accuracy across different training set sizes. Modernized CNNs demonstrate superior data efficiency compared to CapsNets in standard classification tasks.

In the PartsToChars task, where models are fed ground-truth part information, the SetTransformer emerged as the most effective architecture. Its permutation-equivariant nature makes it ideally suited for processing sets of parts. However, the results indicate a critical "depth threshold": SetTransformers require at least two layers of self-attention to become effective at part-whole inference.

Figure 2: Test Mean Squared Error (MSE) as a function of model depth. SetTransformers (ST) show a significant performance gain once they reach a depth of two layers, outperforming MLPs and shallow transformers.

Discussion and Future Directions

The success of deeper SetTransformers may be attributed to "induction heads," where multiple attention layers collaborate to recognize complex patterns. The authors conclude that the computer vision community should move beyond "naive" capsule designs and instead integrate permutation-equivariant inductive biases into general-purpose models. Future work will extend SynDaCaTE to 3D environments and video (VinDaCaTE) to explore hierarchical learning in more complex, dynamic settings.

Summary updated

BibTeX
@inproceedings{levi2025syndacate,
  author = {Jake Levi and Mark van der Wilk},
  title = {{SynDaCaTE: A Synthetic Dataset For Evaluating Part-Whole Hierarchical Inference}},
  booktitle = {MOSS @ ICML},
  year = {2025},
  url = {https://openreview.net/forum?id=SpppKsudMo},
}
Figure