Categorizing complex objects is a fundamental task in data science, but it is rarely straightforward. An image might contain both a "cat" and a "fish," or a product might belong to multiple categories within a massive taxonomy. While human-in-the-loop (crowdsourcing) systems are effective at navigating these hierarchies, they face two major hurdles: the high cost and fatigue associated with asking numerous questions, and the limitation of most existing models which assume only a single correct target exists.
This paper introduces $k$BM-IGS, a framework designed to identify multiple target labels in a large hierarchy (such as ImageNet) using a strictly limited budget of "Yes/No" questions. By greedily selecting questions that maximize "expected gain"—a balance between the probability of a target and the potential reduction in penalty—the proposed algorithms find more accurate labels faster than previous state-of-the-art methods.
The Problem: Multi-Target Search in Hierarchies
The authors tackle the Budget Constrained Interactive Search for Multiple Targets problem. Given a hierarchy and a fixed budget of $b$ questions, the goal is to identify a set of $k$ labels that are as "close" as possible to the true (but unknown) targets.
As shown in the figure above, an image may contain multiple distinct entities. Navigating the tree to find both "cat" and "fish" requires a strategy that accounts for multiple paths and limited interactions.
The $k$BM-IGS Framework
The $k$BM-IGS framework operates iteratively: it asks a question, receives an answer, updates its internal model of potential targets, and then selects the next optimal question. Key technical components include:
- Penalty Function: A distance-based metric that quantifies the "goodness" of a selection. If the exact target cannot be found within the budget, picking its parent is prioritized over picking a distant relative.
- Expected Gain: Instead of simply asking about the most likely node, the system calculates the "gain" for both "Yes" and "No" answers, weighted by their probabilities. This ensures every question significantly narrows the search space. A "No" answer can prune an entire subtree, which is often more valuable than a "Yes" that only confirms a high-level category.
- Target Independence: The model assumes targets are independent (one target is not an ancestor of another). This allows for powerful pruning: if "Cat" is confirmed as a target, "Animal" cannot be a separate target, and vice versa.
Algorithms and Optimization
To solve the selection problem efficiently, the authors developed several algorithms:
- STBIS: Optimized for finding a single target using a fast Depth-First Search (DFS) approach.
- $k$BM-DP: Uses tree-based dynamic programming to find the optimal $k$ nodes to represent targets, treating the problem as a variation of the Knapsack problem.
- $k$BM-DP+: An optimized version of the DP approach that uses upper-bound pruning to skip calculating gains for nodes that could not possibly be the "best" next question. This makes the system viable for massive datasets like Yago3.
Experimental Results
The researchers evaluated their work on three real-world hierarchical datasets: ImageNet (74k vertices), Yago3 (500k vertices), and Image-COCO (200 vertices).
- Accuracy: In multiple-target scenarios, the proposed methods achieved an average of 2.1x better results (lower penalty) compared to baselines like BinG.
- Efficiency: The $k$BM-DP+ algorithm is orders of magnitude faster than standard DP. On ImageNet, it generates the next question in a fraction of a second, whereas older methods like HGS failed to finish within 100 hours.
- Robustness: The system remains effective even with noisy human input. In tests where 50% of the objects were "difficult" (high chance of wrong answers), $k$BM-DP+ still outperformed the competition by at least 40%.
Conclusion
$k$BM-IGS provides a robust and efficient solution for multi-label classification in large-scale taxonomies under budget constraints. Future work may involve integrating more sophisticated "truth discovery" methods to handle noise and exploring dynamic adjustments of $k$ based on real-time feedback during the search process.
Summary updated