Lune

摘要

Hashing is a fundamental operation in database management, playing a key role in the implementation of numerous core database data structures and algorithms. Traditional hash functions aim to mimic a function that maps a key to a random value, which can result in collisions, where multiple keys are mapped to the same value. There are many well-known schemes like chaining, probing, and cuckoo hashing to handle collisions. In this work, we aim to study if using learned models instead of traditional hash functions can reduce collisions and whether such a reduction translates to improved performance, particularly for indexing and joins. We show that learned models reduce collisions in some cases, which depend on how the data is distributed. To evaluate the effectiveness of learned models as hash function, we test them with bucket chaining, linear probing, and cuckoo hash tables. We find that learned models can (1) yield a 1.4x lower probe latency, and (2) reduce the non-partitioned hash join runtime with 28% over the next best baseline for certain datasets. On the other hand, if the data distribution is not suitable, we either do not see gains or see worse performance. In summary, we find that learned models can indeed outperform hash functions, but only for certain data distributions.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Learned Static Function Data Structures 引用了 DeepMapping: Learned Data Mapping for Lossless Compression and Efficient Lookup
  • Learned Static Function Data Structures 引用了 The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
  • ALEX: An Updatable Adaptive Learned Index 引用了 Learning Multi-Dimensional Indexes
  • Learning Multi-Dimensional Indexes 引用了 ALEX: An Updatable Adaptive Learned Index
  • Benchmarking Learned Indexes 引用了 ALEX: An Updatable Adaptive Learned Index
  • Benchmarking Learned Indexes 引用了 The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
  • Discovering Data Structures: Nearest Neighbor Search and Beyond 引用了 ALEX: An Updatable Adaptive Learned Index
  • DeepMapping: Learned Data Mapping for Lossless Compression and Efficient Lookup 引用了 ALEX: An Updatable Adaptive Learned Index
  • DeepMapping: Learned Data Mapping for Lossless Compression and Efficient Lookup 引用了 Learning Multi-Dimensional Indexes
  • DeepMapping: Learned Data Mapping for Lossless Compression and Efficient Lookup 引用了 Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads
  • DeepMapping: Learned Data Mapping for Lossless Compression and Efficient Lookup 引用了 The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
  • Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads 引用了 ALEX: An Updatable Adaptive Learned Index
  • Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads 引用了 Learning Multi-Dimensional Indexes
  • Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads 引用了 The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
  • Online List Labeling with Predictions 引用了 ALEX: An Updatable Adaptive Learned Index
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. Online List Labeling with PredictionsSamuel McCauley, Benjamin Moseley, Aidin Niaparast, Shikha SinghNeurIPS 2023 · 9 次引用
  2. DeepMapping: Learned Data Mapping for Lossless Compression and Efficient LookupLixi Zhou, K. Selçuk Candan, Jia ZouICDE 2024 · 6 次引用
  3. Learned Static Function Data StructuresStefan Hermann, Hans-Peter Lehmann, Giorgio Vinciguerra, Stefan WalzerVLDB 2026
  4. Discovering Data Structures: Nearest Neighbor Search and BeyondOmar Salemohamed, Laurent Charlin, Shivam Garg, Vatsal Sharan 等NeurIPS 2025

它引用的 Paper11

  1. ALEX: An Updatable Adaptive Learned IndexJialin Ding, Umar Farooq Minhas, Jia Yu, Chi Wang 等SIGMOD 2020 · 274 次引用
  2. Benchmarking Learned IndexesRyan Marcus, Andreas Kipf, Alexander van Renen, Mihail Stoian 等VLDB 2021 · 185 次引用
  3. Learning Multi-Dimensional IndexesVikram Nathan, Jialin Ding, Mohammad Alizadeh, Tim KraskaSIGMOD 2020 · 180 次引用
  4. Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed WorkloadsJialin Ding, Vikram Nathan, Mohammad Alizadeh, Tim KraskaVLDB 2021 · 178 次引用
  5. The PGM-index: a fully-dynamic compressed learned index with provable worst-case boundsPaolo Ferragina, Giorgio VinciguerraVLDB 2020 · 178 次引用

相关 Paper

  1. HIRE: A Hybrid Learned Index for Robust and Efficient Performance under Mixed WorkloadsXinyi Zhang, Liang Liang, Anastasia Ailamaki, Jianliang XuSIGMOD 2026 · 2 次引用
  2. The Case for Learned In-Memory JoinsIbrahim Sabek, Tim KraskaVLDB 2023 · 27 次引用
  3. Can Learned Indexes be Built Efficiently? A Deep Dive into Sampling Trade-offsMinguk Choi, Seehwan Yoo, Jongmoo ChoiSIGMOD 2024 · 5 次引用
  4. Learned Index: A Comprehensive Experimental EvaluationZhaoyan Sun, Xuanhe Zhou, Guoliang LiVLDB 2023 · 87 次引用
  5. LITS: An Optimized Learned Index for StringsYifan Yang, Shimin ChenVLDB 2024 · 16 次引用
黄昏的海面,两侧是细线勾勒的悬崖