AdptGL-CA: Adaptive Global-Local Metric Fusion With Contrastive Attention for Few-Shot Learning

Few-shot learning (FSL) aims to learn novel concepts with very limited labeled data. The popular FSL methods typically rely on metric learning to measure image similarity in a learned feature space. However, existing approaches often overlook the synergy between the similarity metric and feature representation, and fail to fully exploit the combination of global and local features for effective similarity measurement. In this work, we propose a novel FSL method, AdptGL-CA, which adaptively uses global and local features to boost the discrimination capability of similarity metric, while improving feature representation and generalization through attention mechanism and contrastive learning, respectively. Specifically, we design a learnable adaptive fusion strategy that uses global similarity to represent task-specific status to adaptively determine the fusion weight of local similarity, thus effectively fusing the dual similarities for better classification. Besides, the salient parts of features are highlighted using channel and spatial attentions to improve feature representation while adjusting the importance of local descriptors. As the input to the similarity metric, these more informative features further boost its discriminative ability. Moreover, a contrastive learning loss is introduced to overcome the potential overfit to base classes and learn more generic features. Additionally, we extend the PAC-Bayes-Bernstein bound to FSL setting, introducing a theoretically grounded measure for assessing generalization. Theoretical analysis validates the generalization improvement of AdptGL-CA. Comprehensive experiments indicate that AdptGL-CA achieves competitive performance with few extra parameters on multiple standard and fine-grained few-shot benchmarks, showing the effectiveness.

Authors

Institutions

Publication Details

Journal
IEEE Transactions on Emerging Topics in Computational Intelligence
Published
2025-03-28
DOI
https://doi.org/10.1109/tetci.2025.3550529
Citations
3
Primary Topic
Domain Adaptation and Few-Shot Learning
Type
article
Field-Weighted Citation Impact
7.44

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

AdptGL-CA: Adaptive Global-Local Metric Fusion With Contrastive Attention for Few-Shot Learning

Xiaokang Wang, Nenggan Zheng, Pengfei Wang, Zhiying Song
3 citations
IEEE Transactions on Emerging Topics in Computational Intelligence
Domain Adaptation and Few-Shot Learning
7.44
article

AdptGL-CA: Adaptive Global-Local Metric Fusion With Contrastive Attention for Few-Shot Learning

Xiaokang Wang, Nenggan Zheng, Pengfei Wang, Zhiying Song
article en
3 citations

Abstract

Few-shot learning (FSL) aims to learn novel concepts with very limited labeled data. The popular FSL methods typically rely on metric learning to measure image similarity in a learned feature space. However, existing approaches often overlook the synergy between the similarity metric and feature representation, and fail to fully exploit the combination of global and local features for effective similarity measurement. In this work, we propose a novel FSL method, AdptGL-CA, which adaptively uses global and local features to boost the discrimination capability of similarity metric, while improving feature representation and generalization through attention mechanism and contrastive learning, respectively. Specifically, we design a learnable adaptive fusion strategy that uses global similarity to represent task-specific status to adaptively determine the fusion weight of local similarity, thus effectively fusing the dual similarities for better classification. Besides, the salient parts of features are highlighted using channel and spatial attentions to improve feature representation while adjusting the importance of local descriptors. As the input to the similarity metric, these more informative features further boost its discriminative ability. Moreover, a contrastive learning loss is introduced to overcome the potential overfit to base classes and learn more generic features. Additionally, we extend the PAC-Bayes-Bernstein bound to FSL setting, introducing a theoretically grounded measure for assessing generalization. Theoretical analysis validates the generalization improvement of AdptGL-CA. Comprehensive experiments indicate that AdptGL-CA achieves competitive performance with few extra parameters on multiple standard and fine-grained few-shot benchmarks, showing the effectiveness.

IEEE Transactions on Emerging Topics in Computational IntelligenceVol. 9(5)
Hainan University (CN), Zhejiang University (CN)
National Natural Science Foundation of China, Natural Science Foundation of Zhejiang Province
Openalex Percentile: Top 4%
Domain Adaptation and Few-Shot Learning
7.44
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.