TL;DR
When computer vision models are fed aggressively compressed images (down to 0.1 bits-per-pixel), their accuracy plummets across classification, detection, and segmentation tasks. However, this degradation is primarily driven by a domain shift caused by compression artifacts rather than actual loss of visual information: simply finetuning the vision models on compressed images recovers up to 82% of the lost accuracy.
What Problem Does This Paper Address?
Deploying modern computer vision on edge devices (like smartphones, smart glasses, or IoT sensors) typically requires offloading inference to cloud servers due to strict compute and memory constraints. To minimize transmission latency and bandwidth, images must be heavily compressed before sending.
While image codecs are traditionally optimized for human perception (e.g., preserving visually salient features), it has remained unclear how lossy compression impacts deep neural networks. When an off-the-shelf vision model fails on a compressed image, is it because critical visual details were destroyed, or because the network cannot handle the unfamiliar artifacts introduced by the codec? This paper provides the first systematic study of this question across multiple vision tasks, bitrates, and compression methods.
Methods
The authors evaluate four modern image codecs across bitrates ranging from high quality (2.0 bits-per-pixel, or bpp) down to extreme compression (0.1 bpp):
- Traditional codecs: BPG (based on HEVC intra-frame coding) and WebP.
- Learned neural codecs: Two variational autoencoders with hyperpriors—Mean & Scale (M&S) and Gaussian Mixture Model (GMM).
They test these codecs across three representative visual recognition tasks using standard backbones:
- Image Classification: Swin-T backbone with an MLP head.
- Object Detection: ResNet-50 backbone with a Disentangled Dense Object Detector (DDOD) head.
- Semantic Segmentation: Swin-T backbone with an UPerNet head.
To isolate whether performance drops stem from lost information or domain shift, the authors evaluate:
- Off-the-shelf baselines: Standard checkpoints trained on uncompressed images evaluated directly on compressed inputs.
- Finetuned models: The same architectures finetuned on compressed training images for each specific bitrate and codec.
Datasets
The authors evaluate their setup on standard computer vision benchmarks (no new datasets were introduced):
- ImageNet: Used for image classification (~5.25 bpp uncompressed baseline).
- COCO: Used for object detection (~4.80 bpp uncompressed baseline).
- ADE20K: Used for semantic scene parsing / segmentation (~1.44 bpp uncompressed baseline).
Key Insights and Ideas
- Domain shift is the primary culprit: The dramatic degradation seen at low bitrates is mostly an out-of-distribution problem. The features needed to recognize objects are often still present in the bitstream, but the network misinterprets compression artifacts (blocking, blurring, or texture distortion).
- Finetuning acts as an antidote: Finetuning vision backbones directly on compressed imagery recovers the majority of lost performance without any architectural modifications.
- Codec performance depends on the downstream task:
- For image classification, BPG introduces artifacts that confuse the network least out-of-the-box.
- For dense prediction tasks (object detection and semantic segmentation), learned neural compression (especially the GMM hyperprior) significantly outperforms traditional codecs like BPG and WebP. In fact, unfinetuned models fed GMM-compressed images sometimes beat finetuned models fed BPG-compressed images.
Key Results
- Semantic Segmentation (ADE20K): At an extreme 0.1 bpp, baseline mIoU dropped from 44.5% to 30.5% using the GMM hyperprior. Finetuning on compressed images brought mIoU back to 42.0%—recovering 82% of the original drop. At 0.6 bpp, the finetuned model fully matched the uncompressed baseline (44.5% mIoU), achieving a 4× reduction in data size.
- Object Detection (COCO): At 0.1 bpp, finetuning reduced an initial >10-point drop in mean Average Precision (mAP) down to under 5 points. At 0.4 bpp, a finetuned model with GMM compression achieved 42.0 mAP compared to the 42.5 baseline—reducing data size by over 12× with negligible accuracy loss.
- Image Classification (ImageNet): At 0.1 bpp using BPG, finetuning boosted accuracy from 59.5% to 73.0% (relative to the 81.0% uncompressed baseline). At 1.0 bpp, all finetuned models maintained ~79% top-1 accuracy (only a 3% drop despite reducing data size 5×).
Limitations and Future Work
- Separate models per bitrate: The study trains separate finetuned models for each codec and bitrate combination, which may be cumbersome to deploy in environments where network bandwidth fluctuates dynamically.
- Decode overhead: Images are fully decompressed back into RGB space before entering the vision network, incurring decoding latency.
- Future directions: The authors suggest training recognition networks directly on compressed latent representations (e.g., quantized transform coefficients or neural latents) to bypass RGB reconstruction entirely and reduce I/O bottlenecks during internet-scale model pre-training.
Summary updated