Skip to main content
QUICK REVIEW

[Paper Review] Yes-no Bloom filter: A way of representing sets with fewer false positives

Laura Carrea, Alexei Vernitski|arXiv (Cornell University)|Mar 3, 2016
Caching and Content DeliveryComputer Science10 references5 citations
TL;DR

This paper proposes the yes-no Bloom filter (yes-no BF), a novel probabilistic data structure that reduces false positives in set representation while maintaining the same query efficiency as the classic Bloom filter. By using a dual-filter system—'yes' filters for set elements and 'no' filters for non-elements—it eliminates false negatives and achieves significantly lower false positive rates, especially in network path encoding applications.

ABSTRACT

The Bloom filter (BF) is a space efficient randomized data structure particularly suitable to represent a set supporting approximate membership queries. BFs have been extensively used in many applications especially in networking due to their simplicity and flexibility. The performances of BFs mainly depends on query overhead, space requirements and false positives. The aim of this paper is to focus on false positives. Inspired by the recent application of the BF in a novel multicast forwarding fabric for information centric networks, this paper proposes the yes-no BF, a new way of representing a set, based on the BF, but with significantly lower false positives and no false negatives. Although it requires slightly more processing at the stage of its formation, it offers the same processing requirements for membership queries as the BF. After introducing the yes-no BF, we show through simulations, that it has better false positive performance than the BF.

Motivation & Objective

  • Address the persistent problem of false positives in classic Bloom filters, which can cause routing errors in information-centric networks.
  • Develop a data structure that maintains the efficiency of classic Bloom filters while drastically reducing false positives.
  • Eliminate false negatives—common in some variants like the complement Bloom filter—by introducing a dual-filter mechanism.
  • Optimize the structure for use in network forwarding, particularly in in-packet path encoding for information-centric networking (ICN).
  • Demonstrate through simulations that the yes-no BF offers superior false positive performance compared to the classic Bloom filter under realistic network conditions.

Proposed method

  • Propose a dual-filter architecture: a 'yes-filter' for elements in the set and 'no-filters' for elements not in the set, both constructed using k-hash functions.
  • Use logical disjunction to combine the yes-filter and no-filters into a single data structure that supports membership queries.
  • Apply analytical modeling to derive the false positive probability of the yes-no BF, accounting for both yes- and no-filter components.
  • Design the structure to be dynamically configurable, allowing parameter tuning (e.g., filter lengths, number of hash functions) to minimize false positives.
  • Implement and simulate the yes-no BF using realistic network topologies (e.g., TataNld) with 256-bit total length, 192-bit yes-filter, and 32-bit no-filters.
  • Compare performance against the classic Bloom filter using identical parameters (e.g., k=6 for classic BF) and measure false positive occurrences and rates.

Experimental results

Research questions

  • RQ1Can a new Bloom filter variant be designed to reduce false positives without increasing query processing cost?
  • RQ2How does the dual-filter mechanism of the yes-no BF affect false positive probability compared to the classic Bloom filter?
  • RQ3What is the impact of filter size, number of hash functions, and set cardinality on the false positive rate of the yes-no BF?
  • RQ4Can the yes-no BF eliminate false negatives while maintaining space and time efficiency?
  • RQ5How does the yes-no BF perform in real-world network path encoding scenarios, such as in information-centric networking?

Key findings

  • The yes-no BF reduces the expected number of false positives from 0.92 (classic BF) to 0.13 for a 28-hop network path, representing a ~85% reduction.
  • For paths with up to 35 links, the false positive rate of the yes-no BF is only about 25% of that of the classic Bloom filter.
  • The false positive rate of the yes-no BF remains consistently lower than that of the classic BF across all tested path lengths.
  • The yes-no BF achieves this improvement with no increase in query processing overhead, maintaining the same O(k) time complexity as the classic BF.
  • The structure eliminates false negatives entirely, unlike the complement Bloom filter, which suffers from high false negative rates.
  • The yes-no BF is dynamically tunable, allowing optimization of parameters (e.g., filter lengths, number of hash functions) to further reduce false positives.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.