A Fast Binary Splitting Approach for Non-Adaptive Learning of Erdős-Rényi Graphs

Hoang Ta, Jonathan ScarlettarXiv 2025 · DOI

Abstract

Identifying the edge set of an unknown graph through group queries is a fundamental problem in combinatorial search. While non-adaptive strategies—where all queries are determined upfront—are desirable for parallelization, they often suffer from high decoding complexity. This paper presents a novel algorithm for learning Erdős-Rényi graphs $G(n, q)$ that achieves the information-theoretically optimal test complexity of $O(\bar{k} \log n)$ while significantly reducing decoding time to near-linear $O(\bar{k}^{1+\delta} \log n)$. By integrating hierarchical binary splitting with random permutation-based partitioning, the proposed approach bridges the gap between theoretical optimality and computational efficiency.

Introduction

The problem of graph learning via group queries can be likened to identifying reacting pairs in a set of $n$ chemicals. Instead of testing every pair individually, one can test subsets of chemicals; a "positive" result indicates the presence of at least one reactive pair within the subset. In the non-adaptive setting, all test groups must be specified before any results are known. This is particularly challenging for general graphs, where the number of possible edges is $O(n^2)$.

To make this problem tractable, researchers focus on the Erdős-Rényi (ER) model, where edges exist independently with probability $q$. In this context, the expected number of edges is $\bar{k} = \binom{n}{2}q$. While previous methods could achieve the optimal test count of $O(\bar{k} \log n)$, they often required $O(n^2)$ decoding time—a prohibitive cost for large, sparse graphs. This work introduces a fast binary splitting approach that shifts the complexity bottleneck from the number of nodes $n$ to the expected number of edges $\bar{k}$.

Methodology: Hierarchical Binary Splitting

The core of the proposed algorithm is an extension of binary splitting, a technique well-established in standard group testing, adapted for the pairwise dependencies inherent in graph structures.

Hierarchical Partitioning

The algorithm organizes vertices into a binary tree structure. It begins by testing large groups of nodes. A "negative" test result is highly informative: it implies that no edges exist between any nodes in the tested group, allowing the decoder to prune entire branches of the search space instantly.

Hierarchical binary splitting process for graph edge identification. Red nodes represent active groups containing edges, while white nodes are discarded.

Overcoming the Decoding Bottleneck

A naive application of binary splitting to graphs still faces a computational hurdle: checking every possible pair across different levels of the hierarchy can lead to $O(\bar{k}^{1.5})$ complexity. To achieve near-linear time, the authors introduce a partitioning strategy combined with random permutations.

By applying random permutations to the vertices—implemented efficiently via affine transformations over finite fields—the algorithm ensures that the graph's structure is "typical" across sub-problems. This "permutation amplification" prevents "unlucky" partitions from slowing down the decoder, ensuring that at least one shuffle provides a favorable structure for rapid edge recovery.

Key Results and Comparison

The primary contribution of this work is the simultaneous optimization of test complexity and decoding speed. As shown in the comparison table below, the proposed theorems match the optimal test bounds of prior work while offering a massive improvement in decoding efficiency.

Comparison of test complexity and decoding time between the proposed approach and existing benchmarks.

The results demonstrate that:

  • Optimal Test Complexity: The scheme uses $O(\bar{k} \log n)$ tests, meeting the information-theoretic lower bound.
  • Near-Optimal Decoding Time: The decoding time is reduced to $O(\bar{k}^{1+\delta} \log n)$ for any $\delta > 0$. In sparse regimes where $\bar{k} \ll n^2$, this represents a transition from quadratic to near-linear complexity.
  • Reliability: The authors prove that the probability of failing to recover the exact edge set vanishes as the graph size $n$ increases.

Discussion and Future Directions

While this work achieves near-linear decoding time, several avenues for future research remain. The current model assumes noiseless queries; extending these hierarchical methods to handle noisy sensors—common in biological and chemical applications—is a critical next step. Additionally, while the "Big-O" complexity is optimal, the practical performance may be influenced by large constant factors in the test design.

Future work may also explore the application of these techniques to hypergraphs, where "edges" connect more than two nodes, and the ultimate goal of achieving perfectly linear $O(\bar{k} \log n)$ decoding time. By shifting the focus from $n$ to $\bar{k}$, this research provides a scalable framework for high-dimensional combinatorial search problems.

Summary updated

BibTeX
@misc{ta2025fast,
  author = {Hoang Ta and Jonathan Scarlett},
  title = {{A Fast Binary Splitting Approach for Non-Adaptive Learning of Erdős-Rényi Graphs}},
  year = {2025},
  eprint = {2511.17240},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.17240},
}
Figure