arXiv:2608.24355cs.ITAug 2026

Manuscript Offprint

arXiv:2608.24355

Universal Random Coding for Successive Refinement of Individual Sequences Based on Lempel-Ziv Complexity

Neri Merhav

Abstract

This work extends an earlier proposed universal random-coding ensemble for sample-wise lossy compression of individual sequences to the two-stage (successive-refinement) setting — an extension that is not quite straightforward, as explained in the sequel. The construction has three layers. First, a complete, self-contained direct/converse match in the language of type classes and typical sequences, a two-stage analogue of Rimoldi's classical characterization (applied in the superalphabet of blocks). Second, a realization of the same rates via a random-coding scheme built from the Lempel–Ziv (LZ78) complexity rather than the type-class uniform measure the first layer relies on, since an LZ-based ensemble is universal across source statistics and distortion measures, carries no block-length parameter in the codebook itself, and is directly implementable. Third, we give a fully type-free achievability construction (no joint types of ℓ\ell-vectors appear anywhere in its search criterion) and show it matches the same converse exactly, reaching every point of the achievable region: the same converse from the first layer already binds any code, type-free schemes included, so no separate argument is needed to certify the match. We also describe (without proof) how to extend the type-free construction to any fixed number r>2r > 2 of stages. Finally, we show this paper's achievable region is a superset of the one obtained by a companion paper, which is based on a finite-state modeling approach to a similar two-stage problem, extending a known single-stage domination result to two stages.

1 Introduction

This paper is about compressing an arbitrary individual (deterministic) sequence of data progressively, in two stages: a first, coarse description that satisfies a prescribed distortion level D1D_{1}, followed by a second description that adds refinement, held to its own prescribed level D2D_{2} — possibly under a different distortion measure than the first stage's, as detailed in Section 2. This kind of progressive compression is natural whenever a receiver may need to stop listening relatively early (imagine a picture that is first shown in low resolution and then progressively sharpened) and the question this paper addresses is how to do it well, and how to know when a given scheme is already as good as possible.

A recent paper [1] addressed the single-stage version of this problem: how to compress a single fixed sequence, in one shot, as well as possible, without knowing anything about its statistics in advance. The scheme it proposed is based on universal random coding: each candidate reproduction codeword x^\hat{x} is drawn independently at random, using a universal probability distribution proportional to 2−LZ(x^)2^{-LZ(\hat{x})}, where LZ(⋅)LZ(\cdot) is the Lempel–Ziv (LZ78) codelength [2] and the index of the first candidate accurate enough is transmitted; it was shown that no coding scheme can do substantially better than this, for the given sequence. The aim of the present paper is to extend the same random-coding approach to progressive compression with two stages, and to show that the resulting scheme is, again, essentially as good as any two-stage scheme could be; this two-stage case is this paper’s actual content, developed in three stages throughout: first entirely in the language of type classes (Section 3), second — via a random-coding scheme built from LZ78 complexity (Section 4), and third — separately, via a fully type-free construction matching the same converse (Sections 4.2–4.3). Finally, Section 5 gives a description (without a full proof) of how the type-free mechanism extends to a general fixed number r>2r > 2 of stages. A companion paper [3] studies a similar two-stage compression problem of individual sequences, but via a different paradigm: a finite-state lossless encoder fed by a vector quantizer. The present paper stays within the random-coding approach of [1] instead, and we show (Section 1.3) that this paper’s achievable region is a superset of [3]'s, extending [1]'s own single-stage domination of any finite-state scheme to two stages.

Extending the lossy compression scheme of [1] into two stages might sound routine once the single-stage version is settled, but it is not — not because successive refinement itself harbors any new subtlety (it does not: both difficulties below already appear in Rimoldi's own, classical characterization), but because transplanting them to the individual-sequence, universal setting [1]'s own framework operates in takes real work — work that a further ambition, avoiding any commitment to a type in the search criterion, makes harder still.

The first is on the achievability side: the coarse description x^1\hat{x}_{1} must also serve as good side information for the second stage, not merely satisfy the D1D_{1} constraint. Rimoldi's own fix — commit

Stage 1's search to the needed joint behavior, not mere distortion-feasibility — transplants with new vocabulary: type in place of law, the universal LZ measure in place of a type-class-uniform one (Section 4.1). A fully type-free construction, though, cannot commit to anything in advance, and needs a different device: a criterion built from the actual rate a candidate induces, not from any type it belongs to (Section 4.2).

The second, deeper and less obvious, is on the converse side. At a single stage, there is one achievable rate and one converse binding every code at once; at two stages, the region is a union over many pieces, one per type of joint behavior — already Rimoldi's own structure. There, concentration ties a successful code to a single auxiliary law, so a converse proved at that law already binds it; with an individual sequence and an arbitrary code, no such concentration exists, so a converse proved at just one type leaves a real gap. Section 3 closes it by checking every type at once — needed only once type-freedom is on the table, since a code committed to one type (Theorems 3 and 4) is already bound by that single check.

References (26)