Learning to Class-Adaptively Manipulate Embeddings for Few-Shot Learning

In few-shot learning (FSL), meta-learning approach (MLA) mainly focuses on learning transferable knowledge from plenty of auxiliary FSL tasks to facilitate fast generalization to a new task. For a given FSL task, due to the inter-class distribution discrepancy, each class necessitates a specific embedding (i.e., a mapping function) to map samples into an ideal semantic space where samples from this class can be well separately from other classes. Moreover, these embeddings may vary with different tasks. Hence, one crucial knowledge for MLA is how to separately construct optimal embeddings for each class based on a few training samples given in a FSL task. However, most existing MLAs rarely consider this and thus show limited generalization capacity. To mitigate this problem, instead of directly construct class-adaptive embeddings, we present a new MLA that aims at learning to class-adaptively manipulate the features of samples for accurate classification in a new FSL task. In a specific, for a new FSL task, the proposed MLA first learns to generate some class-specific weights based on training samples via exploiting the inter-class distribution discrepancy between this class and the others. Then, the generated weights are utilized to compute the Hadamard product of features produced by a task-agnostic embedding module. By doing this, the proposed MLA can dynamically enhance or depress some specific semantic dimensions of sample features depending on the distribution of each class for accurate classification, and thus equals to constructing class-adaptive embeddings for each class but in a simpler way which can appropriately avoid over-fitting and is scalable to cases with extensive classes. To show its efficacy, we test the proposed MLA on four benchmark FSL datasets under various settings and report superior performance over existing state-of-the-arts.

[1]  Guangming Shi,et al.  Bayesian Correlation Filter Learning With Gaussian Scale Mixture Model for Visual Tracking , 2022, IEEE Transactions on Circuits and Systems for Video Technology.

[2]  Ismail Ben Ayed,et al.  Realistic Evaluation of Transductive Few-Shot Learning , 2022, NeurIPS.

[3]  Hanli Wang,et al.  Meta-Learning-Based Incremental Few-Shot Object Detection , 2022, IEEE Transactions on Circuits and Systems for Video Technology.

[4]  Yicong Zhou,et al.  GCT: Graph Co-Training for Semi-Supervised Few-Shot Learning , 2022, IEEE Transactions on Circuits and Systems for Video Technology.

[5]  Jun Liu,et al.  Auto-FSL: Searching the Attribute Consistent Network for Few-Shot Learning , 2022, IEEE Transactions on Circuits and Systems for Video Technology.

[6]  Kenli Li,et al.  Hierarchical Graph Neural Networks for Few-Shot Learning , 2022, IEEE Transactions on Circuits and Systems for Video Technology.

[7]  Shuicheng Yan,et al.  TransZero++: Cross Attribute-Guided Transformer for Zero-Shot Learning , 2021, IEEE transactions on pattern analysis and machine intelligence.

[8]  Xiaokang Yang,et al.  Task-Specific Normalization for Continual Learning of Blind Image Quality Models , 2021, ArXiv.

[9]  Yunming Ye,et al.  Learn to abstract via concept graph for weakly-supervised few-shot learning , 2021, Pattern Recognit..

[10]  Wen Jiang,et al.  Multi-Scale Metric Learning for Few-Shot Learning , 2021, IEEE Transactions on Circuits and Systems for Video Technology.

[11]  Xiaokang Yang,et al.  Continual Learning for Blind Image Quality Assessment , 2021, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[12]  Gao Huang,et al.  Dynamic Neural Networks: A Survey , 2021, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[13]  Min Xu,et al.  Free Lunch for Few-shot Learning: Distribution Calibration , 2021, ICLR.

[14]  Kyoung Mu Lee,et al.  Meta-Learning with Adaptive Hyperparameters , 2020, NeurIPS.

[15]  R. Zemel,et al.  Bayesian Few-Shot Classification with One-vs-Each Pólya-Gamma Augmented Gaussian Processes , 2020, ICLR.

[16]  Jae-Joon Han,et al.  Meta Variance Transfer: Learning to Augment from the Others , 2020, ICML.

