Parallel Decoding as Information Partitioning: Measuring and Minimizing What a Codec Loses When It Decodes in Parallel

Learned image codecs compress an image into a grid of numbers (the "latents") and store them with an arithmetic coder. The coder needs a probability model for each latent. The best models predict each latent from the ones already decoded, which forces the decoder to work one symbol at a time. The usual fixes decode large groups at once: a two-pass checkerboard, or a few sequential slices of channels. Each group is then coded as if its members were independent of one another. This note argues that the bits lost to parallelism have an exact name. They are the information destroyed by cutting the latent grid into independently coded parts, which is precisely what integrated-information measures in complexity science are built to quantify. A decoding schedule is a partition, and its bitrate cost is the multi-information (total correlation) inside each co-decoded group.

This reframing makes three things possible that current practice lacks. We can audit any schedule by estimating its information cost directly from latents, using model-free nearest-neighbor estimators. We can separate that cost from the separate cost of a poorly chosen probability family, such as one Gaussian instead of a mixture. And we can choose content-adaptive schedules that put strongly interdependent latents in different passes instead of relying on a fixed geometric lattice. The central empirical question is simple. Is a latent's dependence on its neighbors a better guide to scheduling than its uncertainty? Uncertainty is the signal that a simple heuristic would use.

Core Claim

Let $y$ be the quantized latent grid and $z$ the hyperprior, a small side-information code decoded first. A schedule splits latent positions into groups $G_1,\dots,G_T$ that are decoded in order. Each element of group $G_t$ is coded conditioned only on $z$ and on the earlier groups $G_{<t}$. The best achievable expected rate for such a schedule is then

$$R(G_{1:T}) = H(y \mid z) + \sum_{t=1}^{T} \mathrm{TC}\big(y_{G_t} \mid y_{G_{<t}}, z\big),$$

where $H(y\mid z)$ is the rate of a fully serial ideal model, and $\mathrm{TC}(y_A \mid B) = \sum_{i\in A} H(y_i\mid B) - H(y_A\mid B)$ is the conditional total correlation of the group. Total correlation is the information shared among group members that a factorized model cannot use. The identity follows directly from the chain rule. The consequence is that choosing a parallel schedule is a constrained minimum-information-partition problem, the same search that defines $\Phi$ in integrated information theory. Here the partition must respect a decoding order, and it is limited to $T$ passes.

A trained codec's realized rate adds a third term, the expected KL divergence between the true conditional and the parametric family used, such as a Gaussian or a discretized Gaussian mixture. A better family can shrink that mismatch term. It cannot recover the total-correlation term, because that information was cut away before the model ever sees it. This distinction gives a sharp answer to an open question in the literature. Does a mixture likelihood compensate for the missing spatial context of checkerboard anchors? Our prediction is that it cannot, and that any gain it gives is mismatch reduction, which should appear equally in serial models.

The complexity literature plays a specific role here. It supplies the partition view and warns about measure choice. Mediano et al. and the Entropy 2019 version compared six candidate $\Phi$ formulations. They found the formulations rank systems inconsistently and sometimes go negative. We therefore do not import any of those $\Phi$ variants. We use the one integration measure that the coding problem defines operationally, and it is non-negative by construction. The findings that integrated information peaks at critical, "edge-of-chaos" regimes (Popiel et al.; the Chaos 2022 study of $\Phi_R$ in oscillators and cellular automata) serve only as a motivating hypothesis. The hypothesis is that cut cost in images concentrates on edges and structured texture rather than on smooth regions or on noise-like texture. It is a claim to test, not an assumption.

Research Program

The first component is an estimation audit. We freeze latents from trained codecs and estimate the per-position cut cost $I(y_i ; y_{\mathcal{N}(i)} \mid y_{\text{decoded}}, z)$. This is the conditional mutual information between a latent and the neighbors it would be decoded alongside, given what is already decoded. Summed appropriately, these terms give the total-correlation overhead of a schedule.

