Beta Diffusion Trees

Creighton Heaukulani, David A. Knowles, Zoubin GhahramaniICML 2014

In the world of latent variable modeling, we often categorize objects into "features." For instance, an image might contain a "chair," a "table," and be set in a "kitchen." While the popular Indian Buffet Process (IBP) allows objects to possess multiple features, it typically assumes those features are independent. But we know the real world is highly structured: if a scene contains a "table," it’s much more likely to contain a "chair" than a "submarine."

To address this, researchers introduced Beta Diffusion Trees (BDT), a framework that brings hierarchical structure to overlapping feature allocations. By allowing particles to replicate as they diffuse through a continuous space, the model captures hierarchical dependencies between features, significantly outperforming independent feature models on real-world missing data tasks.

The Gap Between Clustering and Feature Allocation

Most unsupervised learning models fall into two distinct camps:

  1. Clustering (Partitions): Each object belongs to exactly one group (e.g., Dirichlet Process).
  2. Feature Allocation: Each object can have multiple attributes (e.g., Indian Buffet Process).

While researchers had already developed "Diffusion Trees" to model hierarchies in clustering, these earlier models couldn't handle overlapping features. If you used a standard Dirichlet Diffusion Tree, an object was forced down a single path to a single leaf.

The BDT addresses this gap. It provides a generative process for a tree where the leaves represent features, and a single object can "flow" into multiple leaves simultaneously. This allows the model to learn that certain features are sub-types of others or frequently co-occur due to a shared ancestral structure.

The Generative Process: Diffusion and Replication

The BDT is defined through a generative process involving "particles" (representing objects) diffusing in a continuous space via Brownian motion over a set time interval.

A beta diffusion tree showing continuous diffusion paths and the resulting tree structure.
  • The Diffusion Process: Imagine a particle representing an object starting at the origin. As time progresses, it moves randomly through space.
  • Replication (The Secret Sauce): Unlike previous models, a BDT particle can replicate at random times. When it replicates, one copy continues on the current path, while the other copy diverges onto a new path. This branching is how a single object ends up assigned to multiple features (leaf nodes).
  • Following the Trail: Subsequent objects tend to follow the paths carved out by previous ones. They can "stop" at existing nodes or "diverge" to create new branches.
  • Exchangeability: The order in which you process objects doesn't change the underlying distribution of the tree, a critical property for robust Bayesian inference.

Visualizing Hierarchical Overlap

Treating "feature possession" as a branching process is a major conceptual leap. By allowing multiple copies of a particle to exist, the model naturally transitions from a "one-path-per-object" partition to a "multi-path-per-object" allocation.

A tree structure alongside its corresponding latent feature matrix, demonstrating overlapping feature allocations.

The BDT treats the "time" of divergence in the tree as a measure of correlation. Features that branch off from each other late in the process are more highly correlated than those that split near the root. This structure maps directly to a latent feature matrix where objects (rows) can possess multiple overlapping features (columns) based on their traversal of the tree.

Empirical Success

The authors evaluated the BDT on three distinct real-world datasets to test its ability to predict missing values: gene expression levels in E. Coli, socioeconomic measurements for Indian households, and human development variables for 161 countries (the UN Dataset).

The BDT was compared against the standard IBP and two "Correlated IBP" variants.

  • Superior Predictive Power: In all three datasets, the BDT achieved the highest median log-likelihood on held-out test data.
  • Statistical Significance: The performance gains over the next-best model were statistically significant, with p-values as low as $1.5 \times 10^{-4}$ on the UN dataset.
  • Interpretability: Qualitatively, the model successfully recovered meaningful hierarchies. In the UN data, it grouped highly developed countries into specific sub-features (e.g., high broadband and GDP) while identifying a different set of shared features for developing nations.

Limitations and Future Work

While powerful, the BDT has limitations. First, while the objects are exchangeable, the features (the branches of the tree) are not. The left-vs-right branching structure is inherent to the model, unlike a standard IBP where feature labels don't matter.

Additionally, inference relies on Markov Chain Monte Carlo (MCMC) over complex tree structures. This is computationally expensive and can struggle with "mixing" (getting stuck in one tree shape), making scaling to millions of objects a challenge. Finally, the current model is static; future work may explore "time-evolving" feature allocations where the hierarchy itself adapts over time.

Summary updated

BibTeX
@inproceedings{heaukulani2014beta,
  author = {Creighton Heaukulani and David A. Knowles and Zoubin Ghahramani},
  title = {{Beta Diffusion Trees}},
  booktitle = {International Conference on Machine Learning},
  year = {2014},
  url = {https://openreview.net/forum?id=rkZ2b2Zdbr},
}
Figure