SpatialFormer: Semantic and Target Aware Attentions for Few-Shot Learning
Not on the map. Why?
Abstract (arXiv)
Recent Few-Shot Learning (FSL) methods put emphasis on generating a discriminative embedding features to precisely measure the similarity between support and query sets. Current CNN-based cross-attention approaches generate discriminative representations via enhancing the mutually semantic similar regions of support and query pairs. However, it suffers from two problems: CNN structure produces inaccurate attention map based on local features, and mutually similar backgrounds cause distraction. To alleviate these problems, we design a novel SpatialFormer structure to generate more accurate attention regions based on global features. Different from the traditional Transformer modeling intrinsic instance-level similarity which causes accuracy degradation in FSL, our SpatialFormer explores the semantic-level similarity between pair inputs to boost the performance. Then we derive two specific attention modules, named SpatialFormer Semantic Attention (SFSA) and SpatialFormer Target Attention (SFTA), to enhance the target object regions while reduce the background distraction. Particularly, SFSA highlights the regions with same semantic information between pair features, and SFTA finds potential foreground object regions of novel feature that are similar to base categories. Extensive experiments show that our methods are effective and achieve new state-of-the-art results on few-shot classification benchmarks.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 25 of its 36 references that are in the map. First posted on arXiv 15 Mar 2023.
Builds on
25 of 36 references.
References · 25
- 2017Attention Is All You Needcited by 59,932
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2017Prototypical Networks for Few-shot Learningcited by 3,001
- 2015Learning Deep Features for Discriminative Localizationcited by 2,430
- 2016Matching Networks for One Shot Learningcited by 2,246
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
- 2019SuperGlue: Learning Feature Matching with Graph Neural Networkscited by 1,437
- 2017Learning to Compare: Relation Network for Few-Shot Learningcited by 1,139
- 2018Meta-Learning with Latent Embedding Optimizationcited by 476
- 2019Meta-Learning with Differentiable Convex Optimizationcited by 461
- 2020Rethinking Few-Shot Image Classification: a Good Embedding Is All You Need?cited by 435
- 2018Few-Shot Learning via Embedding Adaptation with Set-to-Set Functionscited by 293
13 more
- 2019Cross Attention Network for Few-shot Classificationcited by 218
- 2020CrossTransformers: spatially-aware few-shot transfercited by 174
- 2016Learning feed-forward one-shot learnerscited by 93
- 2021Partial Is Better Than All: Revisiting Fine-tuning Strategy for Few-shot Learningcited by 72
- 2019Generating Classification Weights with GNN Denoising Autoencoders for Few-Shot Learningcited by 69
- 2021Exploring Complementary Strengths of Invariant and Equivariant Representations for Few-Shot Learningcited by 56
- 2021Pareto Self-Supervised Training for Few-Shot Learningcited by 52
- 2022Joint Distribution Matters: Deep Brownian Distance Covariance for Few-Shot Classificationcited by 50
- 2021Learning Dynamic Alignment via Meta-filter for Few-shot Learningcited by 41
- 2020Rethinking Class Relations: Absolute-relative Supervised and Unsupervised Few-shot Learningcited by 31
- 2021Learning to Affiliate: Mutual Centralized Learning for Few-shot Classificationcited by 18
- 2022tSF: Transformer-based Semantic Filter for Few-Shot Learningcited by 6
- 2022Rethinking the Metric in Few-shot Learning: From an Adaptive Multi-Distance Perspectivecited by 3
Built on by
Citing papers per year: 2023: 1; 2024: 2; 2025: 0; 2026: 1.
4 papers.
- 2024XB-MAML: Learning Expandable Basis Parameters for Effective Meta-Learning with Wide Task Coveragecited by 3
- 2024KNN Transformer with Pyramid Prompts for Few-Shot Learningcited by 3
- 2023Recent Advances of Local Mechanisms in Computer Vision: A Survey and Outlook of Recent Workcited by 0
- 2026SRasP: Self-Reorientation Adversarial Style Perturbation for Cross-Domain Few-Shot Learningcited by 0
- 2026SRasP: Self-Reorientation Adversarial Style Perturbation for Cross-Domain Few-Shot Learning5 Mar 2026
- 2024KNN Transformer with Pyramid Prompts for Few-Shot Learning14 Oct 2024
- 2024XB-MAML: Learning Expandable Basis Parameters for Effective Meta-Learning with Wide Task Coverage11 Mar 2024
- 2023Recent Advances of Local Mechanisms in Computer Vision: A Survey and Outlook of Recent Work2 Jun 2023