Abstract
Standard image compression often suffers from artifacts at low bitrates. While semantic segmentation can guide reconstruction, transmitting segmentation maps adds a "bitrate tax." This paper introduces Encoder-Decoder Matched Semantic Segmentation (EDMS), a framework that generates and enhances semantic maps at both ends, eliminating the need to transmit them. By utilizing a specialized SMapNet to refine low-quality maps, EDMS achieves a 35% BD-rate reduction over BPG and outperforms state-of-the-art semantic compressors.
Introduction
Standard image compression (like JPEG or BPG) often struggles at low bitrates, leading to blocky artifacts or extreme blurring. Recent deep-learning approaches attempt to mitigate this by using "layered" compression: they down-sample the image, compress the small version, and then use a neural network to "hallucinate" details back in during up-sampling.
To make this hallucination more accurate, some state-of-the-art methods use semantic segmentation maps (labels identifying objects like "tree" or "car") to guide reconstruction. However, the encoder typically has to send these semantic maps to the decoder. Even when compressed, these maps consume precious bits, which can cancel out the efficiency gains of the compression itself. This paper addresses this "bitrate tax" by proposing a framework where semantic information is extracted synchronously at both ends.
The EDMS Framework
The core innovation of EDMS is that it does not send the semantic map. Instead, it forces the decoder to derive it independently from the compressed data it receives.
The "Matched" Workflow
- Compact Representation: The encoder down-samples the original image to create a "compact" version. Both the encoder and the decoder then up-sample this compact image and run a semantic segmentation network on it.
- SMapNet (The "Fixer"): Because the up-sampled image is blurry, the resulting semantic map is inherently inaccurate. To bridge this gap, the authors introduced SMapNet, a specialized Convolutional Neural Network (CNN) using a recursive residual architecture. SMapNet treats the errors in the blurry map as a predictable distortion, mapping it back to an accurate distribution.
- FineNet (The Synthesizer): This enhanced semantic map is fed into FineNet, a GAN-based synthesis tool, to reconstruct the high-resolution image.
- Residual Coding: Finally, the encoder calculates the difference (residual) between the original image and this synthesized version. This residual is sent to the decoder to perfect the final output.
By performing identical segmentation and enhancement steps at both ends, the encoder and decoder stay perfectly in sync without exchanging the semantic map itself.
Key Insights
- Deterministic Inaccuracy: The errors made by a segmentation network on a blurry image are predictable. SMapNet learns to reverse these distortions.
- Information for Free: By moving the segmentation task to the decoder, the authors effectively compress the semantic information to zero bits. The only cost is the computational power required at the decoder.
- Residual Alignment: Because the synthesis process is identical at both ends, the residual is highly correlated with the actual image structure, making it easier for traditional codecs like BPG to compress the remaining difference data.
Performance Evaluation
The authors evaluated EDMS using the ADE20K dataset for training and the Kodak benchmark set for testing. The framework demonstrated significant improvements over both traditional and deep-learning-based codecs.
- Vs. BPG (HEVC-based): Achieved up to a 35.31% BD-rate reduction, maintaining quality while using significantly less data.
- Vs. DSSLIC (State-of-the-Art): Compared to previous leading semantic-based codecs, EDMS saved 5% in bitrate and was 24% faster during encoding.
- Qualitative Superiority: Visual results show that EDMS preserves sharp boundaries and textures (like brick walls or foliage) that standard codecs typically blur at low bitrates.
Conclusion
While EDMS demonstrates impressive bitrate savings, it introduces computational overhead at the decoder. Running a segmentation network, SMapNet, and FineNet on a consumer device is more taxing than simple JPEG decoding. However, this "synchronous extraction" approach offers a promising path for future image compression research, potentially extending beyond semantic segmentation to other types of auxiliary image metadata.
Summary updated