paper-with-me

Papers

Accelerating String-Key Learned Index Structures via Memoization-based Incremental Training

2024-03-18 · Minsu Kim, Jinwoo Hwang, Guseul Heo, Seiyeon Cho, Divya Mahajan, Jongse Park

Learned indexes use machine learning models to learn the mappings between keys and their corresponding positions in key-value indexes. These indexes use the mapping information as training data. Learned indexes require frequent retrainings of their models to incorporate the changes introduced by update queries. To efficiently retrain the models, existing learned index systems often harness a linear algebraic QR factorization technique that performs matrix decomposition. This factorization approach processes all key-position pairs during each retraining, resulting in compute operations that grow linearly with the total number of keys and their lengths. Consequently, the retrainings create a severe performance bottleneck, especially for variable-length string keys, while the retrainings are crucial for maintaining high prediction accuracy and in turn, ensuring low query service latency. To address this performance problem, we develop an algorithm-hardware co-designed string-key learned index system, dubbed SIA. In designing SIA, we leverage a unique algorithmic property of the matrix decomposition-based training method. Exploiting the property, we develop a memoization-based incremental training scheme, which only requires computation over updated keys, while decomposition results of non-updated keys from previous computations can be reused. We further enhance SIA to offload a portion of this training process to an FPGA accelerator to not only relieve CPU resources for serving index queries (i.e., inference), but also accelerate the training itself. Our evaluation shows that compared to ALEX, LIPP, and SIndex, a state-of-the-art learned index systems, SIA-accelerated learned indexes offer 2.6x and 3.4x higher throughput on the two real-world benchmark suites, YCSB and Twitter cache trace, respectively.

📄 PDF Abstract BibTeX arXiv:2403.11472

Code (0)

등록된 구현이 없습니다.

Tasks

CPU

Methods 이 논문이 사용한 방법론

Golden Queue Managers 설명 없음

Similar Papers 제목 키워드 기반

Bounding the Last Mile: Efficient Learned String Indexing

2021-11-29 · Benjamin Spector, Andreas Kipf, Kapil Vaidya, Chi Wang 외

We introduce the RadixStringSpline (RSS) learned index structure for efficiently indexing strings. RSS is a tree of radix splines each indexing a fixed number of bytes. RSS approaches or exceeds the performance of tradit…

AttMEMO : Accelerating Transformers with Memoization on Big Memory Systems

2023-01-23 · Yuan Feng, Hyeran Jeon, Filip Blagojevic, Cyril Guyot 외

Transformer models gain popularity because of their superior inference accuracy and inference throughput. However, the transformer is computation-intensive, causing a long inference time. The existing works on transforme…

SOSD: A Benchmark for Learned Indexes

2019-11-29 · Andreas Kipf, Ryan Marcus, Alexander van Renen, Mihail Stoian 외

A groundswell of recent work has focused on improving data management systems with learned components. Specifically, work on learned index structures has proposed replacing traditional index structures, such as B-trees, …

BenchmarkingManagement

Testing the Robustness of Learned Index Structures

2022-07-23 · Matthias Bachfischer, Renata Borovica-Gajic, Benjamin I. P. Rubinstein

While early empirical evidence has supported the case for learned index structures as having favourable average-case performance, little is known about their worst-case performance. By contrast, classical structures are …

Data Poisoningregression

The Potential of Learned Index Structures for Index Compression

2019-01-29 · Oosterhuis Harrie, Culpepper J. Shane, de Rijke Maarten

Inverted indexes are vital in providing fast key-word-based search. For every term in the document collection, a list of identifiers of documents in which the term appears is stored, along with auxiliary information such…