Subspace Adaptation Prior for Few-Shot Learning

Mike Huisman, Aske Plaat, Jan N. van Rijn
10/13/2023
cs.LGcs.AIstat.ML

Official code: mikehuisman/subspace-adaptation-prior (4 stars, last commit 2023-01-31).

Abstract

Gradient-based meta-learning techniques aim to distill useful prior knowledge from a set of training tasks such that new tasks can be learned more efficiently with gradient descent. While these methods have achieved successes in various scenarios, they commonly adapt all parameters of trainable layers when learning new tasks. This neglects potentially more efficient learning strategies for a given task distribution and may be susceptible to overfitting, especially in few-shot learning where tasks must be learned from a limited number of examples. To address these issues, we propose Subspace Adaptation Prior (SAP), a novel gradient-based meta-learning algorithm that jointly learns good initialization parameters (prior knowledge) and layer-wise parameter subspaces in the form of operation subsets that should be adaptable. In this way, SAP can learn which operation subsets to adjust with gradient descent based on the underlying task distribution, simultaneously decreasing the risk of overfitting when learning new tasks. We demonstrate that this ability is helpful as SAP yields superior or competitive performance in few-shot image classification settings (gains between 0.1% and 3.9% in accuracy). Analysis of the learned subspaces demonstrates that low-dimensional operations often yield high activation strengths, indicating that they may be important for achieving good few-shot learning performance. For reproducibility purposes, we publish all our research code publicly.

View on arXivView PDF

Code Implementations(1)

43PythonJun 23, 20223 years ago

Similar Papers

Cite this paper

@article{huisman2023subspace,
  title  = {Subspace Adaptation Prior for Few-Shot Learning},
  author = {Mike Huisman and Aske Plaat and Jan N. van Rijn},
  year   = {2023},
  eprint = {2310.09028},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.09028v1}
}

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

Discussion