Prototype-Neighbor Networks with task-specific enhanced meta-learning for few-shot classification

IF 6.3 1区 计算机科学 Q1 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE
Zhen Jiang, Zeyu Feng, Bolin Niu
{"title":"Prototype-Neighbor Networks with task-specific enhanced meta-learning for few-shot classification","authors":"Zhen Jiang,&nbsp;Zeyu Feng,&nbsp;Bolin Niu","doi":"10.1016/j.neunet.2025.107761","DOIUrl":null,"url":null,"abstract":"<div><div>As a promising technique for Few-Shot Classification (FSC), Prototypical Networks (PN) has gained increasing attention due to their simplicity and effectiveness. However, the unimodal prototypes derived from a few labeled data may lack representativeness and fail to capture complex data distributions. Inspired by KNN, a model-free classification algorithm, we propose a Neighbor Network (NN) to compensate for the limitations of PN. Specifically, NN classifies query samples based on their neighbors and optimizes the metric space to ensure that samples of the same class are grouped together. By combining PN and NN, we propose a Prototype-Neighbor Networks (PNN) to learn a better metric space where a few labeled data suffice to learn a reliable FSC model. To enhance adaptability to new classes, we improve the meta-learning mechanism by incorporating a task-specific fine-tuning phase between the meta-training and meta-testing stages. Additionally, we present a data augmentation method that combines PN and NN to generate pseudo-labeled data. Compared to self-training approaches, our method significantly reduces pseudo-label noise and confirmation bias. The proposed method has been validated on three benchmark datasets. Compared to 24 state-of-the-art FSC algorithms, PNN outperforms others on mini-imageNet, and CUB while achieving competitive results on tiered-imageNet. The experimental results on four medical image datasets further demonstrate the effectiveness of PNN on cross-domain tasks. The source code and related models are available at <span><span>https://github.com/Dracula-funny/PNN</span><svg><path></path></svg></span>.</div></div>","PeriodicalId":49763,"journal":{"name":"Neural Networks","volume":"190 ","pages":"Article 107761"},"PeriodicalIF":6.3000,"publicationDate":"2025-06-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Neural Networks","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0893608025006410","RegionNum":1,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0

Abstract

As a promising technique for Few-Shot Classification (FSC), Prototypical Networks (PN) has gained increasing attention due to their simplicity and effectiveness. However, the unimodal prototypes derived from a few labeled data may lack representativeness and fail to capture complex data distributions. Inspired by KNN, a model-free classification algorithm, we propose a Neighbor Network (NN) to compensate for the limitations of PN. Specifically, NN classifies query samples based on their neighbors and optimizes the metric space to ensure that samples of the same class are grouped together. By combining PN and NN, we propose a Prototype-Neighbor Networks (PNN) to learn a better metric space where a few labeled data suffice to learn a reliable FSC model. To enhance adaptability to new classes, we improve the meta-learning mechanism by incorporating a task-specific fine-tuning phase between the meta-training and meta-testing stages. Additionally, we present a data augmentation method that combines PN and NN to generate pseudo-labeled data. Compared to self-training approaches, our method significantly reduces pseudo-label noise and confirmation bias. The proposed method has been validated on three benchmark datasets. Compared to 24 state-of-the-art FSC algorithms, PNN outperforms others on mini-imageNet, and CUB while achieving competitive results on tiered-imageNet. The experimental results on four medical image datasets further demonstrate the effectiveness of PNN on cross-domain tasks. The source code and related models are available at https://github.com/Dracula-funny/PNN.
带有特定任务的增强元学习的原型邻居网络,用于少量分类
原型网络(PN)作为一种很有前途的小样本分类技术,因其简单、有效而受到越来越多的关注。然而,从少量标记数据派生的单峰原型可能缺乏代表性,无法捕获复杂的数据分布。受无模型分类算法KNN的启发,我们提出了一种邻域网络(NN)来弥补其局限性。具体来说,NN根据查询样本的邻居对其进行分类,并优化度量空间,以确保同一类的样本被分组在一起。通过结合PN和NN,我们提出了一个原型邻居网络(Prototype-Neighbor Networks, PNN)来学习一个更好的度量空间,其中一些标记数据足以学习一个可靠的FSC模型。为了增强对新类的适应性,我们通过在元训练和元测试阶段之间加入特定任务的微调阶段来改进元学习机制。此外,我们提出了一种结合PN和NN生成伪标记数据的数据增强方法。与自我训练方法相比,我们的方法显著降低了伪标签噪声和确认偏差。在三个基准数据集上对该方法进行了验证。与24种最先进的FSC算法相比,PNN在mini-imageNet和CUB上的表现优于其他算法,同时在分层imagenet上取得了竞争结果。在四个医学图像数据集上的实验结果进一步证明了PNN在跨域任务上的有效性。源代码和相关模型可从https://github.com/Dracula-funny/PNN获得。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Neural Networks
Neural Networks 工程技术-计算机:人工智能
CiteScore
13.90
自引率
7.70%
发文量
425
审稿时长
67 days
期刊介绍: Neural Networks is a platform that aims to foster an international community of scholars and practitioners interested in neural networks, deep learning, and other approaches to artificial intelligence and machine learning. Our journal invites submissions covering various aspects of neural networks research, from computational neuroscience and cognitive modeling to mathematical analyses and engineering applications. By providing a forum for interdisciplinary discussions between biology and technology, we aim to encourage the development of biologically-inspired artificial intelligence.
×
引用
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学术官方微信