Benefiting from Disorder: Source Coding for Unordered Data

Lav R. Varshney, Vivek K. GoyalarXiv 2007

Introduction: The "What" vs. the "Where"

Classical information theory, established by Claude Shannon, primarily treats data as ordered sequences. In this paradigm, the string "ABC" is fundamentally different from "CBA." However, many modern data applications—ranging from warehouse inventory management and database systems to particle physics and bag-of-words models in natural language processing—do not require the preservation of order. In these contexts, the "what" (the multiset of values) is essential, while the "where" (the specific sequence) is irrelevant.

This paper establishes the theoretical foundation for "unordered" source coding. It explores how much communication efficiency can be gained when the compressor and receiver agree to ignore the order of data points. The findings reveal a dramatic shift in complexity: ignoring order can reduce bitrates from linear to logarithmic scales and, in certain continuous cases, allow for zero-distortion reconstruction at a zero communication rate in the limit.

Theoretical Framework: The Decomposition Theorem

The authors formalize the problem by decomposing a sequence into two distinct components: the multiset of values and the order. For "exchangeable" sources—where any permutation of a sequence is equally likely—the authors prove a Decomposition Theorem. This theorem demonstrates that the order and the values are statistically independent. Consequently, one can discard the order information without losing any statistical information about the values themselves, providing a rigorous justification for focusing solely on multisets.

To analyze these multisets, the paper employs different mathematical tools depending on the data type:

  • Discrete Analysis: For finite alphabets, the "method of types" (histograms) is used to represent multisets.
  • Continuous Analysis: For real-valued data, the authors utilize order statistics—sorting data points from smallest to largest—to represent the multiset.

Lossless Compression: From Linear to Logarithmic

One of the most significant insights of the paper is the "Logarithmic Leap" in lossless coding. For a sequence of $n$ symbols drawn from a finite alphabet, standard sequence-based entropy $n H(X)$ grows linearly with $n$. However, the entropy of a multiset is shown to be $\Theta(\log n)$.

This represents a massive efficiency gain as the dataset size increases. For example, in a large inventory system, the cost to communicate the counts of items grows only with the logarithm of the total number of items, rather than the number of items themselves. In the realm of universal coding (where the source distribution is unknown), the authors prove that a multiset can be encoded with $n + o(n)$ bits—effectively 1 bit per symbol plus negligible overhead—even for countable alphabets.

Lossy Compression and the Zero-Rate Limit

In the context of lossy coding for continuous sources, the paper presents a surprising "aha moment": Zero Rate, Zero Distortion.

As the number of samples $n$ approaches infinity, the distortion can go to zero even if the communication rate is zero. This occurs because the sorted values (order statistics) of a large sample from a known distribution become deterministic. In this limit, the receiver does not need the actual data points; they can simply "simulate" the expected sorted values based on the known distribution.

Furthermore, the authors demonstrate that the standard Shannon Lower Bound for rate-distortion is inaccurate for unordered data at all finite rates. This is because the support of unordered data is restricted to a "sorted" region of space, creating a tighter constraint than sequence-based models assume.

Quantization and Physical Analogies

The paper also explores high-rate quantization, identifying two specific advantages to ignoring order:

  1. Shape Advantage: The restricted geometry of sorted data allows for more efficient cell shapes in quantization.
  2. Memory Advantage: Using an order-statistic quantizer saves $\log K!$ bits compared to a naive scalar quantizer for a block of size $K$.

Interestingly, the authors draw a parallel to statistical physics. They note that standard "sequences" correspond to Maxwell-Boltzmann statistics, while "multisets" correspond to Bose-Einstein statistics, which describe identical particles like bosons. This connection suggests that the information theory of unordered data is deeply linked to the fundamental behavior of physical systems.

Empirical Evidence: The Zenith Radio Data

While primarily theoretical, the paper applies its entropy bounds to an empirical dataset from the 1930s: the Zenith Radio Telepathy Data. By analyzing multisets of "k-grams" within this data, the authors demonstrate how entropy bounds shift as one moves from sequence-based models to multiset-based models, providing a real-world touchstone for their mathematical proofs.

Limitations and Future Directions

Despite the significant theoretical gains, the authors acknowledge practical hurdles:

  • Infinite Delay: The most dramatic results, such as zero distortion at zero rate, require $n$ to approach infinity, implying infinite delay in real-time applications.
  • Complexity of Finite Bounds: While upper and lower bounds are provided, determining the exact rate-distortion function for finite $n$ remains a challenge.
  • Partial Order: Future research may explore "partially commutative alphabets," where the order matters for some symbols but not others, bridging the gap between strict sequences and total multisets.

Summary updated

BibTeX
@misc{varshney2007benefiting,
  author = {Lav R. Varshney and Vivek K. Goyal},
  title = {{Benefiting from Disorder: Source Coding for Unordered Data}},
  year = {2007},
  eprint = {0708.2310},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/0708.2310},
}
Figure