[Paper Review] Nonparametric Bayesian Negative Binomial Factor Analysis
This paper proposes Nonparametric Bayesian Negative Binomial Factor Analysis (NBFA) to model overdispersed count matrices by replacing Poisson likelihood with negative binomial, capturing both self- and cross-excitation in covariate frequencies. It introduces the hierarchical gamma-negative binomial process (hGNBP) and a fast, adaptive blocked Gibbs sampler, showing NBFA achieves superior predictive performance, parsimonious representation, and lower computational cost than Poisson-based models.
A common approach to analyze a covariate-sample count matrix, an element of which represents how many times a covariate appears in a sample, is to factorize it under the Poisson likelihood. We show its limitation in capturing the tendency for a covariate present in a sample to both repeat itself and excite related ones. To address this limitation, we construct negative binomial factor analysis (NBFA) to factorize the matrix under the negative binomial likelihood, and relate it to a Dirichlet-multinomial distribution based mixed-membership model. To support countably infinite factors, we propose the hierarchical gamma-negative binomial process. By exploiting newly proved connections between discrete distributions, we construct two blocked and a collapsed Gibbs sampler that all adaptively truncate their number of factors, and demonstrate that the blocked Gibbs sampler developed under a compound Poisson representation converges fast and has low computational complexity. Example results show that NBFA has a distinct mechanism in adjusting its number of inferred factors according to the sample lengths, and provides clear advantages in parsimonious representation, predictive power, and computational complexity over previously proposed discrete latent variable models, which either completely ignore burstiness, or model only the burstiness of the covariates but not that of the factors.
Motivation & Objective
- To address the limitation of Poisson factor analysis (PFA) in modeling overdispersed counts due to self- and cross-excitation in covariate frequencies.
- To develop a nonparametric Bayesian model that supports countably infinite factors for flexible, adaptive factorization of count matrices.
- To improve predictive performance and computational efficiency in text and count data analysis by modeling burstiness at both covariate and factor levels.
- To provide a principled connection between NBFA and Dirichlet-multinomial mixed-membership models, enabling richer representation of latent structures.
Proposed method
- Proposes negative binomial factor analysis (NBFA) by replacing the Poisson likelihood in PFA with a negative binomial likelihood to model overdispersed counts.
- Establishes a theoretical link between NBFA and a Dirichlet-multinomial mixed-membership model, enabling interpretation in terms of latent subpopulations with bursty behavior.
- Introduces the hierarchical gamma-negative binomial process (hGNBP) as a nonparametric prior to support countably infinite factors in NBFA.
- Develops a compound Poisson representation-based blocked Gibbs sampler that adaptively truncates the number of factors and ensures fast convergence with low computational complexity.
- Derives a collapsed Gibbs sampler and a second blocked sampler, both enabling automatic inference of the number of active factors based on data.
- Uses the hGNBP to model both sample-specific and covariate-specific overdispersion rates, improving smoothing and predictive accuracy.
Experimental results
Research questions
- RQ1Can negative binomial factor analysis better capture self- and cross-excitation in covariate frequencies compared to Poisson-based models?
- RQ2How can a nonparametric prior support an infinite number of factors while maintaining computational efficiency in count matrix factorization?
- RQ3Does the proposed hGNBP-NBFA model achieve better predictive performance and parsimonious representation than existing discrete latent variable models?
- RQ4How does the inferred number of active factors adapt to varying sample lengths and data complexity?
Key findings
- NBFA significantly outperforms PFA in classification accuracy on binary and multi-class 20newsgroups tasks, achieving 88.0% accuracy on the comp.sys.ibm.pc.hardware vs. comp.sys.mac.hardware task with normalized features.
- The inferred Dirichlet smoothing parameter η in NBFA decreases with increasing truncation level K, indicating adaptive regularization and better handling of overdispersion.
- The blocked Gibbs sampler based on compound Poisson representation converges faster and has lower computational complexity than alternative samplers, enabling efficient inference.
- NBFA achieves a parsimonious representation by dynamically adjusting the number of active factors K⁺ based on sample length, reducing unnecessary model complexity.
- For the 20newsgroups dataset, NBFA achieves 79.4% classification accuracy with low-dimensional features, outperforming logistic regression with raw counts (78.0%) and normalized frequencies (79.4%) when using NBFA-inferred features.
- The relationship between inferred η and active factors K⁺ follows a decreasing trend on log scale, suggesting stable and interpretable regularization dynamics across model capacities.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.