Journal of Computer Applications ›› 2023, Vol. 43 ›› Issue (4): 1062-1070.DOI: 10.11772/j.issn.1001-9081.2022020270

• Artificial intelligence • Previous Articles    

Instance segmentation algorithm based on Fastformer and self-supervised contrastive learning

Rong GAO1,2(), Jiawei SHEN1, Xiongkai SHAO1, Xinyun WU1   

  1. 1.School of Computer Science,Hubei University of Technology,Wuhan Hubei 430068,China
    2.State Key Laboratory for Novel Software Technology (Nanjing University),Nanjing Jiangsu 210023,China
  • Received:2022-03-09 Revised:2022-05-20 Accepted:2022-05-20 Online:2022-08-16 Published:2023-04-10
  • Contact: Rong GAO
  • About author:SHEN Jiawei, born in 1998, M. S. candidate. His research interests include object detection, instance segmentation.
    SHAO Xiongkai, born in 1963, Ph. D., professor. His research interests include machine learning, image processing.
    WU Xinyun, born in 1987, Ph. D., associate professor. His research interests include algorithm for solving combinatorial optimization problems.
  • Supported by:
    National Natural Science Foundation of China(61902116);Open Project of State Key Laboratory for Novel Software Technology in Nanjing University(KFKT2021B12);Hubei Provincial High-level Talent Fund(GCRC2020011);Doctoral Research Start-Up Fund of Hubei University of Technology(BSQD2019026)

基于Fastformer和自监督对比学习的实例分割算法

高榕1,2(), 沈加伟1, 邵雄凯1, 吴歆韵1   

  1. 1.湖北工业大学 计算机学院,武汉 430068
    2.计算机软件新技术国家重点实验室(南京大学),南京 210023
  • 通讯作者: 高榕
  • 作者简介:沈加伟(1998—),男,湖北黄冈人,硕士研究生,主要研究方向:目标检测、实例分割;
    邵雄凯(1963—),男,湖北黄冈人,教授,博士,CCF会员,主要研究方向:机器学习、图像处理;
    吴歆韵(1987—),男,湖北宜昌人,副教授,博士,主要研究方向:组合优化问题求解算法。
  • 基金资助:
    国家自然科学基金资助项目(61902116);南京大学计算机软件新技术国家重点实验室开放课题(KFKT2021B12);湖北省高层次人才基金资助项目(GCRC2020011);湖北工业大学博士科研启动基金资助项目(BSQD2019026)

Abstract:

To address problems of low detection precision, coarse masks and weak generalization ability of the existing instance segmentation algorithms for occluded and blurred instances, an instance segmentation algorithm based on Fastformer and self-supervised contrastive learning was proposed. Firstly, in order to enhance the ability of algorithm to extract global information of feature maps, the Fastformer module based on additive attention was added after feature extraction network, and interrelationship between pixels in each layer of feature map was modeled deeply. Secondly, inspired by self-supervised learning, a self-supervised contrastive learning module was added to conduct self-supervised contrastive learning to instances in images to enhance the ability of algorithm to understand images, thereby improving segmentation results in environments with much noise interference. Experimental results show that the proposed algorithm has the mean Average Precision (mAP) improved by 3.1 and 2.5 percentage points respectively, compared to recently classical instance segmentation algorithm SOLOv2(Segmenting Objects by LOcations v2) on Cityscapes dataset and COCO2017 dataset. And a great balance is achieved between real-time performance and precision by the proposed algorithm, leading good robustness in segmentation instance of complex scenes.

Key words: instance segmentation, feature extraction, Fastformer, addictive attention, self-supervised contrastive learning

摘要:

针对现有的实例分割算法对有遮挡以及模糊实例检测精度低、掩码较粗糙以及泛化能力弱的问题,提出一种基于Fastformer和自监督对比学习的实例分割算法。首先,在特征提取网络之后加入基于加性注意力的Fastformer模块,并对每一层特征图中的像素点之间的相互关系进行深入建模,以提高算法对特征图全局信息的提取能力;其次,受自监督学习启发,加入自监督对比学习模块对图像中的实例进行自监督对比学习,以提高算法对图像的理解能力,从而改善在噪声干扰较多的环境下的分割效果。在Cityscapes和COCO2017数据集上的实验结果表明,相较于近期经典的实例分割算法SOLOv2(Segmenting Objects by LOcations v2),所提算法的平均精度均值(mAP)分别提高了3.1和2.5个百分点,并在实时性和精度之间达到较好的平衡,在比较复杂的场景实例分割中具有较好的鲁棒性。

关键词: 实例分割, 特征提取, Fastformer, 加性注意力, 自监督对比学习

CLC Number: