Cross-domain Few-shot Learning with Task-specific Adapters

Wei-Hong Li, Xialei Liu, Hakan Bilen
7/1/2021
cs.CV

Official code: VICO-UoE/URL (147 stars, MIT, last commit 2024-02-23). 1 more implementation below.

Abstract

In this paper, we look at the problem of cross-domain few-shot classification that aims to learn a classifier from previously unseen classes and domains with few labeled samples. Recent approaches broadly solve this problem by parameterizing their few-shot classifiers with task-agnostic and task-specific weights where the former is typically learned on a large training set and the latter is dynamically predicted through an auxiliary network conditioned on a small support set. In this work, we focus on the estimation of the latter, and propose to learn task-specific weights from scratch directly on a small support set, in contrast to dynamically estimating them. In particular, through systematic analysis, we show that task-specific weights through parametric adapters in matrix form with residual connections to multiple intermediate layers of a backbone network significantly improves the performance of the state-of-the-art models in the Meta-Dataset benchmark with minor additional cost.

View on arXivView PDF

Code Implementations(2)

VICO-UoE/URLOfficial100%
MIT

Universal Representation Learning from Multiple Domains for Few-shot Classification - ICCV 2021, Cross-domain Few-shot Learning with Task-specific Adapters - CVPR 2022

14717Shell, PythonMar 25, 20212 years agoMIT
few-shot-learningknowledge-distillationmulti-domain-learningmulti-domain-meta-training
TensorFlowApache-2.0

A dataset of datasets for learning to learn from few examples

803140Python, Jupyter NotebookMar 5, 20192 years agoApache-2.0
benchmarkfew-shot-learningmachine-learningmamlmeta-learning+1 more

Similar Papers

Cite this paper

@article{li2021crossdomain,
  title  = {Cross-domain Few-shot Learning with Task-specific Adapters},
  author = {Wei-Hong Li and Xialei Liu and Hakan Bilen},
  year   = {2021},
  eprint = {2107.00358},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.00358}
}

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

Discussion