NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning cross-cutting systems of categories

Patrick Shafto, Charles Kemp, Vikash K. Mansinghka, Joshua B. TenenbaumPsycEXTRA 2006 · OpenAlex

Abstract

Author(s): Gordon, Matthew; Kemp, Charles K.; Mansinghka, Vikash K.; Shafto, Patrick; Tenenbaum, Joshua B.

Introduction

In cognitive science and machine learning, categorization is often treated as a singular, hierarchical problem. We typically ask if an object belongs to one of several mutually exclusive groups. However, human intuition is significantly more flexible. A steak, for instance, is taxonomically "meat" but situationally "dinner food." Most classical models fail to capture this duality, forcing objects into a single, rigid structure.

Shafto et al. (2006) introduced CrossCat, a Bayesian framework designed to discover multiple, overlapping systems of categories simultaneously. By partitioning features into independent "kinds," CrossCat allows the same set of objects to be organized into multiple systems, reflecting the complexity of real-world knowledge.

Methods: The CrossCat Model

CrossCat is described as a "mixture of mixture models." Its primary innovation is the treatment of features rather than objects as the primary unit of partitioning:

  1. Feature Partitioning: Instead of categorizing objects directly, CrossCat partitions the features themselves into different "kinds" (e.g., grouping "dietary" features separately from "anatomical" ones).
  2. Independent Systems: For each kind of feature, the model learns a separate, independent categorization of the objects.
  3. Nonparametric Priors: Using the Chinese Restaurant Process (CRP) as a prior, the model automatically infers the optimal number of feature systems and categories within each system from the data. This balances simplicity with explanatory power.
  4. Inference: The model employs stochastic search (Gibbs sampling) to identify the most probable arrangement of features and categories.

Results and Evaluation

The researchers evaluated CrossCat using three distinct datasets: artificial stimuli, food data, and animal traits.

Artificial "Bug" Stimuli

The model was tested on eight synthetic "bugs" defined by binary features like head shape and leg count. These were designed to support two orthogonal sorting methods. CrossCat successfully predicted the multiple ways humans chose to sort these objects, whereas standard Infinite Mixture Models (IMM) failed to capture the secondary, intuitive sorting methods.

Examples of artificial 'bug' stimuli used to test the model's ability to discover multiple sorting criteria.

Food and Animal Datasets

On the food dataset (8 foods, 16 features), CrossCat correctly separated "situational" features (e.g., breakfast vs. dinner) from "taxonomic" features (e.g., starches vs. meats).

CrossCat partitions the food dataset into two independent systems: situational (left) and taxonomic (right).

In the larger animal dataset (22 animals, 106 features), the model discovered three distinct systems: a taxonomic system (birds, mammals, reptiles), an ecological system (predators, prey), and a third system for uninformative or noisy features.

Discussion

The core insight of CrossCat is that categorization is driven by the correlation of features. By identifying which features "belong together," object categories emerge naturally within specific contexts. This approach provides superior generalization; for example, learning a taxonomic fact about a lion does not lead the model to incorrectly apply it to all predators.

While powerful, the model currently assumes feature exclusivity—that each feature belongs to exactly one system. Future work may address features influenced by multiple systems and the computational cost of stochastic search in larger datasets.

Summary updated

BibTeX
@inproceedings{shafto2006learning,
  author = {Patrick Shafto and Charles Kemp and Vikash K. Mansinghka and Joshua B. Tenenbaum and Vikash Mansinghka},
  title = {{Learning cross-cutting systems of categories}},
  booktitle = {PsycEXTRA},
  year = {2006},
  doi = {10.1037/e527352012-684},
}

Loading related content...

Figure