Flatness Improves Backbone Generalisation in Few-shot Classification
Rui Li, Martin Trapp, Marcus Klasson, Arno Solin
TL;DR
The paper tackles the challenge of generalising few-shot classification across multiple, heterogeneous domains by focusing on backbone quality rather than complex fusion pipelines. It proposes a simple, theoretically grounded protocol: train backbones with flatness-aware objectives (e.g., sharpness-aware minimisation, SAM), fuse information across domains via fine-tuning (including LoRA variants), and select the most compatible backbone for unseen tasks using PARC scores. The authors derive a bound linking the target-domain generalisation gap to the SAM-ERM loss gap and domain divergence, and they provide extensive empirical evidence showing that flatness improves backbone generalisation, fine-tuning effectively fuses information, and the combined SAM+FT approach rivals or surpasses state-of-the-art methods on the Meta-Dataset benchmark. The work offers a practical, competitive baseline that is simple to integrate with existing FSC adaptation methods and suggests broader applicability to other cross-domain learning settings.
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.
