[Paper Review] Explanation-Guided Training for Cross-Domain Few-Shot Classification
This paper proposes explanation-guided training for cross-domain few-shot classification by leveraging layer-wise relevance propagation (LRP) scores from intermediate feature maps to dynamically weight and refine features during training. The method improves model generalization across domains, boosting accuracy across three FSC models (RelationNet, CAN, GNN) on five datasets (miniImageNet, CUB, Cars, Places, Plantae), with consistent performance gains and reduced overfitting to the source domain.
Cross-domain few-shot classification task (CD-FSC) combines few-shot classification with the requirement to generalize across domains represented by datasets. This setup faces challenges originating from the limited labeled data in each class and, additionally, from the domain shift between training and test sets. In this paper, we introduce a novel training approach for existing FSC models. It leverages on the explanation scores, obtained from existing explanation methods when applied to the predictions of FSC models, computed for intermediate feature maps of the models. Firstly, we tailor the layer-wise relevance propagation (LRP) method to explain the predictions of FSC models. Secondly, we develop a model-agnostic explanation-guided training strategy that dynamically finds and emphasizes the features which are important for the predictions. Our contribution does not target a novel explanation method but lies in a novel application of explanations for the training phase. We show that explanation-guided training effectively improves the model generalization. We observe improved accuracy for three different FSC models: RelationNet, cross attention network, and a graph neural network-based formulation, on five few-shot learning datasets: miniImagenet, CUB, Cars, Places, and Plantae. The source code is available at https://github.com/SunJiamei/few-shot-lrp-guided
Motivation & Objective
- To address the challenge of domain shift in few-shot learning, where models trained on one domain fail to generalize to unseen domains.
- To investigate whether explanation scores from intermediate feature maps can be leveraged during training to improve model generalization.
- To develop a model-agnostic training strategy that uses explanation-based feature weighting to reduce overfitting to the source domain.
- To evaluate the effectiveness of explanation-guided training across diverse FSC models and cross-domain few-shot learning benchmarks.
Proposed method
- Adapt LRP to explain predictions of few-shot classification models by backpropagating relevance scores from the final prediction to intermediate feature maps.
- Compute label-specific LRP relevance scores for each sample, assigning importance to neurons in feature maps based on their contribution to the predicted class.
- Construct LRP-weighted feature maps by multiplying original features with their corresponding relevance scores, emphasizing informative features and suppressing less relevant ones.
- Integrate the LRP-weighted features into the training process as a dynamic, sample- and label-dependent feature weighting mechanism.
- Combine explanation-guided training with feature-wise transformations (e.g., batch normalization-like operations) to further enhance performance.
- Use the LRP-weighted features as input to the model during training, enabling the network to learn more robust and generalizable representations.
Experimental results
Research questions
- RQ1Can explanation scores from intermediate feature maps be effectively used to guide the training of few-shot classification models?
- RQ2Does explanation-guided training reduce overfitting to the source domain and improve generalization in cross-domain few-shot learning?
- RQ3How does the use of LRP-based feature weighting affect the diversity and balance of learned feature representations?
- RQ4Can explanation-guided training be applied effectively across different FSC architectures (e.g., RelationNet, CAN, GNN)?
Key findings
- Explanation-guided training significantly improves few-shot classification accuracy across three distinct FSC models: RelationNet, cross-attention network (CAN), and a graph neural network-based model.
- The method achieves consistent performance gains on five cross-domain few-shot learning datasets: miniImageNet, CUB, Cars, Places, and Plantae.
- The variance of feature representations, measured by $S^2$ and the 95%-45% quantile difference, decreases after explanation-guided training, indicating more balanced and diverse feature learning.
- The reduction in feature variance is not due to lower first-order statistics, as the mean of features $f$ increases in some cases (e.g., for CAN), while $S^2$ decreases, suggesting improved feature stability.
- Qualitative LRP heatmaps show that the model learns to focus on semantically relevant image regions (e.g., dog’s head, window frames) for correct predictions, while highlighting spurious or contrasting features for incorrect labels.
- The combination of explanation-guided training with feature-wise transformations leads to further performance improvements, indicating complementary optimization effects.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.