Abstract
Generative Image Compression (GIC) has recently seen a shift from GAN-based models to computationally intensive Diffusion Models. We present EGIC (Enhanced Generative Image Compression), a GAN-based codec designed for ultra-low bit-rates that achieves state-of-the-art perceptual quality. By incorporating a semantic segmentation-guided discriminator (OASIS-C) and an Output Residual Prediction (ORP) mechanism, EGIC enables flexible navigation of the distortion-perception trade-off within a single, lightweight model. Our results on the CLIC 2020 benchmark demonstrate that EGIC outperforms heavy diffusion-based alternatives in perceptual metrics while remaining significantly more efficient for practical applications.
Introduction
In the field of image compression, the fundamental challenge lies in the "distortion-perception trade-off." Traditional codecs optimized for low distortion (e.g., minimizing Mean Squared Error) often produce blurry reconstructions at low bit-rates. Conversely, generative models optimized for perception (e.g., GANs) can produce sharp, visually pleasing images but may introduce "hallucinations"—details that are semantically plausible but mathematically distant from the original.
While recent research has favored Diffusion Models for their high-quality generation, these models typically require hundreds of sampling steps and massive parameter counts, making them impractical for many real-world scenarios. Furthermore, most existing methods require training separate models for different points on the distortion-perception curve. EGIC addresses these issues by demonstrating that a well-designed GAN can achieve superior performance with a fraction of the computational cost and the flexibility of a single-pass inference.
Proposed Method
EGIC introduces two primary innovations to the standard generative compression pipeline: the OASIS-C discriminator and the Output Residual Prediction (ORP) module.
OASIS-C Discriminator
Standard GAN discriminators typically output a single scalar value representing the probability that an image is "real." This provides limited feedback to the generator, especially regarding local textures. EGIC utilizes OASIS-C, which redefines the discrimination task as a multi-class semantic segmentation problem.
As shown in Figure 2, instead of a simple binary classification, OASIS-C is trained to label every pixel in the reconstructed image as one of $N$ semantic classes (e.g., sky, grass, car) or as a "fake" class. This approach provides the generator with spatially-aware and semantically-rich gradient feedback. By understanding the semantic context of a region, the generator can more accurately reconstruct textures that are appropriate for specific objects, even at ultra-low bit-rates.
Output Residual Prediction (ORP)
To provide users with control over the distortion-perception trade-off without requiring multiple models, EGIC employs Output Residual Prediction (ORP). This lightweight mechanism implicitly predicts the residual difference between a reconstruction optimized for distortion (MSE) and one optimized for perception (GAN). By adjusting a single interpolation parameter $\alpha \in [0, 1]$, the system can smoothly transition from a "safe," low-distortion output ($\alpha=0$) to a "sharp," high-perception output ($\alpha=1$) during a single inference cycle.
Experiments and Results
The model was trained on the COCO2017 panoptic dataset to leverage its rich semantic labels. Evaluation was conducted on standard benchmarks including CLIC 2020, DIV2K, and Kodak.
Perceptual and Distortion Performance
EGIC demonstrates a superior ability to navigate the distortion-perception curve. On the CLIC 2020 dataset at approximately 0.094 bits per pixel (bpp), EGIC achieves state-of-the-art results.
As illustrated in Figure 1, at the high-perception setting ($\alpha=1.0$), EGIC achieves a lower Frechet Inception Distance (FID) than competing methods such as HiFiC, MS-ILLM, and even the diffusion-based DIRAC-100. Conversely, when tuned for low distortion ($\alpha=0.0$), the model's PSNR performance approaches that of VTM-20.0, the reference software for the VVC standard.
Efficiency and Practicality
A key advantage of EGIC is its efficiency. Unlike diffusion models like HFD/DDPM, which require iterative sampling, EGIC performs reconstruction in a single pass. Furthermore, EGIC is remarkably compact, utilizing approximately 0.03x the parameters of massive diffusion setups while providing better interpolation characteristics.
Discussion and Conclusion
EGIC proves that GANs remain a highly competitive architecture for generative image compression when augmented with semantic guidance. The use of semantic segmentation as a prior allows the model to "know" what it is reconstructing, which is vital when the bitstream provides insufficient data for fine-grained texture recovery.
Despite its strengths, the authors note that the global nature of OASIS-C feedback can occasionally miss extremely small details, such as tiny faces or distant text. Future work may explore "content-weighted" learning or the integration of foundation models like Segment Anything (SAM) to automate the generation of semantic labels, further reducing the dependency on human-annotated training data.
Summary updated