ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 2211.09251
14
1

On the Power of Learning-Augmented Search Trees

16 November 2022
Xinyuan Cao
Jingbang Chen
L. Chen
Chris Lambert
ArXivPDFHTML
Abstract

We study learning-augmented binary search trees (BSTs) via Treaps with carefully designed priorities. The result is a simple search tree in which the depth of each item xxx is determined by its predicted weight wxw_xwx​. Specifically, each item xxx is assigned a composite priority of −⌊log⁡log⁡(1/wx)⌋+U(0,1)-\lfloor\log\log(1/w_x)\rfloor + U(0, 1)−⌊loglog(1/wx​)⌋+U(0,1) where U(0,1)U(0, 1)U(0,1) is the uniform random variable. By choosing wxw_xwx​ as the relative frequency of xxx, the resulting search trees achieve static optimality. This approach generalizes the recent learning-augmented BSTs [Lin-Luo-Woodruff ICML '22], which only work for Zipfian distributions, by extending them to arbitrary input distributions. Furthermore, we demonstrate that our method can be generalized to a B-Tree data structure using the B-Treap approach [Golovin ICALP '09]. Our search trees are also capable of leveraging localities in the access sequence through online self-reorganization, thereby achieving the working-set property. Additionally, they are robust to prediction errors and support dynamic operations, such as insertions, deletions, and prediction updates. We complement our analysis with an empirical study, demonstrating that our method outperforms prior work and classic data structures.

View on arXiv
@article{chen2025_2211.09251,
  title={ On the Power of Learning-Augmented Search Trees },
  author={ Jingbang Chen and Xinyuan Cao and Alicia Stepin and Li Chen },
  journal={arXiv preprint arXiv:2211.09251},
  year={ 2025 }
}
Comments on this paper