Tree-Structured Stick Breaking Processes for Hierarchical Data

Ryan P. Adams, Zoubin Ghahramani, Michael I. JordanarXiv 2010 · DOI

Abstract: Many data are naturally modeled by an unobserved hierarchical structure. In this paper we propose a flexible nonparametric prior over unknown data hierarchies. The approach uses nested stick-breaking processes to allow for trees of unbounded width and depth, where data can live at any node and are infinitely exchangeable. One can view our model as providing infinite mixtures where the components have a dependency structure corresponding to an evolutionary diffusion down a tree. By using a stick-breaking approach, we can apply Markov chain Monte Carlo methods based on slice sampling to perform Bayesian inference and simulate from the posterior distribution on trees. We apply our method to hierarchical clustering of images and topic modeling of text data.

Introduction

Many real-world datasets are naturally hierarchical. For instance, scientific research often evolves from broad foundational concepts into specialized sub-fields, where a seminal paper acts as a common ancestor to more niche descendants. However, most existing probabilistic models for hierarchies suffer from rigid constraints: they often force all data to be assigned to leaf nodes, require pre-specified tree depths and widths, or lack the mathematical property of infinite exchangeability.

This paper introduces the Tree-Structured Stick Breaking (TSSB) process, a flexible nonparametric Bayesian prior designed to automatically infer the shape of a hierarchy from data. The TSSB allows data to reside at any node within a tree of infinite width and depth, enabling the discovery of "prototype" data points at internal nodes while specialized instances branch off below them.

The Tree-Structured Stick Breaking Process

The core innovation of this work is the recursive application of the "stick-breaking" construction—typically used in Dirichlet Processes—to a tree structure. In a standard Dirichlet Process, a unit-length stick is broken to determine mixture weights. The TSSB process generalizes this by using two interleaved sets of breaks:

  1. Node Occupancy ($\nu$): Determines how much probability mass stays at a current node versus moving down to its children.
  2. Child Partitioning ($\psi$): Determines how the remaining mass is partitioned among the children of that node.
The Tree-Structured Stick Breaking (TSSB) process recursively partitions probability mass across nodes in an infinite tree, allowing data to reside at any level.

As data moves down the tree, parameters (such as the "topic" of a document) diffuse from parent to child via a Markov transition kernel. This ensures that a child node's characteristics are a noisy, more specialized version of its parent's characteristics.

Bayesian Inference via Slice Sampling

To handle the infinite nature of the TSSB tree, the authors employ a slice sampling Markov Chain Monte Carlo (MCMC) technique. This approach is computationally efficient because it only requires the representation of the "hull" of the tree—the subset of nodes that actually contain data. This allows the model to scale to large datasets while maintaining the theoretical benefits of an infinite state space.

Experimental Results

The model was evaluated on two distinct domains: image clustering and topic modeling.

  • CIFAR-100 Image Dataset: Using 256-dimensional binary features, the TSSB successfully organized 50,000 images into a hierarchy. Top-level nodes captured broad color variations, while deeper branches separated images by texture and specific shapes. Remarkably, an MCMC sweep of the entire dataset took only about three minutes on a single-core workstation.
  • NIPS Proceedings: In a corpus of 1,740 research papers, the TSSB performed hierarchical topic modeling. It outperformed standard Latent Dirichlet Allocation (LDA) in terms of predictive perplexity when the number of topics was small, effectively placing general papers at internal nodes and specialized research at the leaves.

Flexibility and Unbounded Complexity

A significant advantage of the TSSB is its ability to adapt to data complexity without requiring the researcher to guess the number of clusters or levels beforehand. By adjusting concentration parameters ($\alpha_0, \lambda, \gamma$), the prior can represent a vast range of tree topologies, from shallow and wide to deep and narrow.

The TSSB prior is highly flexible; by varying its parameters, it can generate a wide variety of tree structures to suit different data distributions.

Conclusion and Future Work

While the TSSB provides a powerful framework for hierarchical discovery, the authors noted that the hierarchical constraint can sometimes be too restrictive for very large numbers of topics, where standard LDA may perform better. Future research may explore different transition kernels to better relate parents to children in specific domains like genomics or phylogenetics, potentially unlocking even more nuanced hierarchical representations.

Summary updated

BibTeX
@misc{adams2010tree,
  author = {Ryan P. Adams and Zoubin Ghahramani and Michael I. Jordan},
  title = {{Tree-Structured Stick Breaking Processes for Hierarchical Data}},
  year = {2010},
  eprint = {1006.1062},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1006.1062},
}
Figure