Cargando…

The Compression Optimality of Asymmetric Numeral Systems

Source coding has a rich and long history. However, a recent explosion of multimedia Internet applications (such as teleconferencing and video streaming, for instance) renews interest in fast compression that also squeezes out as much redundancy as possible. In 2009 Jarek Duda invented his asymmetri...

Descripción completa

Detalles Bibliográficos
Autores principales: Pieprzyk, Josef, Duda, Jarek, Pawłowski, Marcin, Camtepe, Seyit, Mahboubi, Arash, Morawiecki, Paweł
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10137965/
https://www.ncbi.nlm.nih.gov/pubmed/37190460
http://dx.doi.org/10.3390/e25040672
_version_ 1785032593685610496
author Pieprzyk, Josef
Duda, Jarek
Pawłowski, Marcin
Camtepe, Seyit
Mahboubi, Arash
Morawiecki, Paweł
author_facet Pieprzyk, Josef
Duda, Jarek
Pawłowski, Marcin
Camtepe, Seyit
Mahboubi, Arash
Morawiecki, Paweł
author_sort Pieprzyk, Josef
collection PubMed
description Source coding has a rich and long history. However, a recent explosion of multimedia Internet applications (such as teleconferencing and video streaming, for instance) renews 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 having a beautiful mathematical structure, it is very efficient and offers compression with a very low coding redundancy. ANS works well for any symbol source statistics, and it has become a preferred compression algorithm in the IT industry. However, designing an ANS instance requires a random selection of its symbol spread function. Consequently, each ANS instance offers compression with a slightly different compression ratio. The paper investigates the compression optimality of ANS. It shows that ANS is optimal 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 precisely determine the ANS compression rate. We present two algorithms for finding ANS instances with a high compression ratio. The first explores state probability approximations in order to choose ANS instances with better compression ratios. The second algorithm is a probabilistic one. It finds ANS instances whose compression ratios can be made as close to the best ratio as required. This is done at the expense of the number [Formula: see text] of internal random “coin” tosses. The algorithm complexity is [Formula: see text] , where L is the number of ANS states. The complexity can be reduced to [Formula: see text] if we use a fast matrix inversion. If the algorithm is implemented on a quantum computer, its complexity becomes [Formula: see text].
format Online
Article
Text
id pubmed-10137965
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-101379652023-04-28 The Compression Optimality of Asymmetric Numeral Systems Pieprzyk, Josef Duda, Jarek Pawłowski, Marcin Camtepe, Seyit Mahboubi, Arash Morawiecki, Paweł Entropy (Basel) Article Source coding has a rich and long history. However, a recent explosion of multimedia Internet applications (such as teleconferencing and video streaming, for instance) renews 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 having a beautiful mathematical structure, it is very efficient and offers compression with a very low coding redundancy. ANS works well for any symbol source statistics, and it has become a preferred compression algorithm in the IT industry. However, designing an ANS instance requires a random selection of its symbol spread function. Consequently, each ANS instance offers compression with a slightly different compression ratio. The paper investigates the compression optimality of ANS. It shows that ANS is optimal 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 precisely determine the ANS compression rate. We present two algorithms for finding ANS instances with a high compression ratio. The first explores state probability approximations in order to choose ANS instances with better compression ratios. The second algorithm is a probabilistic one. It finds ANS instances whose compression ratios can be made as close to the best ratio as required. This is done at the expense of the number [Formula: see text] of internal random “coin” tosses. The algorithm complexity is [Formula: see text] , where L is the number of ANS states. The complexity can be reduced to [Formula: see text] if we use a fast matrix inversion. If the algorithm is implemented on a quantum computer, its complexity becomes [Formula: see text]. MDPI 2023-04-17 /pmc/articles/PMC10137965/ /pubmed/37190460 http://dx.doi.org/10.3390/e25040672 Text en © 2023 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Pieprzyk, Josef
Duda, Jarek
Pawłowski, Marcin
Camtepe, Seyit
Mahboubi, Arash
Morawiecki, Paweł
The Compression Optimality of Asymmetric Numeral Systems
title The Compression Optimality of Asymmetric Numeral Systems
title_full The Compression Optimality of Asymmetric Numeral Systems
title_fullStr The Compression Optimality of Asymmetric Numeral Systems
title_full_unstemmed The Compression Optimality of Asymmetric Numeral Systems
title_short The Compression Optimality of Asymmetric Numeral Systems
title_sort compression optimality of asymmetric numeral systems
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10137965/
https://www.ncbi.nlm.nih.gov/pubmed/37190460
http://dx.doi.org/10.3390/e25040672
work_keys_str_mv AT pieprzykjosef thecompressionoptimalityofasymmetricnumeralsystems
AT dudajarek thecompressionoptimalityofasymmetricnumeralsystems
AT pawłowskimarcin thecompressionoptimalityofasymmetricnumeralsystems
AT camtepeseyit thecompressionoptimalityofasymmetricnumeralsystems
AT mahboubiarash thecompressionoptimalityofasymmetricnumeralsystems
AT morawieckipaweł thecompressionoptimalityofasymmetricnumeralsystems
AT pieprzykjosef compressionoptimalityofasymmetricnumeralsystems
AT dudajarek compressionoptimalityofasymmetricnumeralsystems
AT pawłowskimarcin compressionoptimalityofasymmetricnumeralsystems
AT camtepeseyit compressionoptimalityofasymmetricnumeralsystems
AT mahboubiarash compressionoptimalityofasymmetricnumeralsystems
AT morawieckipaweł compressionoptimalityofasymmetricnumeralsystems