bayesNMF: Fast Bayesian Poisson NMF with Automatically Learned Rank Applied to Mutational Signatures
Bayesian Poisson Non-Negative Matrix Factorization (NMF) is widely used to model count data, including in cancer mutational signature analysis. However, standard Gibbs samplers rely on computationally expensive Poisson augmentation, and current software implementations learn the latent rank either through slow and potentially subjective heuristic rank selection or with automatic approaches that do not report posterior uncertainty. In this paper, we introduce bayesNMF, an MH-within-Gibbs sampler to address both of these limitations. First, we define high-overlap proposals for Metropolis-Hastings sampling to remove the need for Poisson augmentation. Second, we define a BIC-based sparsity prior to learn rank automatically within the Bayesian formulation while allowing for posterior uncertainty quantification. We provide an open-source R software package with all of the models and plotting capabilities demonstrated in this paper on GitHub at jennalandy/bayesNMF. Although our applications focus on cancer mutational signatures, our software and results can be extended to any use of Bayesian Poisson NMF.
Authors
- Giovanni Parmigiani (ORCID: https://orcid.org/0000-0002-8783-5961)
- Jenna M. Landy
- Nishanth Basava
Institutions
- Harvard University (US)
- Vanderbilt University (US)
- Dana-Farber Cancer Institute (US)
- Dana-Farber/Harvard Cancer Center (US)
Publication Details
- Journal
- Journal of Computational and Graphical Statistics
- Published
- 2026-04-13
- DOI
- https://doi.org/10.1080/10618600.2026.2657487
- Primary Topic
- Generative Adversarial Networks and Image Synthesis
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Science Foundation
- National Institutes of Health
- National Cancer Institute
- National Institute of General Medical Sciences