Abstract
This paper introduces a novel image compression paradigm designed for the "AI of Things" (AIoT) era, where images must serve both human viewers and machine vision algorithms. By splitting an image into high-level semantic maps for machines and low-level residuals for humans, the proposed codec achieves state-of-the-art reconstruction quality while maintaining high accuracy for tasks like object detection and segmentation, even at extremely low bitrates.
Introduction
Traditional image codecs, such as JPEG, BPG, or VVC, are optimized for human perception, often discarding data that the human eye cannot detect. Conversely, machine vision descriptors like SIFT are optimized for algorithms but produce representations unreadable to humans. In modern smart city and IoT contexts, a dilemma arises: massive amounts of data must be transmitted for AI analysis (e.g., security camera object detection) while remaining accessible for occasional human review. Existing methods typically require high-quality bitstreams for simple machine tasks, leading to bandwidth inefficiency. This research proposes a scalable solution providing immediate utility for machines at low bitrates and high-fidelity reconstruction for humans at higher bitrates.
Proposed Methodology
The authors propose a Predictive Coding Framework that treats objects, rather than pixels, as the foundation of the codec. The architecture consists of three main components:
- High-Level Semantic Extraction (HE & RE): The encoder utilizes a pre-trained Mask-RCNN to generate instance segmentation maps. To optimize these for compression, a novel 16-bit gray-scale representation packs object categories and instance IDs into a single value, creating a compact profile compatible with traditional lossless entropy coders.
- Low-Level Feature Extraction (LE): A CNN extracts structural signal features, such as edges and textures, to complement the semantic map.
- Image Prediction & Residual Coding (IP): The semantic profile and signal features are compressed losslessly via the FLIF codec to preserve machine vision accuracy. An Image Predictor (IP) at both ends uses these features to generate an AI-based "guess" of the original image. The difference between the original and this prediction—the residual—is then lossily compressed using VVC.
This architecture generates three distinct streams: Stream 1 (Semantics), Stream 2 (Signal Features), and Stream 3 (Residual). Machines can operate using only Stream 1, while humans receive a base-quality image from Streams 1 and 2, and a high-fidelity version by incorporating Stream 3.
Experimental Results
The model was evaluated using the COCO2017 benchmark for machine vision tasks (object detection and instance segmentation) and the Kodak dataset for human reconstruction quality (PSNR and MS-SSIM).
Machine Vision Performance
The proposed codec significantly outperforms traditional standards in machine tasks. At very low bitrates (BPP < 0.1), the method maintains a mean Average Precision (mAP) for object detection near 42.8%, whereas the performance of VVC and BPG drops sharply as bitrates decrease.
Human Reconstruction and Scalability
In terms of visual quality, the codec is competitive with state-of-the-art learned codecs and consistently outperforms JPEG2000 and BPG. The system demonstrates true bitstream scalability, allowing AI to perform instance segmentation using only a tiny fraction of the total bandwidth (Stream 1).
Conclusion and Future Work
While the framework offers significant advantages in bandwidth efficiency and dual-use utility, it introduces computational complexity at the encoder due to the requirements of Mask-RCNN. Additionally, the 16-bit representation relies on a fixed dictionary of object categories, which may limit performance on untrained object types. Future research will focus on optimizing neural architectures for lower encoder overhead and exploring advanced machine-to-machine communication protocols.
Summary updated