Skip to main content
QUICK REVIEW

[Paper Review] Relational Generalized Few-Shot Learning

Xiahan Shi, Leonard Salewski|arXiv (Cornell University)|Jul 22, 2019
Domain Adaptation and Few-Shot LearningComputer Science49 references16 citations
TL;DR

This paper proposes Graph-convolutional Global Prototypical Networks (GcGPN), a novel framework for relational generalized few-shot learning that models inter-class relationships via a weighted graph to jointly embed seen and novel class prototypes. By applying graph convolutions to propagate relational information, GcGPN achieves state-of-the-art performance on both miniImageNet and CUB benchmarks, significantly improving generalization and global consistency in joint classification across seen and novel classes.

ABSTRACT

Transferring learned models to novel tasks is a challenging problem, particularly if only very few labeled examples are available. Although this few-shot learning setup has received a lot of attention recently, most proposed methods focus on discriminating novel classes only. Instead, we consider the extended setup of generalized few-shot learning (GFSL), where the model is required to perform classification on the joint label space consisting of both previously seen and novel classes. We propose a graph-based framework that explicitly models relationships between all seen and novel classes in the joint label space. Our model Graph-convolutional Global Prototypical Networks (GcGPN) incorporates these inter-class relations using graph-convolution in order to embed novel class representations into the existing space of previously seen classes in a globally consistent manner. Our approach ensures both fast adaptation and global discrimination, which is the major challenge in GFSL. We demonstrate the benefits of our model on two challenging benchmark datasets.

Motivation & Objective

  • Address the challenge of generalized few-shot learning (GFSL), where models must classify both seen and novel classes with minimal labeled examples.
  • Overcome the limitation of standard few-shot learning, which focuses only on discriminating novel classes without preserving global consistency across the entire label space.
  • Introduce a unified framework that explicitly models inter-class relationships between all seen and novel classes to improve prototype generalization and discrimination.
  • Enable end-to-end learning of relational prototypes using graph convolutional networks, allowing fast adaptation and robust performance on unseen tasks.
  • Achieve state-of-the-art results by leveraging side information (e.g., attributes, taxonomy) as relational priors in a differentiable, scalable manner.

Proposed method

  • Construct a weighted graph representing inter-class relationships using side information such as attributes, semantic embeddings, or similarity measures.
  • Initialize class prototypes: novel class prototypes from support set features (via mean pooling), and seen class prototypes as trainable parameters.
  • Apply graph convolutional networks (GCNs) to propagate relational information across all classes in the joint label space, updating prototypes in a globally consistent manner.
  • Use cosine similarity between query features and updated prototypes for classification, enabling fast inference during inference episodes.
  • Train the entire model end-to-end in a meta-learning setup using episodic training on N-way K-shot tasks with varying novel classes.
  • Integrate auxiliary operators (e.g., feature transformation, normalization) and explore ablation variants to assess the impact of relational modeling and architectural components.

Experimental results

Research questions

  • RQ1Can modeling inter-class relationships via a relational graph improve generalization in generalized few-shot learning beyond standard few-shot learning?
  • RQ2How does incorporating global relational structure affect the balance between fast adaptation to novel classes and maintaining discriminative power on seen classes?
  • RQ3To what extent do different sources of side information (e.g., attributes vs. taxonomy) influence the performance of relational GFSL models?
  • RQ4Does the use of graph convolutional operations for prototype refinement lead to better generalization compared to standard prototypical networks?
  • RQ5Can the proposed framework be flexibly extended to incorporate various relational operators and auxiliary modules without compromising performance?

Key findings

  • GcGPN achieves state-of-the-art performance on the 1-shot and 5-shot generalized few-shot learning benchmarks, with a 50.35% Joint-Joint accuracy and 45.92% harmonic mean on miniImageNet.
  • On CUB, GcGPN achieves a 50.62% Joint-Joint accuracy and 49.53% harmonic mean in the 1-shot setting, significantly outperforming prior methods including DFSLwoF.
  • The model improves Novel-Joint accuracy by over 10 percentage points compared to baseline methods, indicating better integration of novel classes into the global label space.
  • Auxiliary operators such as feature transformation (GcGPN-aux-fc θB) enhance performance, especially in low-shot regimes, demonstrating the benefit of increased representational capacity.
  • Using richer side information like fine-grained attributes on CUB yields a ~3% accuracy gain over taxonomy-based similarity, highlighting the importance of high-quality relational priors.
  • Ablation studies confirm that restricting relational modeling to only novel-seen connections harms performance, validating the necessity of global relational propagation across all classes.

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.