Meta-Learning with Differentiable Convex Optimization

Kwonjoon Lee, Subhransu Maji, Avinash Ravichandran, Stefano Soatto
4/7/2019
cs.CVcs.LG

Official code: kjunelee/MetaOptNet (543 stars, Apache-2.0, last commit 2024-07-25).

Abstract

Many meta-learning approaches for few-shot learning rely on simple base learners such as nearest-neighbor classifiers. However, even in the few-shot regime, discriminatively trained linear predictors can offer better generalization. We propose to use these predictors as base learners to learn representations for few-shot learning and show they offer better tradeoffs between feature size and performance across a range of few-shot recognition benchmarks. Our objective is to learn feature embeddings that generalize well under a linear classification rule for novel categories. To efficiently solve the objective, we exploit two properties of linear classifiers: implicit differentiation of the optimality conditions of the convex problem and the dual formulation of the optimization problem. This allows us to use high-dimensional embeddings with improved generalization at a modest increase in computational overhead. Our approach, named MetaOptNet, achieves state-of-the-art performance on miniImageNet, tieredImageNet, CIFAR-FS, and FC100 few-shot learning benchmarks. Our code is available at https://github.com/kjunelee/MetaOptNet.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Meta-Learning with Differentiable Convex Optimization (CVPR 2019 Oral)

54397PythonNov 2, 20182 years agoApache-2.0
convex-optimizationcvpr2019few-shotfew-shot-learningfew-shot-recognition+3 more

Similar Papers

Cite this paper

@article{lee2019metalearning,
  title  = {Meta-Learning with Differentiable Convex Optimization},
  author = {Kwonjoon Lee and Subhransu Maji and Avinash Ravichandran and Stefano Soatto},
  year   = {2019},
  eprint = {1904.03758},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1904.03758}
}

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

Discussion