Matching Feature Sets for Few-Shot Image Classification

被引:71
|
作者
Afrasiyabi, Arman [1 ,4 ]
Larochelle, Hugo [2 ,3 ,4 ]
Lalonde, Jean-Francois [1 ]
Gagne, Christian [1 ,3 ,4 ]
机构
[1] Univ Laval, Quebec City, PQ, Canada
[2] Google Brain, Mountain View, CA USA
[3] Canada CIFAR AI Chair, Toronto, ON, Canada
[4] Mila, Montreal, PQ, Canada
基金
加拿大自然科学与工程研究理事会;
关键词
D O I
10.1109/CVPR52688.2022.00881
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
In image classification, it is common practice to train deep networks to extract a single feature vector per input image. Few-shot classification methods also mostly follow this trend. In this work, we depart from this established direction and instead propose to extract sets of feature vectors for each image. We argue that a set-based representation intrinsically builds a richer representation of images from the base classes, which can subsequently better transfer to the few-shot classes. To do so, we propose to adapt existing feature extractors to instead produce sets of feature vectors from images. Our approach, dubbed SetFeat, embeds shallow self-attention mechanisms inside existing encoder architectures. The attention modules are lightweight, and as such our method results in encoders that have approximately the same number of parameters as their original versions. During training and inference, a set-to-set matching metric is used to perform image classification. The effectiveness of our proposed architecture and metrics is demonstrated via thorough experiments on standard few-shot datasetsD namely miniImageNet, tieredImageNet, and CUBDin both the 1- and 5-shot scenarios. In all cases but one, our method outperforms the state-of-the-art.
引用
收藏
页码:9004 / 9014
页数:11
相关论文
共 50 条
  • [21] A novel method of data and feature enhancement for few-shot image classification
    Yirui Wu
    Benze Wu
    Yunfei Zhang
    Shaohua Wan
    Soft Computing, 2023, 27 : 5109 - 5117
  • [22] Learning to focus: cascaded feature matching network for few-shot image recognition
    Chen, Mengting
    Wang, Xinggang
    Luo, Heng
    Geng, Yifeng
    Liu, Wenyu
    SCIENCE CHINA-INFORMATION SCIENCES, 2021, 64 (09)
  • [23] Learning to focus: cascaded feature matching network for few-shot image recognition
    Mengting CHEN
    Xinggang WANG
    Heng LUO
    Yifeng GENG
    Wenyu LIU
    ScienceChina(InformationSciences), 2021, 64 (09) : 90 - 102
  • [24] Learning to focus: cascaded feature matching network for few-shot image recognition
    Mengting Chen
    Xinggang Wang
    Heng Luo
    Yifeng Geng
    Wenyu Liu
    Science China Information Sciences, 2021, 64
  • [25] Few-Shot Classification With Feature Reconstruction Bias
    Li, Zhen
    Wang, Lang
    Ding, Shuo
    Yang, Xiaochen
    Li, Xiaoxu
    PROCEEDINGS OF 2022 ASIA-PACIFIC SIGNAL AND INFORMATION PROCESSING ASSOCIATION ANNUAL SUMMIT AND CONFERENCE (APSIPA ASC), 2022, : 526 - 532
  • [26] Feature augmentation based on information fusion rectification for few-shot image classification
    Hang Wang
    Shengzhao Tian
    Yan Fu
    Junlin Zhou
    Jingfa Liu
    Duanbing Chen
    Scientific Reports, 13
  • [27] Few-Shot Hyperspectral Image Classification Based on Adaptive Subspaces and Feature Transformation
    Bai, Jing
    Huang, Shaojie
    Xiao, Zhu
    Li, Xianmin
    Zhu, Yongdong
    Regan, Amelia C.
    Jiao, Licheng
    IEEE TRANSACTIONS ON GEOSCIENCE AND REMOTE SENSING, 2022, 60
  • [28] Adaptive prototype few-shot image classification method based on feature pyramid
    Shen, Linshan
    Feng, Xiang
    Xu, Li
    Ding, Weiyue
    PeerJ Computer Science, 2024, 10
  • [29] A Multi-Layer Feature Fusion Method for Few-Shot Image Classification
    Gomes, Jaco C.
    Borges, Lurdineide de A. B.
    Borges, Dibio L.
    SENSORS, 2023, 23 (15)
  • [30] Global and Local Feature Interaction with Vision Transformer for Few-shot Image Classification
    Sun, Mingze
    Ma, Weizhi
    Liu, Yang
    PROCEEDINGS OF THE 31ST ACM INTERNATIONAL CONFERENCE ON INFORMATION AND KNOWLEDGE MANAGEMENT, CIKM 2022, 2022, : 4530 - 4534