RotoGBML: Towards Out-of-Distribution Generalization for Gradient-Based Meta-Learning

Min Zhang, Zifeng Zhuang, Zhitao Wang, Donglin Wang, Wenbin Li
3/12/2023
cs.CV

No confident code implementation found for this paper.

Abstract

Gradient-based meta-learning (GBML) algorithms are able to fast adapt to new tasks by transferring the learned meta-knowledge, while assuming that all tasks come from the same distribution (in-distribution, ID). However, in the real world, they often suffer from an out-of-distribution (OOD) generalization problem, where tasks come from different distributions. OOD exacerbates inconsistencies in magnitudes and directions of task gradients, which brings challenges for GBML to optimize the meta-knowledge by minimizing the sum of task gradients in each minibatch. To address this problem, we propose RotoGBML, a novel approach to homogenize OOD task gradients. RotoGBML uses reweighted vectors to dynamically balance diverse magnitudes to a common scale and uses rotation matrixes to rotate conflicting directions close to each other. To reduce overhead, we homogenize gradients with the features rather than the network parameters. On this basis, to avoid the intervention of non-causal features (e.g., backgrounds), we also propose an invariant self-information (ISI) module to extract invariant causal features (e.g., the outlines of objects). Finally, task gradients are homogenized based on these invariant causal features. Experiments show that RotoGBML outperforms other state-of-the-art methods on various few-shot image classification benchmarks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{zhang2023rotogbml,
  title  = {RotoGBML: Towards Out-of-Distribution Generalization for Gradient-Based Meta-Learning},
  author = {Min Zhang and Zifeng Zhuang and Zhitao Wang and Donglin Wang and Wenbin Li},
  year   = {2023},
  eprint = {2303.06679},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.06679v1}
}

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

Discussion