LGM-Net: Learning to Generate Matching Networks for Few-Shot Learning

Huaiyu Li, Weiming Dong, Xing Mei, Chongyang Ma, Feiyue Huang +1 more
5/15/2019
cs.LGstat.ML

Official code: likesiwell/LGM-Net (84 stars, Python, MIT, last commit 2020-04-27).

Abstract

In this work, we propose a novel meta-learning approach for few-shot classification, which learns transferable prior knowledge across tasks and directly produces network parameters for similar unseen tasks with training samples. Our approach, called LGM-Net, includes two key modules, namely, TargetNet and MetaNet.

Show full abstract

The TargetNet module is a neural network for solving a specific task and the MetaNet module aims at learning to generate functional weights for TargetNet by observing training samples. We also present an intertask normalization strategy for the training process to leverage common information shared across different tasks. The experimental results on Omniglot and miniImageNet datasets demonstrate that LGM-Net can effectively adapt to similar unseen tasks and achieve competitive performance, and the results on synthetic datasets show that transferable prior knowledge is learned by the MetaNet module via mapping training data to functional weights. LGM-Net enables fast learning and adaptation since no further tuning steps are required compared to other meta-learning approaches.

View on arXivView PDF

Code Implementations(1)

likesiwell/LGM-NetOfficial100%
MIT

Tensorflow code for ICML 2019 paper: LGM-Net: Learning to Generate Matching Networks for Few-Shot Learning

8424PythonMay 11, 20196 years agoMIT

Similar Papers

Cite this paper

@article{li2019lgmnet,
  title  = {LGM-Net: Learning to Generate Matching Networks for Few-Shot Learning},
  author = {Huaiyu Li and Weiming Dong and Xing Mei and Chongyang Ma and Feiyue Huang and Bao-Gang Hu},
  year   = {2019},
  eprint = {1905.06331},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1905.06331}
}

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

Discussion