Shared Nearest Neighbor Calibration for Few-Shot Classification.

Rundong Qi,Sa Ning,Yong Jiang,Yuwei Zhang,Wenyu Yang
DOI: https://doi.org/10.1007/978-981-99-8462-6_1
2024-01-01
Abstract:Few-shot classification aims to classify query samples using very few labeled examples. Most existing methods follow the Prototypical Network to classify query samples by matching them to the nearest centroid. However, scarce labeled examples tend to bias the centroids, which leads to query samples matching the wrong centroids. In this paper, we address the mismatching problem of centroids and query samples by optimizing the matching strategy. The idea is to combine the Shared Nearest Neighbor similarity with cosine similarity proportionally to calibrate the matching results of the latter. Furthermore, we also improve a bias-diminishing approach to increase the number of shared nearest neighbors between query samples and the centroid of their class. We validate the effectiveness of our method with extensive experiments on three few-shot classification datasets: miniImageNet, tieredImageNet, and CUB-200-2011 (CUB). Moreover, our method has achieved competitive performance across different settings and datasets.
What problem does this paper attempt to address?