IDEAS home Printed from https://ideas.repec.org/a/gam/jdataj/v8y2023i3p56-d1087061.html
   My bibliography  Save this article

Learned Sorted Table Search and Static Indexes in Small-Space Data Models

Author

Listed:
  • Domenico Amato

    (Dipartimento di Matematica e Informatica, Universitá degli Studi di Palermo, 90123 Palermo, Italy)

  • Raffaele Giancarlo

    (Dipartimento di Matematica e Informatica, Universitá degli Studi di Palermo, 90123 Palermo, Italy)

  • Giosué Lo Bosco

    (Dipartimento di Matematica e Informatica, Universitá degli Studi di Palermo, 90123 Palermo, Italy)

Abstract

Machine-learning techniques, properly combined with data structures, have resulted in Learned Static Indexes, innovative and powerful tools that speed up Binary Searches with the use of additional space with respect to the table being searched into. Such space is devoted to the machine-learning models. Although in their infancy, these are methodologically and practically important, due to the pervasiveness of Sorted Table Search procedures. In modern applications, model space is a key factor, and a major open question concerning this area is to assess to what extent one can enjoy the speeding up of Binary Searches achieved by Learned Indexes while using constant or nearly constant-space models. In this paper, we investigate the mentioned question by (a) introducing two new models, i.e., the Learned k -ary Search Model and the Synoptic Recursive Model Index; and (b) systematically exploring the time–space trade-offs of a hierarchy of existing models, i.e., the ones in the reference software platform Searching on Sorted Data , together with the new ones proposed here. We document a novel and rather complex time–space trade-off picture, which is informative for users as well as designers of Learned Indexing data structures. By adhering to and extending the current benchmarking methodology, we experimentally show that the Learned k -ary Search Model is competitive in time with respect to Binary Search in constant additional space. Our second model, together with the bi-criteria Piece-wise Geometric Model Index, can achieve speeding up of Binary Search with a model space of 0.05 % more than the one taken by the table, thereby, being competitive in terms of the time–space trade-off with existing proposals. The Synoptic Recursive Model Index and the bi-criteria Piece-wise Geometric Model complement each other quite well across the various levels of the internal memory hierarchy. Finally, our findings stimulate research in this area since they highlight the need for further studies regarding the time–space relation in Learned Indexes.

Suggested Citation

  • Domenico Amato & Raffaele Giancarlo & Giosué Lo Bosco, 2023. "Learned Sorted Table Search and Static Indexes in Small-Space Data Models," Data, MDPI, vol. 8(3), pages 1-33, March.
  • Handle: RePEc:gam:jdataj:v:8:y:2023:i:3:p:56-:d:1087061
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2306-5729/8/3/56/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2306-5729/8/3/56/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jdataj:v:8:y:2023:i:3:p:56-:d:1087061. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.