A Critical Analysis of Recursive Model Indexes

Marcel Maltry, Jens Dittrich
6/30/2021
cs.DB

Official code: BigDataAnalyticsGroup/analysis-rmi (20 stars, C++, Apache-2.0, last commit 2024-02-28).

Abstract

The recursive model index (RMI) has recently been introduced as a machine-learned replacement for traditional indexes over sorted data, achieving remarkably fast lookups. Follow-up work focused on explaining RMI's performance and automatically configuring RMIs through enumeration.

Show full abstract

Unfortunately, configuring RMIs involves setting several hyperparameters, the enumeration of which is often too time-consuming in practice. Therefore, in this work, we conduct the first inventor-independent broad analysis of RMIs with the goal of understanding the impact of each hyperparameter on performance. In particular, we show that in addition to model types and layer size, error bounds and search algorithms must be considered to achieve the best possible performance. Based on our findings, we develop a simple-to-follow guideline for configuring RMIs. We evaluate our guideline by comparing the resulting RMIs with a number of state-of-the-art indexes, both learned and traditional. We show that our simple guideline is sufficient to achieve competitive performance with other learned indexes and RMIs whose configuration was determined using an expensive enumeration procedure. In addition, while carefully reimplementing RMIs, we are able to improve the build time by 2.5x to 6.3x.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Code for our VLDB paper: A Critical Analysis of Recursive Model Indexes

207C++, PythonJul 1, 20212 years agoApache-2.0
benchmarkingindexes

Similar Papers

Cite this paper

@article{maltry2021critical,
  title  = {A Critical Analysis of Recursive Model Indexes},
  author = {Marcel Maltry and Jens Dittrich},
  year   = {2021},
  eprint = {2106.16166},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.16166}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.16166.svg)](https://codeofpaper.com/paper/2106.16166)

Discussion