arXiv:2610.27374cs.CVOct 2026

Manuscript Offprint

arXiv:2610.27374

PerQ: Inverse Generative Modeling for Neural Image Compression via Quantization Error Compensation

Tianhao Peng, Ho Man Kwan, Fan Zhang, Shan Liu, Dave Bull

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Neural image codecs face a fundamental trade-off between pixel fidelity and perceptual quality. Distortion-optimized codecs preserve pixel-wise fidelity but produce blurred reconstructions at low bitrates, whereas generative codecs leverage learned priors to improve perceptual quality but tend to exhibit saturating PSNR at higher bitrates and require separate models for different bitrate targets. We propose PerQ, which reframes perceptual reconstruction as inverse generative modeling with bounded support. Specifically, we define the quantization cell as the set of latents that yield the same transmitted symbols and derive a transport bound showing that reconstructions from this cell remain within a rate-determined radius of the codec output. This motivates performing generative reconstruction within the codec-induced quantization cell, rather than sampling from an unconstrained image prior. PerQ implements this principle by attaching a rate-conditioned flow-matching compensator to a frozen, multi-rate distortion-optimized backbone, enabling perceptual enhancement while preserving the backbone's coding performance. Experiments on Kodak and CLIC2020 show that PerQ achieves perceptual performance comparable to generative codecs such as MS-ILLM in LPIPS and FID, while maintaining competitive PSNR relative to distortion-optimized codecs such as ELIC. A single model checkpoint supports a wide bitrate range with fast decoding, and the compensator provides consistent gains across three different backbones. The implementation is available at https://jasminepp.github.io/PerQ/.

1 Introduction

Image compression has long been a fundamental research topic in signal processing and a core component of modern visual data infrastructure [11]. Conventional image codecs such as JPEG [55], BPG [5], and the intra modes of AV1 [19] and VVC [10], have been widely adopted over the past decades. More recently, end-to-end learned image compression [3, 4, 44] have achieved competitive or superior rate-distortion performance compared with conventional codecs based on pixel-wise metrics, such as PSNR [57]. However, optimizing pixel-wise distortion does not necessarily yield perceptually pleasing reconstructions, especially at low bitrates, where severe bitrate constraints limit the preservation of fine details and high-frequency image content, often resulting in visually blurred reconstructions. This limitation has motivated growing interest in perceptual image compression, which prioritizes perceptual fidelity over pixel-wise similarity and has led to the development of perceptual and generative image codecs.

Recent generative codecs have demonstrated promising perceptual quality at extremely low bitrates [27, 62]. However, extending this perceptual advantage to practical deployment remains challenging. (i) Pixel-wise fidelity: downstream applications often require reconstructions to remain faithful to the source pixels, but most generative codecs, whose reconstructions are dominated by a generative prior,

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Figure

29.1 dB / 0.336

29.3 dB / 0.201

21.8 dB / 0.261

22.9 dB / 0.201

20.5 dB / 0.450

Figure 1: Balance between Perceptual quality and pixel fidelity. (Left) Visual comparison at comparable bitrates, with PSNR (dB) / LPIPS. (Right) BD-rate of PSNR against BD-rate of LPIPS on CLIC2020-test, both relative to VTM intra, lower is better).

tend to plateau on PSNR even as the bitrate becomes high, since additional bits do not bring the prior closer to the source pixels [43, 46]. (ii) Bitrate coverage: practical deployment would benefit from a single model that supports a broad range of bitrates, avoiding the need to store and maintain separate models for different rates. However, most existing perceptual codecs require separate models for different target rates [43, 63]. Although a few approaches support multiple bitrates with a single model [12, 18], their operating ranges are typically concentrated in a relatively narrow low-bitrate window. The results of existing works shown in Table 1 reveal that none of them delivers high perceptual quality, competitive pixel fidelity, and wide bitrate coverage with a single trained model.

