arrow
Return

On Nonlinear Learned String Indexing

delete2023-01-01
delete6
delete
OA
AI
P
Paolo Ferragina
M
Marco Frasca
G
Giosuè Cataldo Marinò
G
Giorgio Vinciguerra *
DOI:10.1109/ACCESS.2023.3295434delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
We investigate the potential of several artificial neural network architectures to be used as an index on a sorted set of strings, namely, as a mapping from a query string to (an estimate of) its lexicographic rank in the set, which allows solving some interesting string-search operations such as range and prefix searches. Our evaluation on a variety of real and synthetic datasets shows that learned models can beat the space vs error trade-off of the classic (possibly compressed) trie-based solutions for relatively dense datasets only, while being slower to be trained and queried. This leads us to conclude that learned models are not yet competitive with classic trie-based solutions, and thus cannot completely replace them, but possibly only integrate them. Although our study does not settle the question conclusively, it highlights appropriate methods, provides a baseline for comparison, and introduces several open problems, thereby serving as a starting point for future research.
Keywords:
String dictionaries
string search
prefix search
tries
neural networks
machine learning
data structures
learned indexes

Journal

IEEE Access cover
IEEE Access
IF:
3.6
Papers:
9.8W
Citations:
29.4W

Organization

U
University of Pisa
Scholars:
3.1W
Papers: 2.4W
Citations: 2.4W
U
University of Milan
Scholars:
5.1W
Papers: 3.9W
Citations: 5.0W