Restricted Indian Buffet Processes

Finale Doshi‐Velez, Sinead A. WilliamsonarXiv 2015 · DOI

Abstract

Latent feature models are a powerful tool for modeling data with globally-shared features. Nonparametric exchangeable models such as the Indian Buffet Process (IBP) offer modeling flexibility by letting the number of latent features be unbounded. However, current models impose implicit distributions over the number of latent features per data point, and these implicit distributions may not match our knowledge about the data. In this paper, we demonstrate how the Restricted Indian Buffet Process (R-IBP) circumvents this restriction, allowing arbitrary distributions over the number of features in an observation. We discuss several alternative constructions of the model and use the insights gained to develop Markov Chain Monte Carlo (MCMC) and variational methods for simulation and posterior inference.

Introduction

In latent feature modeling, we assume that observations are generated by a set of underlying, globally shared features. For instance, in medical informatics, a patient’s record might be composed of several latent diseases; in audio processing, a recording might be composed of multiple distinct sound sources. The Indian Buffet Process (IBP) has emerged as a cornerstone of Bayesian nonparametrics because it allows the total number of features to be unknown and potentially infinite, growing as more data is observed.

Despite its flexibility, the standard IBP carries a significant mathematical bias: it assumes that the number of features associated with any single observation follows a Poisson distribution. In many real-world scenarios, this assumption is demonstrably false. A specialized medical clinic may only treat patients with at least one severe condition, or a specific audio task might involve a known, fixed number of speakers. The "complete randomness" property of the standard IBP makes it impossible to enforce these specific cardinality constraints, leading to models that may poorly fit the underlying data distribution.

The Restricted Indian Buffet Process (R-IBP)

To address these limitations, we introduce the Restricted Indian Buffet Process (R-IBP). The R-IBP is a flexible extension of the classic IBP that allows researchers to specify an arbitrary distribution $f$ over the number of latent features (the row sums of the feature matrix) appearing in a given observation. This allows for the integration of domain-specific constraints directly into the generative process.

Theoretical Constructions

The paper explores four distinct mathematical frameworks for constructing the R-IBP, each offering different insights into the model's behavior:

  1. Restriction in de Finetti Representation: This involves modifying the underlying Bernoulli process to a "restricted" version, ensuring the generated feature vectors satisfy the desired distribution.
  2. Sub-sampling: This view treats the R-IBP as a rejection sampling process, where a sequence of IBP vectors is generated, but only those satisfying the cardinality distribution $f$ are retained.
  3. Tilting: Utilizing Esscher transforms, this method shifts the feature weights to favor a specific number of active features, providing a bridge between the standard IBP and the restricted version.
  4. Normalized Beta Prime Process: This construction demonstrates that the R-IBP is invariant to the absolute scale of feature weights. Unlike the standard IBP, where the parameter $\alpha$ controls both the total number of features and the features per row, the R-IBP only cares about the relative weights of features because the row count is fixed by the restriction $f$.

Inference Methods

Practical application of the R-IBP requires efficient posterior inference. We develop two primary approaches:

  • Markov Chain Monte Carlo (MCMC): We provide Gibbs sampling algorithms tailored for the R-IBP. However, enforcing hard constraints (e.g., "exactly $k$ features") introduces challenges for standard Gibbs samplers, as flipping a single feature bit would violate the constraint. We address this by implementing feature-swapping moves to maintain the required cardinality.
  • Hybrid Variational Inference (VI): To scale the model to larger datasets, we propose a hybrid VI approach. This method utilizes MCMC to handle global feature weights while employing coordinate ascent to efficiently update local feature assignments. This combination balances the flexibility of sampling with the speed of variational methods.

Experimental Evaluation

