English

Efficient Representation of Large-Alphabet Probability Distributions

Information Theory 2023-10-27 v3 math.IT

Abstract

A number of engineering and scientific problems require representing and manipulating probability distributions over large alphabets, which we may think of as long vectors of reals summing to 11. In some cases it is required to represent such a vector with only bb bits per entry. A natural choice is to partition the interval [0,1][0,1] into 2b2^b uniform bins and quantize entries to each bin independently. We show that a minor modification of this procedure -- applying an entrywise non-linear function (compander) f(x)f(x) prior to quantization -- yields an extremely effective quantization method. For example, for b=8(16)b=8 (16) and 10510^5-sized alphabets, the quality of representation improves from a loss (under KL divergence) of 0.5(0.1)0.5 (0.1) bits/entry to 104(109)10^{-4} (10^{-9}) bits/entry. Compared to floating point representations, our compander method improves the loss from 101(106)10^{-1}(10^{-6}) to 104(109)10^{-4}(10^{-9}) bits/entry. These numbers hold for both real-world data (word frequencies in books and DNA kk-mer counts) and for synthetic randomly generated distributions. Theoretically, we set up a minimax optimality criterion and show that the compander f(x)  ArcSinh((1/2)(KlogK)x)f(x) ~\propto~ \mathrm{ArcSinh}(\sqrt{(1/2) (K \log K) x}) achieves near-optimal performance, attaining a KL-quantization loss of 22blog2K\asymp 2^{-2b} \log^2 K for a KK-letter alphabet and bb\to \infty. Interestingly, a similar minimax criterion for the quadratic loss on the hypercube shows optimality of the standard uniform quantizer. This suggests that the ArcSinh\mathrm{ArcSinh} quantizer is as fundamental for KL-distortion as the uniform quantizer for quadratic distortion.

Keywords

Cite

@article{arxiv.2205.03752,
  title  = {Efficient Representation of Large-Alphabet Probability Distributions},
  author = {Aviv Adler and Jennifer Tang and Yury Polyanskiy},
  journal= {arXiv preprint arXiv:2205.03752},
  year   = {2023}
}

Comments

corrected typos

R2 v1 2026-06-24T11:10:25.785Z