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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 74d1d780-fd33-45be-a0d4-3f14f1bea11fCited 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
- 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
- Meta Faster R-CNN: Towards Accurate Few-Shot Object Detection with Attentive Feature AlignmentGuangxing Han, Shiyuan Huang, Jiawei Ma, Yicheng He et al.AAAI 2022 · 227 citations
