This version changes the estimation of the missing-not-at-random designs and the ICL: the results of block-node, block-dyad, double-standard and degree, and the models selected for all the designs, can differ from those of missSBM 1.1.0. To reproduce former results, install missSBM 1.1.0 (e.g., remotes::install_version("missSBM", "1.1.0")).
block-node and block-dyad: the sampling only depends on the blocks, so the missing dyads are integrated out given the blocks. The SBM part is fitted on the observed dyads, with the sampling term in the update of the blocks. This is a tighter bound of the same likelihood, and it removes a feedback of the imputations on the blocks, which could empty the blocks of unobserved nodes: the clustering is much more accurate when many dyads are missing.double-standard: the missing dyads are integrated out given the blocks too, and the connectivity and the sampling parameters (p0, p1) are estimated jointly. (p0, p1) are only identified through the differences of connectivity between the blocks: with a single block, the model is fitted with p0 = p1, i.e. as dyad sampling, and estimateMissSBM() warns.degree: the variational EM maximizes the bound of the model again (Tabouy, Barbillon & Chiquet, 2020). It fits the SBM part on the observed dyads, then the sampling part, then all the parameters jointly, the blocks taking the imputed dyads into account. In the previous versions, the clustering ignored the sampling.loglik), for all the designs.degree, whose bound includes the imputed dyads and their entropy. This makes the ICL of different designs comparable, although some designs remain hard to tell apart (e.g. block-node and degree on an assortative network).missSBM_fit$imputations: the imputations of the missing dyads of degree (NULL for the other designs, which integrate them out; imputedNetwork gives the imputed network of any design).fittedSBM$nbObservedDyads; a column stage in the monitoring of a degree fit.vignette("case_study_frenchblog"), follows a reduced form of the analysis of the French political blogosphere of the JSS article with the current version.estimateMissSBM() and observeNetwork() check their arguments with informative messages.?estimateMissSBM describes the parameters of every design and the model/design selection by the ICL.degree: the imputations were not probabilities, the sampling parameters were estimated on wrong degrees (since 1.0.0), the variational parameter of the bound of Jaakkola and Jordan was truncated to [0, 1], which biased the sampling parameters (since 2018), and the ICL used an approximation above the expected log-likelihood of the sampling instead of its bound.block-dyad: the expected log-likelihood of the sampling was the log of an expectation, which overestimated the objective and the ICL.block-node and block-dyad: the sampling parameters were not reordered with the blocks of the SBM, so that fittedSampling$parameters and coef() did not match fittedSBM.imputedNetwork now gives the imputations at the final parameters (they came from the last iteration of the variational EM).summary() of a missSBM_collection failed; it now prints the collection, as for a fit.war data sets were stored by an old version of igraph, which printed a conversion message when used.sbm run sequentially (nbCores = 1), avoiding a segfault on macOS (r-oldrel-macos-arm64).estimateMissSBM()'s control must now be built with the new missSBM_param()
(one named, defaulted argument per option) instead of a raw list(...), which
now errors with a message pointing at the replacement.missSBM_fit now exposes split(), merge(), candidates_split() and candidates_merge()
as instance methods, previously inlined in missSBM_collection's exploration logic; same
search algorithm, now independently testable.polish(control) (missSBM_fit and missSBM_collection): node-swap refinement after VEM
convergence, fixing individually misclassified nodes that split()/merge() cannot reach.vBlocks's bookkeeping (duplicated/missing entries, non-smooth ICL/ELBO in
plot()). Now fixed and made visible: missSBM_fit$repair(control) recovers a collapsed fit ;
new occupiedBlocks/ degenerate fields expose any remaining collapse;
bestModel skips degenerate models when possible and plot() marks them with a distinct point
shape; estimateMissSBM()'s new stopOnDegenerate/maxConsecutiveDegenerate controls
(default TRUE/2) stop forward exploration from growing further into a persistently unsupported range.estimate_chain() (missSBM_collection) / warmChain control (default FALSE, opt-in):
initializes each model by splitting the already-converged, smaller neighbor instead of an
independent cold clustering, substantially reducing collapse in practice, at the cost of
fitting vBlocks sequentially rather than in parallel.nloptr is no longer a dependencypartlyObservedNetwork$imputation(): the fill value for missing dyads was biased low by
including not-yet-imputed entries in its own computation. Known side effect:
doubleStandardSampling_fit's initial psi bootstrap can degenerate when the fill value exactly
matches the empirical observed edge rate (refined away by the VEM loop that follows)estimateMissSBM() and fixed several hot-path inefficiencies: avoidable
dense * sparse promotion overhead, a redundant recomputation of the dense imputed-network
matrix, and an ifelse() evaluating both of its branches unconditionally. Roughly 3x faster
on our benchmark, bit-identical resultsestimateMissSBM() now sorts/de-duplicates vBlocks if needed (with a warning), since
exploration and chaining both assume it is strictly increasing.estimateMissSBM()'s control drops the exploration field: nobody used "forward"/
"backward" alone at that level, only "both"/"none", so iterates now doubles as the
on/off switch (0 disables exploration entirely). missSBM_collection$explore() no longer
reads a stored exploration control field either; its direction argument (default "both")
is now a plain per-call parameter, still available for advanced/internal use.control$maxMergeCandidates, default 30) instead of always trying every pairmissSBM_fit$doVEM()'s step-back: only the SBM was restored, not the
sampling model or the current imputationgetCovarArray() and kmeans_missSBM()'s seedingsrc/utils.hmissSBM_fit's polish(), repair(), candidates_split() and candidates_merge() gain the
same default control as doVEM(), so they can be called standalone without building a full
control list first; missSBM_collection's calls (which always pass an explicit control list)
are unaffected ; missSBM_collection's estimate()/polish()/explore() now share a control
list stored at construction, no longer requiring control on every call.missSBM_collection's explore_forward()/explore_backward() into a shared private
explore_direction(), and missSBM_fit's candidates_split()/candidates_merge()'s trial-fit
loop into a shared private trial_fit_candidates(); verified bit-identical output on the same
fixed-seed scenario used throughout this changelog to diagnose VEM collapseNEWS.md file to track changes to the package.