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 条
  • [1] Optimal prefix codes and Huffman codes
    Long, DY
    Jia, WJ
    Li, M
    INTERNATIONAL JOURNAL OF COMPUTER MATHEMATICS, 2003, 80 (06) : 727 - 742
  • [2] Privacy-Preserving Text Similarity via Non-Prefix-Free Codes
    Kulekci, M. Oguzhan
    Habib, Ismail
    Aghabaiglou, Amir
    SIMILARITY SEARCH AND APPLICATIONS (SISAP 2019), 2019, 11807 : 94 - 102
  • [3] Uniquely Decodable and Directly Accessible Non-Prefix-Free Codes via Wavelet Trees
    Kulekci, M. Oguzhan
    2013 IEEE INTERNATIONAL SYMPOSIUM ON INFORMATION THEORY PROCEEDINGS (ISIT), 2013, : 1969 - 1973
  • [4] Optimal maximal and maximal prefix codes equivalent to Huffman codes
    Long, DY
    Jia, WJ
    2002 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH, AND SIGNAL PROCESSING, VOLS I-IV, PROCEEDINGS, 2002, : 2525 - 2528
  • [5] Non prefix-free codes for constrained sequences
    Dalai, M
    Leonardi, R
    2005 IEEE International Symposium on Information Theory (ISIT), Vols 1 and 2, 2005, : 1534 - 1538
  • [6] A note on the free submonoids of the monoid of prefix codes
    Shyr, HJ
    Yu, SS
    INTERNATIONAL JOURNAL OF COMPUTER MATHEMATICS, 1998, 68 (3-4) : 243 - 249
  • [7] A free monoid containing all prefix codes
    Cao, Chun-hua
    Liu, Qin
    Yang, Di
    APPLIED MATHEMATICS-A JOURNAL OF CHINESE UNIVERSITIES SERIES B, 2024, 39 (04) : 596 - 603
  • [8] On assigning prefix free codes to the vertices of a graph
    Narayanaswamy, NS
    Madhavan, CEV
    COMPUTING AND COMBINATORICS, 2001, 2108 : 328 - 337
  • [9] A free monoid containing all prefix codes
    CAO Chunhua
    LIU Qin
    YANG Di
    Applied Mathematics:A Journal of Chinese Universities, 2024, 39 (04) : 596 - 603
  • [10] Optimal Prefix Free Codes with Partial Sorting
    Barbay, Jeremy
    ALGORITHMS, 2020, 13 (01)