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/HyperShot: Few-Shot Learning by Kernel HyperNetworks

HyperShot: Few-Shot Learning by Kernel HyperNetworks

Marcin Sendera, Marcin Przewięźlikowski, Konrad Karanowski, Maciej Zięba, Jacek Tabor, Przemysław Spurek

2022-03-21Few-Shot LearningFew-Shot Image Classification
PaperPDFCode(official)

Abstract

Few-shot models aim at making predictions using a minimal number of labeled examples from a given task. The main challenge in this area is the one-shot setting where only one element represents each class. We propose HyperShot - the fusion of kernels and hypernetwork paradigm. Compared to reference approaches that apply a gradient-based adjustment of the parameters, our model aims to switch the classification module parameters depending on the task's embedding. In practice, we utilize a hypernetwork, which takes the aggregated information from support data and returns the classifier's parameters handcrafted for the considered problem. Moreover, we introduce the kernel-based representation of the support examples delivered to hypernetwork to create the parameters of the classification module. Consequently, we rely on relations between embeddings of the support examples instead of direct feature values provided by the backbone models. Thanks to this approach, our model can adapt to highly different tasks.

Results

TaskDatasetMetricValueModel
Few-Shot LearningMini-Imagenet 5-way (1-shot)Accuracy53.18HyperShot
Image ClassificationCUB 200 5-way 5-shotAccuracy80.07HyperShot
Image ClassificationMini-ImageNet-CUB 5-way (5-shot)Accuracy58.86HyperShot
Image ClassificationCUB 200 5-way 1-shotAccuracy66.13HyperShot
Image ClassificationMini-ImageNet-CUB 5-way (1-shot)Accuracy40.03HyperShot
Image ClassificationOMNIGLOT-EMNIST 5-way (1-shot)Accuracy80.65HyperShot
Image ClassificationOMNIGLOT-EMNIST 5-way (5-shot)Accuracy90.81HyperShot
Meta-LearningMini-Imagenet 5-way (1-shot)Accuracy53.18HyperShot
Few-Shot Image ClassificationCUB 200 5-way 5-shotAccuracy80.07HyperShot
Few-Shot Image ClassificationMini-ImageNet-CUB 5-way (5-shot)Accuracy58.86HyperShot
Few-Shot Image ClassificationCUB 200 5-way 1-shotAccuracy66.13HyperShot
Few-Shot Image ClassificationMini-ImageNet-CUB 5-way (1-shot)Accuracy40.03HyperShot
Few-Shot Image ClassificationOMNIGLOT-EMNIST 5-way (1-shot)Accuracy80.65HyperShot
Few-Shot Image ClassificationOMNIGLOT-EMNIST 5-way (5-shot)Accuracy90.81HyperShot

Related Papers

GLAD: Generalizable Tuning for Vision-Language Models2025-07-17ViT-ProtoNet for Few-Shot Image Classification: A Multi-Benchmark Evaluation2025-07-12Doodle Your Keypoints: Sketch-Based Few-Shot Keypoint Detection2025-07-10An Enhanced Privacy-preserving Federated Few-shot Learning Framework for Respiratory Disease Diagnosis2025-07-10Few-Shot Learning by Explicit Physics Integration: An Application to Groundwater Heat Transport2025-07-08ViRefSAM: Visual Reference-Guided Segment Anything Model for Remote Sensing Segmentation2025-07-03Dynamic Context-Aware Prompt Recommendation for Domain-Specific AI Applications2025-06-25Ancient Script Image Recognition and Processing: A Review2025-06-24