计算机科学 ›› 2026, Vol. 53 ›› Issue (11A): 251200193-500.doi: 10.11896/jsjkx.251200193
马汉达, 周裕杰
MA Handa, ZHOU Yujie
摘要: 针对小样本条件下图像分割模型易出现泛化能力不足以及类原型特征混淆的问题,提出一种融合困难样本特征增强与交叉注意力机制的小样本图像分割方法。首先,基于模型预测不确定性对样本进行筛选,构建困难样本集,并通过困难样本与支持样本、查询样本的特征融合,缓解样本数量受限带来的泛化能力下降问题;其次,在原型生成阶段引入交叉注意力机制,对类原型特征进行加权优化,提高原型表征的判别性,降低复杂背景下的特征混淆;最后,设计一种动态损失函数,根据训练阶段自适应调节原始样本与增强样本的损失权重,以提升模型训练的稳定性与鲁棒性。在 PASCAL-5i 和 COCO-20i 数据集上的对比实验与消融实验结果表明,所提出的方法在多种评价指标上均优于现有基线模型,并在不显著增加计算开销的前提下实现了稳定的性能提升,验证了该方法的有效性与工程可行性。
中图分类号:
| [1] WEI T,LI X L,LIU H.Survey of image semantic segmentation under few-shot dilemma [J].Computer Engineering and Applications,2023,59(2):1-11. [2] GAO F,JIANG A L,JI W,et al.Dual-path self-optimizing few-shot medical image segmentation network [J].Computer Engineering and Applications,2025,61(24):228-239. [3] CHENG G,LI R,LANG C,et al.Task-wise attention guided part complementary learning for few-shot image classification[J].Science China Information Sciences,2021,64(2):120104. [4] ZHANG H,CISSE M,DAUPHIN Y N,et al.mixup:Beyondempirical risk minimization[C]//Proceedings of the 6th International Conference on Learning Representations(ICLR).Vancouver:ICLR,2018. [5] SHABAN A,BANSAL S,LIU Z,et al.One-shot learning for semantic segmentation[C]//Proceedings of the British Machine Vision Conference(BMVC).London:BMVA Press,2017:1-13. [6] ZHANG X,WEI Y,YANG Y,et al.SG-One:Similarity guid-ance network for one-shot semantic segmentation[J].IEEE Transactions on Cybernetics,2020,50(9):3855-3865. [7] FAN Q,PEI W,TAI Y W,et al.Self-support few-shot semantic segmentation[C]//European Conference on Computer Vision.Cham:Springer Nature Switzerland,2022:701-719. [8] WANG K,LIEW J H,ZOU Y,et al.Panet:Few-shot image semantic segmentation with prototype alignment[C]//Procee-dings of the IEEE/CVF International Conference on Computer Vision.2019:9197-9206. [9] SHI X,WEI D,ZHANG Y,et al.Dense cross-query-and-supportattention weighted mask aggregation for few-shot segmentation[C]//European Conference on Computer Vision.Cham:Springer Nature Switzerland,2022:151-168. [10] LIU J,BAO Y,XIE G S,et al.Dynamic prototype convolution network for few-shot semantic segmentation[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition.2022:11553-11562. [11] ZHANG C,LIN G,LIU F,et al.Canet:Class-agnostic segmentation networks with iterative refinement and attentive few-shot learning[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition.2019:5217-5226. [12] DOS SANTOS M E,GUIMARÃES S J F,PATROCÍNIOZ K G.Cross-Attention Vision Transformer for Few-Shot Semantic Segmentation[C]//2023 IEEE Ninth Multimedia Big Data(BigMM).IEEE,2023:64-71. [13] MEHTA S,RASTEGARI M.Mobilevit:light-weight,general-purpose,and mobile-friendly vision transformer[J].arXiv:2110.02178,2021. [14] SHAKER A,MAAZ M,RASHEED H,et al.Swiftformer:Efficient additive attention for transformer-based real-time mobile vision applications[C]//Proceedings of the IEEE/CVF International Conference on Computer Vision.2023:17425-17436. [15] VASWANI A,SHAZEER N,PARMAR N,et al.Attention is all you need[C]//Advances in Neural Information Processing Systems 30(NIPS 2017).Long Beach:NIPS Foundation,2017:5998-6008. [16] WANG X,KONG T,SHEN C,et al.Solo:Segmenting objects by locations[C]//Computer Vision-ECCV 2020:16th European Conference,Glasgow,UK,August 23-28,2020,Proceedings,Part XVIII 16.Springer International Publishing,2020:649-665. [17] HE K,ZHANG X,REN S,et al.Deep residual learning forimage recognition[C]//Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition.2016:770-778. [18] NGUYEN K,TODOROVIC S.Feature weighting and boosting for few-shot segmentation[C]//Proceedings of the IEEE/CVF International Conference on Computer Vision.2019:622-631. [19] LIU Y,LIU N,CAO Q,et al.Learning non-target knowledge for few-shot semantic segmentation[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition.2022:11573-11582. [20] XU Q,ZHAO W,LIN G,et al.Self-calibrated cross attentionnetwork for few-shot segmentation[C]//Proceedings of the IEEE/CVF International Conference on Computer Vision.2023:655-665. [21] SHI X,CUI Z,ZHANGS,et al.Multi-similarity based hyperrelation network for few-shot segmentation[J].IET Image Processing,2023,17(1):204-214. [22] YANG Y,CHEN Q,FENG Y,et al.Mianet:Aggregating unbiased instance and general information for few-shot semantic segmentation[C]//Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition.2023:7131-7140. [23] SAKAI T,QIU H,KATSUKI T,et al.A Surprisingly Simple Approach to Generalized Few-Shot Semantic Segmentation[C]//The Thirty-eighth Annual Conference on Neural Information Processing Systems.2024. |
|
||