Few-shot Classification as Multi-instance Verification: Effective Backbone-agnostic Transfer across Domains

Xin Xu, Eibe Frank, Geoffrey Holmes
7/1/2025
cs.CVcs.LG

Official code: xxweka/MIV-head (0 stars, Python, MIT, last commit 2025-10-26).

Abstract

We investigate cross-domain few-shot learning under the constraint that fine-tuning of backbones (i.e., feature extractors) is impossible or infeasible---a scenario that is increasingly common in practical use cases---and show how representing few-shot classification as a series of multiple instance verification (MIV) tasks enables competitive classification performance using the static embeddings produced by frozen, "black-box" backbones. More specifically, based on this novel representation, we introduce a new approach to few-shot domain adaptation named the "MIV-head": a classification head that is backbone-agnostic and computationally efficient.

Show full abstract

We show that the core components of the MIV-head, when trained on few-shot data from a target domain, collectively yield strong performance on test data from that domain. Importantly, they do so without fine-tuning the backbone, requiring only the "meta-testing" phase. In experiments under various settings on an extension of the Meta-Dataset benchmark for cross-domain few-shot image classification, using representative off-the-shelf convolutional neural network and vision transformer backbones pretrained on ImageNet1K, we demonstrate that the MIV-head achieves highly competitive accuracy when compared to state-of-the-art "adapter" (or "partial fine-tuning") methods applied to the same backbones, while incurring substantially lower adaptation cost. Moreover, compared to our approach, well-known "classification head" approaches achieve a substantially lower level of accuracy. We share our code at: https://github.com/xxweka/MIV-head.

View on arXivView PDF

Code Implementations(1)

xxweka/MIV-headOfficial100%
MIT

Backbone-agnostic few-shot transfer learning across domains

00PythonJun 30, 20251 years agoMIT

Similar Papers

Cite this paper

@article{xu2025fewshot,
  title  = {Few-shot Classification as Multi-instance Verification: Effective Backbone-agnostic Transfer across Domains},
  author = {Xin Xu and Eibe Frank and Geoffrey Holmes},
  year   = {2025},
  eprint = {2507.00401},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.00401v2}
}

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

Discussion