Title :
Bounding the compression loss of the FGK algorithm
Author :
Milidiu, R.L. ; Laber, Eduardo S.
Author_Institution :
Dept. de Inf., Pontificia Univ. Catolica do Rio de Janeiro
Abstract :
[Summary form only given]. For data communication purposes, the initial parsing required by the static Huffman algorithm represents a big disadvantage. This is because the data must be transmitted on-line. As soon as the symbol arrives at the transmitter, it must be encoded and transmitted to the receiver. In these situations, adaptive Huffman codes have been largely used. This method determines the mapping from symbol alphabet to codewords based upon a running estimate of the alphabet symbol weights. The code is adaptive, just changing to remain optimal for the current estimates. Two methods have been presented in the literature for implementing dynamic Huffman coding. The first one was the FGK algorithm (Knuth, 1985) and the second was the Λ algorithm (Vitter, 1987). Vitter proved that the total number of bits D t transmitted by the FGK algorithm for a message with t symbols is bounded below by St-n+1, where St is the number of bits required by the static Huffman method and bounded above by 2St+t-4n+2. Furthermore, he conjectured that Dt is bounded above by St+O(t). We present an amortized analysis to prove this conjecture by showing that Dt⩽S t+2t-2k-[log min(k+1,n)], where k is the number of distinct symbols in the message. We also present an example where Dt=S t+2t-2k-3[(t-k)/k]-[log(k+1)], showing that the proposed bound is asymptotically tight. These results explain the good performance of FGK observed by some authors through practical experiments
Keywords :
Huffman codes; adaptive codes; data communication; FGK algorithm; adaptive Huffman codes; alphabet symbol weights; asymptotically tight bound; compression loss; data communication; dynamic Huffman coding; prefix code; source alphabet; static Huffman code; Algorithm design and analysis; Data communication; Performance analysis; Transmitters;
Conference_Titel :
Data Compression Conference, 1999. Proceedings. DCC '99
Conference_Location :
Snowbird, UT
Print_ISBN :
0-7695-0096-X
DOI :
10.1109/DCC.1999.785696