Bayesian nonparametric models for zero-inflated count-compositional data using ensembles of regression trees
André F. B. Menezes, Andrew C. Parnell, Keefe Murphy
TL;DR
This work tackles the challenge of analyzing count‑compositional data that exhibit overdispersion, zeros (including structural zeros), and nonlinear covariate effects. The authors introduce two Bayesian nonparametric models, ZANIM‑BART and ZANIM‑LN‑BART, which extend the zero‑and‑N‑inflated multinomial (ZANIM) framework by placing independent BART priors on both the compositional probabilities and the structural zero probabilities, with ZANIM‑LN adding latent Gaussian random effects to capture extra dispersion and dependencies across categories. An efficient data‑augmented MCMC algorithm combines ZANIM‑style augmentation with BART sampling routines, enabling flexible, nonlinear covariate effects to be learned without prespecifying functional forms. Through simulations, the method demonstrates strong recovery of nonlinear covariate effects and structural zeros and outperforms competing approaches such as ZIDM‑reg and multinomial‑BART, particularly under misspecification. Real data applications to human gut microbiome and modern pollen–climate data illustrate improved model fit (e.g., lower WAIC, better marginal ECDF matches) and richer inferential outputs, including covariate effects on both the compositional and structural zero components and, in the LN variant, latent correlations among taxa. Overall, the approach offers a principled and scalable framework for zero‑inflated count‑compositional data with complex covariate relationships, with broad applicability in microbiome and palaeoclimate research.
Abstract
Count-compositional data arise in many different fields, including high-throughput microbiome sequencing and palynology experiments, where a common, important goal is to understand how covariates relate to the observed compositions. Existing methods often fail to simultaneously address key challenges inherent in such data, namely: overdispersion, an excess of zeros, cross-sample heterogeneity, and nonlinear covariate effects. To address these concerns, we propose novel Bayesian models based on ensembles of regression trees. Specifically, we leverage the recently introduced zero-and-$N$-inflated multinomial distribution and assign independent nonparametric Bayesian additive regression tree (BART) priors to both the compositional and structural zero probability components of our model, to flexibly capture covariate effects. We further extend this by adding latent random effects to capture overdispersion and more general dependence structures among the categories. We develop an efficient inferential algorithm combining recent data augmentation schemes with established BART sampling routines. We evaluate our proposed models in simulation studies and illustrate their applicability with two case studies in microbiome and palaeoclimate modelling.
