Improving Context-Shift Robustness of Convolutional Networks via Context-Regularized Cross-Entropy
Jinen Setpal, Chaoyue Liu
NeurIPS page · OpenReview · Open on the map
Category: Graphs, OOD Detection & Medical Imaging › Test-Time Adaptation and Robustness · Type: new method · Keywords: context shift robustness, convolutional neural networks, feature attribution, cross-entropy loss, image classification
Areas: Computer Vision & 3D › Visual Multimodal Perception › Object Part Discovery; Continual Learning & Adaptation › Domain Shift Adaptation › Test-Time Adaptation
Summary
The paper introduces a training framework that uses spatial feature attribution and a modified cross-entropy loss to reduce reliance on contextual cues, improving robustness of convolutional networks under context shift.
Explained to a 5-year-old
Models look at pictures and guess what’s inside. Sometimes they notice the background instead of the object, which makes them wrong when the background changes. This paper helps models focus on the object and ignore the background. It does this by using a special way to see which parts of the picture matter. The result is that the models become more reliable.
Explained to a 5-year-old, longer
When we show a computer a picture, it tries to say what is in the picture. Often it looks at the things around the main object, like a tree in the background, and uses those clues to make its guess. If the background is different at test time, the guess can be wrong. This paper wants to make the computer less dependent on those surrounding clues. It first finds a problem with how we currently highlight important parts of an image, and creates a better highlighting method. Then it changes the learning rule so that the computer pays less attention to the surrounding areas and more to the object itself. By doing this, the computer becomes more robust when the context changes. The authors test this on several large image datasets and see consistent improvements.
For a technical reader
The work addresses the brittleness of CNNs when the visual context changes between training and testing. It uses spatial attribution to identify and suppress non-causal regions, introduces a refined attribution map, and modifies the cross-entropy loss to regularize attention. Experiments on multiple datasets show consistent gains in robustness without sacrificing accuracy on the original tasks.
Problem
When image classification models encounter objects in varying contexts at test time, they may rely on irrelevant contextual cues, causing performance to degrade if those contexts differ from training.
Method
The approach leverages spatial feature attribution to identify and down-weight contextual regions, introduces a more faithful attribution technique, and regularizes the loss to suppress the influence of context, guiding models toward object-relevant features.
Results
The approach yields consistent improvements in context-shift robustness across the evaluated datasets.
Contributions
It highlights a theoretical limitation of existing attribution methods, proposes a more faithful attribution variant, and introduces a loss regularization technique that reduces reliance on contextual cues, enhancing robustness to context shift.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction