Skip to content

Tree Search With Distributional Predictions

Michael Dinitz, Bob Dong

cs.DS

Abstract

Learning-augmented algorithms use machine-learned predictions to improve classical algorithmic guarantees when the predictions are accurate, while retaining rigorous performance guarantees when they are not. We study this paradigm for search on trees. Given a tree TT containing an unknown target vertex tt, an algorithm may query any vertex vv and learn which neighbor of vv lies on the unique path from vv to tt. The goal is to find tt using as few queries as possible. We consider the distributional setting, in which the target is drawn from an unknown distribution pp and the algorithm is given a predicted distribution p^\widehat p of unknown quality. We give an algorithm with expected query complexity O(H(p)+klog⁡η)O\left(H(p)+k\log η\right), where H(p)H(p) is the Shannon entropy of the true distribution and ηη is the earth mover's distance between pp and p^\widehat p in the tree metric. We also provide a matching lower bound that shows our algorithm is asymptotically tight. Finally, experiments on real-world and synthetic trees show that our prediction-based algorithm can use substantially fewer queries than a simple baseline that trusts the prediction completely.

Create a lesson