NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Task-Specific Embeddings for Few-Shot Classification via Local Weight Adaptation

Nianru Gong, Pengfei Duan, Yi RongICMLC 2024

Abstract

Existing few-shot classification methods ignore the local spatial image features information, as image embeddings extracted globally may not optimally discriminative for the target task. In this paper, we argue that support embeddings supposed to represent image features adaptively for different tasks. Specifically, we extract local features at each spatial locations of images, and introduce an embeddings generator to produce task-specific embeddings of support samples adapt to the task at hand by reweighting local feature weights. The weights optimization is guided by capturing the correlations between intra and inter-class support samples. Then, query images are classified based on the feature maps reconstructed by support embeddings of different classes. We conduct extensive experiments to validate our method and the results indicate that our method improves the performance of few-shot classification on three benchmark datasets.
BibTeX
@inproceedings{gong2024learning,
  author = {Nianru Gong and Pengfei Duan and Yi Rong},
  title = {{Learning Task-Specific Embeddings for Few-Shot Classification via Local Weight Adaptation}},
  booktitle = {ICMLC},
  year = {2024},
  url = {https://openreview.net/forum?id=FVrkNuHBeA},
}

Loading related content...

Figure