Bridging the Gap Between Few-Shot and Many-Shot Learning via Distribution Calibration
- 3 December 2021
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Pattern Analysis and Machine Intelligence
- Vol. 44 (12) , 9830-9843
Abstract
A major gap between few-shot and many-shot learning is the data distribution empirically oserved by the model during training. In few-shot learning, the learned model can easily become over-fitted based on the biased distribution formed by only a few training examples, while the ground-truth data distribution is more accurately uncovered in many-shot learning to learn a well-generalized model. In this paper, we propose to calibrate the distribution of these few-sample classes to be more unbiased to alleviate such an over-fitting problem. The distribution calibration is achieved by transferring statistics from the classes with sufficient examples to those few-sample classes. After calibration, an adequate number of examples can be sampled from the calibrated distribution to expand the inputs to the classifier. Specifically, we assume every dimension in the feature representation from the same class follows a Gaussian distribution so that the mean and the variance of the distribution can borrow from that of similar classes whose statistics are better estimated with an adequate number of samples. Extensive experiments on three datasets, mini ImageNet, tiered ImageNet, and CUB, show that a simple linear classifier trained using the features sampled from our calibrated distribution can outperform the state-of-the-art accuracy by a large margin. Besides the favorable performance, the proposed method also exhibits high flexibility by showing consistent accuracy improvement when it is built on top of any off-the-shelf pretrained feature extractors and classification models without extra learnable parameters. The visualization of these generated features demonstrates that our calibrated distribution is an accurate estimation thus the generalization ability gain is convincing. We also establish a generalization error bound for the proposed distribution-calibration-based few-shot learning, which consists of the distribution assumption error , the distribution approximation error , and the estimation error . This generalization error bound theoretically justifies the effectiveness of the proposed method.Keywords
All Related Versions
This publication has 21 references indexed in Scilit:
- Multi-Level Semantic Feature Augmentation for One-Shot LearningIEEE Transactions on Image Processing, 2019
- Learning to Compare: Relation Network for Few-Shot Learning2018
- Feature Generating Networks for Zero-Shot Learning2018
- Low-Shot Learning from Imaginary Data2018
- Low-Shot Visual Recognition by Shrinking and Hallucinating Features2017
- Deep Residual Learning for Image Recognition2016
- Wide Residual Networks2016
- A theory of learning from different domainsMachine Learning, 2009
- Support-vector networksMachine Learning, 1995
- Learning representations by back-propagating errorsNature, 1986