Introduction
Universal lossless data compression is a cornerstone of information theory, focusing on algorithms capable of optimal data reduction without prior knowledge of a source's statistical properties. While traditional methods like Lempel-Ziv rely on string matching and dictionary building, this paper explores an unconventional intersection between logic synthesis and source coding. By treating a binary data string as the truth table of a Boolean function, the authors utilize Reduced Ordered Binary Decision Diagrams (ROBDDs) to achieve universal compression.
Mapping Data to Logic
The fundamental insight of this approach is the interpretation of a binary sequence of length $n = 2^k$ as a Boolean function $f: \{0,1\}^k \to \{0,1\}$. In this framework, the $i$-th bit of the string corresponds to the output of the function for the $i$-th input combination in lexicographical order.
To represent this function efficiently, the authors employ the Reduced Ordered Binary Decision Diagram (ROBDD). An ROBDD is a directed acyclic graph (DAG) that represents a Boolean function by merging isomorphic subgraphs and eliminating redundant nodes. This structure inherently captures repetitive patterns within the data string: if two segments of the string are identical, they will be represented by the same subgraph in the ROBDD, leading to significant structural compression.
The Encoding Algorithm
The proposed compression scheme involves a multi-step process to transform the graph structure into a compact binary codeword:
- Graph Construction: The binary string is converted into its unique ROBDD representation based on a fixed variable ordering.
- Canonical Ordering: To ensure the decoder can reconstruct the graph, the encoder establishes a strict, reproducible ordering of the graph's vertices. This is achieved through a level-by-level traversal from the root node down to the terminal nodes (0 and 1).
- Sequence Generation: The graph's topology is described through a series of sequences ($S_1, S_2, \dots, S_{k+1}$). These sequences detail the edges connecting vertices at level $i$ to those at level $i+1$.
- Vertex Categorization: Transitions are classified into two types: "Type I" (edges pointing to a previously encountered node) and "Type II" (edges pointing to a newly discovered node).
- Entropy Coding: Rather than storing raw sequences, the encoder applies empirical entropy coding to the transition data. By leveraging the frequency of different vertex connections, the algorithm produces a final compressed bitstream.
Theoretical Results and Universality
The primary contribution of the paper is the mathematical proof that this graph-based approach constitutes a universal source code. The authors leverage the Liaw-Lin theorem, which bounds the number of vertices in an ROBDD for $k$ variables at approximately $O(2^k/k)$. Since the number of vertices grows sub-linearly relative to the string length $n = 2^k$, the graph representation offers a path to compression.
The authors derive a tight upper bound on the maximal pointwise redundancy per sample. For a binary string of length $n$ generated by any $s$-state binary information source, the redundancy $R_n$ is bounded by:
$$ R_n \leq \frac{4 \log_2 s + 16 + o(1)}{\log_2 n} $$
As $n \to \infty$, the redundancy approaches zero, satisfying the condition for a universal code. This result demonstrates that the structural complexity of an ROBDD effectively mirrors the information-theoretic entropy of the underlying data source.
Limitations and Future Directions
While theoretically robust, the method faces practical challenges. The current formulation requires the input length $n$ to be a power of two, necessitating padding or segmentation for general use. Furthermore, the paper remains purely theoretical; while it establishes asymptotic optimality, it does not provide empirical comparisons against established standards such as LZ77 (gzip) or the Burrows-Wheeler Transform (bzip2).
Future research may involve implementing the algorithm using existing logic synthesis software packages to evaluate its performance on real-world datasets, focusing on computational overhead and compression ratios relative to state-of-the-art dictionary-based and statistical compressors.
Summary updated