A Critical Analysis of Classifier Selection in Learned Bloom Filters

Dario Malchiodi, Davide Raimondi, Giacomo Fumagalli, Raffaele Giancarlo, Marco Frasca
11/28/2022
cs.LGcs.AI

Official code: RaimondiD/LBF_ADABF_experiment (3 stars, Python, last commit 2023-07-18).

Abstract

Learned Bloom Filters, i.e., models induced from data via machine learning techniques and solving the approximate set membership problem, have recently been introduced with the aim of enhancing the performance of standard Bloom Filters, with special focus on space occupancy. Unlike in the classical case, the "complexity" of the data used to build the filter might heavily impact on its performance.

Show full abstract

Therefore, here we propose the first in-depth analysis, to the best of our knowledge, for the performance assessment of a given Learned Bloom Filter, in conjunction with a given classifier, on a dataset of a given classification complexity. Indeed, we propose a novel methodology, supported by software, for designing, analyzing and implementing Learned Bloom Filters in function of specific constraints on their multi-criteria nature (that is, constraints involving space efficiency, false positive rate, and reject time). Our experiments show that the proposed methodology and the supporting software are valid and useful: we find out that only two classifiers have desirable properties in relation to problems with different data complexity, and, interestingly, none of them has been considered so far in the literature. We also experimentally show that the Sandwiched variant of Learned Bloom filters is the most robust to data complexity and classifier performance variability, as well as those usually having smaller reject times. The software can be readily used to test new Learned Bloom Filter proposals, which can be compared with the best ones identified here.

View on arXivView PDF

Code Implementations(1)

32PythonNov 15, 20213 years ago

Similar Papers

Cite this paper

@article{malchiodi2022critical,
  title  = {A Critical Analysis of Classifier Selection in Learned Bloom Filters},
  author = {Dario Malchiodi and Davide Raimondi and Giacomo Fumagalli and Raffaele Giancarlo and Marco Frasca},
  year   = {2022},
  eprint = {2211.15565},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.15565}
}

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/2211.15565.svg)](https://codeofpaper.com/paper/2211.15565)

Discussion