arrow
Return

Investigations on algorithm selection for interval-based coding methods

delete2025-07-03
delete0
PRE
AI
T
Tilo Strutz *
N
Nico Schreiber
DOI:10.1007/s11042-025-20971-3delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
There is a class of entropy-coding methods which do not substitute symbols by code words (such as Huffman coding), but operate on intervals or ranges and thus allow a better approximation of the data entropy. This class includes three prominent members: conventional arithmetic coding, range coding, and coding based on asymmetric numeral systems. To determine the correct symbol in the decoder, each of these methods requires the comparison of a state variable with subinterval boundaries. In adaptive operation, considering varying symbol statistics, an array of interval boundaries must additionally be kept up to date. The larger the symbol alphabet, the more time-consuming both the search for the correct subinterval and the updating of interval borders become. These entropy coding methods play an important role in all data transmission and storage applications, and optimising speed can be crucial. Based on detailed pseudo-code, different known and proposed approaches are discussed to speed up the symbol search in the decoder and the adaptation of the array of interval borders, both depending on the chosen alphabet size. It is shown that reducing the big O complexity in practical implementations does not necessarily lead to an acceleration, especially if the alphabet size is too small. For example, the symbol determination at the decoder shows an expected low cpu-clock ratio ( O(log⁡n)O(\log n) algorithm versus O(n) algorithm) of about 0.62 for an alphabet with 256 symbols. However, for an alphabet with only 4 symbols, this ratio is 1.05, that means the algorithm with lower theoretical complexity executes slightly faster here. In adaptive compression mode, the binary indexing (BI) method proves to be superior when considering the overall processing time. Although the symbol search (in the decoder) takes longer than using other algorithms (e.g. cpu-clock ratio BI/ O(log⁡n)O(\log n) is 1.57), the faster updating of the array of interval borders more than compensates for this disadvantage (total ratio BI/ O(log⁡n)O(\log n) is 0.72). A variant of the binary indexing method is proposed, which is more flexible and has a partially lower complexity than the original approach. Specifically, the rescaling of cumulative counts can be reduced in its complexity from O(4n+[log⁡2(n)−2]⋅n/2)O(4n+[\log _2(n) -2]\cdot n/2) to O(3n).
Keywords:
Interval-based coding
Adaptive coding
Arithmetic coding
Range coding
Asymmetric numeral system
Binary indexing
Fast algorithms
Symbol search
Distributed video coding using interval overlapped arithmetic coding
err2019-08-01
err13
PREAI
errZhou, Junwei; Fu, Yincheng; Yang, Yanchao; Ho, Anthony T. S.
errShare
errSave
About Methods for Extracting Algorithms from Binary Code
err2025-12-01
err0
PREAI
errKulagin, I. I.; Padaryan, V. A.; Koshkin, V. A.
errShare
errSave
An Algorithm for Simple Differential Speech Coding Based on Backward Adaptation Technique
err2018-01-01
err4
PREAI
errTomic, Stefan S.; Peric, Zoran H.; Nikolic, Jelena R.
errShare
errSave
errShare
errSave

Journal

Multimedia Tools and Applications cover
Multimedia Tools and Applications
IF:
3
Papers:
2.0W
Citations:
3.9W

Organization

D
Cited Papers

Cited Papers

A new fast motion estimation algorithm using fast mode decision for high-efficiency video coding standard
err2014-02-26
err0
PREAI
errFatma Belghith; Hassan Kibeya; Hassen Loukil; Mohamed Ali Ben Ayed; Nouri Masmoudi
errShare
errSave
Arithmetic Coding
err1979-03-01
err0
PREAI
errJ. Rissanen; G. G. Langdon
errShare
errSave
Compressing Multisets With Large Alphabets
err2022-12-01
err0
errOAAI
errDaniel Severo; James Townsend; Ashish Khisti; Alireza Makhzani; Karen Ullrich
errShare
errSave
Complexity Analysis Of Next-Generation VVC Encoding And Decoding
err2020-10-01
err0
errOAAI
errFarhad Pakdaman; Mohammad Ali Adelimanesh; Moncef Gabbouj; Mahmoud Reza Hashemi
errShare
errSave
ARITHMETIC CODING FOR DATA-COMPRESSION
err1987-06-01
err1.9K
errOAAI
errWITTEN, IH; NEAL, RM; CLEARY, JG
errShare
errSave
researcher View more