SOTAVerified

Geometric Mean Improves Loss For Few-Shot Learning

2025-01-24Unverified0· sign in to hype

Tong Wu, Takumi Kobayashi

Unverified — Be the first to reproduce this paper.

Reproduce

Abstract

Few-shot learning (FSL) is a challenging task in machine learning, demanding a model to render discriminative classification by using only a few labeled samples. In the literature of FSL, deep models are trained in a manner of metric learning to provide metric in a feature space which is well generalizable to classify samples of novel classes; in the space, even a few amount of labeled training examples can construct an effective classifier. In this paper, we propose a novel FSL loss based on geometric mean to embed discriminative metric into deep features. In contrast to the other losses such as utilizing arithmetic mean in softmax-based formulation, the proposed method leverages geometric mean to aggregate pair-wise relationships among samples for enhancing discriminative metric across class categories. The proposed loss is not only formulated in a simple form but also is thoroughly analyzed in theoretical ways to reveal its favorable characteristics which are favorable for learning feature metric in FSL. In the experiments on few-shot image classification tasks, the method produces competitive performance in comparison to the other losses.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
CIFAR-FS 5-way (1-shot)GML (ResNet-12)Accuracy71.09Unverified
CIFAR-FS 5-way (5-shot)GML (ResNet-12)Accuracy85.08Unverified
Mini-Imagenet 5-way (1-shot)GML (ResNet-12)Accuracy65.51Unverified
Mini-Imagenet 5-way (5-shot)GML (ResNet-12)Accuracy81.13Unverified
Tiered ImageNet 5-way (1-shot)GML (ResNet-12)Accuracy69.61Unverified
Tiered ImageNet 5-way (5-shot)GML (ResNet-12)Accuracy84.04Unverified

Reproductions