Flatness Improves Backbone Generalisation in Few-shot Classification

Rui Li, Martin Trapp, Marcus Klasson, Arno Solin
4/11/2024
cs.LGcs.CV

No official code found. Best implementation: AaltoML/FlatFSL (2 stars, MIT, last commit 2025-03-15).

Abstract

Deployment of deep neural networks in real-world settings typically requires adaptation to new tasks with few examples. Few-shot classification (FSC) provides a solution to this problem by leveraging pre-trained backbones for fast adaptation to new classes. However, approaches for multi-domain FSC typically result in complex pipelines aimed at information fusion and task-specific adaptation without consideration of the importance of backbone training. In this work, we introduce an effective strategy for backbone training and selection in multi-domain FSC by utilizing flatness-aware training and fine-tuning. Our work is theoretically grounded and empirically performs on par or better than state-of-the-art methods despite being simpler. Further, our results indicate that backbone training is crucial for good generalisation in FSC across different adaptation methods.

View on arXivView PDF

Code Implementations(1)

AaltoML/FlatFSLCommunity57%
MIT

Code for "Flatness Improves Backbone Generalisation in Few-shot Classification", WACV 2025.

20PythonDec 5, 20241 years agoMIT

Similar Papers

Cite this paper

@article{li2024flatness,
  title  = {Flatness Improves Backbone Generalisation in Few-shot Classification},
  author = {Rui Li and Martin Trapp and Marcus Klasson and Arno Solin},
  year   = {2024},
  eprint = {2404.07696},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.07696v2}
}

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/2404.07696.svg)](https://codeofpaper.com/paper/2404.07696)

Discussion