We use two estimators and let them compete. The first is non-parametric: the Kozachenko–Leonenko / Kraskov nearest-neighbor family. These estimators approximate density from the distance to the $k$-th nearest sample instead of fitting a density, and they are applied on local patches pooled across images. Ghose et al. used the same estimator as a training signal in entropic autoencoders, but only on unquantized representations. We use it purely as a measurement tool. The second estimator is a flexible parametric plug-in: a large serial autoregressive model with a many-component discretized mixture, in the style of Cheng et al.. Its conditional log-likelihoods give entropy differences.

Nearest-neighbor estimators have high variance in high dimensions and cost $O(N^2)$ at full scale. So we keep conditioning sets local (a small neighborhood plus a low-dimensional summary of $z$). We validate both estimators on synthetic Gaussian and Gaussian-mixture random fields whose conditional mutual information is known in closed form. The difficulty is real: on 64-dimensional Gaussians, even the learnable kernel estimator KNIFE has error 2.80. Whichever estimator better predicts measured rate gaps is the one we carry forward. The rest of the program does not depend on the non-parametric estimator winning.

The second component is an any-order entropy model. To compare schedules without retraining a codec for each one, we train a single context network that conditions on an arbitrary mask of already-decoded positions and outputs a distribution for each undecoded position. The network is trained with random masks. We train one version with a single-Gaussian output and one with a $K=3$ discretized Gaussian mixture. This gives, for any schedule, a realized rate that can be compared with the estimated ideal overhead. The difference between the two is the mismatch term.

The third component is the adaptive schedule. After decoding $z$, a small network predicts each position's cut cost from $z$ alone. Its training targets are the audited estimates, and because it uses only $z$, the decoder can compute the same schedule with no extra side information. A greedy assignment then fills $T$ passes. Positions with low predicted cut cost go early and in large groups. High-cost positions are spread out so that no two strongly interdependent latents share a pass. The same any-order network then decodes with this schedule. The pass count $T$ stays fixed and matched to the baselines, so latency is controlled by construction.

A secondary analysis applies a partial information decomposition in the spirit of Luppi et al.'s ΦID. It splits an anchor's cut cost into information that its neighbors carry redundantly with $z$ (free to drop) and information that is unique to the neighbors or synergistic with $z$ (the real loss). PID definitions themselves disagree, so we report this only as a diagnostic that explains why checkerboard anchors lose little or much. It does not drive the method.

Baselines

The naive reference points are the two ends of the trade-off. At one end is the hyperprior-only model, where every latent is decoded in one parallel pass conditioned only on $z$, which is maximum speed. At the other is the fully serial joint autoregressive and hierarchical model of Minnen, Ballé and Toderici. That model reported a 15.8% rate reduction over the prior hierarchical model and defines the rate our schedules try to approach. The serial model's rate is our empirical stand-in for $H(y\mid z)$.

The strongest competitor on speed is the checkerboard context model of He et al.. It decodes half the grid from $z$ alone and the other half from four decoded neighbors. It reported Kodak decoding latency falling from 1323 ms to 29 ms on a TITAN XP. For its rate penalty against serial decoding, the file gives only a qualitative "minimal RD penalty"; no reported BD-rate figure for checkerboard versus serial was found on Lacuna. The strongest competitor on rate at low pass counts is channel-wise autoregression of Minnen and Singh. It reported 6.7% rate savings on Kodak and 11.4% on Tecnick over a context-adaptive baseline. The learned-structure alternative is ABC by Zhang et al.. It searches Bayesian-network decoding structures and discovered interlaced checkerboards, but its structures are static per complexity level rather than content-adaptive.

For fairness, all spatial schedules use the same analysis and synthesis transforms, the same hyperprior, and the same any-order context network. They share one training set, one training budget, and one hyperparameter search. Only the decoding mask differs, and the pass count $T$ is matched: $T=2$ against checkerboard, and $T$ equal to the slice count against channel-wise models. The channel-wise and ABC comparisons use their published architectures, reimplemented at matched parameter count. Latency is measured on the same GPU and includes arithmetic coding.

