Variational Inference for sparse network reconstruction from count data

Julien Chiquet, Stéphane Robin, Mahendra MariadassouICML 2019

Reconstructing sparse networks from count data is a common challenge in fields like microbiome research, genomics, and political science. This paper introduces a robust framework leveraging a Poisson Log-Normal (PLN) model and variational inference to uncover hidden dependencies while accounting for the noise and biases inherent in count-based observations.

The Challenge of Count Data in Network Inference

In many scientific fields, researchers seek to understand how different entities—such as species in an ecosystem or genes in a cell—interact. These interactions are typically represented as a network, or specifically, a Graphical Model.

The gold standard for continuous data is the Gaussian Graphical Model (GGM). However, GGMs break down when applied to count data (e.g., the integer number of bacteria found in a sample). Count data presents several unique challenges:

  1. Non-Gaussian Nature: It follows discrete distributions, such as the Poisson distribution.
  2. Over-dispersion: The variance is often much higher than the mean.
  3. Compositionality: Total counts depend heavily on "sampling effort" (e.g., how deep a DNA sample was sequenced), which can create spurious correlations between variables.

Existing workarounds, like adding a small constant and applying a log transformation, often fail to handle these issues gracefully, especially when trying to account for external covariates that might influence the counts.

A Poisson Log-Normal (PLN) Framework

To address these limitations, the authors move away from data transformation and instead propose a hierarchical model:

  • The Latent Layer: The model assumes a hidden (latent) multivariate Gaussian variable $Z$ that represents the true state of the system. The network structure is encoded in the precision matrix ($\Omega$) of this Gaussian layer. A zero in this matrix indicates that two nodes are conditionally independent.
  • The Observation Layer: The actual counts $Y$ are sampled from a Poisson distribution, where the rate is determined by the latent variable $Z$, plus an offset $O$ (representing sampling effort) and a regression term $XB$ (representing external covariates).
  • Inference via VEM: Because the likelihood of this model is mathematically intractable, the authors employ a Variational Expectation-Maximization (VEM) algorithm. They approximate the complex posterior distribution with a simpler Gaussian one and maximize the Evidence Lower Bound (ELBO).
  • Sparsity: To ensure the resulting network is interpretable and not an overly dense "hairball" of connections, an $\ell_1$ penalty (similar to the Graphical Lasso) is added to the objective function, forcing unimportant edges to zero.

Key Insights

  • Modeling in the Latent Space: By pushing the network inference into a latent Gaussian space, the framework leverages the well-understood properties of GGMs while strictly respecting the discrete nature of the observed counts.
  • Accounting for Covariates: The paper demonstrates that failing to account for external factors—like geography in elections or sampling depth in biology—leads to spurious edges. These are connections that appear real but are merely artifacts of shared external influences.
  • Biconcavity: The authors prove that their objective function is biconcave. While not globally convex, this mathematical property makes the alternating optimization between the network structure and the variational parameters highly stable and efficient.

Experimental Results

The authors evaluated their method across synthetic simulations, a dataset of the 2017 French Presidential Elections, and an Oak Mildew Metagenomics dataset.

Superior Robustness in Simulations: In synthetic tests using various network topologies (Erdos-Renyi, scale-free, and community structures), the PLN-network significantly outperformed standard methods like graphical-Lasso and sparse LLM when sampling effort varied. While other methods produced many false positives, the PLN approach remained highly accurate.

Performance comparison of PLNnetwork against graphical-Lasso and sparse LLM across different network and sample sizes.

Real-World Applications: * Political Nuance: On the election data, the model correctly identified competing candidates (those appealing to different voter bases) versus compatible candidates, but only after properly accounting for the geographic "Department" covariate. * Biological Discovery: In the Oak Mildew study, the model successfully identified an antagonistic relationship between the pathogen E. alphitoides and a specific fungus (f1278), providing a more accurate map of microbial interactions than previous two-step methods.

Limitations and Future Work

While powerful, the approach has limitations. Because the problem is not jointly convex, the algorithm is guaranteed to reach a stationary point, but not necessarily the global maximum; results can depend on initialization. Additionally, the model selection process requires running the algorithm many times on subsamples, which becomes computationally expensive for very large networks. Scaling this framework from hundreds of nodes to tens of thousands (e.g., whole-genome transcriptomics) remains a significant challenge for future research.

Summary updated

BibTeX
@inproceedings{chiquet2019variational,
  author = {Julien Chiquet and Stéphane Robin and Mahendra Mariadassou},
  title = {{Variational Inference for sparse network reconstruction from count data}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
}
Figure