Simple Multi-Party Set Reconciliation

Michael Mitzenmacher, Rasmus PaghDistributed Comput 2013 · DOI

Abstract

As users migrate information to cloud storage, many distributed cloud-based services use multiple loosely consistent replicas of user information to avoid the high overhead of more tightly coupled synchronization. Periodically, the information must be synchronized, or reconciled. One can place this problem in the theoretical framework of set reconciliation: two parties $A_1$ and $A_2$ each hold a set of keys, named $S_1$ and $S_2$ respectively, and the goal is for both parties to obtain $S_1 \cup S_2$. Typically, set reconciliation is interesting algorithmically when sets are large but the set difference $|S_1-S_2|+|S_2-S_1|$ is small. In this setting the focus is on accomplishing reconciliation efficiently in terms of communication; ideally, the communication should depend on the size of the set difference, and not on the size of the sets. In this paper, we extend recent approaches using Invertible Bloom Lookup Tables (IBLTs) for set reconciliation to the multi-party setting. In this setting there are three or more parties $A_1,A_2,\ldots,A_n$ holding sets of keys $S_1,S_2,\ldots,S_n$ respectively, and the goal is for all parties to obtain $\cup_i S_i$. This could of course be done by pairwise reconciliations, but we seek more effective methods. Our methodology uses network coding techniques in conjunction with IBLTs, allowing efficiency in network utilization along with efficiency obtained by passing messages of size $O(|\cup_i S_i - \cap_i S_i|)$. Further, our approach can function even if the number of parties is not exactly known in advance, and in many cases can be used to determine which parties contain keys not in the joint union. By connecting reconciliation with network coding, we can allow for substantially more efficient reconciliation methods that apply to a number of natural distributed computing problems.

Introduction

In modern distributed systems, from cloud databases like Amazon’s Dynamo to blockchain networks like Bitcoin, data is often replicated across multiple nodes to ensure availability and fault tolerance. These replicas frequently diverge, necessitating a periodic "reconciliation" process to synchronize state. The core theoretical challenge is multi-party set reconciliation: given $n$ parties each holding a set $S_i$, the goal is for every party to learn the union $\cup S_i$ with minimal communication overhead.

Ideally, communication costs should scale with the size of the set difference rather than the total number of items. While efficient two-party solutions exist, scaling to $n$ parties often defaults to expensive pairwise comparisons. This paper presents a novel framework that leverages Invertible Bloom Lookup Tables (IBLTs) and network coding to achieve efficient multi-party synchronization.

Methodology: IBLTs and Network Coding

The proposed approach extends the standard IBLT data structure. While traditional two-party IBLTs use bitwise XOR operations for insertion and deletion, this multi-party framework utilizes vectors over a finite field $\mathbb{F}_p$ (where $p \ge n$). This transition allows IBLTs to be treated as linear sketches, making them naturally compatible with network coding.

In a network setting, intermediate nodes do not merely forward IBLTs; they can compute linear combinations (such as sums) of the sketches they receive. A node can then subtract its local IBLT from the received aggregate to isolate missing elements. The recovery of these elements relies on a "peeling" algorithm: the system identifies cells containing exactly one key, records it, and subtracts its contribution from all other hashed locations.

Table 1: Threshold constants $c_k$ for successful peeling with $k$ hash functions.

The efficiency of this peeling process is governed by the number of hash functions $k$ and the table size $m$. As shown in Table 1, the constant $c_k$ represents the required ratio of table size to the number of items for successful decoding. For example, with $k=3$, the table must be approximately 1.222 times the size of the set difference to ensure high-probability recovery.

Network Synchronization Strategies

The paper explores several strategies for disseminating these linear sketches:

  1. Tree Networks: On a rooted tree, reconciliation can be completed in $2P$ time steps (where $P$ is the longest path) using only $2E$ total messages.
  2. General Mesh Networks: For arbitrary topologies, the authors employ a PUSH-PULL gossip strategy. Nodes exchange random linear combinations of their IBLTs, allowing the "rumors" of set differences to converge globally. This method completes in $O(\phi^{-1} \log n)$ rounds, where $\phi$ is the network's conductance.

Experimental Results

Synthetic experiments were conducted on random graphs to validate the approach. The system demonstrated remarkable scalability, achieving 100% success in retrieving all messages for up to 640 parties using a 32-bit prime field. Even at 1,280 parties, the system remained highly robust, missing only a single key in one trial across 1,000 runs. Crucially, the message size remained $O(|\cup_i S_i - \cap_i S_i|)$, confirming that the communication cost is independent of the total dataset size.

Conclusion

By combining the linear properties of IBLTs with network coding, this work provides a simple yet powerful method for multi-party set reconciliation. The approach is robust to unknown numbers of participants and offers significant communication savings. Future research will focus on dynamic strategies for estimating set difference sizes to pre-allocate IBLT capacity more effectively.

Summary updated

BibTeX
@article{mitzenmacher2013simple,
  author = {Michael Mitzenmacher and Rasmus Pagh},
  title = {{Simple Multi-Party Set Reconciliation}},
  journal = {Distributed Comput.},
  year = {2013},
  doi = {10.1007/s00446-017-0316-0},
}
Figure