Papers
Topics
Authors
Recent
Search
2000 character limit reached

Rateless Bloom Filters: Set Reconciliation for Divergent Replicas with Variable-Sized Elements

Published 31 Oct 2025 in cs.DS and cs.DB | (2510.27614v1)

Abstract: Set reconciliation protocols typically make two critical assumptions: they are designed for fixed-sized elements and they are optimized for when the difference cardinality, d, is very small. When adapting to variable-sized elements, the current practice is to synchronize fixed-size element digests. However, when the number of differences is considerable, such as after a network partition, this approach can be inefficient. Our solution is a two-stage hybrid protocol that introduces a preliminary Bloom filter step, specifically designed for this regime. The novelty of this approach, however, is in solving a core technical challenge: determining the optimal Bloom filter size without knowing d. Our solution is the Rateless Bloom Filter (RBF), a dynamic filter that naturally adapts to arbitrary symmetric differences, closely matching the communication complexity of an optimally configured static filter without requiring any prior parametrization. Our evaluation in sets of variable-sized elements shows that for Jaccard indices below 85%, our RBF-IBLT hybrid protocol reduces the total communication cost by up to over 20% compared to the state-of-the-art.

Summary

  • The paper introduces a hybrid protocol that leverages dynamically transmitted Rateless Bloom Filters to reduce false positives in set reconciliation.
  • It integrates IBLTs for precise element decoding, cutting communication costs by up to 20% in moderate to high similarity scenarios.
  • The study demonstrates practical applicability for synchronizing variable-sized elements in distributed systems with large differences.

Rateless Bloom Filters: Set Reconciliation for Divergent Replicas with Variable-Sized Elements

Introduction

The set reconciliation problem, crucial in distributed systems, involves two replicas, each holding a set of elements. The goal is efficient communication to synchronize these sets, revealing differences and merging them to form a complete union. Traditional set reconciliation methods often assume fixed-size elements and small difference cardinalities, which limit their application in real-world scenarios involving variable-sized elements and larger differences. This paper introduces a solution that leverages a hybrid protocol involving Rateless Bloom Filters (RBFs) and Invertible Bloom Lookup Tables (IBLTs), designed to efficiently handle such cases.

Motivations and Challenges

Conventional methods typically synchronize fixed-size hashes of variable-sized elements, which can become inefficient when the number of differences is significant. This approach also suffers from overhead when false positives are involved, preventing guaranteed reconciliation. The core challenge resolved in the paper is determining the optimal configuration of Bloom filters without prior knowledge of difference cardinality. This problem is addressed by introducing RBFs, which adapt to the set differences dynamically, obviating the need for complex estimation or configuration.

Technical Approach

The proposed hybrid protocol operates in two stages. First, it uses RBFs for an initial approximation, which are transmitted incrementally (rateless), allowing the receiver to determine when enough data has been collected to optimize for synchronization without redundant communication. This stage mitigates false positives inherent in Bloom filters, as the rateless nature means that transmission stops at the optimal point.

The second stage employs IBLTs for precise reconciliation. IBLTs work by storing element IDs and facilitating element decoding through XOR operations. This approach enables recovery of the original set with high probability, significantly reducing the number of false positives and overall data needed for accurate synchronization. Figure 1

Figure 1: Insertion into a standard Bloom filter (m=12,k=3m=12, k=3). Elements x1x_1 and x2x_2 are inserted.

Figure 2

Figure 2: Lookup in a standard Bloom filter. x1x_1 is a true positive, y1y_1 is a true negative, and y2y_2 is a false positive.

Evaluation and Results

The evaluation, conducted under controlled simulations, compares RBF + IBLT with traditional set reconciliation methods like PinSketch, PBS, and RIBLT. The experiments demonstrate that for moderate to high similarity scenarios, RBF + IBLT reduces communication costs by up to 20% compared to the state-of-the-art. Moreover, for Jaccard indices below 85%, the reduction is even more pronounced, making the proposed method particularly efficient in these situations. Figure 3

Figure 3: Hybrid Rateless Set Reconciliation vs State-Of-The-Art: Full range - Transmitted total.

Figure 4

Figure 4: Hybrid Rateless Set Reconciliation vs State-Of-The-Art - Decoding Time with PinSketch.

Conclusion

The paper successfully illustrates how the integration of RBFs and IBLTs into a hybrid protocol enhances the efficiency of set reconciliation for variable-sized elements, particularly in scenarios with large differences post network partition or prolonged downtime. The dynamic adaptation and reduced configuration overhead of the RBF component provide a significant advantage in practical deployments, offering scalable and efficient synchronization without the need for predefined thresholds.

The research suggests a promising direction for future improvements, such as enhancing initial setup protocols or further optimizing the hybrid approach for extreme cases of set similarity. Continued development in this area could lead to broader adoption and more robust implementation of distributed systems requiring efficient synchronization algorithms.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.

Tweets

Sign up for free to view the 5 tweets with 4 likes about this paper.

HackerNews

  1. Rateless Bloom Filters (5 points, 1 comment)