π€ AI Summary
This work proposes a novel adaptive interval entropy coding method based on a circular buffer to overcome the inefficiency of symbol search during decoding in traditional approaches and the inability of existing lookup-table techniques to support dynamic probability updates efficiently. The proposed mechanism achieves O(1) time-complexity table-based decoding for the first time and replaces division operations in both encoding and decoding with bit-shifts to enhance computational efficiency. Experimental results demonstrate that, in static mode, the encoding speed improves by approximately 40%. In adaptive mode, the method consistently outperforms state-of-the-art solutions across alphabets ranging from 12 to 64 symbols in terms of overall encoding and decoding performance.
π Abstract
The transmission or storage of signals typically involves data compression. The final processing step in compression systems is generally an entropy coding stage, which converts symbols into a bit stream based on their probability distribution. A distinct class of entropy coding methods operates not by mapping input symbols to discrete codewords but by operating on intervals or ranges. This approach enables a more accurate approximation of the source entropy, particularly for sources with highly skewed or varying symbol distributions. Representative techniques in this category include traditional arithmetic coding, range coding, and methods based on asymmetric numeral systems (ANS). The complexity of these methods depends mainly on three processing steps: the core routines of encoding and decoding doing the calculations, the interval-based determination of the correct symbol at decoder, and the efforts of keeping updated with respect to the varying symbol distribution. The interval-based symbol determination at decoder typically demands for a searching procedure. In previous literature, it could be shown that the search can be replaced by a table-based approach with only O(1)-complexity but having the side-effect that the adaptation of the symbols statistic becomes infeasible because of the high time-consumption of adapting the table. We propose an adaptation process using a ring-buffer technique enabling the adaptive table-based decoding procedure as well as the replacement of a division by a bit-shift operation at encoder and decoder core routines. This accelerates the coding process significantly. In static (non-adaptive) mode, the coding time can be reduced by about 40 percent. In adaptive mode, the proposed technique is faster than alternative approaches for alphabets from about 12 to 64 different symbol when comparing the overall encoder+decoder time.