Matching-Based Few-Shot Semantic Segmentation Models Are Interpretable by Design
Not on the map. Why?
Abstract (arXiv)
Few-Shot Semantic Segmentation (FSS) models achieve strong performance in segmenting novel classes with minimal labeled examples, yet their decision-making processes remain largely opaque. While explainable AI has advanced significantly in standard computer vision tasks, interpretability in FSS remains virtually unexplored despite its critical importance for understanding model behavior and guiding support set selection in data-scarce scenarios. This paper introduces the first dedicated method for interpreting matching-based FSS models by leveraging their inherent structural properties. Our Affinity Explainer approach extracts attribution maps that highlight which pixels in support images contribute most to query segmentation predictions, using matching scores computed between support and query features at multiple feature levels. We extend standard interpretability evaluation metrics to the FSS domain and propose additional metrics to better capture the practical utility of explanations in few-shot scenarios. Comprehensive experiments on FSS benchmark datasets, using different models, demonstrate that our Affinity Explainer significantly outperforms adapted standard attribution methods. Qualitative analysis reveals that our explanations provide structured, coherent attention patterns that align with model architectures and and enable effective model diagnosis. This work establishes the foundation for interpretable FSS research, enabling better model understanding and diagnostic for more reliable few-shot segmentation systems. The source code is publicly available at https://github.com/pasqualedem/AffinityExplainer.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 41 of its 55 references that are in the map. First posted on arXiv 22 Nov 2025.
Builds on
41 of 55 references.
References · 41
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
- 2017Axiomatic Attribution for Deep Networkscited by 3,384
- 2017Prototypical Networks for Few-shot Learningcited by 3,015
- 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,371
- 2016Matching Networks for One Shot Learningcited by 2,255
- 2017Learning Important Features Through Propagating Activation Differencescited by 1,458
- 2017Learning to Compare: Relation Network for Few-Shot Learningcited by 1,143
- 2017SmoothGrad: removing noise by adding noisecited by 1,109
- 2018RISE: Randomized Input Sampling for Explanation of Black-box Modelscited by 838
29 more
- 2019PANet: Few-Shot Image Semantic Segmentation with Prototype Alignmentcited by 449
- 2017One-Shot Learning for Semantic Segmentationcited by 337
- 2016Top-down Neural Attention by Excitation Backpropcited by 321
- 2017Recent Trends in Deep Learning Based Natural Language Processingcited by 263
- 2019Understanding Deep Networks via Extremal Perturbations and Smooth Maskscited by 259
- 2015Explaining NonLinear Classification Decisions with Deep Taylor Decompositioncited by 250
- 2021Adaptive Prototype Learning and Allocation for Few-Shot Segmentationcited by 207
- 2019Full-Gradient Representation for Neural Network Visualizationcited by 191
- 2020Prototype Mixture Models for Few-shot Semantic Segmentationcited by 190
- 2019Feature Weighting and Boosting for Few-Shot Segmentationcited by 189
- 2018SG-One: Similarity Guidance Network for One-Shot Semantic Segmentationcited by 169
- 2021Few-Shot Segmentation via Cycle-Consistent Transformercited by 133
- 2022Learning What Not to Segment: A New Perspective on Few-Shot Segmentationcited by 120
- 2019XRAI: Better Attributions Through Regionscited by 116
- 2017Interpreting Deep Visual Representations via Network Dissectioncited by 103
- 2021Guided Integrated Gradients: An Adaptive Path Method for Removing Noisecited by 102
- 2023Hierarchical Dense Correlation Distillation for Few-Shot Segmentationcited by 84
- 2021Mining Latent Classes for Few-shot Segmentationcited by 69
- 2022Dense Cross-Query-and-Support Attention Weighted Mask Aggregation for Few-Shot Segmentationcited by 65
- 2020Explanation-Guided Training for Cross-Domain Few-Shot Classificationcited by 58
- 2019Relative Attributing Propagation: Interpreting the Comparative Contributions of Individual Units in Deep Neural Networkscited by 49
- 2019Explaining Convolutional Neural Networks using Softmax Gradient Layer-wise Relevance Propagationcited by 29
- 2020SCOUTER: Slot Attention-based Classifier for Explainable Image Recognitioncited by 29
- 2020Visualization of Supervised and Self-Supervised Neural Networks via Attribution Guided Factorizationcited by 23
- 2024Cross-Domain Few-Shot Semantic Segmentation via Doubly Matching Transformationcited by 13
- 2022Self-Regularized Prototypical Network for Few-Shot Semantic Segmentationcited by 12
- 2024Label Anything: Multi-Class Few-Shot Semantic Segmentation with Visual Promptscited by 9
- 2020Match Them Up: Visually Explainable Few-shot Image Classificationcited by 4
- 2021One-shot learning for acoustic identification of bird species in non-stationary environmentscited by 1
Built on by
Not cited yet.