Abstract
Image compression has traditionally faced a trade-off between optimizing for human visual quality and machine vision accuracy. We present DISCOVER (DISentanglement and COmposition VERsatile codec), a framework that utilizes Multimodal Large Language Models (MLLMs) to disentangle task-relevant semantic objects from backgrounds. By prioritizing these objects in the bitstream and employing generative diffusion models at the decoder to reconstruct a high-fidelity background, DISCOVER achieves significant bitrate reductions—up to 80%—without compromising performance for either human or machine observers.
Introduction
Standard image codecs like JPEG or VVC are designed for human perception, often discarding high-frequency information that machine learning models require for tasks like object detection. Conversely, Image Coding for Machines (ICM) methods often produce visually unappealing results and lack versatility across different tasks.
The DISCOVER framework addresses this "versatility gap" by creating a semantically structured bitstream. It identifies what a machine needs to "see" for a specific task, transmits that data with high priority, and uses generative AI to "hallucinate" a plausible, high-quality background for the human viewer.
Methodology
The DISCOVER framework operates through three integrated phases:
1. Semantics Analysis
To maintain efficiency, the system uses an MLLM (such as GPT-4o) once per task to define relevant labels (e.g., "car, person"). A grounding model (e.g., Grounding DINO) then performs a single-step analysis on input images to locate these objects, avoiding the overhead of per-image MLLM prompting.
2. Semantics Disentanglement
The encoder separates the image into task-related elements and background. The bitstream is structured to prioritize task-relevant objects, allowing for "partial transmission" where only the most critical data is sent at high bitrates.
3. Semantics Composition
At the decoding stage, a generative diffusion model (based on Stable Diffusion 2.1) takes the task-specific data and fills in the missing background using generative priors. This ensures the final image is visually complete and aesthetically pleasing to humans, even if the background was not fully transmitted.
Experimental Setup
The framework was trained on a diverse dataset of 50,000 images from OpenImage, COCO, CLIC2020, Flickr2K, and Div2K. Evaluation was conducted across several benchmarks:
- Machine Vision: MS COCO2017 (detection/segmentation) and ImageNet (classification).
- Human Perception: Kodak, CLIC2020, and COCO2017.
Results and Discussion
DISCOVER demonstrates substantial improvements over the VTM-12.1 anchor:
- Machine Vision Performance: The system achieved BD-rate savings of -80.41% for object detection, -80.32% for instance segmentation, and -77.63% for classification. This indicates that DISCOVER can maintain state-of-the-art accuracy at a fraction of the traditional file size.
- Human Visual Quality: Reconstructed images align well with human expectations. In detection-focused tasks, the framework achieved a BD-FID of -45.615, outperforming traditional methods in perceptual alignment at low bitrates.
- Generative Infilling: Qualitative results show that while traditional methods blur textures under bandwidth constraints, DISCOVER's use of diffusion priors maintains sharp, detailed reconstructions of key objects and plausible backgrounds.
Conclusion
DISCOVER represents a significant step toward versatile image coding. By making the bitstream "task-aware" and leveraging generative models for reconstruction, it satisfies the requirements of both human and machine vision. Future work will focus on reducing the computational complexity of the diffusion-based decoding process and extending the framework to video compression.
Summary updated