Compression Optimality of Asymmetric Numeral Systems

09/06/2022
by   Josef Pieprzyk, et al.
0

Compression also known as entropy coding has a rich and long history. However, a recent explosion of multimedia Internet applications (such as teleconferencing and video streaming for instance) renews an interest in fast compression that also squeezes out as much redundancy as possible. In 2009 Jarek Duda invented his asymmetric numeral system (ANS). Apart from a beautiful mathematical structure, it is very efficient and offers compression with a very low residual redundancy. ANS works well for any symbol source statistics. Besides, ANS has become a preferred compression algorithm in the IT industry. However, designing ANS instance requires a random selection of its symbol spread function. Consequently, each ANS instance offers compression with a slightly different compression rate. The paper investigates compression optimality of ANS. It shows that ANS is optimal (i.e. the entropies of encoding and source are equal) for any symbol sources whose probability distribution is described by natural powers of 1/2. We use Markov chains to calculate ANS state probabilities. This allows us to determine ANS compression rate precisely. We present two algorithms for finding ANS instances with high compression rates. The first explores state probability approximations in order to choose ANS instances with better compression rates. The second algorithm is a probabilistic one. It finds ANS instances, whose compression rate can be made as close to the best rate as required. This is done at the expense of the number θ of internal random “coin” tosses. The algorithm complexity is O(θ L^3), where L is the number of ANS states. The complexity can be reduced to O(θ LlogL) if we use a fast matrix inversion. If the algorithm is implemented on quantum computer, its complexity becomes O(θ (logL)^3).

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/30/2010

Prediction by Compression

It is well known that text compression can be achieved by predicting the...
research
06/11/2021

Encoding of probability distributions for Asymmetric Numeral Systems

Many data compressors regularly encode probability distributions for ent...
research
09/13/2019

Local Decode and Update for Big Data Compression

This paper investigates data compression that simultaneously allows loca...
research
05/02/2018

Minimax redundancy for Markov chains with large state space

For any Markov source, there exist universal codes whose normalized code...
research
05/02/2018

Lower bounds on the minimax redundancy for Markov chains with large state space

For any Markov source, there exist universal codes whose normalized code...
research
12/11/2020

Soft Compression for Lossless Image Coding

Soft compression is a lossless image compression method, which is commit...
research
06/16/2022

On Error and Compression Rates for Prototype Rules

We study the close interplay between error and compression in the non-pa...

Please sign up or login with your details

Forgot password? Click here to reset