[17]  Frank D. Wood,et al.  Enhancing Few-Shot Image Classification with Unlabelled Examples , 2020, 2022 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV).

[18]  Liang Wang,et al.  Adaptive Deep Metric Learning for Affective Image Retrieval and Classification , 2020, IEEE Transactions on Multimedia.

[19]  Mehrtash Harandi,et al.  Adaptive Subspaces for Few-Shot Learning , 2020, 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).

[20]  Zheng Zhang,et al.  Negative Margin Matters: Understanding Margin in Few-shot Classification , 2020, ECCV.

[21]  Yue Wang,et al.  Rethinking Few-Shot Image Classification: a Good Embedding Is All You Need? , 2020, ECCV.

[22]  Yonghong Tian,et al.  Adaptation-Oriented Feature Projection for One-Shot Action Recognition , 2020, IEEE Transactions on Multimedia.

[23]  Natalia Gimelshein,et al.  PyTorch: An Imperative Style, High-Performance Deep Learning Library , 2019, NeurIPS.

[24]  Jinlu Liu,et al.  Prototype Rectification for Few-Shot Learning , 2019, ECCV.

[25]  Yonghong Tian,et al.  Transductive Episodic-Wise Adaptive Metric for Few-Shot Learning , 2019, 2019 IEEE/CVF International Conference on Computer Vision (ICCV).

[26]  Stefano Soatto,et al.  A Baseline for Few-Shot Image Classification , 2019, ICLR.

[27]  Qiang Wu,et al.  Low-Rank Pairwise Alignment Bilinear Network For Few-Shot Fine-Grained Image Classification , 2019, IEEE Transactions on Multimedia.

[28]  Rita Cucchiara,et al.  Embodied Vision-and-Language Navigation with Dynamic Convolutional Filters , 2019, BMVC.

[29]  Xiaogang Wang,et al.  Finding Task-Relevant Features for Few-Shot Learning by Category Traversal , 2019, 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).

[30]  Feiyue Huang,et al.  LGM-Net: Learning to Generate Matching Networks for Few-Shot Learning , 2019, ICML.

[31]  Stefano Soatto,et al.  Few-Shot Learning With Embedded Class Models and Shot-Free Meta Training , 2019, 2019 IEEE/CVF International Conference on Computer Vision (ICCV).

[32]  Xin Wang,et al.  TAFE-Net: Task-Aware Feature Embeddings for Low Shot Learning , 2019, 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).

[33]  Subhransu Maji,et al.  Meta-Learning With Differentiable Convex Optimization , 2019, 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).

[34]  Lei Wang,et al.  Revisiting Local Descriptor Based Image-To-Class Measure for Few-Shot Learning , 2019, 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).

[35]  Fei Sha,et al.  Few-Shot Learning via Embedding Adaptation With Set-to-Set Functions , 2018, 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).

[36]  Yoshua Bengio,et al.  MetaGAN: An Adversarial Approach to Few-Shot Learning , 2018, NeurIPS.

[37]  Xuelong Li,et al.  Learning Parts-Based and Global Representation for Image Classification , 2018, IEEE Transactions on Circuits and Systems for Video Technology.

[38]  Stan Matwin,et al.  Learning to Learn with Conditional Class Dependencies , 2018, ICLR.

[39]  Fang Zhao,et al.  Dynamic Conditional Networks for Few-Shot Learning , 2018, ECCV.

[40]  Razvan Pascanu,et al.  Meta-Learning with Latent Embedding Optimization , 2018, ICLR.

[41]  Wen Gao,et al.  Multiscale Deep Alternative Neural Network for Large-Scale Video Classification , 2018, IEEE Transactions on Multimedia.

[42]  J. Tenenbaum Building Machines that Learn and Think Like People , 2018, AAMAS.

[43]  Rogério Schmidt Feris,et al.  Delta-encoder: an effective sample synthesis method for few-shot object recognition , 2018, NeurIPS.

[44]  Yi Yang,et al.  Transductive Propagation Network for Few-shot Learning , 2018, ArXiv.

[45]  Alexandre Lacoste,et al.  TADAM: Task dependent adaptive metric for improved few-shot learning , 2018, NeurIPS.

