mlsanityData to 24 Nov 2026

Improving Context-Shift Robustness of Convolutional Networks via Context-Regularized Cross-Entropy

arXiv 2611.08157 ↗Submitted 5 Nov 2026cs.CV cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Image classification models often encounter objects in diverse and unpredictable contexts at test time, which may differ substantially from those seen during training. This phenomenon, termed context shift, exposes a key fragility in neural networks: when models rely on non-causal contextual cues for prediction, shifts in context can lead to significant performance degradation. In this paper, we propose a novel training framework to improve the robustness of convolutional neural networks under context shift. Our approach leverages spatial feature attribution to guide models toward making predictions that rely less on contextual regions and more on object-relevant features. As a first step, recognizing a theoretical limitation of existing feature attribution methods we introduce a new variant, ContrastiveCAMs, which produces more faithful attribution maps of model predictions. Building on ContrastiveCAMs, we further propose Context-Regularized Cross-Entropy (CR-CE), a modification of the standard cross-entropy loss that regularizes the model's attention by suppressing the influence of contextual regions, thereby improving robustness to context shift. We evaluate the effectiveness of our approach on several medium-to-large scale datasets (Waterbirds, Spawrious, ImageNet/ImageNet-BG, Hard-ImageNet), and report consistent improvements in context-shift robustness.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 36 of its 49 references that are in the map. Submitted 5 Nov 2026.

Builds on

36 of 49 references.

References · 36

  1. 2017Attention Is All You Needcited by 62,125
  2. 2015Deep Residual Learning for Image Recognitioncited by 53,116
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 31,277
  4. 2014Microsoft COCO: Common Objects in Contextcited by 18,045
  5. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,673
  6. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,888
  7. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,570
  8. 2015Learning Deep Features for Discriminative Localizationcited by 2,457
  9. 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,448
  10. 2020Shortcut Learning in Deep Neural Networkscited by 2,138
  11. 2019Searching for MobileNetV3cited by 2,045
  12. 2019Invariant Risk Minimizationcited by 1,945
24 more
  1. 2025SAM 3: Segment Anything with Conceptscited by 1,187
  2. 2017Grad-CAM++: Improved Visual Explanations for Deep Convolutional Networkscited by 954
  3. 2019Score-CAM: Score-Weighted Visual Explanations for Convolutional Neural Networkscited by 597
  4. 2017CheXNet: Radiologist-Level Pneumonia Detection on Chest X-Rays with Deep Learningcited by 487
  5. 2020Noise or Signal: The Role of Image Backgrounds in Object Recognitioncited by 360
  6. 2017Right for the Right Reasons: Training Differentiable Models by Constraining their Explanationscited by 308
  7. 2021Salient ImageNet: How to discover spurious features in Deep Learning?cited by 118
  8. 2018Attention Branch Network: Learning of Attention Mechanism for Visual Explanationcited by 110
  9. 2017Interpretable Learning for Self-Driving Cars by Visualizing Causal Attentioncited by 109
  10. 2021Large-scale Unsupervised Semantic Segmentationcited by 107
  11. 2020Use HiResCAM instead of Grad-CAM for faithful explanations of convolutional neural networkscited by 83
  12. 2021Improving Deep Learning Interpretability by Saliency Guided Trainingcited by 70
  13. 2022A Comprehensive Study of Image Classification Model Sensitivity to Foregrounds, Backgrounds, and Visual Attributescited by 58
  14. 2023Spawrious: A Benchmark for Fine Control of Spurious Correlation Biasescited by 47
  15. 2022Going Beyond XAI: A Systematic Survey for Explanation-Guided Learningcited by 38
  16. 2025Shortcut Learning in Generalist Robot Policies: The Role of Dataset Diversity and Fragmentationcited by 35
  17. 2022On Guiding Visual Attention with Language Specificationcited by 34
  18. 2022Invariant Causal Mechanisms through Distribution Matchingcited by 33
  19. 2023Out-of-Domain Robustness via Targeted Augmentationscited by 27
  20. 2022Improving deep neural network generalization and robustness to background bias via layer-wise relevance propagation optimizationcited by 26
  21. 2023Studying How to Efficiently and Effectively Guide Models with Explanationscited by 17
  22. 2023Masking Strategies for Background Bias Removal in Computer Vision Modelscited by 11
  23. 2025DiffGradCAM: A Class Activation Map Using the Full Model Decision to Solve Unaddressed Adversarial Attackscited by 2
  24. 2025Beyond Softmax: Dual-Branch Sigmoid Architecture for Accurate Class Activation Mapscited by 1

Built on by

Not cited yet.