Toward Scalable Image Feature Compression: A Content-Adaptive and Diffusion-Based Approach

Sha Guo, Zhuo Chen, Yang Zhao, Ning Zhang, Xiaotong Li, Lingyu Duan

Abstract

Traditional image compression often forces a compromise between human perceptual quality and machine vision utility. This paper presents a novel framework for scalable image feature compression that utilizes a content-adaptive Markov palette diffusion model. By substituting standard Gaussian noise with a hierarchical clustering-based degradation process, the proposed method achieves state-of-the-art performance across both human and machine vision tasks while providing seamless bitrate scalability within a single model.

Introduction

In the modern "compress-then-analyze" paradigm, image codecs face a difficult three-way trade-off. Traditional codecs like JPEG or HEVC prioritize pixel-level fidelity but often introduce blurring at low bitrates, harming human perception. Conversely, many deep learning-based codecs focus on high-level semantics, discarding fine-grained textures essential for machine tasks like object detection or facial landmarking. Furthermore, most neural codecs are "fixed-rate," requiring separate models for different bitrates—a significant barrier to real-world deployment. This research introduces a unified, scalable model designed to preserve both visual aesthetics for humans and functional utility for machines.

Overview of the proposed scalable image feature compression framework, illustrating the pipeline from edge-side extraction to dual-task reconstruction.

Methodology

The proposed framework rests on three primary technical pillars:

1. Collaborative Texture-Semantic Extraction

Rather than relying on generic latent features, the model employs a VGG-16 backbone to extract a hierarchy of features that integrate low-level texture with high-level semantic information. To enhance robustness, the authors utilize Fast Fourier Transform (FFT) analysis to measure perceptual distance, generating "pseudo-labels" for self-supervised contrastive learning. This ensures the feature representation is invariant to simple translations while remaining sensitive to underlying texture patterns.

2. Markov Palette Diffusion

The core innovation is the Markov palette diffusion process. Unlike standard diffusion models that add Gaussian noise, this method uses hierarchical K-means clustering to create a "palette" of features. The "forward" process gradually reduces the number of clusters, effectively compressing the data by simplifying the content rather than obscuring it with random noise.

Conceptual and visual illustration of the palette diffusion process, showing how hierarchical clustering (K=64 to K=8) reduces bitrate while maintaining structural integrity.

3. Scalable Bitrate Control

Because the diffusion process is structured as a Markov chain, bitrate control is achieved by selecting an intermediate state ($t$). A smaller $t$ retains more clusters for high-detail, high-bitrate output, while a larger $t$ yields a compact representation for low-bitrate scenarios. This "one-model-fits-all" approach eliminates the need for retraining multiple models for different operating points.

Experimental Results

The framework was evaluated on standard benchmarks including COCO 2017 (general tasks), FFHQ (perceptual quality), and WIDER FACE (facial landmarks).

  • Perceptual Quality: At bitrates below 0.2 bits per pixel (bpp), the method outperforms state-of-the-art codecs like HiFiC and ELIC in terms of LPIPS (perceptual similarity) and FID (realism).
  • Machine Vision Performance: On the COCO dataset at ~0.15 bpp, the model achieved a Mean Average Precision (mAP) of 37.6% for detection, significantly outperforming JPEG (18.1%) and VTM (36.0%).
  • Task Robustness: For facial landmark detection on the WIDER FACE "Easy" subset, the model maintained a 94.84% mAP at 0.154 bpp—a negligible 0.6% drop from the uncompressed original.

Discussion and Limitations

While the results demonstrate clear advantages in perceptual and task-based metrics, the model follows the trend of generative codecs by scoring lower on traditional metrics like PSNR and SSIM. This occurs because the diffusion process "reimagines" realistic textures that may not match original pixels exactly. Additionally, the iterative nature of diffusion models presents computational challenges for real-time decoding, though techniques like fast sampling and knowledge distillation are noted as potential mitigations. Future work will also need to integrate entropy coding overhead into the end-to-end analysis for production readiness.

Summary updated

BibTeX
@inproceedings{guo2023toward,
  author = {Sha Guo and Zhuo Chen and Yang Zhao and Ning Zhang and Xiaotong Li and Lingyu Duan},
  title = {{Toward Scalable Image Feature Compression: A Content-Adaptive and Diffusion-Based Approach}},
  booktitle = {ACM Multimedia},
  year = {2023},
}
Figure