HAFormer:释放层级感知特征在轻量级语义分割中的潜力
HAFormer: Unleashing the Power of Hierarchy-Aware Features for Lightweight Semantic Segmentation
AI总结:
针对计算资源受限下的轻量级语义分割问题,提出结合CNN层级特征与Transformer全局建模能力的HAFormer,通过HAPE、ET、cwF三个模块实现高精度低开销的分割效果,在多个基准数据集上取得优异性能。
摘要:
卷积神经网络(CNNs)与Transformer均已在语义分割任务中展现出优异性能。现有研究尝试将CNNs与Transformer模型融合,以同时捕获局部与全局上下文交互,但该方向仍有提升空间,尤其是在计算资源受限的约束下。本文提出HAFormer模型,结合CNNs的层级特征提取能力与Transformer的全局依赖建模能力,应对轻量级语义分割的挑战。具体而言,我们设计了层级感知像素激励(Hierarchy-Aware Pixel-Excitation, HAPE)模块,用于自适应多尺度局部特征提取;在全局感知建模阶段,提出高效Transformer(Efficient Transformer, ET)模块,简化传统Transformer的二次计算复杂度;此外,相关加权融合(correlation-weighted Fusion, cwF)模块可选择性融合多类特征表示,显著提升预测精度。HAFormer在计算开销极低、模型尺寸紧凑的前提下实现了高性能:在Cityscapes和CamVid测试数据集上的mIoU分别达74.2%和71.1%,在单张2080Ti GPU上的帧率分别为105FPS和118FPS。源代码可访问https://github.com/XU-GITHUB-curry/HAFormer 获取。
英文摘要:
Both Convolutional Neural Networks (CNNs) and Transformers have shown great success in semantic segmentation tasks. Efforts have been made to integrate CNNs with Transformer models to capture both local and global context interactions. However, there is still room for enhancement, particularly when considering constraints on computational resources. In this paper, we introduce HAFormer, a model that combines the hierarchical features extraction ability of CNNs with the global dependency modeling capability of Transformers to tackle lightweight semantic segmentation challenges. Specifically, we design a Hierarchy-Aware Pixel-Excitation (HAPE) module for adaptive multi-scale local feature extraction. During the global perception modeling, we devise an Efficient Transformer (ET) module streamlining the quadratic calculations associated with traditional Transformers. Moreover, a correlation-weighted Fusion (cwF) module selectively merges diverse feature representations, significantly enhancing predictive accuracy. HAFormer achieves high performance with minimal computational overhead and compact model size, achieving 74.2% mIoU on Cityscapes and 71.1% mIoU on CamVid test datasets, with frame rates of 105FPS and 118FPS on a single 2080Ti GPU. The source codes are available at https://github.com/XU-GITHUB-curry/HAFormer.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。