Polynomial Time Algorithms for Constructing Optimal Binary AIFV-2 Codes

01/30/2020
by   Mordecai Golin, et al.
0

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 am 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 iterative procedures for constructing optimal AIFV codes. We first show that a simple binary search procedure can replace the current iterative process to construct optimal binary AIFV-2 codes. We then describe how to frame the problem as a linear programming with an exponential number of constraints but a polynomial-time separability oracle. This permits using the Grötschel, Lovász and Schrijver ellipsoid method to solve the problem in a polynomial number of steps. While more complicated, this second method has the potential to lead to a polynomial time algorithm to construct optimal AIFV-m codes for general m.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/26/2019

Binary LCD Codes from Z_2Z_2[u]

Linear complementary dual (LCD) codes over finite fields are linear code...
research
01/28/2021

Construction of binary LCD codes, ternary LCD codes and quaternary Hermitian LCD codes

We give two methods for constructing many linear complementary dual (LCD...
research
08/28/2021

Construction for both self-dual codes and LCD codes

From a given [n, k] code C, we give a method for constructing many [n, k...
research
02/23/2020

Speeding up the AIFV-2 dynamic programs by two orders of magnitude using Range Minimum Queries

AIFV-2 codes are a new method for constructing lossless codes for memory...
research
06/16/2018

Finding Short Synchronizing Words for Prefix Codes

We study the problems of finding a shortest synchronizing word and its l...
research
01/12/2019

On Huang and Wong's Algorithm for Generalized Binary Split Trees

Huang and Wong [5] proposed a polynomial-time dynamic-programming algori...
research
11/11/2019

Universal almost optimal compression and Slepian-Wolf coding in probabilistic polynomial time

In a lossless compression system with target lengths, a compressor C map...

Please sign up or login with your details

Forgot password? Click here to reset