{"title":"Prototype-Neighbor Networks with task-specific enhanced meta-learning for few-shot classification","authors":"Zhen Jiang, Zeyu Feng, 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.
期刊介绍:
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.