MetaNODE: Prototype Optimization as a Neural ODE for Few-Shot Learning

Authors

  • Baoquan Zhang Harbin Institute of Technology, Shenzhen
  • Xutao Li Harbin Institute of Technology, Shenzhen
  • Shanshan Feng Harbin Institute of Technology, Shenzhen
  • Yunming Ye Harbin Institute of Technology, Shenzhen
  • Rui Ye Harbin Institute of Technology, Shenzhen

DOI:

https://doi.org/10.1609/aaai.v36i8.20885

Keywords:

Machine Learning (ML), Computer Vision (CV)

Abstract

Few-Shot Learning (FSL) is a challenging task, i.e., how to recognize novel classes with few examples? Pre-training based methods effectively tackle the problem by pre-training a feature extractor and then predicting novel classes via a cosine nearest neighbor classifier with mean-based prototypes. Nevertheless, due to the data scarcity, the mean-based prototypes are usually biased. In this paper, we attempt to diminish the prototype bias by regarding it as a prototype optimization problem. To this end, we propose a novel meta-learning based prototype optimization framework to rectify prototypes, i.e., introducing a meta-optimizer to optimize prototypes. Although the existing meta-optimizers can also be adapted to our framework, they all overlook a crucial gradient bias issue, i.e., the mean-based gradient estimation is also biased on sparse data. To address the issue, we regard the gradient and its flow as meta-knowledge and then propose a novel Neural Ordinary Differential Equation (ODE)-based meta-optimizer to polish prototypes, called MetaNODE. In this meta-optimizer, we first view the mean-based prototypes as initial prototypes, and then model the process of prototype optimization as continuous-time dynamics specified by a Neural ODE. A gradient flow inference network is carefully designed to learn to estimate the continuous gradient flow for prototype dynamics. Finally, the optimal prototypes can be obtained by solving the Neural ODE. Extensive experiments on miniImagenet, tieredImagenet, and CUB-200-2011 show the effectiveness of our method.

Downloads

Published

2022-06-28

How to Cite

Zhang, B., Li, X., Feng, S., Ye, Y., & Ye, R. (2022). MetaNODE: Prototype Optimization as a Neural ODE for Few-Shot Learning. Proceedings of the AAAI Conference on Artificial Intelligence, 36(8), 9014-9021. https://doi.org/10.1609/aaai.v36i8.20885

Issue

Section

AAAI Technical Track on Machine Learning III