Worst Case Matters for Few-Shot Recognition

Minghao Fu, Yun-Hao Cao, Jianxin Wu
3/13/2022
cs.CVcs.AI

Official code: heekhero/ACSR (11 stars, Python, PyTorch, last commit 2022-07-25).

Abstract

Few-shot recognition learns a recognition model with very few (e.g., 1 or 5) images per category, and current few-shot learning methods focus on improving the average accuracy over many episodes. We argue that in real-world applications we may often only try one episode instead of many, and hence maximizing the worst-case accuracy is more important than maximizing the average accuracy.

Show full abstract

We empirically show that a high average accuracy not necessarily means a high worst-case accuracy. Since this objective is not accessible, we propose to reduce the standard deviation and increase the average accuracy simultaneously. In turn, we devise two strategies from the bias-variance tradeoff perspective to implicitly reach this goal: a simple yet effective stability regularization (SR) loss together with model ensemble to reduce variance during fine-tuning, and an adaptability calibration mechanism to reduce the bias. Extensive experiments on benchmark datasets demonstrate the effectiveness of the proposed strategies, which outperforms current state-of-the-art methods with a significant margin in terms of not only average, but also worst-case accuracy. Our code is available at https://github.com/heekhero/ACSR.

View on arXivView PDF

Code Implementations(1)

heekhero/ACSROfficial100%
PyTorch
110PythonJul 7, 20224 years ago
eccv2022few-shot-learningpytorch

Similar Papers

Cite this paper

@article{fu2022worst,
  title  = {Worst Case Matters for Few-Shot Recognition},
  author = {Minghao Fu and Yun-Hao Cao and Jianxin Wu},
  year   = {2022},
  eprint = {2203.06574},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.06574}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2203.06574.svg)](https://codeofpaper.com/paper/2203.06574)

Discussion