English

Graph Reconstruction with a Connected Components Oracle

Data Structures and Algorithms 2025-09-15 v2

Abstract

In the Graph Reconstruction (GR) problem, the goal is to recover a hidden graph by utilizing some oracle that provides limited access to the structure of the graph. The interest is in characterizing how strong different oracles are when the complexity of an algorithm is measured in the number of performed queries. We study a novel oracle that returns the set of connected components (CC) on the subgraph induced by the queried subset of vertices. Our main contributions are as follows: 1. For a hidden graph with nn vertices, mm edges, maximum degree Δ\Delta, and treewidth kk, GR can be solved in O(min{m/logm,Δ2,k2}logn)O(\min\{m / \log m, \Delta^2, k^2\} \cdot \log n) CC queries by an adaptive randomized algorithm. 2. For a hidden graph with nn vertices and degeneracy dd, GR can be solved in O(d2log2n)O(d^2 \log^2 n) CC queries by an adaptive randomized algorithm. 3. For a hidden graph with nn vertices, mm edges, maximum degree Δ\Delta, and treewidth kk, no algorithm can solve GR in o(min{m,Δ2,k2})o(\min\{m, \Delta^2, k^2\}) CC queries.

Keywords

Cite

@article{arxiv.2509.05002,
  title  = {Graph Reconstruction with a Connected Components Oracle},
  author = {Juha Harviainen and Pekka Parviainen},
  journal= {arXiv preprint arXiv:2509.05002},
  year   = {2025}
}
R2 v1 2026-07-01T05:22:54.613Z