Tree-Structured Infinite Sparse Factor Model

XianXing Zhang, David B. Dunson, Lawrence CarinICML 2011

Overview

This paper introduces a nonparametric Bayesian model designed to automatically learn the hierarchical structure of high-dimensional data. By combining a "nested Chinese restaurant process" with a novel tree-structured shrinkage prior, the model simultaneously infers the number of clusters (width) and the number of factors per cluster (depth). This dual-inference approach allows for highly effective multi-scale data representation and feature sharing.

The Challenge: Nonparametric Hierarchy Discovery

In high-dimensional data analysis, Factor Analysis (FA) is a standard workhorse for finding low-dimensional latent structures. However, standard FA is linear and assumes every data point is generated by the exact same set of factors. Mixture of Factor Analyzers (MFA) addresses this limitation by using different linear models for different clusters, but it introduces a massive "model selection" headache: how many clusters do you need, and how many factors should each cluster have?

Existing solutions often require fixing the tree depth in advance or fail to share information between clusters. This paper tackles the challenge of nonparametric hierarchy discovery: learning a tree where the root captures global features shared by all data, while the branches capture increasingly specific details for sub-clusters, all without the user having to specify the tree's "width" or "depth" beforehand.

Proposed Methodology

The authors propose the Tree-Structured Infinite Sparse Factor Model, which relies on two key components:

  1. Nested Chinese Restaurant Process (nCRP): This component defines the "width" of the tree. It allows for an unbounded number of branches, effectively letting the data dictate how many clusters and sub-clusters exist.
  2. Tree-structured Multiplicative Gamma Process (TMGP): This is the paper's core innovation. It acts as a "shrinkage prior" that operates along the branches of the tree. As you move deeper into the tree, the TMGP increasingly penalizes the weights of factor loadings. This "infinite depth" prior allows the model to automatically truncate branches when additional factors no longer explain the data, effectively inferring the intrinsic dimensionality of each cluster.

Computational Efficiency: Evaluating a massive tree of factor models is normally computationally ruinous (scaling at $O(P^2)$ or $O(P^3)$ where $P$ is the number of dimensions). To solve this, the authors developed a clever collapsed Gibbs sampler that uses a recursive representation of the covariance matrix and the Sherman-Morrison-Woodbury identity. This reduces the cost to $O(P)$ per node, making the model scalable to high-dimensional datasets like images.

Key Insights and Ideas

  • Feature Sharing is Key: Unlike standard MFAs where each cluster is an isolated island, this model shares nodes near the root. This "statistical strength" allows the model to learn global features using the entire dataset, while reserving leaf nodes for specific details.
  • Multi-scale Interpretation: The tree provides a natural way to view data at different resolutions. The top layers show "blurred" averages of large groups, while deeper layers reveal sharp, idiosyncratic details.
Hierarchical tree structure learned from face images, showing global features at the root and specific details at the leaves.
  • Automatic Complexity Control: By using the TMGP, the model avoids "factor splitting" (where the model uses too many factors to explain simple data). It naturally favors simpler trees unless the data is complex enough to justify more branches or depth.

Experimental Results

The model was evaluated across three distinct domains: face images, human genome diversity, and natural image patches.

  • Compressive Sensing (Face Images): On a dataset of 698 face images, the tree-structured model achieved lower reconstruction errors and tighter variance than both standard FA and state-of-the-art MFA models.
Relative reconstruction error for compressive sensing on the face dataset.
  • Genetics: Using genotypes of 1056 individuals across 52 populations, the model successfully clustered populations by geography without being given any location data. It grouped Western countries and Pakistan at one level, then separated them into distinct sub-clusters at the next level.
  • Image Inpainting: In the task of recovering missing pixels from natural image patches, the model significantly outperformed MFA when data was scarce. At 80% missing pixels, the Tree model had a Mean Square Error (MSE) of 41.3, compared to 50.2 for MFA and 47.7 for FA.

Limitations and Future Work

  • Hyperparameter Sensitivity: While the model is nonparametric, it still relies on a threshold parameter ($\delta$) to prune the tree. The learned tree size is sensitive to this value, representing a trade-off between performance and scalability.
  • MCMC Speed: Even with the $O(P)$ optimization, MCMC sampling is inherently slow (taking about 35 seconds per sample for the face data). Scaling this to truly "big data" might require variational inference approaches.
  • Linearity within Branches: While the mixture of branches creates a non-linear global mapping, each individual branch is still a linear factor model. Integrating more complex non-linearities within the nodes could be a promising future direction.

Summary updated

BibTeX
@inproceedings{zhang2011tree,
  author = {XianXing Zhang and David B. Dunson and Lawrence Carin},
  title = {{Tree-Structured Infinite Sparse Factor Model}},
  booktitle = {International Conference on Machine Learning},
  year = {2011},
}
Figure