Rethinking Semantic Few-Shot Image Classification

Zihao Jiang, Yunkai Dang, Dong Pang, Huishuai Zhang, Weiran HuangOpenReview 2024 · Submission to ICLR 2024 · Rejected

Abstract

Few-shot learning aims to train models that can be generalized to novel classes with only a few samples. Recently, a line of works has been proposed to enhance few-shot learning with semantic information from class names. However, these works focus on injecting semantic information into existing modules such as visual prototypes and feature extractors of the standard few-shot learning framework, which requires complex designs of the fusion mechanism. In this paper, we propose a novel few-shot learning framework that uses public textual encoders based on contrastive learning. To address the challenge of alignment between visual features and textual embeddings obtained from public textual encoders, we carefully design the textual branch of our framework and introduce a metric module to generalize the cosine similarity. For better transferability, we let the metric module adapt to different few-shot tasks and adopt MAML to train the model via bi-level optimization. Moreover, we conduct extensive experiments on multiple benchmarks to demonstrate the effectiveness of our method.
BibTeX
@misc{jiang2024rethinking,
  author = {Zihao Jiang and Yunkai Dang and Dong Pang and Huishuai Zhang and Weiran Huang},
  title = {{Rethinking Semantic Few-Shot Image Classification}},
  year = {2024},
  url = {https://openreview.net/forum?id=vFqVifIr6E},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2024},
}

Loading related content...

Figure