Abstract
We study the problem of testing, using only a single sample, between mean field distributions (like Curie-Weiss, Erdős-Rényi) and structured Gibbs distributions (like Ising model on sparse graphs and Exponential Random Graphs). Our goal is to test without knowing the parameter values of the underlying models: only the structure of dependencies is known. We develop a new approach that applies to both the Ising and Exponential Random Graph settings based on a general and natural statistical test. The test can distinguish the hypotheses with high probability above a certain threshold in the (inverse) temperature parameter, and is optimal in that below the threshold no test can distinguish the hypotheses. The thresholds do not correspond to the presence of long-range order in the models. By aggregating information at a global scale, our test works even at very high temperatures. The proofs are based on distributional approximation and sharp concentration of quadratic forms, when restricted to Hamming spheres. The restriction to Hamming spheres is necessary, since otherwise any scalar statistic is useless without explicit knowledge of the temperature parameter. At the same time, this restriction changes the behavior of the functions under consideration, making it hard to directly apply standard methods (i.e., Stein’s method) for concentration of weakly dependent variables. Instead, we carry out an additional tensorization argument using a Markov chain that respects the symmetry of the Hamming sphere.
Introduction
In the analysis of complex networks—ranging from social interactions to biological pathways—researchers often face a fundamental constraint: the availability of only a single snapshot of the system. Traditional statistical inference typically relies on multiple independent and identically distributed (i.i.d.) samples to characterize underlying distributions. This paper addresses the challenge of distinguishing between "structured" network data (characterized by specific local dependencies) and "unstructured" data (mean-field models where interactions are uniform) using only a single observation.
A primary difficulty in this setting is the "agnostic" nature of the problem. In many real-world applications, the parameters governing the strength of interactions (such as the inverse temperature $\beta$) are unknown. Without this knowledge, a structured model at a high temperature (weak interactions) can appear statistically identical to an unstructured model at a lower temperature. This work identifies the sharp phase transitions where such distinctions become mathematically possible.
Methodology
The Canonical Test on Hamming Spheres
To overcome the challenge of unknown parameters, the authors propose a statistical test restricted to "Hamming spheres." These are sets of states where global properties, such as total magnetization or the number of edges, are held fixed. By conditioning the test on these global invariants, the influence of the unknown temperature parameter $\beta$ is effectively neutralized, allowing the test to focus purely on the structural differences between the models.
Distributional Approximation and Stein’s Method
The core of the proof relies on a new Central Limit Theorem (CLT) for quadratic forms (e.g., $x^T Ax$) when variables are sampled from a Hamming sphere. Unlike standard CLTs that assume independence, variables on a Hamming sphere are inherently dependent; knowing the total sum of nodes constrains the possible values of individual nodes. The authors utilize Stein’s Method to handle these weak dependencies and prove that the chosen statistics follow a predictable distribution under the null hypothesis.
Concentration via Tensorization
To ensure the test's reliability, the authors introduce a novel tensorization argument. By employing a Markov chain that respects the symmetry of the Hamming sphere, they demonstrate that the statistical fluctuations of their test statistics concentrate sharply around their means. This ensures that the test can distinguish between models even when the signal-to-noise ratio is low.
Theoretical Framework and Models
The framework is evaluated across two primary classes of models:
- Ising vs. Curie-Weiss: Testing whether data originates from an Ising model on a $d$-regular graph versus a permutation-invariant Curie-Weiss model.
- ERGM vs. Erdős-Rényi: Testing whether a graph contains structured dependencies (such as an abundance of "wedges" in an Exponential Random Graph Model) versus a purely random $G(n,p)$ graph.
Key Results and Insights
The Agnostic Threshold
The research identifies a sharp threshold for detectability. For an Ising model on a $d$-regular graph with $n$ nodes, the structure becomes detectable if the inverse temperature $\beta$ satisfies: $$\beta \gg \frac{1}{\sqrt{nd}}$$ If $\beta$ falls significantly below this threshold, the total variation distance between the structured and unstructured distributions approaches zero, rendering them statistically indistinguishable by any possible test. For ERGMs involving wedge interactions, the corresponding threshold for the interaction parameter $\beta_2$ is $\Theta(1/\sqrt{n})$.
Global Aggregation vs. Long-Range Order
A significant finding is that the ability to detect structure is independent of "long-range order." In statistical physics, long-range order refers to a phase where distant nodes remain correlated. This test remains effective at much higher temperatures (lower $\beta$) than those required for long-range order, provided the signal can be aggregated globally across the network.
Symmetry as a Diagnostic Tool
The test exploits the permutation invariance of unstructured models. In a mean-field model, swapping any two nodes does not change the probability of the state. Any statistic that significantly violates this symmetry serves as evidence of underlying structure, allowing the "Canonical Test" to achieve theoretical optimality.
Conclusion and Future Work
This work establishes the limits of what can be inferred from a single network sample. While the test is statistically optimal for $d$-regular graphs, several avenues for future research remain. These include extending the analysis to graphs with non-regular degree distributions (e.g., power-law graphs), addressing the computational costs of calculating complex subgraph statistics in ERGMs, and expanding the framework to multi-state models like the Potts model or continuous-valued data.
Summary updated