Skip to main content
QUICK REVIEW

[Paper Review] Laplacian Regularized Few-Shot Learning

Imtiaz Masud Ziko, José Dolz|arXiv (Cornell University)|Jun 28, 2020
Domain Adaptation and Few-Shot LearningComputer Science56 citations
TL;DR

The paper introduces LaplacianShot, a transductive few-shot learning method that minimizes a Laplacian-regularized quadratic objective over query-label assignments, using base-class prototypes and an affinity-based pairwise term to improve accuracy without retraining the base model.

ABSTRACT

We propose a transductive Laplacian-regularized inference for few-shot tasks. Given any feature embedding learned from the base classes, we minimize a quadratic binary-assignment function containing two terms: (1) a unary term assigning query samples to the nearest class prototype, and (2) a pairwise Laplacian term encouraging nearby query samples to have consistent label assignments. Our transductive inference does not re-train the base model, and can be viewed as a graph clustering of the query set, subject to supervision constraints from the support set. We derive a computationally efficient bound optimizer of a relaxation of our function, which computes independent (parallel) updates for each query sample, while guaranteeing convergence. Following a simple cross-entropy training on the base classes, and without complex meta-learning strategies, we conducted comprehensive experiments over five few-shot learning benchmarks. Our LaplacianShot consistently outperforms state-of-the-art methods by significant margins across different models, settings, and data sets. Furthermore, our transductive inference is very fast, with computational times that are close to inductive inference, and can be used for large-scale few-shot tasks.

Motivation & Objective

  • Motivate and address the need for effective transductive inference in few-shot classification without re-training the base model.
  • Leverage both unary (prototype-based) and pairwise (Laplacian) potentials to improve query-label consistency.
  • Provide a computationally efficient bound-optimization algorithm with closed-form, parallel updates and guaranteed convergence.
  • Demonstrate strong empirical performance across five benchmarks with various backbones, showing robustness and scalability.

Proposed method

  • Formulate a Laplacian-regularized quadratic objective over query-label assignments Y that combines a nearest-prototype unary term and a pairwise Laplacian term.
  • Relax the binary integer constraints to a concave relaxation and augment with a negative-entropy barrier to enable closed-form, parallel updates.
  • Derive a bound-optimization (MM/CCCP-like) update where each query point y_q is updated independently via a softmax over a_q and b_q^i (Eq. 12).
  • Compute a_q from distances to prototypes m_c and b_q^i from graph affinities w(x_q, x_p) and current labels; ensure updates converge (monotonic decrease of the bound).
  • Interpretation links Laplacian regularization to non-parametric attention, noting differences from standard meta-learning-based attention.
  • Note: W uses k-nearest-neighbor affinities; lambda controls the trade-off between unary and Laplacian terms.

Experimental results

Research questions

  • RQ1Can transductive inference with Laplacian regularization improve few-shot classification without re-training the base model?
  • RQ2How does incorporating pairwise query-query affinities complement the unary prototype term to boost accuracy across datasets and backbones?
  • RQ3What is the computational cost and convergence behavior of the proposed bound-optimized Laplacian-regularized inference in practical large-scale tasks?
  • RQ4How do rectified prototypes and feature transformations interact with Laplacian regularization to affect performance?

Key findings

  • LaplacianShot consistently improves over state-of-the-art methods across five benchmarks and various networks.
  • The transductive inference is fast, with times close to inductive inference, enabling large-scale few-shot tasks.
  • The method achieves strong results with simple base-training (cross-entropy) and without complex meta-learning.
  • Using kNN-based affinities and the proposed bound optimization yields independent, parallel updates with guaranteed convergence.
  • Rectified prototypes can further boost performance on several benchmarks (except iNat where it may hurt).
  • Empirical results show Laplacian regularization provides meaningful gains beyond nearest-prototype classification (lambda=0).

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.