Compressed Set Representations based on Set Difference
Travis Gagie, Meng He, Gonzalo Navarro
TL;DR
The paper introduces set-difference compressibility via $\Delta(\mathcal{S})$, enabling compact representations of a collection of sets $\mathcal{S}$ from a universe $\mathcal{U}$ by encoding symmetric differences. It proves this space bound equals the weight of a minimum spanning tree on a complete graph with edge weights $|S \triangle S'|$, yielding a two-tree representation rooted at $\emptyset$ and $\mathcal{U}$ that supports membership, access, rank, and predecessor/successor queries in $O(\log u)$ time with $O(\Delta(\mathcal{S}))$ space. The authors also present an improved MST-based construction, including suffix-tree techniques for fast symmetric-difference computations and a Prim-like incremental scheme, plus an enhanced insertion-compressibility framework and a hierarchy to support positive/negative access patterns. Together, these contributions enable efficient operations on compressed sets and show practical applicability to matrix/graph representations where row-wise similarity can be exploited. The work opens directions toward even more compact succinct representations and broader query capabilities on compressed combinatorial objects.
Abstract
We introduce a compressed representation of sets of sets that exploits how much they differ from each other. Our representation supports access, membership, predecessor and successor queries on the sets within logarithmic time. In addition, we give a new MST-based construction algorithm for the representation that outperforms standard ones.
