Abstract
We study the problem of robustly estimating the edge density of Erdős-Rényi random graphs $G(n, d^\circ/n)$ when an adversary can arbitrarily add or remove edges incident to an $\eta$-fraction of the nodes. We develop the first polynomial-time algorithm for this problem that estimates $d^\circ$ up to an additive error $O([\sqrt{\log(n) / n} + \eta\sqrt{\log(1/\eta)} ] \cdot \sqrt{d^\circ} + \eta \log(1/\eta))$. Our error guarantee matches information-theoretic lower bounds up to factors of $\log(1/\eta)$. Moreover, our estimator works for all $d^\circ \geq \Omega(1)$ and achieves an optimal breakdown point of $\eta = 1/2$. Previous algorithms, including inefficient ones, incur significantly suboptimal errors. Furthermore, even admitting suboptimal error guarantees, only inefficient algorithms achieve the optimal breakdown point. Our algorithm is based on the sum-of-squares (SoS) hierarchy. A key ingredient is to construct constant-degree SoS certificates for concentration of the number of edges incident to small sets in $G(n, d^\circ/n)$. Crucially, we show that these certificates also exist in the sparse regime, when $d^\circ = o(\log n)$, a regime in which the performance of previous algorithms was significantly suboptimal.
Introduction
Robust estimation is a cornerstone of modern statistics, focusing on the ability to extract meaningful signals from data corrupted by noise or adversarial interference. While robust estimation for independent and identically distributed (i.i.d.) samples is well-understood, structured data like graphs present unique challenges. In a graph, a single corrupted node can affect the degrees and local structures of all its neighbors, creating complex dependencies that standard robust estimators cannot handle.
This paper addresses the problem of estimating the edge density (or average degree $d^\circ$) of an Erdős-Rényi graph $G(n, p)$ under the $\eta$-node corruption model. In this model, an adversary selects an $\eta$-fraction of the nodes and can arbitrarily modify any edges connected to them. The goal is to recover the original parameter $d^\circ$ despite this corruption.
The Challenge of the Sparse Regime
Previous research into robust graph estimation often focused on the "dense" regime, where the average degree $d^\circ$ is relatively high (typically $d^\circ \geq \log n$). In dense graphs, the adjacency matrix behaves predictably, and spectral methods—which rely on the largest eigenvalues of the matrix—can effectively filter out noise.
However, real-world networks are frequently sparse ($d^\circ < \log n$). In this regime, the graph's structure becomes irregular. A few "naturally" high-degree nodes in an uncorrupted graph can have degrees significantly higher than the average, making it difficult to distinguish them from adversarial outliers. Standard spectral norms break down because these high-degree nodes dominate the signal. Furthermore, previous efficient algorithms often suffered from a low "breakdown point," failing if the corruption fraction $\eta$ exceeded a small threshold (e.g., 1%).
Methodology: Sum-of-Squares and Spectral Rescaling
To overcome these hurdles, the authors utilize the Sum-of-Squares (SoS) hierarchy. This framework translates the problem of finding a "good" subgraph into a semidefinite program (SDP) that can be solved in polynomial time. The approach relies on two primary technical innovations:
1. Set-Concentration Certificates
Instead of looking at individual node degrees, which are unstable in sparse graphs, the algorithm focuses on the number of edges incident to sets of nodes. The authors define a "goodness" condition: a graph is considered well-behaved if the edge count for any small set of nodes is close to the expected value in a random graph. They prove that Erdős-Rényi graphs satisfy this property with high probability and, crucially, provide a constant-degree SoS certificate to prove this concentration mathematically.
2. Diagonal Rescaling
To handle the irregularity of sparse graphs, the authors apply a diagonal rescaling technique to the adjacency matrix. This process effectively "down-weights" nodes with excessively high degrees. By normalizing the influence of these nodes, the SoS algorithm can focus on the global structure of the graph rather than being misled by local degree fluctuations.
Key Results
The proposed algorithm achieves several milestones in robust graph estimation:
- Optimal Breakdown Point: The algorithm remains functional for any $\eta < 1/2$. This is the information-theoretic limit; if an adversary controls 50% of the nodes, they can simulate an entirely different Erdős-Rényi graph, making the original parameter $d^\circ$ unidentifiable.
-
Near-Optimal Error: The estimator $\hat{d}$ provides an error guarantee of: $$|\hat{d} - d^\circ| \lesssim \left( \sqrt{\frac{\log n}{n}} + \eta \sqrt{\log(1/\eta)} \right) \sqrt{d^\circ} + \eta \log(1/\eta)$$ This matches known lower bounds for this problem up to a small $\sqrt{\log(1/\eta)}$ factor.
-
Computational Efficiency: Unlike previous optimal estimators that required exponential time, this algorithm runs in polynomial time ($n^{O(1)}$).
- Universal Applicability: The method works for the entire range of edge densities, from extremely sparse ($d^\circ \geq \Omega(1)$) to dense graphs.
Conclusion and Future Directions
This work provides the first efficient algorithm for robustly estimating Erdős-Rényi graph density that is effective in the sparse regime and achieves the optimal breakdown point. It bridges a significant gap between theoretical possibility and algorithmic efficiency.
Future research may focus on closing the remaining $\sqrt{\log(1/\eta)}$ gap in the error bound to reach absolute information-theoretic optimality. Additionally, while the algorithm is polynomial-time, SoS-based methods can be computationally intensive. Developing more practical, faster versions of these estimators for large-scale real-world networks remains an important open challenge.
Summary updated