Skip to main content
QUICK REVIEW

[Paper Review] Few-Shot Learning Through an Information Retrieval Lens

Eleni Triantafillou, Richard S. Zemel|arXiv (Cornell University)|Jul 9, 2017
Domain Adaptation and Few-Shot LearningComputer Science22 references66 citations
TL;DR

The paper reframes few-shot learning as an information retrieval task and trains to maximize mean Average Precision (mAP) over all batch rankings using SSVM or direct loss minimization, achieving competitive few-shot classification and introducing a few-shot retrieval setting.

ABSTRACT

Few-shot learning refers to understanding new concepts from only a few examples. We propose an information retrieval-inspired approach for this problem that is motivated by the increased importance of maximally leveraging all the available information in this low-data regime. We define a training objective that aims to extract as much information as possible from each training batch by effectively optimizing over all relative orderings of the batch points simultaneously. In particular, we view each batch point as a `query' that ranks the remaining ones based on its predicted relevance to them and we define a model within the framework of structured prediction to optimize mean Average Precision over these rankings. Our method achieves impressive results on the standard few-shot classification benchmarks while is also capable of few-shot retrieval.

Motivation & Objective

  • Motivation: learn new concepts from very few labeled examples in a way that fully exploits batch information.
  • Goal: formulate few-shot learning as ranking across batch points to maximize mAP.
  • Approach: optimize over all relative orderings in each training batch using SSVM and Direct Loss Minimization.
  • Extension: introduce a few-shot retrieval task where a query ranks candidates from unseen classes by relevance.

Proposed method

  • Represent each batch member as a query that ranks other batch points by predicted relevance.
  • Adopt a structured prediction framework and optimize mean Average Precision (mAP).
  • Use two optimization variants: Structural SVM (SSVM) and Direct Loss Minimization (DLM).
  • Define a cosine similarity-based embedding function f(x,w) and a pairwise scoring function φ(xi,xj,w).
  • Extend AP optimization to batch-wise multi-query settings so that each batch independently contributes to the overall mAP objective.
  • Provide loss-augmented inference via a dynamic programming approach inspired by prior AP optimization work.

Experimental results

Research questions

  • RQ1Can an information retrieval objective (mAP) be effectively optimized for few-shot learning in a batch setting?
  • RQ2Does optimizing across all relative orderings within a batch yield competitive few-shot classification performance?
  • RQ3Can the same framework support a new few-shot retrieval task where queries are from unseen classes?
  • RQ4What are the trade-offs between SSVM and Direct Loss Minimization for this objective in practice?

Key findings

  • The proposed mAP-based training objectives yield competitive results on standard few-shot classification benchmarks.
  • The method supports a new few-shot retrieval task with competitive performance against strong baselines.
  • Optimizing over all relative orderings within each batch can be done efficiently by decomposing per-query rankings in parallel.
  • mAP-DLM and mAP-SSVM show similar performance across evaluated benchmarks, with training efficiency advantages observed in some settings.
  • The approach demonstrates faster learning and better efficiency in low-data regimes compared to a strong all-pairs Siamese baseline.

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.