Skip to main content
QUICK REVIEW

[Paper Review] Learning Adaptive Classifiers Synthesis for Generalized Few-Shot Learning

Han-Jia Ye, Hexiang Hu|arXiv (Cornell University)|Jun 7, 2019
Domain Adaptation and Few-Shot LearningComputer Science72 references13 citations
TL;DR

This paper proposes Castle and aCastle, neural frameworks for generalized few-shot learning (GFSL) that synthesize calibrated few-shot classifiers using a shared neural dictionary, enabling effective inductive knowledge transfer from seen (head) to unseen (tail) classes. aCastle further adapts head classifiers using tail examples, achieving state-of-the-art performance on MiniImageNet and Tiered-ImageNet under both few-shot and generalized few-shot evaluation protocols.

ABSTRACT

Object recognition in the real-world requires handling long-tailed or even open-ended data. An ideal visual system needs to recognize the populated head visual concepts reliably and meanwhile efficiently learn about emerging new tail categories with a few training instances. Class-balanced many-shot learning and few-shot learning tackle one side of this problem, by either learning strong classifiers for head or learning to learn few-shot classifiers for the tail. In this paper, we investigate the problem of generalized few-shot learning (GFSL) -- a model during the deployment is required to learn about tail categories with few shots and simultaneously classify the head classes. We propose the ClAssifier SynThesis LEarning (CASTLE), a learning framework that learns how to synthesize calibrated few-shot classifiers in addition to the multi-class classifiers of head classes with a shared neural dictionary, shedding light upon the inductive GFSL. Furthermore, we propose an adaptive version of CASTLE (ACASTLE) that adapts the head classifiers conditioned on the incoming tail training examples, yielding a framework that allows effective backward knowledge transfer. As a consequence, ACASTLE can handle GFSL with classes from heterogeneous domains effectively. CASTLE and ACASTLE demonstrate superior performances than existing GFSL algorithms and strong baselines on MiniImageNet as well as TieredImageNet datasets. More interestingly, they outperform previous state-of-the-art methods when evaluated with standard few-shot learning criteria.

Motivation & Objective

  • To address the challenge of generalized few-shot learning (GFSL), where models must classify both data-rich head classes and data-scarce tail classes simultaneously.
  • To enable inductive knowledge transfer from seen to unseen classes without requiring tail data during training, overcoming limitations of transductive approaches.
  • To calibrate predictions across head and tail classifiers, reducing confidence gaps between seen and unseen categories.
  • To design a unified framework that synthesizes few-shot classifiers while maintaining strong performance on many-shot head classes.
  • To enable effective backward knowledge transfer when tail categories come from heterogeneous visual domains.

Proposed method

  • Castle uses a shared neural dictionary to synthesize calibrated few-shot classifiers from support set embeddings, enabling joint learning of head and tail classifiers.
  • The framework optimizes a unified objective combining multi-class and few-shot classification losses, with classifier synthesis via a neural dictionary to model class-specific decision boundaries.
  • aCastle extends Castle by dynamically adapting the head classifier parameters based on incoming tail support examples, enabling backward knowledge transfer.
  • Classifier synthesis is performed by averaging support embeddings per class before feeding into the neural dictionary, ensuring robustness to shot variations.
  • The method employs a multi-classifier training strategy, where each meta-batch contains diverse combinations of head and tail classifiers to improve generalization.
  • A harmonic mean metric is used for GFSL evaluation, and an upper-bound model is implemented using all available training images for unseen classes to measure performance gaps.

Experimental results

Research questions

  • RQ1How can a model effectively learn to classify both head and tail classes in a generalized few-shot learning setup without access to tail data during training?
  • RQ2What is the impact of calibrating few-shot and many-shot classifiers to reduce confidence discrepancies between seen and unseen classes?
  • RQ3Can dynamic adaptation of head classifiers using tail examples improve generalization in heterogeneous visual domains?
  • RQ4How does classifier synthesis via a neural dictionary compare to standard prototypical networks in few-shot and generalized few-shot scenarios?
  • RQ5What is the performance gap between current GFSL methods and an upper bound that uses all available training data for unseen classes?

Key findings

  • aCastle achieves 82.08% mean accuracy and 78.33% harmonic mean accuracy on 5-way 5-shot MiniImageNet, outperforming previous SOTA methods.
  • On 20-way 5-shot MiniImageNet, aCastle achieves 57.29% FSL accuracy and 56.33% GFSL harmonic mean, significantly outperforming prior approaches.
  • The performance gap between aCastle and the upper bound (UB) is 4.8% on 5-way 5-shot and 12.4% on 20-way 5-shot, indicating room for improvement.
  • Castle outperforms ProtoNet and vanilla synthesized classifiers, demonstrating the effectiveness of neural dictionary-based classifier synthesis.
  • The pre-averaging strategy for multiple shots (Pre-AVG) yields better performance than post-averaging (Post-AVG), justifying its use in the framework.
  • Multi-classifier training improves generalization, with performance asymptotically approaching the upper bound as the number of classifiers increases.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.