Skip to main content
QUICK REVIEW

[Paper Review] Transfer learning based few-shot classification using optimal transport mapping from preprocessed latent space of backbone neural network

Tomáš Chobola, Daniel Vašata|arXiv (Cornell University)|Feb 9, 2021
Domain Adaptation and Few-Shot LearningComputer Science15 references9 citations
TL;DR

This paper proposes a novel few-shot classification method using optimal transport mapping from a preprocessed latent space of a backbone neural network. By applying a Latent Space Transform (LST) to normalize class distributions toward Gaussianity and iteratively refining class centers via Sinkhorn-based optimal transport with unlabeled data, the approach achieves state-of-the-art performance, scoring second in the MetaDL Challenge 2020.

ABSTRACT

MetaDL Challenge 2020 focused on image classification tasks in few-shot settings. This paper describes second best submission in the competition. Our meta learning approach modifies the distribution of classes in a latent space produced by a backbone network for each class in order to better follow the Gaussian distribution. After this operation which we call Latent Space Transform algorithm, centers of classes are further aligned in an iterative fashion of the Expectation Maximisation algorithm to utilize information in unlabeled data that are often provided on top of few labelled instances. For this task, we utilize optimal transport mapping using the Sinkhorn algorithm. Our experiments show that this approach outperforms previous works as well as other variants of the algorithm, using K-Nearest Neighbour algorithm, Gaussian Mixture Models, etc.

Motivation & Objective

  • Address the challenge of non-Gaussian distributions in latent feature spaces of pretrained backbone networks, which undermines the performance of downstream few-shot classification methods relying on Gaussian assumptions.
  • Improve few-shot classification accuracy by transforming the latent space to better approximate a Gaussian distribution, enhancing the effectiveness of optimal transport-based mapping.
  • Leverage unlabeled data during inference through iterative center refinement using Sinkhorn-optimal transport, improving generalization in low-data regimes.
  • Develop a robust meta-learning pipeline that outperforms existing methods, including power transform and alternative clustering baselines, in both 1-shot and 5-shot settings.
  • Adapt the method for real-world constraints in competitions, such as limited runtime, by using a lightweight ResNet-based backbone while maintaining high accuracy.

Proposed method

  • Apply a Latent Space Transform (LST) algorithm to reparameterize feature vectors from the backbone network's latent space, using a power transform to reduce skewness and improve Gaussianity.
  • Use the Sinkhorn algorithm to compute optimal transport maps between class centers in the transformed latent space, enabling accurate alignment of novel class prototypes with support from both labeled and unlabeled data.
  • Iteratively refine class centers using an Expectation-Maximization-style procedure that alternates between assigning unlabeled samples to nearest centers and updating centers based on their weighted contributions.
  • Integrate the LST-preprocessed features into a meta-learning framework where query samples are classified via nearest-neighbor assignment to the refined class centers.
  • Replace the original MAP (Maximum A Posteriori) inference step with alternative classifiers (e.g., KNN, GMM) to evaluate robustness and isolate the contribution of the LST preprocessing.
  • Train the backbone network with data augmentation, including random brightness/saturation adjustments and 90° rotations, to improve feature generalization prior to LST application.

Experimental results

Research questions

  • RQ1Can transforming the latent space of a pretrained backbone network to better approximate a Gaussian distribution improve few-shot classification performance?
  • RQ2Does using optimal transport with iterative center refinement on unlabeled data lead to more accurate class prototypes than standard clustering or MAP inference?
  • RQ3How does the proposed Latent Space Transform (LST) compare to the Power Transform (PT) in terms of accuracy and statistical significance across different few-shot benchmarks?
  • RQ4To what extent can a lightweight ResNet-based backbone, trained under runtime constraints, achieve competitive performance when combined with LST and optimal transport?
  • RQ5Is the improvement from LST robust across different classification heads (e.g., KNN, GMM) or specific to the MAP-based inference used in the original framework?

Key findings

  • The LST+MAP model achieved 90.73% ± 0.15% accuracy on the 5-shot CIFAR-FS benchmark and 94.09% ± 0.09% on CUB, outperforming the PT+MAP baseline.
  • The paired t-test showed statistically significant superiority of LST+MAP over PT+MAP on both CIFAR-FS and CUB in 1-shot and 5-shot settings (p-values < 0.0001), except for CUB in 5-shot (p = 0.78).
  • Even without the MAP inference step, replacing it with KNN or GMM on LST-transformed features yielded competitive results, demonstrating the robustness of the LST preprocessing.
  • The LST method significantly outperformed the Power Transform baseline, with improvements observed across all tested datasets and shot settings.
  • The method achieved an average inference time of 0.0026s per run in 1-shot and 0.003s in 5-shot settings using a GPU backend, indicating computational efficiency.
  • In the MetaDL Challenge 2020, the LST-based method secured second place in the final leaderboard, validating its effectiveness under real competition constraints.

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.