Interactive Graph Search (IGS) is a framework used to categorize objects within large hierarchies—such as product taxonomies or image datasets—by asking a series of human-answered "yes/no" questions. Historically, research in this field has focused on Worst-Case Interactive Graph Search (WIGS), which aims to minimize the maximum number of queries required to identify any object. However, in practical applications, some categories are far more common than others.
The authors of this paper introduce Average-Case Interactive Graph Search (AIGS) to address this discrepancy. AIGS seeks to minimize the expected number of queries, taking into account the probability distribution of the target nodes.
As shown in Figure 1, if a few categories (like specific Nissan models) represent the vast majority of the data, a strategy that prioritizes these "heavy" nodes can significantly reduce the average cost compared to a strategy that treats a rare Mercedes with equal weight.
The Greedy "Middle Point" Strategy
The core algorithmic contribution is a Greedy Policy based on the concept of a Middle Point. In each round, the algorithm selects a query node that splits the remaining candidate nodes into two sets with the most balanced probability weights possible. This is analogous to a weighted binary search performed on a graph structure.
Theoretical and Practical Contributions
- NP-Hardness and Approximations: The authors prove that AIGS is NP-hard even for trees. Despite this, they show that their greedy policy provides an $O(\log n)$ approximation for Directed Acyclic Graphs (DAGs) and a constant factor approximation of $\approx 1.618$ for trees.
- Scalable Algorithms: To handle massive real-world hierarchies, they developed optimized versions:
GreedyTreeandGreedyDAG. These reduce the computational overhead significantly, withGreedyTreebeing three orders of magnitude faster than a naive implementation. - Heterogeneous Costs: The model is extended to handle scenarios where different questions have different costs (e.g., expert-level questions vs. simple ones).
As illustrated in Figure 5, a cost-sensitive greedy approach can bypass expensive queries (like node 3) in favor of cheaper paths that still narrow down the search space effectively.
Evaluation on Real-World Data
The algorithms were tested on two massive datasets: Amazon (a tree hierarchy of ~29k nodes) and ImageNet (a DAG hierarchy of ~28k nodes).
The results demonstrate that GreedyTree and GreedyDAG reduce query costs by 26% to 43% compared to worst-case baselines and by up to 77% compared to naive top-down methods. Furthermore, the authors show that the true probability distribution doesn't need to be known perfectly in advance; a simple online learning approach allows the algorithm to converge to optimal performance after labeling only a small fraction of the total dataset.
Conclusion
By shifting the focus from graph topology to probability mass, this work provides a highly effective and scalable solution for interactive categorization. While future work remains in handling human error and batching queries, the AIGS framework offers a substantial leap in economic efficiency for large-scale data labeling tasks.
Summary updated