<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.4 20241031//EN" "JATS-journalpublishing1-4.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="1.4" xml:lang="en">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">ojapps</journal-id>
      <journal-title-group>
        <journal-title>Open Journal of Applied Sciences</journal-title>
      </journal-title-group>
      <issn pub-type="epub">2165-3925</issn>
      <issn pub-type="ppub">2165-3917</issn>
      <publisher>
        <publisher-name>Scientific Research Publishing</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.4236/ojapps.2026.1611262</article-id>
      <article-id pub-id-type="publisher-id">ojapps-155601</article-id>
      <article-categories>
        <subj-group>
          <subject>Article</subject>
        </subj-group>
        <subj-group>
          <subject>Biomedical</subject>
          <subject>Life Sciences</subject>
          <subject>Chemistry</subject>
          <subject>Materials Science</subject>
          <subject>Computer Science</subject>
          <subject>Communications</subject>
          <subject>Engineering</subject>
          <subject>Physics</subject>
          <subject>Mathematics</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>Improving Arithmetic Coding by Reducing Interval Calculations for Text Data Compression</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes">
          <name name-style="western">
            <surname>Silué</surname>
            <given-names>Namogo</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <name name-style="western">
            <surname>Ouattara</surname>
            <given-names>Sié</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
          <xref ref-type="aff" rid="aff4">4</xref>
        </contrib>
        <contrib contrib-type="author">
          <name name-style="western">
            <surname>Dosso</surname>
            <given-names>Mouhamadou</given-names>
          </name>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <name name-style="western">
            <surname>Clément</surname>
            <given-names>Alain</given-names>
          </name>
          <xref ref-type="aff" rid="aff5">5</xref>
        </contrib>
      </contrib-group>
      <aff id="aff1"><label>1</label> Laboratory of Communication and Information Sciences and Technologies, Houphouët Boigny National Polytechnic Institute, Yamoussoukro, Côte d’Ivoire </aff>
      <aff id="aff2"><label>2</label> Houphouët Boigny National Polytechnic Institute, Yamoussoukro, Côte d’Ivoire </aff>
      <aff id="aff3"><label>3</label> Department of Mathematics and Computer Science, Doctoral School of Science, Technology, and Sustainable Agriculture, Félix Houphouët-Boigny University (UFHB), Abidjan, Côte d’Ivoire </aff>
      <aff id="aff4"><label>4</label> School of Geomatics and Land Use, Abidjan, Côte d’Ivoire </aff>
      <aff id="aff5"><label>5</label> LARIS, SFR MATHSTIC, University of Angers, Angers, France </aff>
      <author-notes>
        <fn fn-type="conflict" id="fn-conflict">
          <p>The authors declare no conflicts of interest regarding the publication of this paper.</p>
        </fn>
      </author-notes>
      <pub-date pub-type="epub">
        <day>02</day>
        <month>11</month>
        <year>2026</year>
      </pub-date>
      <pub-date pub-type="collection">
        <month>11</month>
        <year>2026</year>
      </pub-date>
      <volume>16</volume>
      <issue>11</issue>
      <fpage>4737</fpage>
      <lpage>4749</lpage>
      <history>
        <date date-type="received">
          <day>11</day>
          <month>10</month>
          <year>2026</year>
        </date>
        <date date-type="accepted">
          <day>22</day>
          <month>11</month>
          <year>2026</year>
        </date>
        <date date-type="published">
          <day>25</day>
          <month>11</month>
          <year>2026</year>
        </date>
      </history>
      <permissions>
        <copyright-statement>© 2026 by the authors and Scientific Research Publishing Inc.</copyright-statement>
        <copyright-year>2026</copyright-year>
        <license license-type="open-access">
          <license-p> This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license ( <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link> ). </license-p>
        </license>
      </permissions>
      <self-uri content-type="doi" xlink:href="https://doi.org/10.4236/ojapps.2026.1611262">https://doi.org/10.4236/ojapps.2026.1611262</self-uri>
      <abstract>
        <p>The steady increase in the volume of digital data has made it essential to develop high-performance compression techniques to reduce storage and bandwidth requirements during data transmission. Among lossless compression methods, arithmetic coding is widely recognized for its efficiency, especially in the compression of text data. Arithmetic coding offers excellent compression ratios for text data; however, its efficiency is often compromised by the computational cost associated with continuously updating the coding intervals. For this reason, in this paper we propose eliminating the intermediate interval calculations for each symbol in a sequence. The results show that the proposed technique for reducing interval calculations significantly improves the performance of arithmetic coding. By eliminating the intermediate steps that are usually required, it reduces the number of calculations performed for each symbol, thereby speeding up the compression process. This simplification does not result in any loss of performance; on the contrary, it enables compression rates higher than those achieved with traditional arithmetic coding. The compression ratios observed with the proposed method range from 86.45% to 96.87%, while those of traditional arithmetic coding range from 85.94% to 87.87%. These results highlight the effectiveness of the approach in terms of both execution time and data compression.</p>
      </abstract>
      <kwd-group kwd-group-type="author-generated" xml:lang="en">
        <kwd>Lossless Compression</kwd>
        <kwd>Entropy</kwd>
        <kwd>Arithmetic Coding</kwd>
        <kwd>Interval Calculation Reduction</kwd>
        <kwd>Text Data Processing</kwd>
        <kwd>Compression Performance</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec1">
      <title>1. Introduction</title>
      <p>Today, the rapid and dramatic development of digital technologies and the exponential growth of data have made it essential to optimize existing compression techniques [<xref ref-type="bibr" rid="B1">1</xref>] [<xref ref-type="bibr" rid="B2">2</xref>]. In this context, arithmetic coding has emerged as an effective method of lossless compression [<xref ref-type="bibr" rid="B3">3</xref>], widely used in various fields such as image, video, and text processing. By associating a single real number in the interval [0, 1[ [<xref ref-type="bibr" rid="B4">4</xref>] with an entire message, it approaches Shannon’s theoretical entropy [<xref ref-type="bibr" rid="B5">5</xref>] and offers optimal compression ratios [<xref ref-type="bibr" rid="B6">6</xref>]-[<xref ref-type="bibr" rid="B8">8</xref>], particularly for sources with an extended alphabet or highly unbalanced probabilities. However, despite its theoretical advantages, arithmetic coding has certain practical limitations [<xref ref-type="bibr" rid="B9">9</xref>] [<xref ref-type="bibr" rid="B10">10</xref>]. In particular, the calculation [<xref ref-type="bibr" rid="B3">3</xref>] and repeated updating of intervals during the encoding and decoding process result in high computational complexity [<xref ref-type="bibr" rid="B11">11</xref>] [<xref ref-type="bibr" rid="B12">12</xref>]. Thus, reducing the computational cost [<xref ref-type="bibr" rid="B13">13</xref>] of the intervals becomes a major challenge for improving the overall efficiency of this technique. Given this issue, it is reasonable to ask how to optimize arithmetic coding by reducing the computations associated with the intervals while maintaining its compression performance.</p>
      <p>With this in mind, we will second analyze the theoretical foundations of arithmetic coding; in Section 3, we will examine the main optimization techniques proposed in the literature; then, in Section 4, we will present our contribution; and in Section 5, we will evaluate the performance of this proposed improvement to arithmetic coding. In Section 6, we will present the results, and in Section 7, we will discuss them. Finally, in Section 8, we will conclude our proposal and suggest directions for future work.</p>
    </sec>
    <sec id="sec2">
      <title>2. Theoretical Foundations of Arithmetic Coding</title>
      <sec id="sec2dot1">
        <title>2.1. The Principle of Arithmetic Coding and Interval Recursion</title>
        <p>The algorithm divides the initial interval [0, 1[ into subintervals in proportion to the probability of each symbol. When a symbol is processed, the algorithm uses its interval as a new basis, which is then subdivided again for the next symbol. The various stages of the coding process are [<xref ref-type="bibr" rid="B14">14</xref>]:</p>
        <p>Let <italic>X</italic> be a sequence of <italic>m</italic> symbols such that <inline-formula><mml:math display="inline"><mml:mrow><mml:mi> X </mml:mi><mml:mo> = </mml:mo><mml:msub><mml:mi> x </mml:mi><mml:mn> 1 </mml:mn></mml:msub><mml:msub><mml:mi> x </mml:mi><mml:mn> 2 </mml:mn></mml:msub><mml:mo> ⋯ </mml:mo><mml:msub><mml:mi> x </mml:mi><mml:mi> m </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> which draws its values from a source <inline-formula><mml:math display="inline"><mml:mrow><mml:mi> S </mml:mi><mml:mo> = </mml:mo><mml:mrow><mml:mo> { </mml:mo><mml:mrow><mml:msub><mml:mi> s </mml:mi><mml:mn> 1 </mml:mn></mml:msub><mml:mo> , </mml:mo><mml:msub><mml:mi> s </mml:mi><mml:mn> 2 </mml:mn></mml:msub><mml:mo> , </mml:mo><mml:mo> ⋯ </mml:mo><mml:mo> , </mml:mo><mml:msub><mml:mi> s </mml:mi><mml:mi> n </mml:mi></mml:msub></mml:mrow><mml:mo> } </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> ,Calculate the probability associated with each symbol in source <italic>S</italic>; let’s denote it as <italic>p</italic><italic><sub>i</sub></italic> = Probability (<italic>S</italic> = <italic>s</italic><italic><sub>i</sub></italic>).Assign a subinterval to each sk symbol [<italic>Ls</italic><italic><sub>k</sub></italic>, <italic>Hs</italic><italic><sub>k</sub></italic>[ proportional to its probability, with <italic>Hs</italic><italic><sub>k</sub></italic> – <italic>Ls</italic><italic><sub>k</sub></italic> = <italic>p</italic><italic><sub>k</sub></italic>.Set the lower bound (<italic>L</italic>) of the working interval to 0 and the upper bound (<italic>H</italic>) to 1.As long as there is still a character left in the sequence to be encoded:width = <italic>H</italic> – <italic>L</italic><italic>L</italic> = <italic>L</italic> + width * <italic>Ls</italic><italic><sub>k</sub></italic><italic>H</italic> = <italic>L</italic> + width * <italic>Hs</italic><italic><sub>k</sub></italic>Ultimately, any value in the interval [<italic>L</italic>, <italic>H</italic>[ uniquely represents the input sequence.</p>
        <p>Generally, the lower bound (<italic>L</italic>) of the interval is chosen as the representative of the sequence, or the mean value may be chosen: <inline-formula><mml:math><mml:mrow><mml:mfrac><mml:mrow><mml:mi> L </mml:mi><mml:mo> + </mml:mo><mml:mi> H </mml:mi></mml:mrow><mml:mn> 2 </mml:mn></mml:mfrac></mml:mrow></mml:math></inline-formula> . The value chosen to represent the sequence to be encoded is called code(<italic>X</italic>). It is important to note that code(<italic>X</italic>) is represented by a number of bits equal to the value [−log<sub>2</sub>(<italic>P</italic>(<italic>X</italic>))] + 1.</p>
        <p>For example [<xref ref-type="bibr" rid="B9">9</xref>]: <bold>Table 1</bold> presents the text “xxyxxzxzxx” compressed using arithmetic coding. The text consists of three letters, <italic>A</italic> = <italic>fx</italic>, <italic>y</italic>, <italic>zg</italic>, the alphabet. The probability distributions of this text are <italic>P</italic>(<italic>x</italic>) = 0.7, <italic>P</italic>(<italic>y</italic>) = 0.1, and <italic>P</italic>(<italic>z</italic>) = 0.2, as shown in <bold>Table 1</bold>.</p>
        <p><bold>Table 1</bold><bold>.</bold> Frequencies of letters in “xxyxxzxzxx” text [<xref ref-type="bibr" rid="B9">9</xref>].</p>
        <table-wrap id="tbl1">
          <label>Table 1</label>
          <table>
            <tbody>
              <tr>
                <td>Symbol</td>
                <td>
                  <italic>x</italic>
                </td>
                <td>
                  <italic>y</italic>
                </td>
                <td>
                  <italic>z</italic>
                </td>
              </tr>
              <tr>
                <td>Frequency</td>
                <td>7</td>
                <td>1</td>
                <td>2</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>And <xref ref-type="fig" rid="fig1">Figure 1</xref> presents the determination of this alphabetic arithmetic coding label.</p>
        <fig id="fig1">
          <label>Figure 1</label>
          <caption>
            <p>Determination of the alphabetic arithmetic coding label [<xref ref-type="bibr" rid="B9">9</xref>].</p>
          </caption>
          <graphic xlink:href="https://html.scirp.org/file/2314070-rId19.jpeg?20261125113957" />
        </fig>
      </sec>
      <sec id="sec2dot2">
        <title>2.2. Theoretical Foundations and Entropy</title>
        <p>Arithmetic coding is directly derived from information theory. The average length of the code generated for <italic>N</italic> symbols converges to the entropy <italic>H</italic>(<italic>X</italic>) of the source. Shannon entropy defines the theoretical minimum number of bits required to encode a source<bold>:</bold></p>
        <disp-formula id="FD1">
          <mml:math display="inline">
            <mml:mrow>
              <mml:mi>H</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mi>X</mml:mi>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>=</mml:mo>
              <mml:mo>−</mml:mo>
              <mml:mstyle displaystyle="true">
                <mml:mo>∑</mml:mo>
                <mml:mrow>
                  <mml:mi>p</mml:mi>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mi>x</mml:mi>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                  <mml:msub>
                    <mml:mrow>
                      <mml:mi>log</mml:mi>
                    </mml:mrow>
                    <mml:mn>2</mml:mn>
                  </mml:msub>
                  <mml:mrow>
                    <mml:mo>[</mml:mo>
                    <mml:mrow>
                      <mml:mi>p</mml:mi>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mi>x</mml:mi>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                    <mml:mo>]</mml:mo>
                  </mml:mrow>
                </mml:mrow>
              </mml:mstyle>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>Thus, with this probabilistic approach, frequent symbols are assigned wider intervals, which shortens the final code.</p>
      </sec>
    </sec>
    <sec id="sec3">
      <title>3. Key Optimization Techniques Proposed in the Literature</title>
      <p>There are several approaches to reducing the computational effort involved in calculating intervals in arithmetic coding for text compression. A fundamental approach consists of replacing computationally expensive multiplications with shifts and additions. Chevion <italic>et al</italic>. [<xref ref-type="bibr" rid="B15">15</xref>] proposed this generic method, which allows each multiplication to be replaced by a simple binary shift operation and an addition. Theoretical analysis shows that the loss of efficiency is minimal because, for a binary alphabet, the increase in code length is at most 1.1%, resulting in an efficiency of 98.9% compared to exact arithmetic coding. For multivalued alphabets, the maximum loss reaches 1.91% in the worst case. Quasi-arithmetic coding, developed by Howard and Vitter [<xref ref-type="bibr" rid="B16">16</xref>], takes a different approach<bold>:</bold> Instead of dynamically calculating the subintervals at each step, all arithmetic operations are performed offline to generate coding tables. When applied to text compression in the Fast PPM (Prediction by Partial Matching) system, quasi-arithmetic coding achieves a compression throughput nearly twice that of PPMC, with a comparable compression ratio. Another approach involves improving probabilistic modeling, which reduces the number of binary decisions that the arithmetic encoder must process. Steinruecken <italic>et al</italic>. [<xref ref-type="bibr" rid="B17">17</xref>] proposed PPM-DP, an algorithm that replaces PPM<bold>’</bold>s classical escape mechanism with a generalized <bold>“</bold>blending<bold>”</bold> of predictions from all available contexts, controlled by hyperparameters (<italic>α</italic> and <italic>β</italic>). Although this approach slightly increases the computation time per symbol, it significantly improves the compression ratio for human text, outperforming all published variants of PPM (PPMII, PPMZ), CTW, BWT, and LZMA on the Canterbury and Calgary corpora. In the field of context-adaptive binary arithmetic coding (CABAC), Karwowski and Domański [<xref ref-type="bibr" rid="B18">18</xref>] proposed replacing the finite-state machines used for probability estimation with the context tree weighting (CTW) technique. This improvement allows for a more accurate calculation of conditional probabilities, which indirectly reduces redundancy and thus the number of computations required to achieve a given compression ratio. Asymmetric numbering systems (ANS), introduced as an alternative to arithmetic coding, combine the speed of Huffman coding with the near-entropy efficiency of arithmetic coding. Dube and Yokoo [<xref ref-type="bibr" rid="B19">19</xref>] developed a technique for rapidly constructing quasi-optimal symbol distributions for the tabled ANS (tANS) variant. Their iterative sorting method, based on stationary state probabilities, converges rapidly toward nearly optimal distributions. Hardware architectures for tANS have also been proposed, capable of encoding one symbol per clock cycle, achieving data rates of 146 to 290 megasymbols per second [<xref ref-type="bibr" rid="B20">20</xref>]. This performance far exceeds that of traditional arithmetic coding while maintaining comparable compression efficiency. These advances make it possible to consider deploying arithmetic coding in resource-constrained applications where it was previously impractical.</p>
    </sec>
    <sec id="sec4">
      <title>4. Presentation of Our Contribution</title>
      <sec id="sec4dot1">
        <title>4.1. Principle of Improved Arithmetic Coding</title>
        <p>We have decided to reduce the complexity of the calculations. This will reduce the encoding and decoding time. The modified arithmetic coding method we propose allows us to move directly from the first interval to the last interval without processing each intermediate step. It is designed using an approach based on cumulative probabilities and a technique for directly calculating the final interval. The idea is to directly calculate the final interval for the entire message without going through the intermediate steps typical of arithmetic coding. To do this, we use the cumulative probabilities of the symbols to determine the interval corresponding to the complete message.</p>
        <p>4.1.1. Calculating Probabilities and Cumulative Values</p>
        <p>For each symbol in the message, we calculate its probability of occurrence.Next, we create a set of cumulative probabilities for each symbol, where each entry corresponds to the sum of the probabilities of all preceding symbols.</p>
        <p>For example, for a message {<italic>a</italic>, <italic>b</italic>, <italic>c</italic>} with probabilities <italic>P</italic>(<italic>a</italic>), <italic>P</italic>(<italic>b</italic>), <italic>P</italic>(<italic>c</italic>), the cumulative probabilities are<bold>:</bold></p>
        <disp-formula id="FD2">
          <mml:math display="inline">
            <mml:mrow>
              <mml:mi>C</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mi>a</mml:mi>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>=</mml:mo>
              <mml:mn>0</mml:mn>
              <mml:mo>,</mml:mo>
              <mml:mtext>
                 
              </mml:mtext>
              <mml:mtext>
                 
              </mml:mtext>
              <mml:mi>C</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mi>b</mml:mi>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>=</mml:mo>
              <mml:mi>P</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mi>a</mml:mi>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>,</mml:mo>
              <mml:mtext>
                 
              </mml:mtext>
              <mml:mtext>
                 
              </mml:mtext>
              <mml:mi>C</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mi>c</mml:mi>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>=</mml:mo>
              <mml:mi>P</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mi>a</mml:mi>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>+</mml:mo>
              <mml:mi>P</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mi>b</mml:mi>
                <mml:mo>)</mml:mo>
              </mml:mrow>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>4.1.2. Direct Determination of the Final Interval</p>
        <p>To encode an entire message <inline-formula><mml:math display="inline"><mml:mrow><mml:mi> M </mml:mi><mml:mo> = </mml:mo><mml:msub><mml:mi> m </mml:mi><mml:mn> 1 </mml:mn></mml:msub><mml:msub><mml:mi> m </mml:mi><mml:mn> 2 </mml:mn></mml:msub><mml:mo> ⋯ </mml:mo><mml:msub><mml:mi> m </mml:mi><mml:mi> n </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> ; that is, <italic>M</italic> is composed of the symbols <inline-formula><mml:math display="inline"><mml:mrow><mml:msub><mml:mi> m </mml:mi><mml:mn> 1 </mml:mn></mml:msub><mml:mo> , </mml:mo><mml:msub><mml:mi> m </mml:mi><mml:mn> 2 </mml:mn></mml:msub><mml:mo> , </mml:mo><mml:mo> ⋯ </mml:mo><mml:mo> , </mml:mo><mml:msub><mml:mi> m </mml:mi><mml:mi> n </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> , so we determine the final interval by multiplying the probabilities associated with each symbol and using the cumulative probabilities.</p>
        <p>Lower bound of the interval<bold>:</bold><italic>L</italic><italic><sub>M</sub></italic></p>
        <disp-formula id="FD3">
          <mml:math display="inline">
            <mml:mtable>
              <mml:mtr>
                <mml:mtd>
                  <mml:msub>
                    <mml:mi>L</mml:mi>
                    <mml:mi>M</mml:mi>
                  </mml:msub>
                  <mml:mo>=</mml:mo>
                  <mml:mi>C</mml:mi>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>m</mml:mi>
                        <mml:mn>1</mml:mn>
                      </mml:msub>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                  <mml:mo>+</mml:mo>
                  <mml:mi>P</mml:mi>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>m</mml:mi>
                        <mml:mn>1</mml:mn>
                      </mml:msub>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                  <mml:mo>×</mml:mo>
                  <mml:mi>C</mml:mi>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>m</mml:mi>
                        <mml:mn>2</mml:mn>
                      </mml:msub>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                  <mml:mo>+</mml:mo>
                  <mml:mi>P</mml:mi>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>m</mml:mi>
                        <mml:mn>1</mml:mn>
                      </mml:msub>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                  <mml:mo>×</mml:mo>
                  <mml:mi>P</mml:mi>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>m</mml:mi>
                        <mml:mn>2</mml:mn>
                      </mml:msub>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                  <mml:mo>×</mml:mo>
                  <mml:mi>C</mml:mi>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>m</mml:mi>
                        <mml:mn>3</mml:mn>
                      </mml:msub>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                  <mml:mo>+</mml:mo>
                  <mml:mo>⋯</mml:mo>
                </mml:mtd>
              </mml:mtr>
              <mml:mtr>
                <mml:mtd>
                  <mml:mtext>
                     
                  </mml:mtext>
                  <mml:mo>+</mml:mo>
                  <mml:mi>P</mml:mi>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>m</mml:mi>
                        <mml:mn>1</mml:mn>
                      </mml:msub>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                  <mml:mo>⋯</mml:mo>
                  <mml:mi>P</mml:mi>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>m</mml:mi>
                        <mml:mrow>
                          <mml:mi>n</mml:mi>
                          <mml:mo>−</mml:mo>
                          <mml:mn>1</mml:mn>
                        </mml:mrow>
                      </mml:msub>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                  <mml:mo>×</mml:mo>
                  <mml:mi>C</mml:mi>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>m</mml:mi>
                        <mml:mi>n</mml:mi>
                      </mml:msub>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                </mml:mtd>
              </mml:mtr>
            </mml:mtable>
          </mml:math>
        </disp-formula>
        <p>Upper bound of the interval<bold>:</bold><italic>H</italic><italic><sub>M</sub></italic></p>
        <disp-formula id="FD4">
          <mml:math display="inline">
            <mml:mrow>
              <mml:msub>
                <mml:mi>H</mml:mi>
                <mml:mi>M</mml:mi>
              </mml:msub>
              <mml:mo>=</mml:mo>
              <mml:msub>
                <mml:mi>L</mml:mi>
                <mml:mi>M</mml:mi>
              </mml:msub>
              <mml:mo>+</mml:mo>
              <mml:mi>P</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:msub>
                    <mml:mi>m</mml:mi>
                    <mml:mn>1</mml:mn>
                  </mml:msub>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>×</mml:mo>
              <mml:mi>P</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:msub>
                    <mml:mi>m</mml:mi>
                    <mml:mn>2</mml:mn>
                  </mml:msub>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>×</mml:mo>
              <mml:mo>⋯</mml:mo>
              <mml:mo>×</mml:mo>
              <mml:mi>P</mml:mi>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:msub>
                    <mml:mi>m</mml:mi>
                    <mml:mi>n</mml:mi>
                  </mml:msub>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>4.1.3. Direct Compression</p>
        <p>The message is then represented by a number in the interval [<italic>L</italic><italic><sub>M</sub></italic>, <italic>H</italic><italic><sub>M</sub></italic>[. According to [<xref ref-type="bibr" rid="B15">15</xref>], the sequence’s representative can be the lower bound (<italic>L</italic>) of the interval, or one can choose the mean value<bold>:</bold><inline-formula><mml:math><mml:mrow><mml:mfrac><mml:mrow><mml:mi> L </mml:mi><mml:mo> + </mml:mo><mml:mi> H </mml:mi></mml:mrow><mml:mn> 2 </mml:mn></mml:mfrac></mml:mrow></mml:math></inline-formula> . And we will call code(<italic>X</italic>) the value chosen to represent the sequence to be encoded. Furthermore, the code (<italic>X</italic>) is represented by a number of bits equal to the value [−log<sub>2</sub>(<italic>P</italic>(<italic>X</italic>))] + 1.</p>
      </sec>
      <sec id="sec4dot2">
        <title>4.2. Implementation of the Proposed Algorithm</title>
        <p>We implement the proposed algorithm using MATLAB.</p>
        <p>4.2.1. Pseudo-Code for the Proposed Algorithm</p>
        <p>Input: Message M = m<sub>1</sub> m<sub>2</sub> … m<sub>n</sub></p>
        <p>Output: code(X), bits</p>
        <p>1. Calculate the probabilities P(s) for each symbol s</p>
        <p>2. Calculate the cumulative probabilities C(s):</p>
        <p>C(first symbol) ← 0</p>
        <p>For each subsequent symbol s:</p>
        <p>C(s) ← C(previous symbol) + P (previous symbol)</p>
        <p>3. Compute the lower bound L<sub>M</sub>:</p>
        <p>L<sub>M</sub> ← 0</p>
        <p>product ← 1</p>
        <p>For i from 1 to n:</p>
        <p>L<sub>M</sub> ← L<sub>M</sub> + product × C(m<sub>i</sub>)</p>
        <p>product ← product × P(m<sub>i</sub>)</p>
        <p>4. Calculate the upper bound H<sub>M</sub>:</p>
        <p>H<sub>M</sub> ← L<sub>M</sub> + product</p>
        <p>5. Choose the representative code(X):</p>
        <p>code(X) ← L<sub>M</sub> // lower bound</p>
        <p>// or</p>
        <p>code(X) ← (L<sub>M</sub> + H<sub>M</sub>) / 2 // average value</p>
        <p>6. Calculate the number of bits:</p>
        <p>P(X) ← product // P(X) = P(m<sub>1</sub>) × P(m<sub>2</sub>) × … × P(m<sub>n</sub>)</p>
        <p>bits ← floor( –log<sub>2</sub>(P(X)) ) + 1</p>
        <p>7. Return code(X) and bits</p>
        <p>4.2.2. Pseudo-Code for Decoding the Proposed Algorithm</p>
        <p>Input: code(X), message length n, tables P and C</p>
        <p>Output: Message M = m<sub>1</sub>m<sub>2</sub> … m<sub>n</sub></p>
        <p>1. Initialize:</p>
        <p> low ← 0</p>
        <p> high ← 1</p>
        <p> value ← code(X)</p>
        <p>2. For i from 1 to n, do:</p>
        <p> range ← high – low</p>
        <p> pos ← (value – low) / range</p>
        <p> // Find the symbol mi such that C(m<sub>i</sub>) ≤ pos &lt; C(m<sub>i</sub>) + P(m<sub>i</sub>)</p>
        <p> For each symbol s:</p>
        <p> if C(s) ≤ pos &lt; C(s) + P(s) then</p>
        <p> m<sub>i</sub> ← s</p>
        <p> exit the loop</p>
        <p> // Update the interval</p>
        <p> high ← low + range × (C(m<sub>i</sub>) + P(m<sub>i</sub>))</p>
        <p> low ← low + range × C(m<sub>i</sub>)</p>
        <p> // Add the decoded symbol</p>
        <p> M ← M + m<sub>i</sub></p>
        <p>3. Return the message M</p>
      </sec>
    </sec>
    <sec id="sec5">
      <title>5. Comparison of Conventional Arithmetic Coding and Improved Arithmetic Coding</title>
      <p>For the evaluation, let’s use the following metrics from [<xref ref-type="bibr" rid="B6">6</xref>]: compression ratio, average code length, and source entropy. And the following datasets:</p>
      <p>Data 0<bold>:</bold> aaaaaaaa</p>
      <p>Data 1: arararar</p>
      <p>Data 2: abcabcabcabc</p>
      <p>Data 3: abcdabcdabcdabcd</p>
      <p>Let’s consider variables such as the initial volume (IV), the compressed volume (CV), the compression ratio (CR) of our data, the average code length (<italic>L</italic>), and the source entropy (<italic>H</italic>).</p>
      <p><inline-formula><mml:math display="inline"><mml:mrow><mml:mtext> Compression ratio </mml:mtext><mml:mo> = </mml:mo><mml:mfrac><mml:mrow><mml:mtext> Initial Volume </mml:mtext><mml:mo> − </mml:mo><mml:mtext> Compressed Volume </mml:mtext></mml:mrow><mml:mrow><mml:mtext> Initial Volume </mml:mtext></mml:mrow></mml:mfrac></mml:mrow></mml:math></inline-formula><inline-formula><mml:math><mml:mrow><mml:mi> L </mml:mi><mml:mo> = </mml:mo><mml:mfrac><mml:mrow><mml:mtext> number of code bits </mml:mtext></mml:mrow><mml:mrow><mml:mtext> number of initial characters </mml:mtext></mml:mrow></mml:mfrac></mml:mrow></mml:math></inline-formula><inline-formula><mml:math display="inline"><mml:mrow><mml:mi> H </mml:mi><mml:mo> = </mml:mo><mml:mstyle displaystyle="true"><mml:msubsup><mml:mo> ∑ </mml:mo><mml:mrow><mml:mi> k </mml:mi><mml:mo> = </mml:mo><mml:mn> 1 </mml:mn></mml:mrow><mml:mi> N </mml:mi></mml:msubsup><mml:mrow><mml:msub><mml:mi> P </mml:mi><mml:mi> k </mml:mi></mml:msub><mml:msub><mml:mrow><mml:mi> log </mml:mi></mml:mrow><mml:mn> 2 </mml:mn></mml:msub><mml:mfrac><mml:mn> 1 </mml:mn><mml:mrow><mml:msub><mml:mi> P </mml:mi><mml:mi> k </mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mrow></mml:mstyle></mml:mrow></mml:math></inline-formula></p>
    </sec>
    <sec id="sec6">
      <title>6. Results</title>
      <sec id="sec6dot1">
        <title>6.1. Comparison of the Two Methods Using Encoding</title>
        <p><bold>Table 2</bold> and <bold>Table 3</bold> summarise the applications of the metrics in Section 5 and show a comparison based on encoding.</p>
      </sec>
      <sec id="sec6dot2">
        <title>6.2. Verification of the Proposed Method through Decoding</title>
        <p>We choose the following sequences: “abab” and “abba.” These must be assigned distinct representations and exact reconstructions. These strings share their first symbol and their symbol frequencies, which would allow us to verify that the method preserves the order of the symbols.</p>
        <p><bold>Table 2</bold><bold>.</bold> Traditional arithmetic coding.</p>
        <table-wrap id="tbl2">
          <label>Table 2</label>
          <table>
            <tbody>
              <tr>
                <td colspan="7">Traditional Arithmetic Coding</td>
              </tr>
              <tr>
                <td>SettingsData</td>
                <td>Data Code</td>
                <td>Initial Volume (bit)</td>
                <td>Final Volume (bit)</td>
                <td>Average Length code (bit/symbol)</td>
                <td>Source Entropy(bit/symbol)</td>
                <td>Compression ratio (%)</td>
              </tr>
              <tr>
                <td>Data 0</td>
                <td>aaaaaaaa</td>
                <td>64</td>
                <td>2</td>
                <td>2</td>
                <td>0</td>
                <td>87.87</td>
              </tr>
              <tr>
                <td>Data 1</td>
                <td>arararar</td>
                <td>64</td>
                <td>9</td>
                <td>4.5</td>
                <td>1</td>
                <td>85.94</td>
              </tr>
              <tr>
                <td>Data 2</td>
                <td>abcabcabcabc</td>
                <td>96</td>
                <td>21</td>
                <td>7</td>
                <td>1.583</td>
                <td>78.12</td>
              </tr>
              <tr>
                <td>Data 3</td>
                <td>abcdabcdabcdabcd</td>
                <td>128</td>
                <td>21</td>
                <td>5.25</td>
                <td>2</td>
                <td>83.59</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p><bold>Table 3</bold><bold>.</bold> Improved arithmetic encoding.</p>
        <table-wrap id="tbl3">
          <label>Table 3</label>
          <table>
            <tbody>
              <tr>
                <td colspan="7">Traditional Arithmetic Coding</td>
              </tr>
              <tr>
                <td>SettingsData</td>
                <td>Data Code</td>
                <td>Initial Volume (bit)</td>
                <td>Final Volume (bit)</td>
                <td>Average Length code (bit/symbol)</td>
                <td>Source Entropy(bit/symbol)</td>
                <td>Compression ratio (%)</td>
              </tr>
              <tr>
                <td>Data 0</td>
                <td>aaaaaaaa</td>
                <td>64</td>
                <td>2</td>
                <td>2</td>
                <td>0</td>
                <td>96.87</td>
              </tr>
              <tr>
                <td>Data 1</td>
                <td>arararar</td>
                <td>64</td>
                <td>4</td>
                <td>2</td>
                <td>1</td>
                <td>93.75</td>
              </tr>
              <tr>
                <td>Data 2</td>
                <td>abcabcabcabc</td>
                <td>96</td>
                <td>13</td>
                <td>4.33</td>
                <td>1.583</td>
                <td>86.45</td>
              </tr>
              <tr>
                <td>Data 3</td>
                <td>abcdabcdabcdabcd</td>
                <td>128</td>
                <td>9</td>
                <td>2.25</td>
                <td>2</td>
                <td>92.96</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>The encoding of “abab” yields a code word equal to 0.34375, and that of “abba” yields a code word equal to 0.40625.</p>
        <p>Starting with 0.34375 and applying the decoding procedure described above, we obtain exactly “abab.” The same is true for 0.40625, which yields “abba.” We can see that the decoding is reversible and the representations are distinct.</p>
        <p>However, it is important to specify the complete compressed representation, which goes beyond the simple estimate [−log<sub>2</sub>(<italic>P</italic>(<italic>X</italic>))] + 1. It is the complete binary output that allows the decoder to reconstruct the message independently. This output consists of three concatenated parts: header, probability model, and arithmetic code.</p>
        <p>HeaderNumber of distinct symbols (8-bit encoded)Exact length of message <italic>n</italic> (encoded as 16 bits or 32 bits)Probability model</p>
        <p>For each character in the alphabet (in a fixed order, such as lexicographical order):</p>
        <p>The symbol itself (if the alphabet is not known in advance)Its full frequency</p>
        <p>The decoder then recalculates:</p>
        <p><inline-formula><mml:math><mml:mrow><mml:mo></mml:mo><mml:mi> P </mml:mi><mml:mrow><mml:mo> ( </mml:mo><mml:mi> s </mml:mi><mml:mo> ) </mml:mo></mml:mrow><mml:mo> = </mml:mo><mml:mfrac><mml:mrow><mml:mtext> frequency </mml:mtext><mml:mrow><mml:mo> ( </mml:mo><mml:mi> s </mml:mi><mml:mo> ) </mml:mo></mml:mrow></mml:mrow><mml:mi> n </mml:mi></mml:mfrac></mml:mrow></mml:math></inline-formula> , <inline-formula><mml:math display="inline"><mml:mrow><mml:mi> C </mml:mi><mml:mrow><mml:mo> ( </mml:mo><mml:mi> s </mml:mi><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> = cumulative sum of the previous probabilities</p>
        <p>Arithmetic codeThe value code(<italic>x</italic>) (the mean of the interval [<italic>L</italic><italic><sub>M</sub></italic>, <italic>H</italic><italic><sub>M</sub></italic>]) or the lower bound)Encoded as <inline-formula><mml:math display="inline"><mml:mrow><mml:mi> k </mml:mi><mml:mo> = </mml:mo><mml:mrow><mml:mo> [ </mml:mo><mml:mrow><mml:mo> − </mml:mo><mml:msub><mml:mrow><mml:mi> log </mml:mi></mml:mrow><mml:mn> 2 </mml:mn></mml:msub><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mi> P </mml:mi><mml:mrow><mml:mo> ( </mml:mo><mml:mi> X </mml:mi><mml:mo> ) </mml:mo></mml:mrow></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow><mml:mo> ] </mml:mo></mml:mrow><mml:mo> + </mml:mo><mml:mn> 1 </mml:mn></mml:mrow></mml:math></inline-formula> bit</p>
        <p>The decoder obtains the information as follows in <bold>Table 4</bold><bold>:</bold></p>
        <p><bold>Table 4</bold><bold>.</bold> Information obtained by the decoder.</p>
        <table-wrap id="tbl4">
          <label>Table 4</label>
          <table>
            <tbody>
              <tr>
                <td>Information</td>
                <td>Source in the compressed stream</td>
              </tr>
              <tr>
                <td>Alphabet ∑</td>
                <td>List of symbols transmitted in the model</td>
              </tr>
              <tr>
                <td>Probability model</td>
                <td>
                  Frequency: calculation of
                  <italic>P</italic>
                  (
                  <italic>s</italic>
                  ) and
                  <italic>C</italic>
                  (
                  <italic>s</italic>
                  )
                </td>
              </tr>
              <tr>
                <td>
                  Message length
                  <italic>n</italic>
                </td>
                <td>Explicit field in the header</td>
              </tr>
              <tr>
                <td>End of message</td>
                <td>
                  Determined the value of
                  <italic>n</italic>
                </td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>Measuring the actual compressed size</p>
        <p>The total size (in bits) is<bold>:</bold></p>
        <p>Compressed size = header size + probability model size + <italic>k</italic> where <inline-formula><mml:math display="inline"><mml:mrow><mml:mi> k </mml:mi><mml:mo> = </mml:mo><mml:mrow><mml:mo> [ </mml:mo><mml:mrow><mml:mo> − </mml:mo><mml:msub><mml:mrow><mml:mi> log </mml:mi></mml:mrow><mml:mn> 2 </mml:mn></mml:msub><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mi> P </mml:mi><mml:mrow><mml:mo> ( </mml:mo><mml:mi> X </mml:mi><mml:mo> ) </mml:mo></mml:mrow></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow><mml:mo> ] </mml:mo></mml:mrow><mml:mo> + </mml:mo><mml:mn> 1 </mml:mn></mml:mrow></mml:math></inline-formula> . We no longer rely solely on the estimate <italic>k</italic>. We measure the actual size of the complete binary stream.</p>
        <p>Example using the word: banana (<italic>n</italic> = 6)Alphabet = {<italic>a</italic>, <italic>b</italic>, <italic>e</italic>, <italic>n</italic>}: 4 symbolesFrequencies: <italic>a</italic> (2), <italic>b</italic> (1), <italic>e</italic> (1), <italic>n</italic> (2)<italic>K</italic> = 11 bits (based on the exact probabilities)</p>
      </sec>
      <sec id="sec6dot3">
        <title>6.3. Comparing the Two Methods over Time</title>
        <p>We supplement the encoding and decoding codes for both methods with a built-in time-measurement function (similar to MATLAB<bold>’</bold>s ‘tic/toc’) along with the standard deviation, which measures the dispersion of execution times around the mean. To do this, we use the following hardware and environment:</p>
        <p>Computer: ASUS (model TUF Gaming F15)Processor: Intel Core i7-11800H @ 2.30 GHzRAM: 16 GB DDR4Operating System: Windows 11 (64-bit)MATLAB Version: R 2023bNumber of repetitions: 50 independent runs for each word and each methodMeasurement: total time, including probability estimation, cumulative sum calculation, and all preprocessing</p>
        <p>For a summary of the durations, see <bold>Table 5</bold>.</p>
        <p><bold>Table 5</bold><bold>.</bold> Summary of times (Mean ± Standard deviation).</p>
        <table-wrap id="tbl5">
          <label>Table 5</label>
          <table>
            <tbody>
              <tr>
                <td>Sequences</td>
                <td>Length</td>
                <td>Method</td>
                <td>Encoding Time (ms)</td>
                <td>Decoding Time (ms)</td>
              </tr>
              <tr>
                <td>Banana</td>
                <td>6</td>
                <td>Traditional</td>
                <td>0.182 ± 0.021</td>
                <td>0.215 ± 0.024</td>
              </tr>
              <tr>
                <td>Banana</td>
                <td>6</td>
                <td>Enhanced</td>
                <td>0.094 ± 0.012</td>
                <td>0.187 ± 0.019</td>
              </tr>
              <tr>
                <td>Commission</td>
                <td>10</td>
                <td>Traditional</td>
                <td>0.247 ± 0.028</td>
                <td>0.298 ± 0.031</td>
              </tr>
              <tr>
                <td>Commission</td>
                <td>10</td>
                <td>Enhanced</td>
                <td>0.113 ± 0.015</td>
                <td>0.241 ± 0.022</td>
              </tr>
              <tr>
                <td>Philosophy</td>
                <td>11</td>
                <td>Traditional</td>
                <td>0.261 ± 0.029</td>
                <td>0.312 ± 0.033</td>
              </tr>
              <tr>
                <td>Philosophy</td>
                <td>11</td>
                <td>Enhanced</td>
                <td>0.118 ± 0.014</td>
                <td>0.253 ± 0.025</td>
              </tr>
              <tr>
                <td>Computer Science</td>
                <td>12</td>
                <td>Traditional</td>
                <td>0.279 ± 0.032</td>
                <td>0.335 ± 0.036</td>
              </tr>
              <tr>
                <td>Computer Science</td>
                <td>12</td>
                <td>Enhanced</td>
                <td>0.124 ± 0.016</td>
                <td>0.268 ± 0.027</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>We note that the proposed method reduces the time required for encoding (by approximately 45% to 55%) and also for decoding compared to the traditional method.</p>
      </sec>
      <sec id="sec6dot4">
        <title>6.4. Strengthening the Evaluation of the Proposed Technique</title>
        <p>To make general statements about text compression, we will expand the evaluation of our algorithmic contribution using a named reference corpus. We have chosen the Canterbury Corpus, and the selected (text) files are as follows (see <bold>Table 6</bold>):</p>
        <p><bold>Table 6</bold><bold>.</bold> Selected (text) files from the canterbury corpus.</p>
        <table-wrap id="tbl6">
          <label>Table 6</label>
          <table>
            <tbody>
              <tr>
                <td>File</td>
                <td>Description</td>
                <td>Approximate size</td>
              </tr>
              <tr>
                <td>Alice29.txt</td>
                <td>Literary text</td>
                <td>152 ko</td>
              </tr>
              <tr>
                <td>Asyoulik.txt</td>
                <td>Play (Shakespeare)</td>
                <td>125 ko</td>
              </tr>
              <tr>
                <td>Lcet10.txt</td>
                <td>Technical text</td>
                <td>426 ko</td>
              </tr>
              <tr>
                <td>Plrabn12.txt</td>
                <td>Poetry (Paradise Lost)</td>
                <td>481 ko</td>
              </tr>
              <tr>
                <td>Grammar.lsp</td>
                <td>Lisp source code</td>
                <td>3.7 ko</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>Documented pretreatment</p>
        <p>For each file<bold>:</bold></p>
        <p>1) Read the file in text mode</p>
        <p>2) Convert to a sequence of symbols (characters)</p>
        <p>3) Calculate the empirical 0th-order frequencies across the entire file</p>
        <p>4) Construct the <italic>P</italic>(<italic>s</italic>) and <italic>C</italic>(<italic>s</italic>) tables</p>
        <p>5) No other actions or transformations (no filtering, character removal, or normalization)</p>
        <p>This extension allows us to evaluate our proposal using real, diverse text data not just repetitive synthetic strings.</p>
      </sec>
      <sec id="sec6dot5">
        <title>6.5. Explanation of the Numerical Reliability of the Proposed Technique</title>
        <p>It must be noted that the LM direct calculation and the calculation of the product <inline-formula><mml:math display="inline"><mml:mrow><mml:mi> P </mml:mi><mml:mrow><mml:mo> ( </mml:mo><mml:mi> x </mml:mi><mml:mo> ) </mml:mo></mml:mrow><mml:mo> = </mml:mo><mml:mstyle displaystyle="true"><mml:mo> ∏ </mml:mo><mml:mrow><mml:mi> P </mml:mi><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:msub><mml:mi> m </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:mstyle></mml:mrow></mml:math></inline-formula> are numerically unstable. In MATLAB double precision (double), the product rapidly underflows to 0 when the message length is a few dozen symbols, making the result unrecoverable. However, to manage finite precision and underflow, the MATLAB implementation uses arbitrary precision via the VPA (Variable Precision Arithmetic) function from the Symbolic Math Toolbox. This allows us to maintain a nonzero product and an interval [LM, HM[ that can be used even for long messages. However, there is a possible alternative. This involves working in the logarithmic domain <inline-formula><mml:math display="inline"><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mstyle displaystyle="true"><mml:mo> ∑ </mml:mo><mml:mrow><mml:mi> log </mml:mi><mml:mi> P </mml:mi><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:msub><mml:mi> m </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:mstyle></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> to completely avoid underflow while remaining in double precision. To do this, you must satisfy the supported input conditions (see <bold>Table 7</bold>).</p>
        <p>We can see that numerical errors are detected. These checks ensure that the results can be recovered and that all numerical degradation is explicitly reported.</p>
        <p><bold>Table 7</bold><bold>.</bold> Covered admission conditions.</p>
        <table-wrap id="tbl7">
          <label>Table 7</label>
          <table>
            <tbody>
              <tr>
                <td>Condition</td>
                <td>Supported</td>
                <td>Action</td>
              </tr>
              <tr>
                <td>Strictly positive probabilities</td>
                <td>Yes</td>
                <td>No</td>
              </tr>
              <tr>
                <td>Sum of probabilities = 1</td>
                <td>Yes</td>
                <td>Verified at input</td>
              </tr>
              <tr>
                <td>
                  Length
                  <italic>n</italic>
                  ≤ 30 (double)
                </td>
                <td>Yes</td>
                <td>No</td>
              </tr>
              <tr>
                <td>
                  Length
                  <italic>n</italic>
                  ˃ 30
                </td>
                <td>Yes</td>
                <td>Only with vpa</td>
              </tr>
              <tr>
                <td>Zero probability</td>
                <td>No</td>
                <td>Reject with error</td>
              </tr>
              <tr>
                <td>Empty message</td>
                <td>No</td>
                <td>Reject with error</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
      </sec>
    </sec>
    <sec id="sec7">
      <title>7. Discussion of Improved Arithmetic Coding</title>
      <p>The use of our technique for reducing interval calculations demonstrates an excellent balance between execution speed and compression ratio. Most importantly, this method allows us to bypass the traditional intermediate steps of arithmetic encoding, which saves time by avoiding successive calculations for each symbol. Furthermore, we observe that the compression ratios are significantly higher than in the conventional approach. They range from 86.45% to 96.87%, compared to 85.94% and 87.87% for traditional arithmetic coding.</p>
    </sec>
    <sec id="sec8">
      <title>8. Conclusions and Perspective</title>
      <p>This work has demonstrated that it is possible to overcome the main technological barrier to arithmetic coding: its computational slowness. The implemented applications show that this approach offers a particularly advantageous trade-off between execution speed and compression efficiency. By eliminating the successive intermediate calculations associated with the processing of each symbol, the method simplifies the coding process while improving overall performance. The results also confirm a significant increase in compression ratios compared to the conventional method. Thus, the proposed technique constitutes a relevant and effective alternative for optimizing compression systems based on arithmetic coding.</p>
      <p>Future work could focus on evaluating this technique on more diverse and larger datasets to confirm its robustness and generalizability. It would also be interesting to explore its integration into real-time compression systems or resource-constrained environments, where reducing computation time is a major challenge.Finally, further research could focus on combining this method with more advanced probabilistic models or adaptive compression techniques in order to further improve compression performance and the system<bold>’</bold>s overall efficiency.</p>
    </sec>
    <sec id="sec9">
      <title>Author Contributions</title>
      <p>We present this taxonomy of contributor roles in order to recognise authors’ individual contributions, minimise disputes regarding authorship, and facilitate collaboration.</p>
      <table-wrap id="tbl8">
        <label>Table 8</label>
        <table>
          <tbody>
            <tr>
              <td>
                <bold>Name of Author</bold>
              </td>
              <td>
                <bold>C</bold>
              </td>
              <td>
                <bold>M</bold>
              </td>
              <td>
                <bold>So</bold>
              </td>
              <td>
                <bold>Va</bold>
              </td>
              <td>
                <bold>Fo</bold>
              </td>
              <td>
                <bold>I</bold>
              </td>
              <td>
                <bold>R</bold>
              </td>
              <td>
                <bold>D</bold>
              </td>
              <td>
                <bold>O</bold>
              </td>
              <td>
                <bold>E</bold>
              </td>
              <td>
                <bold>Vi</bold>
              </td>
              <td>
                <bold>Su</bold>
              </td>
              <td>
                <bold>P</bold>
              </td>
              <td>
                <bold>Fu</bold>
              </td>
            </tr>
            <tr>
              <td>Namogo Silué</td>
              <td></td>
              <td></td>
              <td></td>
              <td></td>
              <td></td>
              <td></td>
              <td>
              </td>
              <td></td>
              <td></td>
              <td></td>
              <td>
              </td>
              <td>
              </td>
              <td></td>
              <td>
              </td>
            </tr>
            <tr>
              <td>Sié Ouattara</td>
              <td>
              </td>
              <td></td>
              <td>
              </td>
              <td>
              </td>
              <td>
              </td>
              <td></td>
              <td>
              </td>
              <td></td>
              <td></td>
              <td></td>
              <td></td>
              <td></td>
              <td>
              </td>
              <td>
              </td>
            </tr>
            <tr>
              <td>Mouhamadou Dosso</td>
              <td></td>
              <td>
              </td>
              <td></td>
              <td></td>
              <td>
              </td>
              <td>
              </td>
              <td></td>
              <td>
              </td>
              <td>
              </td>
              <td></td>
              <td></td>
              <td>
              </td>
              <td></td>
              <td></td>
            </tr>
            <tr>
              <td>Alain Clément</td>
              <td></td>
              <td>
              </td>
              <td></td>
              <td></td>
              <td>
              </td>
              <td>
              </td>
              <td></td>
              <td>
              </td>
              <td>
              </td>
              <td></td>
              <td></td>
              <td></td>
              <td></td>
              <td></td>
            </tr>
          </tbody>
        </table>
      </table-wrap>
      <p>C: Conceptualization; M: Methodology; So: Software; Vo: Validation; Fo: Formal analysis; I: Investigation; R: Resources; D: Data Curation; O: Writing—Original Draft; E: Writing—Review &amp; Editing; Vi: Visualization; Su: Supervision; P: Project administration; Fu: Funding acquisition.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <title>References</title>
      <ref id="B1">
        <label>1.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Hu, Y., Liu, Y. and Yang, Y. (2025) Adaptive Arithmetic Coding-Based Encoding Method toward High-Density DNA Storage. <italic>Journal of Computational Biology</italic>, 32, 298-315. https://doi.org/10.1089/cmb.2024.0697 <pub-id pub-id-type="doi">10.1089/cmb.2024.0697</pub-id><pub-id pub-id-type="pmid">39544175</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1089/cmb.2024.0697">https://doi.org/10.1089/cmb.2024.0697</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Hu, Y.</string-name>
              <string-name>Liu, Y.</string-name>
              <string-name>Yang, Y.</string-name>
            </person-group>
            <year>2025</year>
            <article-title>Adaptive Arithmetic Coding-Based Encoding Method toward High-Density DNA Storage</article-title>
            <source>Journal of Computational Biology</source>
            <volume>32</volume>
            <pub-id pub-id-type="doi">10.1089/cmb.2024.0697</pub-id>
            <pub-id pub-id-type="pmid">39544175</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B2">
        <label>2.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Hosseini, M. (2025) A Survey of Data Compression Algorithms and Their Applications. arXiv: 2506.10000. https://doi.org/10.48550/arXiv.2506.10000 <pub-id pub-id-type="doi">10.48550/arXiv.2506.10000</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.48550/arXiv.2506.10000">https://doi.org/10.48550/arXiv.2506.10000</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Hosseini, M.</string-name>
            </person-group>
            <year>2025</year>
            <article-title>A Survey of Data Compression Algorithms and Their Applications</article-title>
            <fpage>2506</fpage>
            <pub-id pub-id-type="doi">10.48550/arXiv.2506.10000</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B3">
        <label>3.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Khairi, N.A., Jambek, A.B. and Ismail, R.C. (2019) Performance Evaluation of Arithmetic Coding Data Compression for Internet of Things Applications. <italic>Indonesian Journal of Electrical Engineering and Computer Science</italic>, 13, 591-597. https://doi.org/10.11591/ijeecs.v13.i2.pp591-597 <pub-id pub-id-type="doi">10.11591/ijeecs.v13.i2.pp591-597</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.11591/ijeecs.v13.i2.pp591-597">https://doi.org/10.11591/ijeecs.v13.i2.pp591-597</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Khairi, N.A.</string-name>
              <string-name>Jambek, A.B.</string-name>
              <string-name>Ismail, R.C.</string-name>
            </person-group>
            <year>2019</year>
            <article-title>Performance Evaluation of Arithmetic Coding Data Compression for Internet of Things Applications</article-title>
            <source>Indonesian Journal of Electrical Engineering and Computer Science</source>
            <volume>13</volume>
            <pub-id pub-id-type="doi">10.11591/ijeecs.v13.i2.pp591-597</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B4">
        <label>4.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Tsai, C.H. (2026) Revisiting Data Compression with Language Modeling. arXiv: 2601.02875v1.</mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Tsai, C.H.</string-name>
            </person-group>
            <year>2026</year>
            <article-title>Revisiting Data Compression with Language Modeling</article-title>
            <fpage>2601</fpage>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B5">
        <label>5.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Duda, J. (2014) Asymmetric Numeral Systems: Entropy Coding Combining Speed of Human Coding with Compression Rate of Arithmetic Coding. arXiv: 1311.2540v2.</mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Duda, J.</string-name>
            </person-group>
            <year>2014</year>
            <article-title>Asymmetric Numeral Systems: Entropy Coding Combining Speed of Human Coding with Compression Rate of Arithmetic Coding</article-title>
            <fpage>1311</fpage>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B6">
        <label>6.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Silué, N., Ouattara, S., Dosso, M. and Clément, A. (2024) Quantitative Comparative Study of the Performance of Lossless Compression Methods Based on a Text Data Model. <italic>Open Journal of Applied Sciences</italic>, 14, 1944-1962. https://doi.org/10.4236/ojapps.2024.147127 <pub-id pub-id-type="doi">10.4236/ojapps.2024.147127</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.4236/ojapps.2024.147127">https://doi.org/10.4236/ojapps.2024.147127</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Ouattara, S.</string-name>
              <string-name>Dosso, M.</string-name>
            </person-group>
            <year>2024</year>
            <article-title>Quantitative Comparative Study of the Performance of Lossless Compression Methods Based on a Text Data Model</article-title>
            <source>Open Journal of Applied Sciences</source>
            <volume>14</volume>
            <pub-id pub-id-type="doi">10.4236/ojapps.2024.147127</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B7">
        <label>7.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Townsend, J., Bird, T. and Barber, D. (2019) Practical Lossless Compression with Latent Variables Using Bits Back Coding. arXiv: 1901.04866v1.</mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Townsend, J.</string-name>
              <string-name>Bird, T.</string-name>
              <string-name>Barber, D.</string-name>
            </person-group>
            <year>2019</year>
            <article-title>Practical Lossless Compression with Latent Variables Using Bits Back Coding</article-title>
            <fpage>1901</fpage>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B8">
        <label>8.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Hu, C. and Tang, J. (2026) A Model-Driven Lossless Compression Algorithm Resistant to Mismatch. arXiv: 2601.17684v1.</mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Hu, C.</string-name>
              <string-name>Tang, J.</string-name>
            </person-group>
            <year>2026</year>
            <article-title>A Model-Driven Lossless Compression Algorithm Resistant to Mismatch</article-title>
            <fpage>2601</fpage>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B9">
        <label>9.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Erdal, E. and Ergüzen, A. (2019) An Efficient Encoding Algorithm Using Local Path on Huffman Encoding Algorithm for Compression. <italic>Applied Sciences</italic>, 9, Article 782. https://doi.org/10.3390/app9040782 <pub-id pub-id-type="doi">10.3390/app9040782</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3390/app9040782">https://doi.org/10.3390/app9040782</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Erdal, E.</string-name>
            </person-group>
            <year>2019</year>
            <article-title>An Efficient Encoding Algorithm Using Local Path on Huffman Encoding Algorithm for Compression</article-title>
            <source>Applied Sciences</source>
            <volume>9</volume>
            <elocation-id>782</elocation-id>
            <pub-id pub-id-type="doi">10.3390/app9040782</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B10">
        <label>10.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Zabolotnii, S., Yarmilko, A., Rozlomii, I. and Mysiura, Y. (2022) Applying the Arithmetic Compression Method in Digital Speech Data Processing. CEUR Workshop Proceedings, Vol-3624: Selected Papers of the X International Scientific Conference “Information Technology and Implementation” (IT&amp;I-2023). <italic>Conference Proceedings</italic>, Kyiv, 20-21 November 2023, 170-179. https://doi.org/10.55056/ceur-ws.org/vol-3624/paper_15.pdf <pub-id pub-id-type="doi">10.55056/ceur-ws.org/vol-3624/paper_15.pdf</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.55056/ceur-ws.org/vol-3624/paper_15.pdf">https://doi.org/10.55056/ceur-ws.org/vol-3624/paper_15.pdf</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Zabolotnii, S.</string-name>
              <string-name>Yarmilko, A.</string-name>
              <string-name>Rozlomii, I.</string-name>
              <string-name>Mysiura, Y.</string-name>
              <string-name>Proceedings, V</string-name>
              <string-name>Proceedings, K</string-name>
            </person-group>
            <year>2022</year>
            <article-title>Applying the Arithmetic Compression Method in Digital Speech Data Processing</article-title>
            <source>CEUR Workshop Proceedings</source>
            <volume>20</volume>
            <pub-id pub-id-type="doi">10.55056/ceur-ws.org/vol-3624/paper_15.pdf</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B11">
        <label>11.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Upadhyay, V., Kokila, J. and Vaish, A. (2025) Optimized Arithmetic Coding for Efficient Data Compression in the Resource-Constrained Internet of Things(IoT). arXiv: 2508.08840.</mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Upadhyay, V.</string-name>
              <string-name>Kokila, J.</string-name>
              <string-name>Vaish, A.</string-name>
            </person-group>
            <year>2025</year>
            <article-title>Optimized Arithmetic Coding for Efficient Data Compression in the Resource-Constrained Internet of Things(IoT)</article-title>
            <fpage>2508</fpage>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B12">
        <label>12.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Jayasankar, U., Thirumal, V. and Ponnurangam, D. (2021) A Survey on Data Compression Techniques: From the Perspective of Data Quality, Coding Schemes, Data Type and Applications. <italic>Journal of King Saud University</italic>— <italic>Computer and Infor</italic><italic>mation Sciences</italic>, 33, 119-140. https://doi.org/10.1016/j.jksuci.2018.05.006 <pub-id pub-id-type="doi">10.1016/j.jksuci.2018.05.006</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.jksuci.2018.05.006">https://doi.org/10.1016/j.jksuci.2018.05.006</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Jayasankar, U.</string-name>
              <string-name>Thirumal, V.</string-name>
              <string-name>Ponnurangam, D.</string-name>
              <string-name>Quality, C</string-name>
              <string-name>Schemes, D</string-name>
            </person-group>
            <year>2021</year>
            <article-title>A Survey on Data Compression Techniques: From the Perspective of Data Quality, Coding Schemes, Data Type and Applications</article-title>
            <source>Journal of King Saud University—Computer and Information Sciences</source>
            <volume>33</volume>
            <pub-id pub-id-type="doi">10.1016/j.jksuci.2018.05.006</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B13">
        <label>13.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Guo, Z., Fu, J., Feng, R. and Chen, Z. (2021) Accelerate Neural Image Compression with Channel-Adaptive Arithmetic Coding. 2021 <italic>IEEE International Symposium on Circuits and Systems</italic> ( <italic>ISCAS</italic>), Daegu, 22-28 May 2021, 1-5. https://doi.org/10.1109/iscas51556.2021.9401277 <pub-id pub-id-type="doi">10.1109/iscas51556.2021.9401277</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/iscas51556.2021.9401277">https://doi.org/10.1109/iscas51556.2021.9401277</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Guo, Z.</string-name>
              <string-name>Fu, J.</string-name>
              <string-name>Feng, R.</string-name>
              <string-name>Chen, Z.</string-name>
            </person-group>
            <year>2021</year>
            <article-title>Accelerate Neural Image Compression with Channel-Adaptive Arithmetic Coding</article-title>
            <source>2021 IEEE International Symposium on Circuits and Systems (ISCAS)</source>
            <volume>22</volume>
            <pub-id pub-id-type="doi">10.1109/iscas51556.2021.9401277</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B14">
        <label>14.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">AbuSafiya, M. (2020) Text Compression Based on Letter’s Prefix in the Word. <italic>Computers, Materials &amp; Continua</italic>, 64, 17-30. https://doi.org/10.32604/cmc.2020.09282 <pub-id pub-id-type="doi">10.32604/cmc.2020.09282</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.32604/cmc.2020.09282">https://doi.org/10.32604/cmc.2020.09282</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>AbuSafiya, M.</string-name>
              <string-name>Computers, M</string-name>
            </person-group>
            <year>2020</year>
            <article-title>Text Compression Based on Letter’s Prefix in the Word</article-title>
            <source>Computers</source>
            <volume>64</volume>
            <pub-id pub-id-type="doi">10.32604/cmc.2020.09282</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B15">
        <label>15.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Chevion, D., Karnin, E.D. and Walach, E. (1991) High Efficiency, Multiplication Free Approximation of Arithmetic Coding. <italic>Proceedings of the IEEE Data Compression Conference, DCC</italic>1991, Snowbird, 8-11 April 1991, 43-52.</mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Chevion, D.</string-name>
              <string-name>Karnin, E.D.</string-name>
              <string-name>Walach, E.</string-name>
              <string-name>Efficiency, M</string-name>
              <string-name>Conference, D</string-name>
            </person-group>
            <year>1991</year>
            <article-title>High Efficiency, Multiplication Free Approximation of Arithmetic Coding</article-title>
            <source>Proceedings of the IEEE Data Compression Conference</source>
            <volume>8</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B16">
        <label>16.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Howard, P.G. and Vitter, J.S. (1993) Design and Analysis of Fast Text Compression Based on Quasi-Arithmetic Coding. [ <italic>Proceedings</italic>] <italic>DCC</italic>’93: <italic>Data Compression Conference</italic>, Snowbird, March 30-1 April 1993, 98-107. https://doi.org/10.1109/dcc.1993.253140 <pub-id pub-id-type="doi">10.1109/dcc.1993.253140</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/dcc.1993.253140">https://doi.org/10.1109/dcc.1993.253140</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Howard, P.G.</string-name>
              <string-name>Vitter, J.S.</string-name>
              <string-name>Conference, S</string-name>
            </person-group>
            <year>1993</year>
            <article-title>Design and Analysis of Fast Text Compression Based on Quasi-Arithmetic Coding</article-title>
            <source>[Proceedings] DCC’93: Data Compression Conference</source>
            <volume>98</volume>
            <pub-id pub-id-type="doi">10.1109/dcc.1993.253140</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B17">
        <label>17.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Steinruecken, C., Ghahramani, Z. and MacKay, D. (2015) Improving PPM with Dynamic Parameter Updates. 2015 <italic>Data Compression Conference</italic>, Snowbird, 7-9 April 2015, 193-202. https://doi.org/10.1109/dcc.2015.77 <pub-id pub-id-type="doi">10.1109/dcc.2015.77</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/dcc.2015.77">https://doi.org/10.1109/dcc.2015.77</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Steinruecken, C.</string-name>
              <string-name>Ghahramani, Z.</string-name>
              <string-name>MacKay, D.</string-name>
              <string-name>Conference, S</string-name>
            </person-group>
            <year>2015</year>
            <article-title>Improving PPM with Dynamic Parameter Updates</article-title>
            <source>2015 Data Compression Conference</source>
            <volume>7</volume>
            <pub-id pub-id-type="doi">10.1109/dcc.2015.77</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B18">
        <label>18.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Karwowski, D. and Domański, M. (2016) Context-Adaptive Binary Arithmetic Coding with Precise Probability Estimation and Complexity Scalability for High-Efficiency Video Coding. <italic>Journal of Electronic Imaging</italic>, 25, 1-16. https://doi.org/10.1117/1.jei.25.1.013010 <pub-id pub-id-type="doi">10.1117/1.jei.25.1.013010</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1117/1.jei.25.1.013010">https://doi.org/10.1117/1.jei.25.1.013010</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Karwowski, D.</string-name>
            </person-group>
            <year>2016</year>
            <article-title>Context-Adaptive Binary Arithmetic Coding with Precise Probability Estimation and Complexity Scalability for High-Efficiency Video Coding</article-title>
            <source>Journal of Electronic Imaging</source>
            <volume>25</volume>
            <pub-id pub-id-type="doi">10.1117/1.jei.25.1.013010</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B19">
        <label>19.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Dubé, D. and Yokoo, H. (2019) Fast Construction of Almost Optimal Symbol Distributions for Asymmetric Numeral Systems. 2019 <italic>IEEE International Symposium on Information Theory</italic>( <italic>ISIT</italic>), Paris, 7-12 July 2019, 1682-1686. https://doi.org/10.1109/isit.2019.8849430 <pub-id pub-id-type="doi">10.1109/isit.2019.8849430</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/isit.2019.8849430">https://doi.org/10.1109/isit.2019.8849430</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Yokoo, H.</string-name>
            </person-group>
            <year>2019</year>
            <article-title>Fast Construction of Almost Optimal Symbol Distributions for Asymmetric Numeral Systems</article-title>
            <source>2019 IEEE International Symposium on Information Theory (ISIT)</source>
            <volume>7</volume>
            <pub-id pub-id-type="doi">10.1109/isit.2019.8849430</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B20">
        <label>20.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Najmabadi, S.M., Wang, Z., Baroud, Y. and Simon, S. (2015). High Throughput Hardware Architectures for Asymmetric Numeral Systems Entropy Coding. 2015 9 <italic>th International Symposium on Image and Signal Processing and Analysis</italic> ( <italic>ISPA</italic>), Zagreb, 7-9 September 2015, 256-259. https://doi.org/10.1109/ispa.2015.7306068 <pub-id pub-id-type="doi">10.1109/ispa.2015.7306068</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/ispa.2015.7306068">https://doi.org/10.1109/ispa.2015.7306068</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Najmabadi, S.M.</string-name>
              <string-name>Wang, Z.</string-name>
              <string-name>Baroud, Y.</string-name>
              <string-name>Simon, S.</string-name>
            </person-group>
            <year>2015</year>
            <pub-id pub-id-type="doi">10.1109/ispa.2015.7306068</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
    </ref-list>
  </back>
</article>