Huffman Codes versus Augmented Non-Prefix-Free Codes

被引:3
|
作者
Adas, Boran [1 ]
Bayraktar, Ersin [1 ]
Kulekci, M. Oguzhan [2 ]
机构
[1] Istanbul Tech Univ, Dept Comp Enginering, TR-80626 Istanbul, Turkey
[2] ITU ARI Teknokent, ERLAB Software Co, Istanbul, Turkey
来源
关键词
D O I
10.1007/978-3-319-20086-6_24
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Non-prefix-free (NPF) codes are not uniquely decodable, and thus, have received very few attention due to the lack of that most essential feature required in any coding scheme. Augmenting NPF codes with compressed data structures has been proposed in ISIT'2013 [8] to overcome this limitation. It had been shown there that such an augmentation not only brings the unique decodability to NPF codes, but also provides efficient random access. In this study, we extend this approach and compare augmented NPF codes with the 0th-order Huffman codes in terms of compression ratios and random access times. Basically, we benchmark four coding schemes as NPF codes augmented with wavelet trees (NPF-WT), with R/S dictionaries (NPF-RS), Huffman codes, and sampled Huffman codes. Since Huffman coding originally does not provide random access feature, sampling is a common way in practice to speed up access to arbitrary symbols in the encoded stream. We achieve sampling by simply managing an additional array that marks the beginnings of the codewords in steps of the sampling ratio, and keeping that sparse bit array compressed via R/S dictionary data structure. The experiments revealed that augmented NPF codes achieve compression very close to the Huffman with the additional advantage of random access. When compared to sampled Huffman coding both the compression ratios and random access performances of the NPF schemes are superior.
引用
收藏
页码:315 / 326
页数:12
相关论文
共 50 条
  • [41] ON THE COMPETITIVE OPTIMALITY OF HUFFMAN CODES
    COVER, TM
    IEEE TRANSACTIONS ON INFORMATION THEORY, 1991, 37 (01) : 172 - 174
  • [42] Approximating Huffman codes in parallel
    Berman, P.
    Karpinski, M.
    Nekrich, Y.
    JOURNAL OF DISCRETE ALGORITHMS, 2007, 5 (03) : 479 - 490
  • [43] Properties of Optimal Prefix-Free Machines as Instantaneous Codes
    Tadaki, Kohtaro
    2010 IEEE INFORMATION THEORY WORKSHOP (ITW), 2010,
  • [44] Rate of Prefix-free Codes in LQG Control Systems
    Tanaka, Takashi
    Johansson, Karl Henrik
    Oechtering, Tobias
    Sandberg, Henrik
    Skoglund, Mikael
    2016 IEEE INTERNATIONAL SYMPOSIUM ON INFORMATION THEORY, 2016, : 2399 - 2403
  • [45] Optimum extensions of prefix codes
    Mandoiu, II
    INFORMATION PROCESSING LETTERS, 1998, 66 (01) : 35 - 40
  • [46] STRUCTURE OF SYSTEMATIC PREFIX CODES
    LASSEZ, JL
    INTERNATIONAL JOURNAL OF COMPUTER MATHEMATICS, 1972, 3 (2-3) : 177 - 188
  • [47] COMPLEXITY OF ACCEPTORS FOR PREFIX CODES
    BROWN, DJ
    ELIAS, P
    IEEE TRANSACTIONS ON INFORMATION THEORY, 1976, 22 (03) : 357 - 359
  • [48] EFFICIENT DECODING OF PREFIX CODES
    HIRSCHBERG, DS
    LELEWER, DA
    COMMUNICATIONS OF THE ACM, 1990, 33 (04) : 449 - 459
  • [49] Prefix Codes for Power Laws
    Baer, Michael B.
    2008 IEEE INTERNATIONAL SYMPOSIUM ON INFORMATION THEORY PROCEEDINGS, VOLS 1-6, 2008, : 2464 - 2468
  • [50] COMPLETE FINITE PREFIX CODES
    PERRIN, D
    PERROT, JF
    COMPTES RENDUS HEBDOMADAIRES DES SEANCES DE L ACADEMIE DES SCIENCES SERIE A, 1969, 269 (24): : 1116 - &