We evaluated the R-IBP against standard IBP baselines across several synthetic and real-world datasets:

  • Synthetic Data: Using a "one-inflated Poisson" model (where 80% of data has exactly one feature), the R-IBP demonstrated superior feature recovery. While the standard IBP often "smeared" features together or incorrectly assigned zero features, the R-IBP recovered the true underlying feature matrix with high accuracy.
  • Audio (Chord Dataset): We analyzed 1,320 three-note chords and 12 single notes. The R-IBP's ability to model specific counts allowed for more accurate source separation compared to the Poisson-constrained IBP.
  • Text Modeling (Newsgroups and NPR): On a subset of the 20 Newsgroups dataset and a collection of NPR news summaries, the R-IBP variants consistently achieved higher test-set log-likelihoods. The hybrid VI method proved particularly effective here, making the model viable for these larger document collections.

Discussion and Conclusion

The R-IBP represents a significant step forward in making latent feature models more adaptable to real-world constraints. By breaking the "complete randomness" of the IBP, we allow for partial exchangeability—where different groups of observations can have different cardinality constraints—and scale invariance, where the model focuses on the relative importance of features rather than their absolute weights.

While the model introduces some complexity in terms of mixing speeds for MCMC and the mathematical tractability of certain constructions (like the Normalized Beta Prime), its predictive gains and interpretability are substantial. Future work will explore applying these restriction techniques to other nonparametric processes, such as the beta-negative Binomial or gamma-Poisson processes, to extend these benefits to count-based data.

Summary updated

Abstract

Latent feature models are a powerful tool for modeling data with globally-shared features. Nonparametric exchangeable models such as the Indian Buffet Process offer modeling flexibility by letting the number of latent features be unbounded. However, current models impose implicit distributions over the number of latent features per data point, and these implicit distributions may not match our knowledge about the data. In this paper, we demonstrate how the Restricted Indian Buffet Process circumvents this restriction, allowing arbitrary distributions over the number of features in an observation. We discuss several alternative constructions of the model and use the insights gained to develop Markov Chain Monte Carlo and variational methods for simulation and posterior inference.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
ChordHybrid-Var. R-IBPtest set likelihood-2.11e+03+10 vs baselinesplit: test · runs=5 · held-out=1% · inference=hybrid-variational · iterations=300 · likelihood=linear-gaussian
Source quote
L1282: Hybrid-Var. │ -2.11e+03 │ -2.38e+04 │ -1.77e+05
ChordGibbs R-IBPtest set likelihood-2.26e+03split: test · runs=5 · held-out=1% · inference=gibbs · iterations=300 · likelihood=linear-gaussian
Source quote
L1288: Gibbs R-IBP │ -2.26e+03 │ -2.37e+04 │ -5.46e+04
NPRGibbs R-IBPtest set likelihood-5.46e+04+3300 vs baselinesplit: test · runs=5 · held-out=1% · inference=gibbs · iterations=300 · likelihood=linear-gaussian
Source quote
L1288: Gibbs R-IBP │ -2.26e+03 │ -2.37e+04 │ -5.46e+04
Reported baseline / comparator measurements (3)
BenchmarkMethodMetricScoreProtocol / Evidence
ChordHybrid-Var. IBP baselinetest set likelihood-2.12e+03split: test · runs=5 · held-out=1% · inference=hybrid-variational · iterations=300 · likelihood=linear-gaussian
Source quote
L1284: Hybrid-Var. │ -2.12e+03 │ -2.43e+04 │ -7.07e+04
ChordGibbs IBP baselinetest set likelihood-2.32e+03split: test · runs=5 · held-out=1% · inference=gibbs · iterations=300 · likelihood=linear-gaussian
Source quote
L1290: Gibbs IBP │ -2.32e+03 │ -2.37e+04 │ -5.79e+04
NPRGibbs IBP baselinetest set likelihood-5.79e+04split: test · runs=5 · held-out=1% · inference=gibbs · iterations=300 · likelihood=linear-gaussian
Source quote
L1290: Gibbs IBP │ -2.32e+03 │ -2.37e+04 │ -5.79e+04
BibTeX
@misc{doshivelez2015restricted,
  author = {Finale Doshi‐Velez and Sinead A. Williamson},
  title = {{Restricted Indian Buffet Processes}},
  year = {2015},
  eprint = {1508.06303},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1508.06303},
}

Loading related content...

Figure