[Paper Review] Free Lunch for Few-shot Learning: Distribution Calibration
The paper presents a simple, parameter-free distribution calibration strategy that transfers base-class statistics to few-shot novel classes in feature space, enabling sampled features to improve classifier training. A logistic regressor trained with these calibrated features achieves state-of-the-art results on multiple datasets.
Learning from a limited number of samples is challenging since the learned model can easily become overfitted based on the biased distribution formed by only a few training examples. In this paper, we calibrate the distribution of these few-sample classes by transferring statistics from the classes with sufficient examples, then an adequate number of examples can be sampled from the calibrated distribution to expand the inputs to the classifier. We assume every dimension in the feature representation 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. Our method can be built on top of off-the-shelf pretrained feature extractors and classification models without extra parameters. We show that a simple logistic regression classifier trained using the features sampled from our calibrated distribution can outperform the state-of-the-art accuracy on two datasets (~5% improvement on miniImageNet compared to the next best). The visualization of these generated features demonstrates that our calibrated distribution is an accurate estimation.
Motivation & Objective
- Address overfitting and biased distribution in few-shot learning by calibrating feature-space distributions using statistics from many-shot base classes.
- Propose a Gaussian-feature-model-based transfer mechanism to estimate calibrated means and covariances for novel classes.
- Leverage Tukey’s Ladder of Powers transformation to Gaussianize features and generate augmented samples without additional learned parameters.
- Demonstrate that a simple logistic regression (or linear classifiers) trained on calibrated samples outperforms state-of-the-art methods.
- Showcase method robustness across multiple datasets and backbones without extra parameter learning.
Proposed method
- Assume each feature dimension follows a Gaussian distribution per class and transfer base-class statistics to novel classes based on class similarity.
- Use Tukey’s Ladder of Powers transformation to Gaussianize features before calibration.
- For each support-feature, identify k nearest base classes by mean-distance and compute calibrated mean and covariance for that sample.
- Construct a calibrated distribution set for each novel class from nearest-base statistics and sample additional features from these distributions.
- Train a classifier on both original (transformed) support features and generated features using cross-entropy loss; no new learnable parameters are introduced.
Experimental results
Research questions
- RQ1Can distribution calibration improve few-shot learning by mitigating distribution bias without learning extra parameters?
- RQ2How well can base-class statistics be transferred to novel classes using feature-space Gaussian assumptions?
- RQ3What is the impact of Tukey’s transformation and the number of generated samples on few-shot accuracy?
- RQ4How does the proposed method perform across different datasets and backbones?
- RQ5Is a simple linear classifier sufficient when trained on calibrated, augmented features?
Key findings
- Improved 5-way 1-shot and 5-way 5-shot accuracies on mini ImageNet, tiered ImageNet, and CUB using simple classifiers with calibrated features.
- Calibrated distributions produce features that better cover test distributions, as shown by visualization and accuracy gains.
- A logistic regression or SVM trained on calibrated, augmented features surpasses several state-of-the-art methods while requiring no extra learnable parameters.
- Tukey’s transformation (λ around 0.5) combined with generated features yields the best ablation performance.
- Calibration is robust across backbones and can be applied on top of various baselines to boost performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.