[46]  Luca Bertinetto,et al.  Meta-learning with differentiable closed-form solvers , 2018, ICLR.

[47]  Nikos Komodakis,et al.  Dynamic Few-Shot Visual Learning Without Forgetting , 2018, 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition.

[48]  Joshua B. Tenenbaum,et al.  Meta-Learning for Semi-Supervised Few-Shot Classification , 2018, ICLR.

[49]  Tsendsuren Munkhdalai,et al.  Rapid Adaptation with Conditionally Shifted Neurons , 2017, ICML.

[50]  Nuno Vasconcelos,et al.  Cascade R-CNN: Delving Into High Quality Object Detection , 2017, 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition.

[51]  Yichen Wei,et al.  Relation Networks for Object Detection , 2017, 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition.

[52]  Tao Xiang,et al.  Learning to Compare: Relation Network for Few-Shot Learning , 2017, 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition.

[53]  Joan Bruna,et al.  Few-Shot Learning with Graph Neural Networks , 2017, ICLR.

[54]  Yu Cheng,et al.  Know You at One Glance: A Compact Vector Representation for Low-Shot Learning , 2017, 2017 IEEE International Conference on Computer Vision Workshops (ICCVW).

[55]  Hang Li,et al.  Meta-SGD: Learning to Learn Quickly for Few Shot Learning , 2017, ArXiv.

[56]  Pieter Abbeel,et al.  A Simple Neural Attentive Meta-Learner , 2017, ICLR.

[57]  Wei Shen,et al.  Few-Shot Image Recognition by Predicting Parameters from Activations , 2017, 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition.

[58]  Lukasz Kaiser,et al.  Attention is All you Need , 2017, NIPS.

[59]  Xiaogang Wang,et al.  Residual Attention Network for Image Classification , 2017, 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[60]  Richard S. Zemel,et al.  Prototypical Networks for Few-shot Learning , 2017, NIPS.

[61]  Sergey Levine,et al.  Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networks , 2017, ICML.

[62]  Christoph H. Lampert,et al.  iCaRL: Incremental Classifier and Representation Learning , 2016, 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[63]  Hugo Larochelle,et al.  Optimization as a Model for Few-Shot Learning , 2016, ICLR.

[64]  Oriol Vinyals,et al.  Matching Networks for One Shot Learning , 2016, NIPS.

[65]  Jian Sun,et al.  Deep Residual Learning for Image Recognition , 2015, 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR).

[66]  Dit-Yan Yeung,et al.  Convolutional LSTM Network: A Machine Learning Approach for Precipitation Nowcasting , 2015, NIPS.

[67]  Jimmy Ba,et al.  Adam: A Method for Stochastic Optimization , 2014, ICLR.

[68]  Michael S. Bernstein,et al.  ImageNet Large Scale Visual Recognition Challenge , 2014, International Journal of Computer Vision.

[69]  Rishav Singh,et al.  MetaMed: Few-shot medical image classification using gradient-based meta-learning , 2021, Pattern Recognit..

[70]  SeYoung Yun,et al.  BOIL: Towards Representation Change for Few-shot Learning , 2021, ICLR.

[71]  Shuqiang Jiang,et al.  Attribute-Guided Feature Learning for Few-Shot Image Recognition , 2021, IEEE Transactions on Multimedia.

[72]  Xiaoyang Tan,et al.  Real-world Cross-modal Retrieval via Sequential Learning , 2021, IEEE Transactions on Multimedia.

[73]  Gunhee Kim,et al.  Model-Agnostic Boundary-Adversarial Sampling for Test-Time Generalization in Few-Shot Learning , 2020, ECCV.

[74]  Guigang Zhang,et al.  Deep Learning , 2016, Int. J. Semantic Comput..

[75]  ImageNet Classification with Deep Convolutional Neural , 2013 .

[76]  Alex Krizhevsky,et al.  Learning Multiple Layers of Features from Tiny Images , 2009 .

[77]  John C. Reynolds,et al.  School of Computer Science , 1992 .