Non-asymptotic goodness-of-fit tests and model selection in valued stochastic blockmodels
Félix Almendra-Hernández, Miles Bakenhus, Vishesh Karwa, Mitsunori Ogawa, Sonja Petrović
TL;DR
This work extends finite-sample goodness-of-fit testing to valued stochastic blockmodels, unifying Bernoulli, Poisson, and labeled edge-type SBMs within an exponential-family framework. It derives explicit Markov-basis moves to sample from conditional reference distributions on dyad-sufficient statistic fibers, enabling exact conditional GoF tests and enabling both plug-in and partial Bayes approaches for settings with unknown block structure. The authors introduce GoF statistics tailored to Poisson and labeled SBMs, prove consistency of MLEs under varying known/unknown block assignments, and study the asymptotic power under block-merging to support a minimal-k model selection rule. Empirical results on simulations and two host-parasite networks show good Type I error control, substantial power when appropriate blocks are specified, and block-number recommendations that differ from prior literature, underscoring practical impact for network modeling with non-Bernoulli dyads.
Abstract
A valued stochastic blockmodel (SBM) is a general way to view networked data in which nodes are grouped into blocks and links between them are measured by counts or labels. This family allows for varying dyad sampling schemes, thereby including the classical, Poisson, and labeled SBMs, as well as those in which some edge observations are censored. This paper addresses the question of testing goodness-of-fit of such non-Bernoulli SBMs, focusing in particular on finite-sample tests. We derive explicit Markov bases moves necessary to generate samples from reference distributions and define goodness-of-fit statistics for determining model fit, comparable to those in the literature for related model families. For the labeled SBM, which includes in particular the censored-edge model, we study the asymptotic behavior of said statistics. One of the main purposes of testing goodness-of-fit of an SBM is to determine whether block membership of the nodes influences network formation. Power and Type 1 error rates are verified on simulated data. Additionally, we discuss the use of asymptotic results in selecting the number of blocks under the latent-block modeling assumption. The method derived for Poisson SBM is applied to ecological networks of host-parasite interactions. Our data analysis conclusions differ in selecting the number of blocks for the species from previous results in the literature.