The key ablation replaces our cut-cost ranking with three alternatives while keeping everything else fixed. The first is a random mask with the same group sizes. The second is the checkerboard mask. The third is a mask ranked by the hyperprior's predicted scale $\sigma$. Beating the checkerboard at $T=2$ means a lower BD-rate on Kodak and Tecnick at equal measured latency. The claim that dependence rather than uncertainty matters requires beating the $\sigma$-ranked mask. A separate ablation toggles single-Gaussian versus mixture outputs under each schedule to isolate the mismatch term.

Why not just…?

Why not just measure schedule cost by training each codec and comparing bitrates? He et al. did exactly this for one schedule, and it remains our ground truth. It costs a full training run per schedule, though. It also mixes lost dependence with family mismatch, and it cannot tell the decoder which positions to move. The estimator matters only if it predicts measured rate gaps across many schedules. Checking that prediction is our first decisive experiment. If the estimator fails it, the adaptive schedule loses its principled target, and we would fall back to the any-order model's own likelihoods.

Why not just rank positions by predicted uncertainty ($\sigma$) or predictive entropy? This is the most serious threat. NOVA (Zhang et al.) used token predictive entropy to accelerate visual autoregressive generation 2.89× at 0.9% overhead, which shows uncertainty is a cheap, effective signal. Uncertainty is not dependence, however. A latent in fine noise-like texture has high $\sigma$ yet nearly zero mutual information with its neighbors, so delaying it buys nothing. A latent on an edge may have moderate $\sigma$ yet be highly predictable from neighbors. If the $\sigma$-ranked mask matches ours, the information-partition view has explanatory value but no practical edge, and we would report it that way. We also measure the correlation between $\sigma$ and estimated cut cost directly. A high correlation would predict this outcome in advance.

Why not just use discretized Gaussian mixtures with the checkerboard? Mixtures are a known way to reduce rate (Cheng et al., Sun et al. for lossless coding), and no paper in the file has paired them with parallel context models. The identity above predicts that the gain will be the same with or without spatial context, because a mixture reduces mismatch and cannot restore information that was cut. Our schedule-by-family grid tests this. If mixtures shrink the checkerboard-versus-serial gap specifically, the prediction is wrong and the decomposition needs revision.

Why not just learn the structure end-to-end, as ABC does? ABC's search produces fixed structures per complexity level. Content adaptivity would need a structure per image, which end-to-end search cannot supply at decode time without side information. Our schedule is computed from $z$ and adds no bits. ABC is included as a baseline at matched complexity. If it beats our adaptive schedule, static structure is enough and content adaptivity is not worth its cost.

Proposed Experiments

The evaluation uses Kodak and Tecnick for rate-distortion (bits per pixel against PSNR and MS-SSIM, summarized as BD-rate relative to the serial model) and CLIC for resolution diversity, with decoding latency reported for every schedule.

The first decisive check is the identity test. Across roughly thirty schedules (random, lattice, $\sigma$-ranked, cut-cost-ranked, and several pass counts), we regress the measured rate gap to the serial model on the estimated total-correlation overhead, separately for each estimator. The estimators are first validated on synthetic fields with known conditional mutual information. We expect a slope near one with the single-Gaussian model's residual mismatch absorbed in the intercept. A weak correlation would falsify the practical usefulness of the partition view.

The second check is the head-to-head at $T=2$ and at matched channel-slice counts, which tests whether cut-cost scheduling beats checkerboard, $\sigma$-ranking, and ABC at equal latency. The third check is the mixture-by-schedule grid, which tests whether mixture gains are schedule-independent. The fourth is descriptive. It maps where cut cost lives in real images and asks whether it concentrates on edges and structured texture, as the criticality results would suggest, or tracks something else. It also applies the redundancy/synergy split to explain how much of an anchor's loss the hyperprior already covers.

A positive outcome would give learned compression a measurable account of what parallel decoding costs and a schedule that spends passes where dependence actually is. A negative outcome on the $\sigma$ comparison would still settle a practical question: whether the extra machinery beyond simple uncertainty heuristics is worth building.