A Polynomial Time Algorithm for Constructing Optimal Binary AIFV-2 Codes

被引:0
|
作者
Golin, Mordecai [1 ]
Harb, Elfarouk [2 ,3 ,4 ]
机构
[1] Hong Kong Univ Sci & Technol, Dept Comp Sci & Engn, Hong Kong, Peoples R China
[2] Hong Kong Univ Sci & Technol, Dept Math, Hong Kong, Peoples R China
[3] Hong Kong Univ Sci & Technol, Dept Comp Sci & Engn, Hong Kong, Peoples R China
[4] Univ Illinois Urbana Champaign UIUC, Dept Comp Sci, Champaign, IL 61820 USA
关键词
AIFV codes; AIFV-m codes; linear programming; ellipsoid methods; DYNAMIC-PROGRAMMING ALGORITHM;
D O I
10.1109/TIT.2023.3287587
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Huffman Codes are optimal Instantaneous Fixed-to-Variable (FV) codes in which every source symbol can only be encoded by one codeword. Relaxing these constraints permits constructing better FV codes. More specifically, recent work has shown that AIFV-m codes can beat Huffman coding. AIFV-m codes construct an m-tuple of different coding trees between which the code alternates and are only almost instantaneous (AI). This means that decoding a word might require a delay of a finite number of bits. Current algorithms for constructing optimal AIFV-m codes are iterative processes that construct progressively "better sets" of code trees. The processes have been proven to finitely converge to the optimal code but with no known bounds on the convergence rate. This paper derives a geometric interpretation of the space of binary AIFV-2 codes, permitting the development of the first polynomially time-bounded procedure for constructing optimal AIFV codes. This binary-search like procedure will run in O(n(3)b) time, where n is the number of symbols in the source alphabet and b is the maximum number of bits used to encode any one input probability.
引用
收藏
页码:6269 / 6278
页数:10
相关论文
共 50 条
  • [1] Polynomial Time Algorithms for Constructing Optimal AIFV Codes
    Golin, Mordecai
    Harb, Elfarouk
    [J]. 2019 DATA COMPRESSION CONFERENCE (DCC), 2019, : 231 - 240
  • [2] An Algorithm for Constructing the Optimal Code Trees for Binary Alphabetic AIFV-m Codes
    Iwata, Ken-ichi
    Yamamoto, Hirosuke
    [J]. 2020 IEEE INFORMATION THEORY WORKSHOP (ITW), 2021,
  • [3] An Iterative Algorithm to Construct Optimal Binary AIFV-m Codes
    Iwata, Ken-ichi
    Yamamoto, Hirosuke
    [J]. 2017 IEEE INFORMATION THEORY WORKSHOP (ITW), 2017, : 519 - 523
  • [4] Worst-case Redundancy of Optimal Binary AIFV Codes and Their Extended Codes
    Hu, Weihua
    Yamamoto, Hirosuke
    Honda, Junya
    [J]. IEEE TRANSACTIONS ON INFORMATION THEORY, 2017, 63 (08) : 5074 - 5086
  • [5] Tight Upper Bounds on the Redundancy of Optimal Binary AIFV Codes
    Hu, Weihua
    Yamamoto, Hirosuke
    Honda, Junya
    [J]. 2016 IEEE INTERNATIONAL SYMPOSIUM ON INFORMATION THEORY, 2016, : 6 - 10
  • [6] A Dynamic Programming Algorithm to Construct Optimal Code Trees of AIFV Codes
    Iwata, Ken-ichi
    Yamamoto, Hirosuke
    [J]. PROCEEDINGS OF 2016 INTERNATIONAL SYMPOSIUM ON INFORMATION THEORY AND ITS APPLICATIONS (ISITA 2016), 2016, : 641 - 645
  • [7] A dynamic programming algorithm for constructing optimal "1"-ended binary prefix-free codes
    Chan, SL
    Golin, M
    [J]. 1998 IEEE INTERNATIONAL SYMPOSIUM ON INFORMATION THEORY - PROCEEDINGS, 1998, : 45 - 45
  • [8] A dynamic programming algorithm for constructing optimal "1"-ended binary prefix-free codes
    Chan, SL
    Golin, MJ
    [J]. IEEE TRANSACTIONS ON INFORMATION THEORY, 2000, 46 (04) : 1637 - 1644
  • [10] A fast algorithm for constructing nearly optimal prefix codes
    Osorio, Roberto R.
    Gonzalez, Patricia
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 2016, 46 (10): : 1299 - 1316