Generalized Universal Coding of Integers
Abstract
Universal coding of integers~(UCI) is a class of variable-length code, such that the ratio of the expected codeword length to is within a constant factor, where is the Shannon entropy of the decreasing probability distribution . However, if we consider the ratio of the expected codeword length to , the ratio tends to infinity by using UCI, when tends to zero. To solve this issue, this paper introduces a class of codes, termed generalized universal coding of integers~(GUCI), such that the ratio of the expected codeword length to is within a constant factor . First, the definition of GUCI is proposed and the coding structure of GUCI is introduced. Next, we propose a class of GUCI to achieve the expansion factor and show that the optimal GUCI is in the range . Then, by comparing UCI and GUCI, we show that when the entropy is very large or is not large, there are also cases where the average codeword length of GUCI is shorter. Finally, the asymptotically optimal GUCI is presented.
Keywords
Cite
@article{arxiv.2204.07398,
title = {Generalized Universal Coding of Integers},
author = {Wei Yan and Sian-Jheng Lin and Yunghsiang S. Han},
journal= {arXiv preprint arXiv:2204.07398},
year = {2022}
}