ContextShift: A Controlled Benchmark for Context Dependence in Object Detection
Not on the map. Why?
Abstract (arXiv)
Modern object detectors achieve strong performance on standard benchmarks, yet their robustness to contextual variation remains insufficiently understood. Prior evaluations largely rely on aggregate metrics such as AP on uncontrolled distribution shifts, which can obscure how performance degrades under context change. We introduce ContextShift, a controlled benchmark that systematically manipulates object--context relationships while preserving object appearance. Built on COCO 2017, it isolates context as an independent variable through geometric transformations and synthetic and natural background substitutions, including a continuous compatibility axis based on normalized pointwise mutual information (NPMI). Across diverse detector architectures, we observe a consistent degradation pattern: false negatives increase by up to 227% and prediction volume decreases by up to 44%, while false positives remain stable or decline. This suppression behavior is not captured by aggregate metrics such as AP, which can mask substantial recall loss and changes in prediction dynamics. Further analysis suggests that degradation is driven less by reduced confidence than by a reduced formation of valid detection candidates. Moreover, performance along the statistical compatibility axis is non-monotonic, peaking at intermediate NPMI and degrading toward both extremes, indicating that statistical co-occurrence does not correlate linearly with effective visual context. Finally, we show that context-aware augmentation improves robustness: every augmented variant outperforms the dataset-only baseline on both original and manipulated test images, partially recovering performance lost to prediction-suppression failures by exposing models to object--context decoupling during training.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 26 of its 35 references that are in the map. First posted on arXiv 8 Jun 2026.
Builds on
26 of 35 references.
References · 26
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
- 2015You Only Look Once: Unified, Real-Time Object Detectioncited by 4,829
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
- 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
- 2016End to End Learning for Self-Driving Carscited by 1,000
- 2021Resolution-robust Large Mask Inpainting with Fourier Convolutionscited by 730
- 2020Simple Copy-Paste is a Strong Data Augmentation Method for Instance Segmentationcited by 595
- 2018Real-world Anomaly Detection in Surveillance Videoscited by 570
- 2024YOLO-World: Real-Time Open-Vocabulary Object Detectioncited by 498
- 2020Noise or Signal: The Role of Image Backgrounds in Object Recognitioncited by 342
14 more
- 2019Benchmarking Robustness in Object Detection: Autonomous Driving when Winter is Comingcited by 332
- 2018Modeling Visual Context is Key to Augmenting Object Detection Datasetscited by 106
- 2020Don't Judge an Object by Its Context: Learning to Overcome Contextual Biascited by 91
- 2022Wild-Time: A Benchmark of in-the-Wild Distribution Shift over Timecited by 85
- 2021A Survey on Bias in Visual Datasetscited by 84
- 2020Black-box Explanation of Object Detectors via Saliency Mapscited by 74
- 2024D-FINE: Redefine Regression Task in DETRs as Fine-grained Distribution Refinementcited by 73
- 2023Spawrious: A Benchmark for Fine Control of Spurious Correlation Biasescited by 41
- 2019Role of Spatial Context in Adversarial Robustness for Object Detectioncited by 35
- 2023COCO-O: A Benchmark for Object Detectors under Natural Distribution Shiftscited by 34
- 2024Decompose-and-Compose: A Compositional Approach to Mitigating Spurious Correlationcited by 18
- 2022CLAD: A Contrastive Learning based Approach for Background Debiasingcited by 6
- 2025Impact of Data Duplication on Deep Neural Network-Based Image Classifiers: Robust vs. Standard Modelscited by 4
- 2024Quantifying Context Bias in Domain Adaptation for Object Detectioncited by 2
Built on by
Not cited yet.