Scalable network reconstruction in subquadratic time (2401.01404v5)
Abstract: Network reconstruction consists in determining the unobserved pairwise couplings between $N$ nodes given only observational data on the resulting behavior that is conditioned on those couplings -- typically a time-series or independent samples from a graphical model. A major obstacle to the scalability of algorithms proposed for this problem is a seemingly unavoidable quadratic complexity of $\Omega(N2)$, corresponding to the requirement of each possible pairwise coupling being contemplated at least once, despite the fact that most networks of interest are sparse, with a number of non-zero couplings that is only $O(N)$. Here we present a general algorithm applicable to a broad range of reconstruction problems that significantly outperforms this quadratic baseline. Our algorithm relies on a stochastic second neighbor search (Dong et al., 2011) that produces the best edge candidates with high probability, thus bypassing an exhaustive quadratic search. If we rely on the conjecture that the second-neighbor search finishes in log-linear time (Baron & Darling, 2020; 2022), we demonstrate theoretically that our algorithm finishes in subquadratic time, with a data-dependent complexity loosely upper bounded by $O(N{3/2}\log N)$, but with a more typical log-linear complexity of $O(N\log2N)$. In practice, we show that our algorithm achieves a performance that is many orders of magnitude faster than the quadratic baseline -- in a manner consistent with our theoretical analysis -- allows for easy parallelization, and thus enables the reconstruction of networks with hundreds of thousands and even millions of nodes and edges.
- S. L. Lauritzen, Graphical Models, Vol. 17 (Clarendon Press, 1996).
- M. I. Jordan, Graphical Models, Statistical Science 19, 140 (2004).
- M. Drton and M. H. Maathuis, Structure Learning in Graphical Modeling, Annual Review of Statistics and Its Application 4, 365 (2017).
- M. Timme and J. Casadiego, Revealing networks from dynamics: An introduction, Journal of Physics A: Mathematical and Theoretical 47, 343001 (2014).
- T. Bury, A statistical physics perspective on criticality in financial markets, Journal of Statistical Mechanics: Theory and Experiment 2013, P11004 (2013), arxiv:1310.2446 [physics, q-fin] .
- P. D’haeseleer, S. Liang, and R. Somogyi, Genetic network inference: From co-expression clustering to reverse engineering, Bioinformatics 16, 707 (2000).
- Braunstein Alfredo, Ingrosso Alessandro, and Muntoni Anna Paola, Network reconstruction from infection cascades, Journal of The Royal Society Interface 16, 20180844 (2019).
- A. P. Dempster, Covariance Selection, Biometrics 28, 157 (1972), 2528966 .
- J. Friedman, T. Hastie, and R. Tibshirani, Sparse inverse covariance estimation with the graphical lasso, Biostatistics 9, 432 (2008).
- R. Mazumder and T. Hastie, The graphical lasso: New insights and alternatives, Electronic Journal of Statistics 6, 2125 (2012).
- T. Hastie, R. Tibshirani, and M. Wainwright, Statistical Learning with Sparsity: The Lasso and Generalizations (CRC Press, 2015).
- H. C. Nguyen, R. Zecchina, and J. Berg, Inverse statistical problems: From the inverse Ising problem to data science, Advances in Physics 66, 197 (2017).
- G. Bresler, E. Mossel, and A. Sly, Reconstruction of Markov Random Fields from Samples: Some Easy Observations and Algorithms (2010), arxiv:0712.1402 [cs] .
- G. Bresler, D. Gamarnik, and D. Shah, Learning Graphical Models From the Glauber Dynamics, IEEE Transactions on Information Theory 64, 4072 (2018).
- J. D. Baron and R. W. R. Darling, K-Nearest Neighbor Approximation Via the Friend-of-a-Friend Principle (2020), arxiv:1908.07645 [math, stat] .
- J. D. Baron and R. W. R. Darling, Empirical complexity of comparator-based nearest neighbor descent (2022), arxiv:2202.00517 [cs, stat] .
- S. J. Wright, Coordinate descent algorithms, Mathematical Programming 151, 3 (2015).
- J. C. Spall, Cyclic Seesaw Process for Optimization and Identification, Journal of Optimization Theory and Applications 154, 187 (2012).
- P. Abbeel, D. Koller, and A. Y. Ng, Learning Factor Graphs in Polynomial Time and Sample Complexity, Journal of Machine Learning Research 7, 1743 (2006).
- M. J. Wainwright, J. Lafferty, and P. Ravikumar, High-Dimensional Graphical Model Selection Using $\ell_1$-Regularized Logistic Regression, in Advances in Neural Information Processing Systems, Vol. 19 (MIT Press, 2006).
- M. Smid, Closest-Point Problems in Computational Geometry, in Handbook of Computational Geometry, edited by J. R. Sack and J. Urrutia (North-Holland, Amsterdam, 2000) pp. 877–935.
- H.-P. Lenhof and M. Smid, The k closest pairs problem, Unpublished manuscript (1992).
- T. P. Peixoto, The graph-tool python library, figshare 10.6084/m9.figshare.1164194 (2014), available at https://graph-tool.skewed.de.
- T. P. Peixoto, Network Reconstruction and Community Detection from Dynamics, Physical Review Letters 123, 128301 (2019).
- W. E. Johnson, C. Li, and A. Rabinovic, Adjusting batch effects in microarray expression data using empirical Bayes methods, Biostatistics 8, 118 (2007).
- J. Besag, Spatial Interaction and the Statistical Analysis of Lattice Systems, Journal of the Royal Statistical Society: Series B (Methodological) 36, 192 (1974).
- K. Khare, S.-Y. Oh, and B. Rajaratnam, A Convex Pseudolikelihood Framework for High Dimensional Partial Correlation Estimation with Convergence Guarantees, Journal of the Royal Statistical Society Series B: Statistical Methodology 77, 803 (2015).