Reconstructing a Bounded-Degree Directed Tree Using Path Queries

Zhaosen Wang, Jean Honorio

Abstract

This paper presents the first efficient randomized algorithm for reconstructing directed rooted trees with maximum degree $d$ using path queries. By employing a divide-and-conquer strategy and novel subroutines for finding multidirectional paths and even separators, the algorithm achieves an expected query complexity of $O(dn \log^2 n)$. This significantly improves upon the naive $O(n^2)$ approach and establishes a robust framework for handling noisy and weighted edge data.

Introduction

In fields such as epidemiology, economics, and genetics, researchers often seek to map "hidden" networks of influence. This is known as the graph reconstruction problem: given a set of nodes, how many queries must be made to an oracle to identify all edges? While previous work has focused on undirected graphs, real-world relationships are frequently directional. This study focuses on directed rooted trees with a maximum degree $d$. The primary challenge lies in the limited information provided by a "path query"—a single bit indicating whether a directed path exists between two nodes, without revealing distance or intermediate structure.

Methodology

The authors propose a divide-and-conquer strategy to overcome the low information density of path queries. The algorithm relies on several key subroutines:

  1. Multidirectional Paths: Because directed paths are unidirectional, the algorithm first identifies a "multidirectional path" between two random nodes. This effectively treats the tree as undirected to establish a backbone for further search. Illustration of a directed tree (a) and its corresponding multidirectional path structure (b). Reconstructing a Bounded-Degree Directed Tree Using Path Queries, page 3
Illustration of a directed tree (a) and its corresponding multidirectional path structure (b).
  1. Even Separators and Bags: To maintain balanced recursion, the algorithm identifies an "even separator"—an edge that splits the tree into subtrees of comparable size. Remaining nodes are then partitioned into "bags" based on their reachability from nodes along the identified path.
  2. Lowest Common Ancestor (LCA) and Binary Search: Finding the "meeting point" of two nodes is essential in a directed context. The authors developed a subroutine to locate the LCA using path queries, essentially performing a binary search along the tree structure to categorize nodes efficiently. The recursive search and partitioning process using path queries to identify separators and ancestors. Reconstructing a Bounded-Degree Directed Tree Using Path Queries, page 4
The recursive search and partitioning process using path queries to identify separators and ancestors.

Key Insights and Results

A critical theoretical finding is the "Transitivity" Wall: the authors prove that general Directed Acyclic Graphs (DAGs) cannot be reconstructed efficiently with path queries due to transitive edges (e.g., $A \to C$ being hidden by $A \to B \to C$), requiring $\Omega(n^2)$ queries. This necessitates the focus on trees.

The randomized algorithm achieves an expected query complexity of $O(dn \log^2 n)$. This is close to the established lower bound of $\Omega(n \log n)$ for any randomized algorithm. Furthermore, the framework is robust:

  • Noisy Queries: A modified version handles noisy oracle responses in $O(dn \log^3 n)$ queries using majority voting.
  • Additive Regime: The approach extends to weighted trees where queries return the sum of edge weights.
  • Practical Performance: Experimental validation on synthetic random trees suggests the algorithm often outperforms its theoretical upper bound in practice.

Limitations and Future Work

The current methodology is restricted to rooted trees. While the authors demonstrated the difficulty of general DAGs, future research could explore intermediate sparse structures, such as graphs with bounded tree-width or arboricity. Additionally, the complexity's linear dependence on the maximum degree $d$ suggests that efficiency may decrease in highly "bushy" trees.

Summary updated

BibTeX
@misc{wang2016reconstructing,
  author = {Zhaosen Wang and Jean Honorio},
  title = {{Reconstructing a Bounded-Degree Directed Tree Using Path Queries}},
  year = {2016},
  eprint = {1606.05183},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1606.05183},
}
Figure