Rapid Posterior Exploration in Bayesian Non-negative Matrix Factorization

M. Arjumand Masood, Finale Doshi‐VelezarXiv 2016 · DOI

Abstract

Non-negative Matrix Factorization (NMF) is a popular tool for data exploration. Bayesian NMF promises to also characterize uncertainty in the factorization. Unfortunately, current inference approaches such as MCMC mix slowly and tend to get stuck on single modes. We introduce a novel approach using rapidly-exploring random trees (RRTs) to asymptotically cover regions of high posterior density. These are placed in a principled Bayesian framework via an online extension to nonparametric variational inference. On experiments on real and synthetic data, we obtain greater coverage of the posterior and higher ELBO values than standard NMF inference approaches.

The Challenge of Multi-modality in NMF

Non-negative Matrix Factorization (NMF) is a fundamental technique for identifying latent patterns in high-dimensional data, such as gene expression or text topics. However, NMF suffers from a significant "non-identifiability" problem: multiple distinct pairs of matrices ($A$ and $W$) can often reconstruct the original data $X$ with equal fidelity.

While a Bayesian approach should theoretically capture these diverse solutions as a posterior distribution, existing inference tools often fail:

  1. Markov Chain Monte Carlo (MCMC): These samplers frequently become trapped in a single local mode, failing to cross the deep "valleys" of low probability that separate different valid solutions.
  2. Variational Inference (VI): Standard VI typically collapses to a single mode, systematically underestimating the true uncertainty and diversity of the posterior space.

Bridging Robotics and Statistics: The RRT-ONVI Framework

To address these limitations, this research introduces a framework that treats posterior exploration as a path-planning problem, borrowing the Rapidly-exploring Random Tree (RRT) algorithm from robotics.

1. Exploration via RRTs

RRTs are designed to aggressively scout complex spaces. In this context, the "space" is the set of possible NMF solutions. To maintain efficiency, the authors restrict the search to the oblique manifold—a subspace of transformations ($Q$) that preserve the data's structure. This reduces the search dimensionality from $R(D+N)$ to $R^2$, making high-dimensional exploration feasible.

Figure 2: RRT exploration on the Laurberg dataset. The blue lines illustrate the algorithm's aggressive search across the parameter space, far exceeding the narrow regions explored by traditional methods.

2. Integration via Online Nonparametric Variational Inference (ONVI)

As the RRT discovers new potential modes, the system must decide which to retain. The authors developed ONVI, which represents the posterior as a mixture of Gaussians. When the RRT proposes a new mode, ONVI evaluates its impact on the Evidence Lower Bound (ELBO). If the new mode improves the ELBO, it is integrated into the mixture; redundant or low-quality modes are pruned, ensuring a principled and sparse representation of the posterior.

Experimental Validation

The framework was tested on synthetic data (Laurberg dataset) and real-world datasets spanning genomics, text, and astronomy.

Superior Coverage and Fit

A key metric for success in this study is the Covering Number, which quantifies how many distinct regions of the posterior space an algorithm has successfully explored. On the Laurberg dataset, standard methods like Hamiltonian Monte Carlo (HMC) and Variational Inference remained stuck in a single mode (Covering Number = 1). In contrast, the RRT-ONVI approach successfully branched out to identify multiple analytical solutions.

Figure 1: Persistence of Covering Number on the Laurberg dataset. The RRT approach (red) maintains a significantly higher covering number for small radii compared to HMC and NVI baselines, which fail to move beyond a single mode.

On real-world data, such as the BBC text dataset, the RRT-ONVI method identified up to 118 distinct components, whereas HMC remained trapped in one. Across all benchmarks, the proposed method consistently achieved higher ELBO values, indicating a better fit to the true posterior than traditional baselines.

Conclusion and Future Directions

By reframing posterior inference as a robotic exploration problem, this work provides a robust solution to the mode-locking problem in Bayesian NMF. While the method shows great promise, future work will focus on improving the scalability of nearest-neighbor searches within the tree and refining the algorithm's sensitivity to different likelihood models (e.g., Gaussian vs. Uniform noise).

Summary updated

Abstract

Non-negative Matrix Factorization (NMF) is a popular tool for data exploration. Bayesian NMF promises to also characterize uncertainty in the factorization. Unfortunately, current inference approaches such as MCMC mix slowly and tend to get stuck on single modes. We introduce a novel approach using rapidly-exploring random trees (RRTs) to asymptotically cover regions of high posterior density. These are placed in a principled Bayesian framework via an online extension to nonparametric variational inference. On experiments on real and synthetic data, we obtain greater coverage of the posterior and higher ELBO values than standard NMF inference approaches.
BibTeX
@misc{masood2016rapid,
  author = {M. Arjumand Masood and Finale Doshi‐Velez},
  title = {{Rapid Posterior Exploration in Bayesian Non-negative Matrix Factorization}},
  year = {2016},
  eprint = {1610.08928},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1610.08928},
}
Figure