set-reconciliation · research · also Set difference reconciliation

Set reconciliation

Set reconciliation is the problem of computing the symmetric difference of two sets held by different parties, ideally with communication proportional to that difference.

Related Observatory article: Read on hesela.com

For two sets of l-bit items whose symmetric difference has d items, the information-theoretic lower bound on communication is d times l bits. Exchanging Bloom filters or item hashes costs communication proportional to the set sizes, and comparing hash trees cuts it to logarithmic but needs a number of round trips that grows with the logarithm of the set sizes. [3]

Invertible Bloom lookup tables reach O(d). Subtracting one party's table from the other's leaves a table of only the differing items, a peeling decoder recovers them, and the sign of each recovered count shows which side holds the item. For database copies, keys can carry record checksums so that records present on both sides with different contents also show up. [3] [1]

A fixed table of m cells recovers nothing with high probability when d exceeds m, so it is sized from an estimate of d. Rateless IBLT instead streams coded symbols until decoding succeeds, needing on average 1.35d to 1.72d symbols, with the peak of 1.72d at d = 4 and convergence to 1.35d once d reaches the low hundreds. [3]

Relations

related
Anti-entropy repair, Merkle tree, Invertible Bloom lookup table, Rateless IBLT

Advantages

  • With the rateless construction neither party needs to know d beforehand, so no separate estimation round is required. [3]

Limitations

  • When d is far smaller than a fixed table's m, almost the whole table must still be sent for decoding to succeed. [3]

Citations

  1. Michael T. Goodrich and Michael Mitzenmacher. Invertible Bloom Lookup Tables. arXiv:1101.2245v3 (2015 revision; first submitted 2011), sections 1.3 and 2. (accessed 2026-10-23)
  2. Yang, Gilad and Alizadeh. Practical Rateless Set Reconciliation. ACM SIGCOMM 2024, arXiv:2402.02668v3. (accessed 2026-10-23)

Further reading

  1. Hesela: Replica repair, set reconciliation and record identity (accessed 2026-10-16)
Sources & caveats
  • rateless2024 is arXiv version 3 of the ACM SIGCOMM 2024 paper, read in sections 1 to 3 and the overhead analysis.
  • iblt2011 was re-read in section 1.3 on database reconciliation.
  • The speed-ups over other schemes reported in the rateless2024 abstract are the proposing authors' own comparisons and are not repeated here.

JSON: /data/terms/set-reconciliation.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Set reconciliation. Hesela. 2026-10-23. https://hesela.dev/terms/set-reconciliation/