arXiv:2608.14494cs.ITAug 2026

Manuscript Offprint

arXiv:2608.14494

Lossy Compression via Sparse Regression Codes: Generalized Construction and Finite-length Bounds

Galen Reeves, Ramji Venkataramanan

Abstract

We study sparse regression codes (SPARCs) for lossy compression under simple greedy encoding rules, including both correlation-based and distance-based methods. We generalize the SPARC construction, and consider the class of additive orthogonal regression codes, of which standard SPARCs are a special case. For this class of codes, we derive nonasymptotic bounds on the squared-error distortion by tracking the evolution of the encoding residual across stages. Our results highlight the role of power allocation in controlling the distortion, allowing us to optimize the allocation based on the parameters of the code. The optimized allocation improves the finite-length compression performance of SPARCs, and our bounds provide distortion guarantees for lower complexity variants of SPARCs, like signed SPARCs and KK-sparse SPARCs.

I Introduction

We consider efficient lossy compression under the squared error distortion criterion using sparse regression codes (SPARCs). SPARCs were proposed by Barron and Joseph [1] for communication over additive white Gaussian noise channels, and have been proven to asymptotically achieve the channel capacity with various efficient decoders [2, 3, 4, 5]. For lossy compression, SPARCs have been shown to asymptotically achieve the optimal distortion-rate tradeoff for an i.i.d. Gaussian source with a simple successive cancellation encoder [6, 7]. Moreover, with optimal (minimum-distance) encoding, they also achieve the optimal excess-distortion exponent [8]. Despite these attractive asymptotic properties, at finite block-lengths there is a significant gap between the empirical distortion achieved by SPARCs with successive cancellation encoding and the optimal distortion-rate tradeoff [7]. We recall that for an i.i.d. Gaussian source with variance σ2\sigma^{2}, the optimal distortion-rate function at rate RR nats/sample is D∗(R)=σ2e−2RD^{*}(R)=\sigma^{2}e^{-2R} [9]. Wu et al. [10] proposed an iterative soft-decision encoder for SPARCs based on Approximate Message Passing (AMP) with improved empirical performance at finite lengths (compared to successive cancellation), but there are no theoretical guarantees on the achievable distortion.

Before outlining our contributions, we describe the general structure of a regression code, of which the sparse regression code is a special case. A regression code has a codebook of the form

{Aβ∈Rn∣β∈B},\displaystyle\{A\beta\in\mathbb{R}^{n}\mid\beta\in\mathcal{B}\},

where A∈Rn×NA\in\mathbb{R}^{n\times N} is a design matrix (typically chosen to have i.i.d. Gaussian entries), and B⊂RN\mathcal{B}\subset\mathbb{R}^{N} is a set of structured coefficient vectors. Here nn is the code length, and the rate of the code is \frac{\log\mathopen{}\mathclose{{\left\lvert\mathcal{B}}}\right\rvert}{n}, where \mathopen{}\mathclose{{\left\lvert\mathcal{B}}}\right\rvert denotes the cardinality of B\mathcal{B}. Unless otherwise mentioned, we use natural logarithms and measure rate in nats.

The representation in (1) separates the roles of the code components: the structure of B\mathcal{B} enables computationally efficient encoding and decoding, while the design matrix AA imparts favorable geometric properties to the codebook. In particular, when AA has i.i.d. Gaussian entries and B\mathcal{B} is a suitably chosen set of sparse vectors, the resulting codewords are approximately isotropic, and the codebook behaves like a random ℓ2\ell_{2}-covering of Rn\mathbb{R}^{n}. As a result, sparse regression codes are well-suited for both Gaussian source coding and channel coding problems. In the context of channel coding, the partitioned structure of the SPARC codebook facilitates combining them with standard outer codes [11, 12], and also makes it adaptable to multi-user Gaussian channels [13, 14, 15, 16, 17].

Fig. 1: Structure of a standard SPARC. Codewords are of the form AβA\beta, where β∈RML\beta\in\mathbb{R}^{ML} has exactly one nonzero component in each of its LL sections.

In the standard sparse regression construction [1, 2, 7], the set B\mathcal{B} consists of sparse vectors β\beta, each with LL sections and exactly one non-zero per section. As shown in Fig. 1, we write N=MLN=ML, so that each section has MM columns. The value of the nonzero component in section l∈[L]l\in[L] is denoted clc_{l}. These values {cl}l∈[L]\{c_{l}\}_{l\in[L]} are fixed beforehand and known to both the encoder and the decoder. Since there are MM choices for the location of the nonzero in each of the LL sections, the number of codewords is MLM^{L} and the rate is Llog⁡Mn\frac{L\log M}{n}.

In this paper, we revisit sparse regression codes with successive cancellation (greedy) encoding. We study a general class of additive orthogonal regression codes, of which SPARC is a special case. We characterize the performance under both correlation-based and distance-based greedy encoding rules, via deterministic predictions and nonasymptotic bounds on the distortion achieved with each of these methods. These predictions allow us to optimize the non-zero coefficients defining the code based on the finite-length parameters of the code. (Borrowing terminology from channel coding, we call the choice of non-zero coefficients the “power allocation".)Our results show how the original SPARC construction can be generalized to improve finite-length performance, while maintaining the simplicity of greedy encoding.

The rest of the paper is organized as follows. Section II introduces additive orthogonal regression codes and the two greedy encoding rules. Section III presents our main concentration and distortion-prediction results, together with the optimized power allocations for both encoding rules. Section IV reports numerical experiments validating the predictions, and Section V discusses the implications and directions for future work.