Robust Set Reconciliation via Locality Sensitive Hashing

Michael Mitzenmacher, Tom Morgan

TL;DR

Alice and Bob have sets of data points that are nearly identical, but slight noise (like sensor variance) prevents an exact match. This paper introduces "robust" set reconciliation—using a novel combination of Locality Sensitive Hashing (LSH) and Invertible Bloom Lookup Tables (IBLTs)—to synchronize these sets with communication costs that scale with the number of differences rather than the dimensionality of the data.

What Problem Does This Paper Address?

In traditional set reconciliation, two parties want to synchronize their datasets by communicating only the differences between them. This is easy if the data is identical (e.g., syncing two versions of a text file), but it breaks down when the data is "noisy."

Imagine two sensors measuring the same object; they might record coordinates that are off by a few millimeters. Standard algorithms would treat these as completely different points, leading to massive communication overhead to "sync" points that are effectively the same. "Robust" set reconciliation treats points within a certain distance as equal. Previous solutions relied on geometric structures like quadtrees, which work well in 2D or 3D but fail miserably in high-dimensional spaces (the "curse of dimensionality"). This paper seeks a way to reconcile noisy sets in high dimensions efficiently.

Methods

The authors combine two powerful randomized data structures:

  1. Locality Sensitive Hashing (LSH): Unlike standard hashing, which tries to avoid collisions, LSH is designed to make "close" items collide in the same bucket.
  2. Invertible Bloom Lookup Tables (IBLTs): These are hash tables that allow you to "extract" the elements stored in them. If Alice and Bob both have IBLTs of their sets, they can subtract them to find the elements that differ.

The Innovation: Robust IBLTs (RIBLTs) Standard IBLTs use XOR operations, which only work for exact matches. To handle noise, the authors propose RIBLTs, which use sums instead of XORs. When Alice and Bob subtract their RIBLTs, "close" points (which LSH put in the same bucket) don't perfectly cancel out; they leave a small "error residue."

The authors provide a rigorous mathematical analysis of the peeling process—the algorithm used to extract items from an IBLT. They prove that even as Alice and Bob "peel" noisy items out of the table, the accumulated error doesn't explode, allowing for successful reconciliation.

Datasets

As a theoretical computer science paper, the authors do not use empirical "real-world" datasets (like ImageNet). Instead, they evaluate their algorithms against mathematical metric spaces:

  • Hamming Space: Binary vectors where distance is the number of differing bits.
  • $\ell_1$ and $\ell_2$ Norms: Standard Manhattan and Euclidean distances in $d$-dimensional space.

The performance is measured by how the communication complexity scales with the number of points ($n$), the number of differences ($k$), and the dimension ($d$).

Key Insights and Ideas

  • Breaking the Dimensionality Barrier: By using LSH instead of quadtrees, the communication cost becomes largely independent of the dimension $d$. For high-dimensional data, they improve the approximation factor from $O(d)$ to $O(\log n)$.
  • The Gap Guarantee Model: The authors introduce a new model for reconciliation. Instead of just trying to minimize the total "Earth Mover's Distance" (the cost to transform one set into the other), they define a "Gap" ($r_1$ vs $r_2$). The goal is to ensure Bob recovers every point from Alice that is "far" ($> r_2$) from his own points, while ignoring points that are "close" ($< r_1$).
  • Error Propagation Analysis: The most significant technical contribution is the proof that errors in the RIBLT peeling process only propagate to a constant number of other cells on average. This allows the "noisy" subtraction to actually work in practice.

Key Results

  • EMD Model: They achieve an $O(\log n)$ approximation for Earth Mover's Distance reconciliation. In high-dimensional Hamming space, where the previous best was an $O(d)$ approximation (often useless as $d$ is the maximum possible distance), $O(\log n)$ is a massive improvement.
  • Communication Efficiency: Their "Gap Guarantee" protocol uses sublinear communication ($o(n)$) when the LSH parameters are favorable, making it much faster than simply sending the whole dataset.
  • Lower Bounds: They prove that a one-round (single message) protocol cannot achieve competitive bounds for the Gap Guarantee model, justifying their use of a multi-round approach.

Limitations and Future Work

  • Approximation vs. Exactness: The EMD results are approximations. While $O(\log n)$ is good, finding ways to tighten this bound further remains an open challenge.
  • Round Complexity: The Gap Guarantee protocol requires four rounds of communication. While the authors suggest this could potentially be reduced to two, they proved one round is impossible.
  • Data Structure Search: The authors note that while RIBLTs are effective, there may be even better "building block" data structures yet to be discovered for robust reconciliation.

Summary updated

BibTeX
@inproceedings{mitzenmacher2019robust,
  author = {Michael Mitzenmacher and Tom Morgan},
  title = {{Robust Set Reconciliation via Locality Sensitive Hashing}},
  booktitle = {PODS},
  year = {2019},
  doi = {10.1145/3294052.3319690},
}
Figure