Academia.eduAcademia.edu

Performance Analysis of Grammar-Based Codes Revisited

2004, IEEE Transactions on Information Theory

Abstract

The compression performance of grammar-based codes is revisited from a new perspective. Previously, the compression performance of grammar-based codes was evaluated against that of the best arithmetic coding algorithm with finite contexts. In this correspondence, we first define semifinite-state sources and finite-order semi-Markov sources. Based on the definitions of semifinite-state sources and finite-order semi-Markov sources, and the idea of run-length encoding (RLE), we then extend traditional RLE algorithms to context-based RLE algorithms: RLE algorithms with contexts and RLE algorithms of order , where is a nonnegative integer. For each individual sequence , let () and () be the best compression rate given by RLE algorithms with contexts and by RLE algorithms of order , respectively. It is proved that for any , is no greater than the best compression rate among all arithmetic coding algorithms with contexts. Furthermore, it is shown that there exist stationary, ergodic semi-Markov sources for which the best RLE algorithms without any context outperform the best arithmetic coding algorithms with any finite number of contexts. Finally, we show that the worst case redundancies of grammar-based codes against () and () among all lengthindividual sequences from a finite alphabet are upper-bounded by log log log and log log log , respectively, where and are constants. This redundancy result is stronger than all previous corresponding results.