mlsanityData to 7 Oct 2026

SpatialFormer: Semantic and Target Aware Attentions for Few-Shot Learning

arXiv 2303.09281 ↗First posted 15 Mar 2023cs.CVcited by 4

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2017Prototypical Networks for Few-shot Learningcited by 3,001
  4. 2015Learning Deep Features for Discriminative Localizationcited by 2,430
  5. 2016Matching Networks for One Shot Learningcited by 2,246
  6. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
  7. 2019SuperGlue: Learning Feature Matching with Graph Neural Networkscited by 1,437
  8. 2017Learning to Compare: Relation Network for Few-Shot Learningcited by 1,139
  9. 2018Meta-Learning with Latent Embedding Optimizationcited by 476
  10. 2019Meta-Learning with Differentiable Convex Optimizationcited by 461
  11. 2020Rethinking Few-Shot Image Classification: a Good Embedding Is All You Need?cited by 435
  12. 2018Few-Shot Learning via Embedding Adaptation with Set-to-Set Functionscited by 293
13 more
  1. 2019Cross Attention Network for Few-shot Classificationcited by 218
  2. 2020CrossTransformers: spatially-aware few-shot transfercited by 174
  3. 2016Learning feed-forward one-shot learnerscited by 93
  4. 2021Partial Is Better Than All: Revisiting Fine-tuning Strategy for Few-shot Learningcited by 72
  5. 2019Generating Classification Weights with GNN Denoising Autoencoders for Few-Shot Learningcited by 69
  6. 2021Exploring Complementary Strengths of Invariant and Equivariant Representations for Few-Shot Learningcited by 56
  7. 2021Pareto Self-Supervised Training for Few-Shot Learningcited by 52
  8. 2022Joint Distribution Matters: Deep Brownian Distance Covariance for Few-Shot Classificationcited by 50
  9. 2021Learning Dynamic Alignment via Meta-filter for Few-shot Learningcited by 41
  10. 2020Rethinking Class Relations: Absolute-relative Supervised and Unsupervised Few-shot Learningcited by 31
  11. 2021Learning to Affiliate: Mutual Centralized Learning for Few-shot Classificationcited by 18
  12. 2022tSF: Transformer-based Semantic Filter for Few-Shot Learningcited by 6
  13. 2022Rethinking the Metric in Few-shot Learning: From an Adaptive Multi-Distance Perspectivecited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 2; 2025: 0; 2026: 1.

4 papers.