- Rating
- 5
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 2
Read review
Summary
The paper proposes AffEx, an explainability method for matching-based few-shot semantic segmentation models. The method extracts attribution maps directly from the support-query affinity scores computed during inference, with the goal of identifying which regions of the support images contribute most to the query segmentation. The authors also adapt insertion/deletion-style metrics to the FSS setting by perturbing the support set rather than the query image, and evaluate the approach on standard FSS benchmarks using DCAMA and DMTNet.
Strengths and weaknesses
Strengths
-
The paper addresses an underexplored direction: interpretability in few-shot semantic segmentation. While many FSS works focus mainly on improving segmentation accuracy, understanding how support examples influence the query prediction is an interesting complementary axis.
-
The proposed approach is well aligned with the structure of matching-based FSS models. Since these models already compute support-query affinities, using these affinities to derive explanations is a direct direction. This makes the method simple and easy to apply to architectures that expose matching scores.
-
The paper makes a useful effort to adapt insertion/deletion-style metrics to the few-shot segmentation setting. Even if I have some doubts about the broader relevance of the benchmark, I appreciate the attempt to define a more systematic evaluation protocol for explainability in FSS.
-
The paper is generally easy to follow. The main idea, the construction of the attribution maps, and the evaluation protocol are explained clearly.
Weaknesses
I am very familiar with few-shot segmentation, but not with explainability/interpretability. For this reason, I am somewhat cautious in judging the contribution from the XAI perspective. Nevertheless, I have several concerns.
-
The central idea of the paper is intuitive, which is in principle a positive aspect. However, in this case, it also makes the method feel somewhat obvious. In few-shot segmentation, the model explicitly computes support-query affinities, and it is natural to expect that the support regions with higher matching activations are those that most influence the prediction. Having worked extensively on few-shot segmentation, I had always regarded this as a quite "obvious" property of matching-based methods rather than a surprising insight. Therefore, I do not find the method itself particularly strong as a methodological contribution. The main value may instead lie in formalizing this intuition and proposing an evaluation protocol, although I am not fully convinced of the relevance or impact of this benchmark. Since I am less familiar with the explainability literature, I do not want to overstate this criticism, but from the FSS perspective the idea feels quite direct.
-
The method is validated only on two models: DCAMA, from 2022, and DMTNet, from 2024, which is based on ResNet. These models are not representative of the current state of few-shot semantic segmentation. The field has recently moved substantially toward vision-foundation-model-based approaches, including methods based on DINO, SAM, and Stable Diffusion [1,2,3,4,5,6]. As a result, I find the experimental section weak and not sufficiently comprehensive. Some of the conclusions may be outdated, given the limited choice of evaluated models.
-
Related to the previous point, I am not fully convinced that feature-matching activations explain the final outcome of the full segmentation task. They certainly provide useful insight into which support regions are most attended to during the matching stage. However, many recent FSS methods use an additional segmentation module on top, often SAM/SAM2, which is promptable and can produce object masks that are not necessarily tightly determined by the exact matched points or regions. In this context, AffEx seems to explain the feature-correlation stage rather than the full end-to-end segmentation outcome. The analysis could perhaps be interpreted more as a study of cross-image feature correlations at the vision-encoder level (which could be extended across different backbones), rather than as an explanation of the complete few-shot segmentation pipeline.
References
[1] Matcher: Segment Anything with One Shot Using All-Purpose Feature Matching [2] Bridge the Points: Graph-based Few-shot Segment Anything Semantically [3] SEGIC: Unleashing the Emergent Correspondence for In-Context Segmentation [4] A Simple Image Segmentation Framework via In-Context Examples [5] SANSA: Unleashing the Hidden Semantics in SAM2 for Few-Shot Segmentation [6] Unlocking the Power of SAM 2 for Few-Shot Segmentation
Questions
I would appreciate a broader discussion of how the proposed framework relates to more recent few-shot segmentation pipelines, especially those based on vision foundation models such as DINO, SAM/SAM2, and Stable Diffusion [1,2,3,4,5,6]. The current evaluation focuses on DCAMA and DMTNet, but the field has recently moved toward architectures where matching, prompting, and segmentation are often separated into different modules. Could the authors clarify whether AffEx is intended to explain only the feature-matching stage, or whether it can also provide faithful explanations of the final segmentation output in these more modern pipelines?
Limitations
yes
Paper formatting concerns
No.
Final justification
I thank the authors for the detailed rebuttal. I found the new analysis on recent VFM-based few-shot/in-context segmentation models particularly valuable, and it substantially changes my assessment of the paper.
My main concern in the original review was that the evaluation was limited to DCAMA and DMTNet, both based on ResNet and both relatively old in the current FSS landscape, which made the scope of the paper feel too narrow. It was unclear whether the proposed framework would provide useful insights for more modern few-shot segmentation pipelines. The rebuttal directly addresses this concern. In particular, I strongly appreciate the new experiments on recent models such as INSID3, SANSA, GF-SAM, and Matcher.
I find the resulting analysis very interesting for the community. The observation that AffEx is best on dense-matching models such as INSID3 and SANSA, while the Gaussian-mask baseline often wins on prompt-from-mask models such as GF-SAM and Matcher, provides a much clearer picture of what the proposed explanation framework measures. In my view, this makes the contribution stronger: AffEx is not only an attribution method for matching-based FSS, but also a useful tool for understanding whether a model is matching-dominated or whether the final prediction is mainly driven by a later mask decoder.
I think this analysis should be included in the main manuscript. Without these experiments, the paper risks appearing narrowly focused on older FSS architectures, which would negatively limit the perceived relevance and scope of the work. With these experiments, the paper provides more modern and useful insights into how state-of-the-art few-shot/in-context segmenters use support information, and how reference images or support regions contribute to the final prediction.
Overall, I find that quantifying how much the matching stage versus the segmentation/prompting stage contributes to the final prediction is valuable and interesting. The rebuttal substantially improves the quality and significance of the paper in my view. For these reasons, I increase my score from Borderline Accept to Accept, and I strongly encourage the authors to include this new VFM-based analysis in the main paper.
We thank the reviewer for the positive assessment and the pointer to recent VFM-based FSS.
We agree the intuition that high matching implies high influence is natural to an FSS expert, and we see this as a strength of the contribution. If the explanation is obvious, it is because the model is transparent by design: the very quantity the model uses to decide, the matching scores, is also a faithful explanation of its decision. Our point is that this transparency has real, practical consequences. Post-hoc explainers are approximate and, as we show, unreliable on these models, and a domain that cannot tolerate that unreliability, for example medical or high-stakes segmentation where a practitioner must be able to check which annotated support evidence drove a prediction before acting on it, needs explanations that are exact and grounded in the model's own computation, which is exactly what AffEx provides. In this light, the applicability of AffEx to a model is a measure of that model's transparency: a matching-based FSS model to which AffEx applies is one whose decisions can be audited pixel-by-pixel against the support set, which is precisely the property that makes such models deployable in high-stakes settings. The impact of the paper is to establish that an entire, practically important family of segmentation models is interpretable by design, and to quantify how faithfully. Concretely the contribution is to formalize the mechanism as a proper attribution function with a support-centric view, to show empirically that it beats adapted post-hoc explainers, which provides the evidence for the transparency claim, and to provide a causal FSS evaluation protocol. The property is also not entirely trivial: the raw scores must be softmax-normalized and aggregated across levels, and our ablation shows removing the softmax costs 12.58/5.09 mIoULoss@p points on DCAMA.
The reviewer raises a fair point about newer, foundation-model pipelines (DINO/SAM/SD). AffEx does not by itself explain the full end-to-end output of every such model, but it remains relevant to a large part of them. Our formulation frames a matching-based model as Encoder, Match, Seg (Sec. 3.1), and to the best of our knowledge most recent vision-foundation-model FSS pipelines still contain an explicit dense matching stage that fits this template and that AffEx can read directly: the Correspondence Matrix in Matcher [1, Fig. 1], the Pixel-wise Correlation in [2, Fig. 2], the correspondence discovery in SEGIC [3, Fig. 2], the In-Context Fusion of [4], the Dense Feature Matching of [5], and the Memory Encoder and memory attention of the SAM2-based [6]. In each, the support-query matching is exposed as a dense per-support-pixel signal, exactly what AffEx attributes. In some of these pipelines the Seg stage is heavier (a promptable SAM/SAM2 decoder, or extra reasoning such as the graph-based methodology of [2]); in others it is light, for instance a nearest-neighbour vote. Where present, this heavier stage is outside AffEx's scope, since AffEx explains the matching that produces the evidence, while the decoder that turns it into the final mask lies beyond what it reads, and we acknowledge this as a limitation: when Seg substantially transforms the matching output, as the graph methodology in [2] does, AffEx captures the matching contribution while that transformation remains outside its explanation. Even so, AffEx interprets a large, and often decisive, part of these models, and it is naturally complementary to a decoder-side explainer, so combining the two would yield a comprehensive explanation of such pipelines; we will add this discussion to the paper.
AffEx's score under our causal metrics is not only a measure of the explanation: on these pipelines it also quantifies how much of the model's decision is carried by the matching stage versus reshaped by Seg. When AffEx scores well, the support-pixel attribution faithfully predicts the output, so the matching signal is decisive and the Seg stage largely preserves it; when AffEx scores poorly, the Seg stage is substantially transforming the matching output, decoupling the final mask from the correspondence. The same metric therefore doubles as a per-model ablation of the Match-versus-Seg contribution, a diagnostic of where each pipeline's decision is actually made. Our metric ranks the dense-matching models (INSID3, SANSA) as matching-dominated, where AffEx beats even the Gaussian-Noise-Mask baseline, and the prompt-from-mask models (Matcher, GF-SAM) as Seg-dominated, where AffEx faithfully attributes the matching yet cedes the causal metric to the Gaussian-Noise-Mask baseline because their SAM/SAM2 decoder consumes the whole mask region rather than the discriminative subset.
In response to this review, we evaluated AffEx on four recent VFM-based models, including those the reviewer cites. The table below reports mIoULoss@1% / @5% (lower is better, times 100, 1000 episodes/fold). The applicable methods are Random, Gaussian-Noise-Mask, LIME, and AffEx (in its Unmasked and default forms); the eight gradient-based baselines are inapplicable on every model below, because of non-differentiable SAM/SAM2 mask generation, Hungarian matching, and agglomerative or graph clustering. Bold marks the best (lowest) value per row.
Each cell is mIoULoss@1% / @5% (lower is better). On the dense-matching models (INSID3, SANSA) AffEx is best and beats even the Gaussian-Noise-Mask baseline in every fold; on the prompt-from-mask models (GF-SAM, Matcher) the Gaussian-Noise-Mask baseline usually wins because the SAM/SAM2 decoder consumes the whole mask region (Seg-dominated), yet AffEx stays faithful and beats Random and Unmasked AffEx.
Read this way, the fact that Gaussian-Noise-Mask is the strongest explainer on Matcher and GF-SAM is itself informative: it shows these models carry a strong support-mask prior, leaning on the whole annotated region rather than a discriminative subset, which is why perturbing the entire mask is most damaging. Which explanation the causal metric rewards is itself a statement about the model, and this is why we view the framework, AffEx together with the baseline attributions and the causal metrics, as the contribution: the same framework describes a model's behaviour in complementary ways, reliance on the matching mechanism (INSID3, SANSA) versus reliance on the Seg stage (Matcher, GF-SAM, where the whole support mask drives the prompt-based decoder), turning the best-performing explainer into a diagnostic of how the model uses its support.
This approach is also not limited to older CNNs. The INSID3 [Cuttano et al., CVPR 2026] rows of Table 1 are a modern, DINOv3-based, training-free in-context segmentation model (a hybrid matching and prototype method): it computes a genuine dense support-query correspondence sim∈RHs×Ws×Hq×Wq that drives the prediction via a nearest-neighbour vote, and AffEx applies directly to its matching branch, where it is best on every fold and beats even the Gaussian-Noise-Mask baseline. Qualitatively, AffEx cleanly attributes the foreground support pixels and assigns near-zero importance to a support image containing only a tiny, distant instance of the class. The method is also non-differentiable, since it contains a discrete agglomerative-clustering step, so gradient-based attribution is inapplicable to it whereas AffEx, which needs no gradients, applies directly: a concrete case where our method interprets a model that saliency and IG-style methods cannot.