Papers › Few-Shot Learning via Embedding Adaptation with Set-to-Set Functions

Few-Shot Learning via Embedding Adaptation with Set-to-Set Functions

10 Dec 2018CVPR 2020 6arXiv:1812.03664archive 2025-07-28

Han-Jia Ye, Hexiang Hu, De-Chuan Zhan, Fei Sha

Learning with limited data is a key challenge for visual recognition. Many few-shot learning methods address this challenge by learning an instance embedding function from seen classes and apply the function to instances from unseen classes with limited labels. This style of transfer learning is task-agnostic: the embedding function is not learned optimally discriminative with respect to the unseen classes, where discerning among them leads to the target task. In this paper, we propose a novel approach to adapt the instance embeddings to the target classification task with a set-to-set function, yielding embeddings that are task-specific and are discriminative. We empirically investigated various instantiations of such set-to-set functions and observed the Transformer is most effective -- as it naturally satisfies key properties of our desired model. We denote this model as FEAT (few-shot embedding adaptation w/ Transformer) and validate it on both the standard few-shot classification benchmark and four extended few-shot learning settings with essential use cases, i.e., cross-domain, transductive, generalized few-shot learning, and low-shot learning. It archived consistent improvements over baseline models as well as previous methods and established the new state-of-the-art results on two benchmarks.

PaperPDFConference PDFCode

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

Code

Sha-Lab/FEAT officialmentioned in papermentioned on GitHubpytorch report
Alibaba-AAIG/SSL-FEW-SHOT mentioned on GitHubpytorch report
DanielShalam/SOT mentioned on GitHubpytorch report
danielshalam/bpa mentioned on GitHubpytorch report
han-jia/lastshot mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

Few-Shot Image ClassificationFew-Shot LearningGeneral ClassificationGeneralized Few-Shot LearningTransfer Learning

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Few-Shot Image Classification CUB 200 5-way 1-shot feat (ProtoNet) Accuracy 68.65 #30 of 36 Archive leaderboard report
Few-Shot Image Classification CUB 200 5-way 5-shot feat (ProtoNet) Accuracy 83.03 #28 of 32 Archive leaderboard report
Few-Shot Image Classification Mini-ImageNet-CUB 5-way (1-shot) FEAT (Ye et al., 2018) Accuracy 39.00 #11 of 12 Archive leaderboard report
Few-Shot Image Classification Mini-Imagenet 5-way (1-shot) feat+ (ProtoNet-ResNet) Accuracy 61.72 #70 of 105 Archive leaderboard report
Few-Shot Image Classification Mini-Imagenet 5-way (5-shot) feat+ (ProtoNet-ResNet) Accuracy 78.38 #59 of 95 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

1x1 ConvolutionAbsolute Position EncodingsAdamAttentionAverage PoolingBPEBatch NormalizationBottleneck Residual BlockConvolutionDense ConnectionsDropoutGlobal Average PoolingKaiming InitializationLabel SmoothingLayer NormalizationLinear LayerMax PoolingMulti-Head AttentionPosition-Wise Feed-Forward LayerReLUResidual BlockResidual ConnectionSoftmaxTransformer

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections