TL;DR
This paper introduces "consistency" as a critical but overlooked metric for object detection, revealing that even state-of-the-art models often "flicker"—detecting an object in one frame but missing it in a nearly identical next frame. The authors propose a new measurement method using video data and demonstrate that simple post-processing techniques, like WEBP compression and unsharp masking, can improve model stability by up to 5.1% without sacrificing accuracy.
What Problem Does This Paper Address?
In the world of computer vision, accuracy (often measured as mean Average Precision or mAP) is king. However, the authors argue that accuracy is an average that hides a dangerous flaw: inconsistency.
Imagine a self-driving car's collision avoidance system. If it has 95% accuracy but consistently misses the same type of rare obstacle, engineers can diagnose and fix the problem. But if the detector is inconsistent—meaning it detects a pedestrian in one frame, misses them 0.03 seconds later due to minor sensor noise, and then detects them again—it becomes nearly impossible to troubleshoot and poses a significant safety risk.
Current benchmarks like Microsoft COCO are composed of static, unrelated images, making it impossible to measure how a model reacts to the minute, "natural" distortions (like lighting shifts or sensor noise) that occur in real-time video.
Methods
The authors propose a new metric, Pairwise Consistency ($C_{i,j}$), designed to quantify this "flickering" behavior.
- Time-Series Analysis: Instead of static images, they use consecutive video frames where the human eye perceives almost no change.
- Object ID Tracking: They utilize ground-truth "Object IDs" to ensure they are tracking the same physical object across frames.
- The Consistency Formula: They calculate consistency by looking at the set of objects present in both frames ($G_i \cap G_j$) and subtracting the instances where the detector found the object in one frame but missed it in the other ($M_{i,j}$ and $M_{j,i}$).
- Stabilization Techniques: The researchers tested several post-training image processing methods to see if they could "smooth out" the input and improve consistency. These included Gaussian Denoising, Horizontal Flipping, WEBP Compression, Unsharp Masking (sharpening), and Gamma Correction.
Datasets
To evaluate consistency, the authors moved away from standard image datasets and utilized the Multi-Object Tracking (MOT) Challenge dataset. This dataset is ideal because it provides high-quality video sequences and, crucially, unique identifiers for every object across frames, allowing the researchers to verify if a detector was being consistent with specific objects over time.
Key Insights and Ideas
- Accuracy $\neq$ Consistency: A model can be 50% accurate in two different ways: it could consistently detect one of two objects, or it could inconsistently flip-flop between detecting them. Standard metrics cannot distinguish between these two scenarios.
- The Architecture Gap: Two-stage detectors (like Faster-RCNN and Mask-RCNN) are not only more accurate but also significantly more consistent than single-shot detectors (like SSD and RetinaNet).
- Simple Fixes Work: You don't always need to retrain a massive model to make it more stable. Simple image processing can act as a "buffer" against the tiny pixel-level fluctuations that cause neural networks to trip up.
- The Gamma Trap: Not all improvements are good. The authors found that Gamma Correction improved consistency but decreased accuracy. This means the model became "consistently wrong," highlighting why consistency must be measured alongside accuracy, not instead of it.
Key Results
- Baseline Inconsistency: Modern detectors showed a wide range of consistency, from a low of 83.2% to a high of 97.1%, depending on the video sequence.
- Winning Combination: The combination of WEBP Compression (WC) and Unsharp Masking (UM) emerged as the most effective stabilizer.
- Quantitative Gains: Applying WC+UM improved consistency by as much as 5.1% for Faster-RCNN. Importantly, this was achieved with no loss in accuracy; in fact, mAP often saw a slight boost (up to 8.6% in some cases for RetinaNet).
- Failure of Denoising: Interestingly, standard Gaussian Denoising and Horizontal Flipping actually degraded both consistency and accuracy, likely because they blurred out essential feature structures that the models relied on.
Limitations and Future Work
The primary limitation acknowledged by the authors is that they focused exclusively on post-training methods—adjusting the input images rather than the models themselves.
Future research directions include:
- Consistency-Aware Training: Developing loss functions or data augmentation strategies that explicitly penalize inconsistent predictions during the training phase.
- Relationship Mapping: Further investigating the mathematical relationship between accuracy and consistency to understand when they complement each other and when they trade off.
- Real-world Deployment: Testing these stabilization techniques in specific safety-critical pipelines, such as autonomous driving or medical imaging, to measure their impact on end-system reliability.
Summary updated