Lossy Compression via Sparse Linear Regression: Computationally Efficient Encoding and Decoding

Ramji Venkataramanan, Tuhin Sarkar, Sekhar Tatikonda

Abstract

This paper introduces a computationally efficient framework for lossy compression based on Sparse Regression Codes (SPARCs). By utilizing a structured design matrix and a greedy sequential encoding algorithm, the proposed method achieves the Shannon rate-distortion limit for Gaussian sources while maintaining polynomial complexity. The approach treats compression as a successive refinement process, demonstrating both theoretical optimality and practical robustness across different source distributions.

Introduction

Shannon’s source coding theorem establishes the fundamental limit for representing a source with a given level of distortion. While random codebooks are known to achieve this limit, their practical implementation is hindered by exponential growth in memory and search time relative to block length $n$. The central challenge in information theory is to design codes that are structured enough for efficient storage and search, yet sufficiently "random" to approach the Shannon limit. This paper addresses this by adapting SPARCs, originally designed for channel coding, to the lossy compression problem.

Sparse Regression Codes and Greedy Encoding

The core of the proposed system is a structured codebook defined by a large design matrix $A$.

Structure of the design matrix A and the sparse coefficient vector beta in a SPARC.

As shown in Figure 1, the matrix $A$ of size $n \times ML$ is partitioned into $L$ sections, each containing $M$ columns. A codeword is represented as $A\beta$, where $\beta$ is a sparse vector with exactly one non-zero entry in each of the $L$ sections.

The encoding process employs a Greedy Sequential Encoding strategy:

  1. Initialization: Start with the original source signal as the initial "residue."
  2. Iterative Selection: In each stage $i \in \{1, \dots, L\}$, the encoder identifies the column in section $i$ of matrix $A$ that is most highly correlated with the current residue.
  3. Update: The residue is updated by subtracting the contribution of the selected column, and the process moves to the next section.
  4. Decoding: The decoder receives the indices of the $L$ chosen columns and reconstructs the signal by summing the corresponding weighted columns from the dictionary. This operation is extremely fast, with $O(1)$ per-sample complexity.

Theoretical Insights

The paper provides several key theoretical guarantees for the SPARC-based compressor:

  • Optimality: The greedy algorithm provably attains the Shannon rate-distortion limit for i.i.d. Gaussian sources as $n \to \infty$.
  • Exponential Decay: The probability that the achieved distortion exceeds the target level decays exponentially with the block length $n$, a faster convergence rate than many existing efficient schemes.
  • Universal Robustness: Remarkably, the Gaussian-optimized encoder is robust; for any ergodic source with a given variance, it achieves a distortion no worse than the optimal Gaussian rate-distortion function.

Performance Evaluation

The empirical performance of the SPARC encoder was evaluated through simulations on Gaussian sources with varying block lengths and rates.

Distortion vs. Rate performance of SPARCs compared to the Shannon limit D*(R) and entropy-coded scalar quantization (SQ).

Figure 4 illustrates the distortion-rate trade-off. The SPARC encoder (plotted for different parameters $b$) performs very close to the theoretical Shannon limit $D^*(R)$. Notably, in the low-to-moderate rate regimes, it significantly outperforms standard techniques such as Entropy-Coded Scalar Quantization (EC-SQ). The gap to optimality is mathematically shown to be on the order of $\frac{\log \log n}{\log n}$, indicating clear paths for improvement as computational capacity allows for larger $n$.

Conclusion and Future Work

This work demonstrates that a simple greedy search over a structured dictionary can achieve optimal lossy compression performance with feasible complexity. While the current implementation is highly effective, future research could explore "look-ahead" strategies or $l_1$-optimization to further narrow the gap to the Shannon limit. Additionally, refining the dictionary design for high-rate regimes remains an open area for enhancing the versatility of SPARCs in practical compression applications.

Summary updated

BibTeX
@inproceedings{venkataramanan2013lossy,
  author = {Ramji Venkataramanan and Tuhin Sarkar and Sekhar Tatikonda},
  title = {{Lossy Compression via Sparse Linear Regression: Computationally Efficient Encoding and Decoding}},
  booktitle = {ISIT},
  year = {2013},
  doi = {10.1109/isit.2013.6620413},
}
Figure