TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Geometric Mean Improves Loss For Few-Shot Learning

Geometric Mean Improves Loss For Few-Shot Learning

Tong Wu, Takumi Kobayashi

2025-01-24Few-Shot LearningImage ClassificationMetric LearningFew-Shot Image Classification
PaperPDF

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 \emph{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.

Results

TaskDatasetMetricValueModel
Image ClassificationCIFAR-FS 5-way (1-shot)Accuracy71.09GML (ResNet-12)
Image ClassificationMini-Imagenet 5-way (5-shot)Accuracy81.13GML (ResNet-12)
Image ClassificationMini-Imagenet 5-way (1-shot)Accuracy65.51GML (ResNet-12)
Image ClassificationTiered ImageNet 5-way (1-shot)Accuracy69.61GML (ResNet-12)
Image ClassificationTiered ImageNet 5-way (5-shot)Accuracy84.04GML (ResNet-12)
Image ClassificationCIFAR-FS 5-way (5-shot)Accuracy85.08GML (ResNet-12)
Few-Shot Image ClassificationCIFAR-FS 5-way (1-shot)Accuracy71.09GML (ResNet-12)
Few-Shot Image ClassificationMini-Imagenet 5-way (5-shot)Accuracy81.13GML (ResNet-12)
Few-Shot Image ClassificationMini-Imagenet 5-way (1-shot)Accuracy65.51GML (ResNet-12)
Few-Shot Image ClassificationTiered ImageNet 5-way (1-shot)Accuracy69.61GML (ResNet-12)
Few-Shot Image ClassificationTiered ImageNet 5-way (5-shot)Accuracy84.04GML (ResNet-12)
Few-Shot Image ClassificationCIFAR-FS 5-way (5-shot)Accuracy85.08GML (ResNet-12)

Related Papers

Automatic Classification and Segmentation of Tunnel Cracks Based on Deep Learning and Visual Explanations2025-07-18GLAD: Generalizable Tuning for Vision-Language Models2025-07-17Adversarial attacks to image classification systems using evolutionary algorithms2025-07-17Efficient Adaptation of Pre-trained Vision Transformer underpinned by Approximately Orthogonal Fine-Tuning Strategy2025-07-17Federated Learning for Commercial Image Sources2025-07-17MUPAX: Multidimensional Problem Agnostic eXplainable AI2025-07-17Unsupervised Ground Metric Learning2025-07-17Are encoders able to learn landmarkers for warm-starting of Hyperparameter Optimization?2025-07-16