mlsanityData to 7 Oct 2026

Siamese Transformer Networks for Few-shot Image Classification

arXiv 2408.01427 ↗First posted 16 Jul 2024cs.CV cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Humans exhibit remarkable proficiency in visual classification tasks, accurately recognizing and classifying new images with minimal examples. This ability is attributed to their capacity to focus on details and identify common features between previously seen and new images. In contrast, existing few-shot image classification methods often emphasize either global features or local features, with few studies considering the integration of both. To address this limitation, we propose a novel approach based on the Siamese Transformer Network (STN). Our method employs two parallel branch networks utilizing the pre-trained Vision Transformer (ViT) architecture to extract global and local features, respectively. Specifically, we implement the ViT-Small network architecture and initialize the branch networks with pre-trained model parameters obtained through self-supervised learning. We apply the Euclidean distance measure to the global features and the Kullback-Leibler (KL) divergence measure to the local features. To integrate the two metrics, we first employ L2 normalization and then weight the normalized results to obtain the final similarity score. This strategy leverages the advantages of both global and local features while ensuring their complementary benefits. During the training phase, we adopt a meta-learning approach to fine-tune the entire network. Our strategy effectively harnesses the potential of global and local features in few-shot image classification, circumventing the need for complex feature adaptation modules and enhancing the model's generalization ability. Extensive experiments demonstrate that our framework is simple yet effective, achieving superior performance compared to state-of-the-art baselines on four popular few-shot classification benchmarks in both 5-shot and 1-shot scenarios.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 37 of its 61 references that are in the map. First posted on arXiv 16 Jul 2024.

Builds on

37 of 61 references.

References · 37

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  2. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
  3. 2017Prototypical Networks for Few-shot Learningcited by 3,001
  4. 2016Matching Networks for One Shot Learningcited by 2,246
  5. 2017Learning to Compare: Relation Network for Few-Shot Learningcited by 1,139
  6. 2019A Closer Look at Few-shot Classificationcited by 679
  7. 2018Meta-Learning with Latent Embedding Optimizationcited by 476
  8. 2019Meta-Learning with Differentiable Convex Optimizationcited by 461
  9. 2018Meta-Learning for Semi-Supervised Few-Shot Classificationcited by 456
  10. 2018TADAM: Task dependent adaptive metric for improved few-shot learningcited by 408
  11. 2018Meta-learning with differentiable closed-form solverscited by 395
  12. 2018Dynamic Few-Shot Visual Learning without Forgettingcited by 385
25 more
  1. 2019Rapid Learning or Feature Reuse? Towards Understanding the Effectiveness of MAMLcited by 359
  2. 2018Few-Shot Learning via Embedding Adaptation with Set-to-Set Functionscited by 293
  3. 2019Cross Attention Network for Few-shot Classificationcited by 218
  4. 2020Meta-Baseline: Exploring Simple Meta-Learning for Few-Shot Learningcited by 179
  5. 2020CrossTransformers: spatially-aware few-shot transfercited by 174
  6. 2019Boosting Few-Shot Visual Learning with Self-Supervisioncited by 140
  7. 2022Pushing the Limits of Simple Pipelines for Few-Shot Learning: External Data and Fine-Tuning Make a Differencecited by 123
  8. 2019Revisiting Local Descriptor based Image-to-Class Measure for Few-shot Learningcited by 121
  9. 2020Few-Shot Classification with Feature Map Reconstruction Networkscited by 116
  10. 2019Finding Task-Relevant Features for Few-Shot Learning by Category Traversalcited by 101
  11. 2021Relational Embedding for Few-Shot Classificationcited by 74
  12. 2021Pareto Self-Supervised Training for Few-Shot Learningcited by 52
  13. 2021Rectifying the Shortcut Learning of Background for Few-Shot Learningcited by 51
  14. 2022Joint Distribution Matters: Deep Brownian Distance Covariance for Few-Shot Classificationcited by 50
  15. 2021Shallow Bayesian Meta Learning for Real-World Few-Shot Recognitioncited by 48
  16. 2021Learning Dynamic Alignment via Meta-filter for Few-shot Learningcited by 41
  17. 2021Partner-Assisted Learning for Few-Shot Image Classificationcited by 36
  18. 2022Rethinking Generalization in Few-Shot Classificationcited by 36
  19. 2021Binocular Mutual Learning for Improving Few-shot Classificationcited by 26
  20. 2020Mixture-based Feature Space Learning for Few-shot Image Classificationcited by 23
  21. 2021Transductive Few-Shot Classification on the Oblique Manifoldcited by 23
  22. 2021Meta Navigator: Search for a Good Adaptation Policy for Few-shot Learningcited by 19
  23. 2018Identifying Corresponding Patches in SAR and Optical Images with a Pseudo-Siamese CNNcited by 18
  24. 2021Few-Shot Learning with a Strong Teachercited by 16
  25. 2022Few-Shot Learning Meets Transformer: Unified Query-Support Transformers for Few-Shot Classificationcited by 16

Built on by

Not cited yet.