Fast approximation of search trees on trees with centroid trees
Benjamin Aram Berendsohn, Ishay Golinsky, Haim Kaplan, L\'aszl\'o, Kozma

TL;DR
This paper presents a fast, optimal algorithm for constructing weighted centroid trees on general trees, and proves that these trees approximate the optimal search tree cost within a factor of two.
Contribution
It introduces an output-sensitive algorithm for weighted centroid trees with optimal complexity and establishes the best possible approximation ratio of two for these trees.
Findings
Algorithm runs in O(n log h) time, optimal in a general decision tree model.
Centroid trees are proven to be within twice the optimal cost.
Provides tight bounds on approximation ratios for special tree classes.
Abstract
Search trees on trees (STTs) generalize the fundamental binary search tree (BST) data structure: in STTs the underlying search space is an arbitrary tree, whereas in BSTs it is a path. An optimal BST of size can be computed for a given distribution of queries in time [Knuth 1971] and centroid BSTs provide a nearly-optimal alternative, computable in time [Mehlhorn 1977]. By contrast, optimal STTs are not known to be computable in polynomial time, and the fastest constant-approximation algorithm runs in time [Berendsohn, Kozma 2022]. Centroid trees can be defined for STTs analogously to BSTs, and they have been used in a wide range of algorithmic applications. In the unweighted case (i.e., for a uniform distribution of queries), a centroid tree can be computed in time [Brodal et al. 2001; Della Giustina et al. 2019]. These algorithms, however, do not…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
