Lune

ICML2025Top-tier venue

On the Power of Learning-Augmented Search Trees

Jingbang Chen, Xinyuan Cao, Alicia Stepin, Li Chen

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 x is determined by its predicted weight w x . Specifically, each item x is assigned a composite priority of -⌊log log(1/w x )⌋+U (0, 1) where U (0, 1) is the uniform random variable. By choosing w x as the relative frequency of x, the resulting search trees achieve static optimality. This approach generalizes the recent learningaugmented 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 selfreorganization, 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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Why Are Learned Indexes So Effective? cites ALEX: An Updatable Adaptive Learned Index
  • Why Are Learned Indexes So Effective? cites The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
  • Updatable Learned Index with Precise Positions cites ALEX: An Updatable Adaptive Learned Index
  • Updatable Learned Index with Precise Positions cites The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on14

  1. ALEX: An Updatable Adaptive Learned IndexJialin Ding, Umar Farooq Minhas, Jia Yu, Chi Wang et al.SIGMOD 2020 · 274 citations
  2. The PGM-index: a fully-dynamic compressed learned index with provable worst-case boundsPaolo Ferragina, Giorgio VinciguerraVLDB 2020 · 178 citations
  3. Updatable Learned Index with Precise PositionsJiacheng Wu, Yong Zhang, Shimin Chen, Yu Chen et al.VLDB 2021 · 160 citations
  4. Faster Matchings via Learned DualsMichael Dinitz, Sungjin Im, Thomas Lavastida, Benjamin Moseley et al.NeurIPS 2021 · 98 citations
  5. Why Are Learned Indexes So Effective?Paolo Ferragina, Fabrizio Lillo, Giorgio VinciguerraICML 2020 · 63 citations

Related papers

  1. Learning Augmented Binary Search TreesHonghao Lin, Tian Luo, David P. WoodruffICML 2022 · 46 citations
  2. Learning-Augmented Search Data StructuresChunkai Fu, Brandon G. Nguyen, Jung Hoon Seo, Ryan S. Zesch et al.ICLR 2025 · 1 citation
  3. Succinct Dynamic Rank/Select: Bypassing the Tree-Structure BottleneckWilliam Kuszmaul, Jingxun Liang, Renfei ZhouSODA 2026 · 1 citation
  4. Robust Learning-Augmented DictionariesAli Zeynali, Shahin Kamali, Mohammad HajiesmailiICML 2024 · 6 citations
  5. Concurrent Balanced Augmented TreesEvan Wrench, Ajay Singh, Younghun Roh, Panagiota Fatourou et al.PPoPP 2026
Dusk over the sea between two cliffs drawn in fine vertical lines