Skip to main content
QUICK REVIEW

[Paper Review] Text Compression using Abstract Numeration System on a Regular Language

Ryoma Sin’ya|arXiv (Cornell University)|Aug 1, 2013
semigroups and automata theoryComputer Science9 references5 citations
TL;DR

This paper proposes a novel text compression method based on Abstract Numeration Systems (ANS) over regular languages, leveraging base conversion between languages to achieve sublinear-time compression. The key contribution is a theoretically sound framework that computes average compression ratios and enables block-based compression without sacrificing ratio, using factorial languages for optimal performance.

ABSTRACT

An abstract numeration system (ANS) is a numeration system that provides a one-to-one correspondence between the natural numbers and a regular language. In this paper, we define an ANS-based compression as an extension of this correspondence. In addition, we show the following results: 1) an average compression ratio is computable from a language, 2) an ANS-based compression runs in sublinear time with respect to the length of the input string, and 3) an ANS-based compression can be extended to block-based compression using a factorial language.

Motivation & Objective

  • To develop a compression framework using Abstract Numeration Systems (ANS) on regular languages.
  • To analyze the computational complexity of ANS primitives such as representation and valuation functions.
  • To derive a computable formula for the average compression ratio of ANS-based compression.
  • To design a block-based compression method that maintains high compression efficiency using factorial languages.
  • To demonstrate that block-based compression preserves the compression ratio for sufficiently large block sizes.

Proposed method

  • The method uses a one-to-one correspondence between natural numbers and strings in a regular language via an Abstract Numeration System (ANS).
  • It defines base conversion between two regular languages using automaton-based matrix representations and adjacency matrices.
  • The representation function rep_S maps natural numbers to strings in a regular language L, while the valuation function val_S maps strings back to numbers.
  • The compression process converts input strings into numerical representations using rep_S, then encodes them via base conversion to a target language L'.
  • For block-based compression, the input is partitioned into fixed-length blocks, each converted using a factorial language derived from the original language to preserve ordering and compression efficiency.
  • Lengths of compressed blocks are encoded using logarithmic description, with the total overhead becoming negligible for large block sizes.

Experimental results

Research questions

  • RQ1Can the average compression ratio of ANS-based compression be computed from the structure of the underlying regular language?
  • RQ2What is the time complexity of the core ANS operations (rep_S and val_S) in terms of input length?
  • RQ3Can block-based compression be designed such that it maintains the same compression ratio as single-string compression?
  • RQ4How does the use of factorial languages affect the compression efficiency and block-level encoding overhead?
  • RQ5Under what conditions does the overhead of encoding block lengths become negligible in block-based ANS compression?

Key findings

  • The average compression ratio of ANS-based compression is computable from the regular language's structure, as formalized in Theorem 4.1.
  • The ANS-based compression algorithm runs in sublinear time with respect to the input string length, as shown in Table 1.
  • The block-based compression method using factorial languages maintains the same compression ratio as single-string compression when the block size is sufficiently large, as proven in Theorem 5.1.
  • The encoding overhead for block lengths is logarithmic in the maximum block length and becomes negligible for large block sizes, ensuring no reduction in overall compression efficiency.
  • The compression framework is formally grounded in automaton theory, using matrix representations of unambiguous finite automata (UFA) to compute counting functions and support base conversion.
  • An open-source implementation of the ANS-based compression library is publicly available for verification and extension.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.