We ask, Can these competing objectives be reconciled within a single codec without sacrificing the advantages of distortion-optimized compression? We propose PerQ, an image codec that reframes perceptual reconstruction as inverse generative modeling with bounded support, leveraging the quantization structure of an existing codec to constrain perceptual refinement. We characterize the set of latent representations that yield the same transmitted symbols as a quantization cell and derive a transport bound relating the quantization step to a rate-determined radius in pixel space. Unlike prior approaches that augment distortion-optimized backbones with perceptual losses [21, 31, 43] and use learned generative priors to explore the image manifold, PerQ employs a flow-matching-based compensator as a decoder-side plug-in to improve perceptual quality while keeping the refined latent within this bounded region. Integrated into the decoder, the compensator leaves the bitstream unchanged and supports the backbone's existing multi-rate operating range with a single model, while retaining fast decoding. Importantly, the derived transport bound guarantees that the refined reconstruction remains within a rate-determined pixel-space radius of the backbone's output, even with perceptual optimization. This design brings together the perceptual advantages of generative codecs, the pixel fidelity of distortion-optimized codecs, and broad bitrate coverage within a single model (Figure 1). The main contributions of this work are:

• (C1) Inverse generative modeling with bounded support. We formulate perceptual reconstruction as inverse generative modeling over a rate-determined bounded support, characterized by a transport bound ( §3.1\S3.1) that relates the quantization step to a pixel-space radius around the output of a multi-rate distortion-optimized codec.

• (C2) A rate-conditioned flow-matching compensator design is designed ( §3.3\S3.3) for perceptual reconstruction within the bounded support. A single checkpoint supports multiple backbone rates, while the decoder-side design preserves the bitstream and generalizes across different backbones.

• (C3) PerQ: A perceptual-fidelity-balanced image codec integrates a bounded-support compensator with a frozen distortion-optimized backbone, bridging the gap between generative perceptual codecs and distortion-oriented codecs by combining strong perceptual quality with competitive pixel fidelity in a single, multi-rate model.

Extensive experiments on Kodak and CLIC2020-test (Table 1) show that PerQ retains most of the perceptual gains of strong generative codecs such as MS-ILLM while achieving competitive pixel fidelity against VVC (VTM intra), while enabling efficient four-step decoding at 86 ms/MP. Moreover, a single checkpoint covers nearly two orders of magnitude in bitrate, and the same compensator delivers consistent gains across two additional backbones. These results demonstrate that PerQ balances perceptual quality, pixel fidelity, and bitrate flexibility within a single, efficient codec.

Table 1: Positioning of image codecs across compression paradigms. Each row reports single-model multi-rate operation, decoding complexity and BD-rate against VTM intra on the Kodak [16] and CLIC2020-test [14] datasets.

Image codecsSingle-model multi-rateDec. time (ms/Mp) ↓Dec. kMACs/px ↓Kodak: BD-rate vs. VVC (%) ↓CLIC2020-test: BD-rate vs. VVC (%) ↓
PSNRLPIPSDISTSFIDPSNRLPIPSDISTSFID
Conventional codec
VTM intra [10]---00000000
VAE-based codecs
ELIC [20]206332-2.0-2.1+2.4+7.3-1.9-1.3+9.4-13.8
EVC [56]✓57291+2.0-9.0-5.4-4.0+3.7-8.7-2.3-6.2
DCVC-RT-Intra [25]✓46362-11.2-8.7-2.3-1.8-11.8-2.5+8.8-30.1
GAN-based perceptual codecs
MS-ILLM [46]150675+85.9-86.4-82.9-86.3+89.9-91.0-90.7-97.4
HiFiC [43]150546+128.6-69.8-59.0-64.3+116.3-81.1-76.9-83.0
Control-GIC [34]✓4166299+372.4-74.0-68.5-69.7+1045.8-65.6-73.8-85.2
Diffusion-based perceptual codecs
PerCo [12]6822 (20-step)30930N/A-64.1-84.4-92.9N/AN/AN/A-94.3
DiffEIC [36]11628 (50-step)89899N/A-81.0-88.8-91.3N/A-84.6-87.4-96.5
CDC [59]4854 (50-step)39440+318.7-48.6-71.7-68.8N/A-63.3-74.7-86.8
StableCodec [63]494 (1-step)6138N/A-92.7-96.2-96.8N/A-94.9-97.1-99.0
OSCAR [18]✓456 (1-step)8262N/A-79.0-91.8-92.3N/A-80.2-88.7-96.0
PerQ (Ours)✓86 (4-step)702-1.6-57.4-63.2-67.9+2.7-70.6-77.4-91.9
  • All BD-rates anchored to VVC intra (VTM 22.0, AI mode, YCbCr 4:4:4 BT.709, 10-bit) [10], sweeping six QP values (17, 22, 27, 32, 37, 42); N/A: the quality ranges do not overlap. † For neural codecs that ship multiple checkpoints, we report decoding time and complexity on the mid-rate checkpoint.

References (58)