# Two-sample inference for high-dimensional Markov networks

arXiv: https://arxiv.org/abs/1905.00466 · HTML: https://mlsanity.com/paper/1905.00466/

## Key facts

- Cited by 7 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 1 May 2019.

## Built on by (most cited first, 7 of 7)

- [Mandoline: Model Evaluation under Distribution Shift](https://mlsanity.com/paper/2107.00643/) (2021)
- [An Adaptive Stochastic Sequential Quadratic Programming with Differentiable Exact Augmented Lagrangians](https://mlsanity.com/paper/2102.05320/) (2021)
- [Joint Gaussian Graphical Model Estimation: A Survey](https://mlsanity.com/paper/2110.10281/) (2021)
- [High-dimensional Functional Graphical Model Structure Learning via Neighborhood Selection Approach](https://mlsanity.com/paper/2105.02487/) (2021)
- [Zero-Flow Encoders](https://mlsanity.com/paper/2602.00797/) (2026)
- [High-Dimensional Differential Parameter Inference in Exponential Family using Time Score Matching](https://mlsanity.com/paper/2410.10637/) (2024)
- [Robust and Sparse Estimation of Unbounded Density Ratio under Heavy Contamination](https://mlsanity.com/paper/2512.09266/) (2025)

## Abstract (arXiv)

Markov networks are frequently used in sciences to represent conditional independence relationships underlying observed variables arising from a complex system. It is often of interest to understand how an underlying network differs between two conditions. In this paper, we develop methods for comparing a pair of high-dimensional Markov networks where we allow the number of observed variables to increase with the sample sizes. By taking the density ratio approach, we are able to learn the network difference directly and avoid estimating the individual graphs. Our methods are thus applicable even when the individual networks are dense as long as their difference is sparse. We prove finite-sample Gaussian approximation error bounds for the estimator we construct under significantly weaker assumptions than are typically required for model selection consistency. Furthermore, we propose bootstrap procedures for estimating quantiles of a max-type statistics based on our estimator, and show how they can be used to test the equality of two Markov networks or construct simultaneous confidence intervals. The performance of our methods is demonstrated through extensive simulations. The scientific usefulness is illustrated with an analysis of a new fMRI dataset.
