English

NAE-SAT-based probabilistic membership filters

Data Structures and Algorithms 2018-01-22 v1 Statistical Mechanics Cryptography and Security

Abstract

Probabilistic membership filters are a type of data structure designed to quickly verify whether an element of a large data set belongs to a subset of the data. While false negatives are not possible, false positives are. Therefore, the main goal of any good probabilistic membership filter is to have a small false-positive rate while being memory efficient and fast to query. Although Bloom filters are fast to construct, their memory efficiency is bounded by a strict theoretical upper bound. Weaver et al. introduced random satisfiability-based filters that significantly improved the efficiency of the probabilistic filters, however, at the cost of solving a complex random satisfiability (SAT) formula when constructing the filter. Here we present an improved SAT filter approach with a focus on reducing the filter building times, as well as query times. Our approach is based on using not-all-equal (NAE) SAT formulas to build the filters, solving these via a mapping to random SAT using traditionally-fast random SAT solvers, as well as bit packing and the reduction of the number of hash functions. Paired with fast hardware, NAE-SAT filters could result in enterprise-size applications.

Keywords

Cite

@article{arxiv.1801.06232,
  title  = {NAE-SAT-based probabilistic membership filters},
  author = {Chao Fang and Zheng Zhu and Helmut G. Katzgraber},
  journal= {arXiv preprint arXiv:1801.06232},
  year   = {2018}
}

Comments

13 pages, 4 figures, 3 pages

R2 v1 2026-06-22T23:49:20.438Z