Abstract
Image compression typically involves a trade-off between optimizing for human perception or specific machine vision tasks. We present Diffusion-based Multiple-Task Unified Image Compression (DMTUIC), a framework that generates a single, compact bitstream suitable for both. By utilizing multi-task collaborative embeddings and a diffusion-based invariant knowledge learning module, DMTUIC achieves up to a 52% reduction in data rate compared to state-of-the-art baselines while maintaining robust performance on unseen tasks.
Introduction
Standard image compression methods are often specialized: some prioritize visual aesthetics for human viewers, while others preserve features for specific algorithms like object detection. However, in real-world applications, the eventual use of an image is often unknown at the time of compression. This "open-set" challenge leads to significant performance degradation when a task-specific codec is applied to a different task. DMTUIC addresses this by creating a versatile embedding that serves both human perception and multiple machine tasks simultaneously, even in zero-shot scenarios.
Methodology
The DMTUIC framework is built upon two core innovations designed to extract and refine task-invariant features.
Multi-Task Collaborative Embedding (MTCE)
Instead of a single encoder, MTCE employs multiple "expert" auto-encoders tailored to different tasks, such as detection and segmentation. A Cross-Task Loss function is applied to encourage these encoders to converge on a shared latent space. This process forces the model to identify common semantic features that are useful across a variety of vision tasks rather than overfitting to a single objective.
Diffusion-based Invariant Knowledge Learning (DIKL)
To ensure generalization to unseen tasks, the DIKL module incorporates a Memory Bank that stores quintessential features from training tasks. A Latent Diffusion Model then uses these stored features as conditions to refine the image reconstruction. By learning to "fill in the blanks" through a noise-injection process, the model generates robust, versatile embeddings that translate effectively to new, unforeseen machine vision requirements.
Experimental Evaluation
The framework was evaluated using the MS-COCO dataset across five downstream tasks: Object Detection (Faster R-CNN), Instance Segmentation (Mask R-CNN), Semantic Segmentation (Mask2Former), Panoptic Segmentation (DeepLabV3), and Video Question Answering (BLIP).
Quantitative and Qualitative Results
DMTUIC demonstrates significant improvements over the state-of-the-art HiFiC baseline. Quantitative analysis shows BD-rate reductions of 52.25% for object detection, 51.68% for instance segmentation, and 48.87% for semantic segmentation.
Qualitatively, the diffusion-based approach outperforms traditional codecs and GAN-based methods at low bitrates (approx. 0.15 bpp). While JPEG and VTM-17.0 often produce blurring or ringing artifacts, DMTUIC reconstructs sharper contours and more realistic textures, such as fabric or animal fur.
Discussion and Conclusion
A key insight from this work is that human and machine vision goals can be collaborative rather than competitive. By forcing the encoder to find task-invariant knowledge, the model captures the core semantic essence of an image. Furthermore, the generative power of diffusion models proved superior to GANs for restoring fine details at extremely low bitrates.
While highly effective, the primary limitation of DMTUIC is the computational complexity of diffusion sampling, which may impact real-time decoding. Future research will focus on optimizing decoding speed and exploring the limits of task synergy in shared latent spaces.
Summary updated