arXiv:2610.29691cs.CVOct 2026

Manuscript Offprint

arXiv:2610.29691

Efficient Generative Image Compression with Quantized Latents Refinement

Hao Cao, Yinhuan Huang, Wenqi Guo, Zhijin Qin, Jungong Han

Abstract

Generative image compression (GIC) delivers strong perceptual quality at low bitrates. However, GIC methods with strong perceptual quality often rely on pretrained diffusion models with high latency, while recent lightweight GIC methods reduce latency but deliver lower perceptual quality. We observe that, for lightweight GIC methods at low bitrates, coarse deterministic quantization can collapse nearby encoder latents corresponding to different fine details to the same point, making these details difficult to recover. Motivated by this, we propose GR-GIC, an efficient GIC that delivers competitive reconstruction performance with fast inference. For better performance, we introduce Guided Refinement (GR), which combines latent refinement guided by entropy context with adaptive perturbations for training regularization, jointly improving reconstruction at low bitrates. For fast inference, we introduce reorganized projected residual vector quantization (P-RVQ), which equivalently reorganizes residual updates into low-dimensional lookups to expose greater parallelism and reduce sequential computation. Experiments on Kodak show that for performance, compared with OneDC, GR-GIC achieves BD-rate savings of 23.19%, 37.71%, 22.30%, and 22.14% for LPIPS, DISTS, PSNR, and FID, respectively. For fast inference, the highly optimized implementation of GR-GIC encodes and decodes in 4.60 and 5.98 ms on an NVIDIA A100. Specifically, the reorganized P-RVQ implementation achieves a 3.14× average speedup over the original implementation under the same FP32 setting. On an NVIDIA Jetson Orin NX, GR-GIC achieves latency comparable to lightweight GIC methods.

1. Introduction

Generative image compression (GIC) provides strong perceptual reconstruction at low bitrates. This is challenging for traditional codecs and learned image codecs optimized primarily for pixel fidelity, which tend to smooth textures and weaken fine details as the bitrate decreases [3, 24, 28, 40]. GIC addresses this limitation with adversarial generators [31, 33], discrete generative representations [34, 42], or diffusion priors [8, 41, 46], whose learned priors can synthesize plausible details that are not fully specified by the compressed representation.

However, high-performing GIC methods often rely on pretrained diffusion models, whose large parameter counts and FLOPs hinder practical deployment [18, 36, 41, 46]. To address this issue, recent work has explored lightweight GIC methods with fewer parameters and faster inference [6, 7, 22], but their reconstruction performance still leaves room for improvement compared with diffusion-based methods. This leaves a trade-off between reconstruction performance and fast inference.

We observe that, in lightweight GIC methods, images with similar coarse content but different fine details can be mapped to nearby points in the continuous latent space. At low bitrates, coarse deterministic quantization can collapse these distinct latents to the same quantized point, making their fine detail differences unavailable from the quantized representation, as illustrated in Figures 1a and 1b. By contrast, diffusion based methods introduce diversity through Gaussian noise and use strong generative priors to synthesize plausible details, providing a natural mechanism to compensate for this uncertainty.

Motivated by this observation, we propose GR-GIC, an efficient GIC that combines competitive reconstruction performance with fast inference, as shown in Figure 1d. For better performance, we introduce Guided Refinement (GR), which uses entropy context to parameterize a Gaussian refinement distribution around the recovered latent. Its mean shifts the recovered latent toward a refined center, while its variance controls adaptive perturbations for training regularization, jointly improving reconstruction at low bitrates. For fast inference, we target projected residual vector quantization (P-RVQ), which is a major encoder latency bottleneck in EF-LIC [6]. We derive an algebraically equivalent reorgani-

∗^{*}Corresponding author.

Figure

(a) Latents with shared coarse content

(b) Deterministic VQ point recovery

(c) Guided refinement of quantized latents

Figure

(d) Reconstruction Performance and Inference Latency

Figure 1. Motivation and overview of GR-GIC. (a) Images with similar coarse content but different fine details are mapped to nearby points in the continuous latent space. (b) At low bitrates, coarse deterministic quantization can collapse these distinct latents to the same quantized point, leaving their fine detail differences unspecified. (c) GR uses entropy context to define a Gaussian refinement distribution around the recovered latent and introduces adaptive perturbations during training. (d) GR-GIC combines competitive reconstruction performance with fast inference.

zation that replaces serial high dimensional residual updates with low dimensional lookups, exposing greater parallelism and reducing sequential computation.

Experiments on Kodak show that (i) for performance, compared with OneDC [41], GR-GIC achieves BD-rate [5] savings of 23.19%, 37.71%, 22.30%, and 22.14% for LPIPS [45], DISTS [11], PSNR, and FID [19], respectively. (ii) For fast inference, the highly optimized implementation of GR-GIC encodes and decodes in 4.60 and 5.98 ms on an NVIDIA A100, achieving 16.73×16.73\times and 34.19×34.19\times speedups over the official OneDC implementation, respectively. Specifically, the reorganized P-RVQ implementation achieves a 3.14×3.14\times average speedup over the original implementation under the same FP32 setting. We further validate GR-GIC on an NVIDIA Jetson Orin NX, where it achieves latency comparable to existing lightweight GIC methods, supporting its deployment on edge devices.

Our contributions are summarized as follows:

• We introduce GR-GIC, an efficient GIC that combines GR and reorganized P-RVQ for competitive reconstruction performance and fast inference.

• GR uses entropy context to parameterize an adaptive refinement distribution around quantized latents. Reorganized P-RVQ replaces serial high dimensional residual updates with low dimensional lookups, reducing sequential computation and inference latency.

• For performance, experiments demonstrate competitive results across multiple reconstruction metrics. For fast inference, the highly optimized implementation achieves low latency on both GPU and edge platforms.

References (44)