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

IF 5.3 3区 计算机科学 Q1 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE
Zhiying Song;Pengfei Wang;Xiaokang Wang;Nenggan Zheng
{"title":"AdptGL-CA: Adaptive Global-Local Metric Fusion With Contrastive Attention for Few-Shot Learning","authors":"Zhiying Song;Pengfei Wang;Xiaokang Wang;Nenggan Zheng","doi":"10.1109/TETCI.2025.3550529","DOIUrl":null,"url":null,"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.","PeriodicalId":13135,"journal":{"name":"IEEE Transactions on Emerging Topics in Computational Intelligence","volume":"9 5","pages":"3598-3613"},"PeriodicalIF":5.3000,"publicationDate":"2025-03-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Emerging Topics in Computational Intelligence","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/10943247/","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0

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.
AdptGL-CA:基于对比注意的自适应全局-局部度量融合算法
少射学习(FSL)旨在通过非常有限的标记数据学习新概念。流行的FSL方法通常依赖于度量学习来测量学习到的特征空间中的图像相似性。然而,现有的方法往往忽略了相似度度量与特征表示之间的协同作用,未能充分利用全局特征与局部特征的结合来进行有效的相似度度量。在本文中,我们提出了一种新的FSL方法,AdptGL-CA,该方法自适应地使用全局和局部特征来增强相似性度量的识别能力,同时分别通过注意机制和对比学习来提高特征表征和泛化能力。具体而言,我们设计了一种可学习的自适应融合策略,以全局相似度表示任务特定状态,自适应确定局部相似度的融合权重,从而有效地融合双相似度,以获得更好的分类效果。此外,在调整局部描述符的重要性的同时,利用通道和空间关注来突出特征的显著部分,以提高特征的表示。作为相似性度量的输入,这些信息量更大的特征进一步增强了相似性度量的判别能力。此外,引入了对比学习损失来克服潜在的对基类的过拟合,并学习更多的通用特征。此外,我们将PAC-Bayes-Bernstein绑定扩展到FSL设置,引入了一个理论上有根据的评估泛化的度量。理论分析验证了AdptGL-CA的泛化改进。综合实验表明,AdptGL-CA在多标准和细粒度的少次基准测试中,以较少的额外参数获得了具有竞争力的性能,显示了有效性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
10.30
自引率
7.50%
发文量
147
期刊介绍: The IEEE Transactions on Emerging Topics in Computational Intelligence (TETCI) publishes original articles on emerging aspects of computational intelligence, including theory, applications, and surveys. TETCI is an electronics only publication. TETCI publishes six issues per year. Authors are encouraged to submit manuscripts in any emerging topic in computational intelligence, especially nature-inspired computing topics not covered by other IEEE Computational Intelligence Society journals. A few such illustrative examples are glial cell networks, computational neuroscience, Brain Computer Interface, ambient intelligence, non-fuzzy computing with words, artificial life, cultural learning, artificial endocrine networks, social reasoning, artificial hormone networks, computational intelligence for the IoT and Smart-X technologies.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信