TL;DR
This paper investigates how standard lossy compression (JPEG and H.264) impacts the performance of deep learning models across five diverse computer vision tasks. The authors demonstrate that while performance degrades non-linearly—often hitting a "cliff" at high compression levels—retraining models on compressed data can recover up to 78.4% of lost accuracy, enabling significant storage savings with minimal functional cost.
What Problem Does This Paper Address?
Deep learning models are typically trained and benchmarked on high-quality, uncompressed datasets. However, in the real world—think smart surveillance cameras, mobile apps, and IoT devices—bandwidth and storage constraints necessitate heavy lossy compression.
The gap lies in our understanding of the "tipping point": at what level of compression does a model’s performance collapse? While previous studies looked at simple image classification, this paper explores more complex "second-generation" tasks like semantic segmentation and human pose estimation. The goal is to provide a roadmap for engineers to balance the trade-off between data footprint and model reliability.
Methods
The researchers systematically evaluated five different CNN architectures across five distinct domains:
- Semantic Segmentation: SegNet (Encoder-Decoder)
- Monocular Depth Estimation: A GAN-based architecture
- Object Detection: Faster R-CNN (Region-based)
- Human Pose Estimation: OpenPose (Part Affinity Fields)
- Human Action Recognition (HAR): A Dual-Stream CNN (Spatial + Temporal)
They tested these models at varying levels of JPEG quality (for images) and H.264 Constant Rate Factor (CRF) (for video). Crucially, they didn't just test pre-trained models; they also retrained each architecture on imagery compressed at those same levels to see if the networks could learn to ignore compression artifacts.
Datasets
The study utilized several industry-standard benchmarks:
- Cityscapes: For semantic segmentation.
- Synthia: For monocular depth estimation.
- Pascal VOC 2007: For object detection.
- COCO: For human pose estimation.
- UCF101: For human action recognition in video.
Key Insights and Ideas
- The "Cliff-Edge" Effect: Performance degradation is not linear. Models generally maintain high accuracy until a specific threshold (JPEG quality < 15 or H.264 CRF > 40), after which performance plummets.
- Architectural Resilience: Architectures using an encoder-decoder pipeline (like SegNet and the depth-estimation GAN) showed remarkable natural resilience. The authors suggest that the up-sampling layers in the decoder act as a form of "denoising" that recovers information lost during compression.
- Retraining is a "Silver Bullet": Training a model on "ugly," compressed data significantly boosts its resilience. For object detection, retraining allowed a model to maintain usable accuracy even at extreme compression levels that previously broke the pre-trained version.
- The Motion Bottleneck: Human Action Recognition (HAR) is the outlier. While the spatial (image) stream is resilient, the motion (temporal) stream is extremely fragile. Compression artifacts destroy the fine-grained motion vectors the network needs, and retraining on compressed video actually decreased performance in some cases.
Key Results
- Recovery: Retraining recovered up to 78.4% of performance lost to compression in certain tasks.
- Segmentation: SegNet was the most robust. Even at JPEG quality 5 (extreme compression), retraining kept global accuracy near 90%.
- Object Detection: Faster R-CNN's mAP dropped from 0.703 to 0.187 at JPEG 5. Retraining boosted this back to 0.559.
- Pose Estimation: Retraining allowed OpenPose to safely handle JPEG quality 15 with less than a 10% drop in performance, whereas the original model saw a 41.9% drop.
- Storage Savings: In domains like segmentation, retraining allows for a 20x reduction in storage costs with negligible impact on accuracy.
Limitations and Future Work
The authors acknowledge that even a 1-2% performance loss might be unacceptable for safety-critical systems, such as depth estimation for autonomous vehicles. Furthermore, the failure of retraining to help the motion stream in action recognition suggests that video-based tasks require specialized compression-aware architectures or different data augmentation strategies.
Future work will likely explore whether training on a variety of compression levels (multi-scale training) creates a more "universal" resilient model, and how lightweight architectures like MobileNet fare under these same stresses.
Summary updated