[Paper Review] Scalable Bayesian Non-Negative Tensor Factorization for Massive Count Data
This paper proposes a scalable Bayesian non-negative tensor factorization model for massive count-valued tensors, leveraging a beta-negative binomial generative model and reparameterization of the Poisson distribution as a multinomial to enable conjugacy and efficient Gibbs sampling and variational inference. The method automatically infers tensor rank and provides interpretable topic-like factors, with online inference enabling scalability to tensors too large for batch methods.
We present a Bayesian non-negative tensor factorization model for count-valued tensor data, and develop scalable inference algorithms (both batch and online) for dealing with massive tensors. Our generative model can handle overdispersed counts as well as infer the rank of the decomposition. Moreover, leveraging a reparameterization of the Poisson distribution as a multinomial facilitates conjugacy in the model and enables simple and efficient Gibbs sampling and variational Bayes (VB) inference updates, with a computational cost that only depends on the number of nonzeros in the tensor. The model also provides a nice interpretability for the factors; in our model, each factor corresponds to a "topic". We develop a set of online inference algorithms that allow further scaling up the model to massive tensors, for which batch inference methods may be infeasible. We apply our framework on diverse real-world applications, such as \emph{multiway} topic modeling on a scientific publications database, analyzing a political science data set, and analyzing a massive household transactions data set.
Motivation & Objective
- To develop a fully Bayesian non-negative tensor factorization model for massive, sparse, overdispersed count-valued tensor data.
- To enable automatic rank inference without requiring pre-specification of the decomposition rank.
- To provide interpretable latent factors that represent distributions (topics) over tensor modes for qualitative analysis.
- To design scalable batch and online inference algorithms suitable for tensors too large for traditional methods.
- To support real-world applications such as multiway topic modeling, political science analysis, and large-scale consumer transaction modeling.
Proposed method
- Uses a beta-negative binomial generative model to capture overdispersed count data and enable conjugacy.
- Reformulates the Poisson likelihood as a multinomial to achieve conjugacy, enabling closed-form Gibbs sampling and variational Bayes updates.
- Applies Dirichlet priors over factor matrix columns to ensure each factor represents a distribution (topic) over tensor mode objects.
- Employs a gamma-gamma-Poisson hierarchical structure to model the tensor entries as a mixture of Poisson distributions.
- Develops two online inference algorithms: online MCMC and stochastic variational inference, both with computational cost proportional only to the number of non-zero entries.
- Uses conditional density filtering and stochastic variational inference with adaptive learning rates to scale to massive tensors.
Experimental results
Research questions
- RQ1Can a Bayesian non-negative tensor factorization model effectively handle massive, sparse, and overdispersed count-valued tensor data?
- RQ2How can conjugacy be achieved in a non-conjugate model like Poisson factorization to enable efficient Gibbs sampling and variational inference?
- RQ3Can the model automatically infer the true rank of the tensor decomposition without requiring manual specification?
- RQ4How do online inference algorithms compare to batch methods in terms of convergence speed and scalability on massive tensors?
- RQ5To what extent can the inferred factors be interpreted as meaningful topics or distributions over tensor modes in real-world applications?
Key findings
- The proposed model successfully handles massive tensors—such as a 117,054×438×67,095 household transaction dataset—where state-of-the-art methods like PTF and lraNTD fail due to storage and computational constraints.
- Online inference methods (conditional density filtering and stochastic variational inference) converge significantly faster than batch methods on the same massive transaction data, achieving better held-out log-likelihoods in less time.
- The model's batch inference is substantially faster than the PTF baseline on the Scholars dataset, with significantly reduced per-iteration running time despite handling the same data.
- The inferred factors are interpretable: for example, in the transaction data, three distinct consumer behavior clusters emerged—popular stores, wholesale stores, and low-variety stores—each with distinct item preferences and behavioral patterns.
- The model reveals behavioral rigidity in consumer shopping: households exhibit strong preferences for specific stores and consume only a small subset of available food items, suggesting limited search behavior.
- The inferred lambda parameters indicate that only about 60 of 100 factors are significant, demonstrating the model’s ability to automatically infer the effective rank of the decomposition.
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.