Diagnosing and Remedying Shot Sensitivity with Cosine Few-Shot Learners
Few-shot recognition involves training an image classifier to distinguish novel concepts at test time using few examples (shot). Existing approaches generally assume that the shot number at test time is known in advance. This is not realistic, and the performance of a popular and foundational method has been shown to suffer when train and test shots do not match. We conduct a systematic empirical study of this phenomenon. In line with prior work, we find that shot sensitivity is broadly present across metric-based few-shot learners, but in contrast to prior work, larger neural architectures provide a degree of built-in robustness to varying test shot. More importantly, a simple, previously known but greatly overlooked class of approaches based on cosine distance consistently and greatly improves robustness to shot variation, by removing sensitivity to sample noise. We derive cosine alternatives to popular and recent few-shot classifiers, broadening their applicability to realistic settings. These cosine models consistently improve shot-robustness, outperform prior shot-robust state of the art, and provide competitive accuracy on a range of benchmarks and architectures, including notable gains in the very-low-shot regime.
Code (0)
등록된 구현이 없습니다.
Tasks
Novel ConceptsSensitivityMethods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
Enhancing Few-shot Image Classification with Cosine Transformer
This paper addresses the few-shot image classification problem, where the classification task is performed on unlabeled query samples given a small amount of labeled support samples only. One major challenge of the few-s…
ClassificationFew-Shot Image ClassificationFew-Shot Learningimage-classification+1Training for Compositional Sensitivity Reduces Dense Retrieval Generalization
Dense retrieval compresses texts into single embeddings ranked by cosine similarity. While efficient for recall, this interface is brittle for identity-level matching: minimal compositional edits (negation, role swaps) f…
A Maximum Log-Likelihood Method for Imbalanced Few-Shot Learning Tasks
Few-shot learning is a rapidly evolving area of research in machine learning where the goal is to classify unlabeled data with only one or "a few" labeled exemplary samples. Neural networks are typically trained to minim…
Few-Shot LearningSemantic Prompt for Few-Shot Image Recognition
Few-shot learning is a challenging problem since only a few examples are provided to recognize a new class. Several recent studies exploit additional semantic information, e.g. text embeddings of class names, to address …
Few-Shot LearningDynamic Sub-Cluster-Aware Network for Few-Shot Skin Disease Classification
This paper addresses the problem of few-shot skin disease classification by introducing a novel approach called the Sub-Cluster-Aware Network (SCAN) that enhances accuracy in diagnosing rare skin diseases. The key insigh…
ClassificationClusteringFew-Shot LearningRepresentation Learning+1