Occlusion Sensitivity

Description

Occlusion sensitivity tests which parts of the input are important by occluding (masking or removing) them and seeing how the model's prediction changes. For example, portions of an image can be covered up in a sliding window fashion; if the model's confidence drops significantly when a certain region is occluded, that region was important for the prediction.

Example Use Cases

Explainability

Testing which regions of a chest X-ray are critical for pneumonia detection by systematically covering different areas with grey patches and measuring how much the model's confidence drops for each occluded region.

Evaluating whether a facial recognition system relies on specific facial features by masking eyes, nose, mouth, or other regions to identify which areas cause the biggest drop in recognition accuracy.

Limitations

  • Computationally expensive as it requires running inference multiple times for each region tested, scaling poorly with input size.
  • Choice of occlusion size and shape can significantly bias results - too small may miss important features, too large may occlude multiple relevant regions simultaneously.
  • Cannot capture interactions between multiple regions that jointly contribute to the prediction but are individually less important.
  • Results may be misleading if the model adapts to occlusion patterns or if occluded regions are filled with unrealistic pixel values.

Resources

kazuto1011/grad-cam-pytorch
Software Package
Occlusion Sensitivity Analysis with Augmentation Subspace Perturbation in Deep Feature Space
Research PaperPedro Valois, Koichiro Niinuma, and Kazuhiro FukuiNov 25, 2023
Occlusion Sensitivity — tf-explain documentation
Documentation
Adaptive occlusion sensitivity analysis for visually explaining video recognition networks
Research PaperTomoki Uchiyama et al.Jul 26, 2022
sicara/tf-explain
Software Package

Tags

Applicable Models:
Data Requirements:
Data Type:
Evidence Type:
Expertise Needed:
Explanatory Scope:
Lifecycle Stage:
Technique Type: