Matching Feature Sets for Few-Shot Image Classification

被引:85
作者
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
来源
2022 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR) | 2022年
基金
加拿大自然科学与工程研究理事会;
关键词
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
相关论文
共 57 条
[1]   Associative Alignment for Few-Shot Image Classification [J].
Afrasiyabi, Arman ;
Lalonde, Jean-Francois ;
Gagne, Christian .
COMPUTER VISION - ECCV 2020, PT V, 2020, 12350 :18-35
[2]   Machine Performance Monitoring and Fault Classification using Vibration Frequency Analysis [J].
Alghassi, Alireza ;
Yu, Zhou ;
Farbiz, Farzam .
2020 PROGNOSTICS AND SYSTEM HEALTH MANAGEMENT CONFERENCE (PHM-BESANCON 2020), 2020, :8-14
[3]  
Allen Kelsey R., 2019, PR MACH LEARN RES, V97
[4]  
Antoniou A., 2019, P 9 BALK C INF SOF B, DOI DOI 10.1145/3351556.3351574
[5]  
Bertinetto L., 2019, INT C LEARN REPR
[6]  
Boudiaf Malik, 2020, Advances in Neural Information Processing Systems (NeurIPS)
[7]  
CatherineWah Steve Branson, 2011, Tech. rep. CNS-TR-2011-001
[8]  
Chen W., 2019, HYDRO SCI COLD ZONE, V2, P6
[9]   Learning Implicit Fields for Generative Shape Modeling [J].
Chen, Zhiqin ;
Zhang, Hao .
2019 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2019), 2019, :5932-5941
[10]  
Dhillon G.S., 2020, ICLR