Collect and Select: Semantic Alignment Metric Learning for Few-Shot Learning
Fusheng Hao, Fengxiang He, Jun Cheng, Lei Wang, Jianzhong Cao, Dacheng Tao
Abstract
Few-shot learning aims to learn latent patterns from few training examples and has shown promises in practice. However, directly calculating the distances between the query image and support image in existing methods may cause ambiguity because dominant objects can locate anywhere on images. To address this issue, this paper proposes a Semantic Alignment Metric Learning (SAML) method for few-shot learning that aligns the semantically relevant dominant objects through a collect-and-select'' strategy. Specifically, we first calculate a relation matrix (RM) to collect" the distances of each local region pairs of the D tensor extracted from a query image and the mean tensor of the support images. Then, the attention technique is adapted to ``select" the semantically relevant pairs and put more weights on them. Afterwards, a multi-layer perceptron (MLP) is utilized to map the reweighted RMs to their corresponding similarity scores. Theoretical analysis demonstrates the generalization ability of SAML and gives a theoretical guarantee. Empirical results demonstrate that semantic alignment is achieved. Extensive experiments on benchmark datasets validate the strengths of the proposed approach and demonstrate that SAML significantly outperforms the current state-of-the-art methods. The source code is available at https://github.com/haofusheng/SAML.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
7 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Cross-Layer and Cross-Sample Feature Optimization Network for Few-Shot Fine-Grained Image Classification cites Object-aware Long-short-range Spatial Alignment for Few-Shot Fine-Grained Image Classification
- Cross-Layer and Cross-Sample Feature Optimization Network for Few-Shot Fine-Grained Image Classification cites Learning Cross-Image Object Semantic Relation in Transformer for Few-Shot Fine-Grained Image Classification
- Cross-Layer and Cross-Sample Feature Optimization Network for Few-Shot Fine-Grained Image Classification cites Bi-directional Feature Reconstruction Network for Fine-Grained Few-Shot Image Classification
- Learning Cross-Image Object Semantic Relation in Transformer for Few-Shot Fine-Grained Image Classification cites Object-aware Long-short-range Spatial Alignment for Few-Shot Fine-Grained Image Classification
Cited by top-tier papers7
- HyperTransformer: Model Generation for Supervised and Semi-Supervised Few-Shot LearningAndrey Zhmoginov, Mark Sandler, Maksym VladymyrovICML 2022 · 79 citations
- Bi-directional Feature Reconstruction Network for Fine-Grained Few-Shot Image ClassificationJijie Wu, Dongliang Chang, Aneeshan Sain, Xiaoxu Li et al.AAAI 2023 · 76 citations
- Cross-Layer and Cross-Sample Feature Optimization Network for Few-Shot Fine-Grained Image ClassificationZhen-Xiang Ma, Zhen-Duo Chen, Li-Jun Zhao, Zi-Chao Zhang et al.AAAI 2024 · 57 citations
- Learning Cross-Image Object Semantic Relation in Transformer for Few-Shot Fine-Grained Image ClassificationBo Zhang, Jiakang Yuan, Baopu Li, Tao Chen et al.ACM MM 2022 · 42 citations
- Object-aware Long-short-range Spatial Alignment for Few-Shot Fine-Grained Image ClassificationYike Wu, Bo Zhang, Gang Yu, Weixi Zhang et al.ACM MM 2021 · 40 citations
Related papers
- PANet: Few-Shot Image Semantic Segmentation With Prototype AlignmentKaixin Wang, Jun Hao Liew, Yingtian Zou, Daquan Zhou et al.ICCV 2019 · 1,404 citations
- Boosting Few-Shot Learning With Adaptive Margin LossAoxue Li, Weiran Huang, Xu Lan, Jiashi Feng et al.CVPR 2020
- SELP: A Semantically-Driven Approach for Separated and Accurate Class Prototypes in Few-Shot Text ClassificationWenxin Liang, Tingyu Zhang, Han Liu, Feng ZhangACL Findings 2024 · 2 citations
- Attributes-Guided and Pure-Visual Attention Alignment for Few-Shot RecognitionSiteng Huang, Min Zhang, Yachen Kang, Donglin WangAAAI 2021 · 49 citations
- Semantic Prompt for Few-Shot Image RecognitionCVPR 2023
