arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.05152cs.CV
收藏

PP-MobileSeg:探索移动设备上快速且准确的语义分割模型

PP-MobileSeg: Explore the Fast and Accurate Semantic Segmentation Model on Mobile Devices

Baidu Inc.(百度公司)

Shiyu Tang, Ting Sun, Juncai Peng, Guowei Chen, Yuying Hao, Manhui Lin, Zhihong Xiao, Jiangbin You, Yi Liu

AI总结:

本文提出移动端语义分割模型PP-MobileSeg,通过StrideFormer骨干、聚合注意力模块和有效插值模块,在ADE20K上以更少参数和更低延迟超越SeaFormer-Base,实现精度与效率的更优平衡。

摘要:

Transformer在计算机视觉中的成功引发了将其适配到移动设备的多次尝试,但在一些实际应用中其性能仍不令人满意。为解决这一问题,我们提出PP-MobileSeg,这是一种在移动设备上实现最先进性能的语义分割模型。PP-MobileSeg包含三个新颖部分:StrideFormer骨干网络、聚合注意力模块(AAM)和有效插值模块(VIM)。四阶段StrideFormer骨干网络由MV3块和跨步SEA注意力构建,能够以最小的参数开销提取丰富的语义和细节特征。AAM首先通过语义特征集成投票过滤细节特征,然后将其与语义特征结合以增强语义信息。此外,我们提出VIM将下采样特征上采样到输入图像的分辨率。它仅对最终预测中存在的类别进行插值,从而显著降低模型延迟,这是整体模型延迟的最主要贡献因素。大量实验表明,与其他方法相比,PP-MobileSeg在准确率、模型大小和延迟之间实现了更优的权衡。在ADE20K数据集上,PP-MobileSeg的mIoU准确率比SeaFormer-Base高1.57%,参数少32.9%,在高通骁龙855上加速42.3%。源代码可在https://github.com/PaddlePaddle/PaddleSeg/tree/release/2.8获取。

英文摘要:

The success of transformers in computer vision has led to several attempts to adapt them for mobile devices, but their performance remains unsatisfactory in some real-world applications. To address this issue, we propose PP-MobileSeg, a semantic segmentation model that achieves state-of-the-art performance on mobile devices. PP-MobileSeg comprises three novel parts: the StrideFormer backbone, the Aggregated Attention Module (AAM), and the Valid Interpolate Module (VIM). The four-stage StrideFormer backbone is built with MV3 blocks and strided SEA attention, and it is able to extract rich semantic and detailed features with minimal parameter overhead. The AAM first filters the detailed features through semantic feature ensemble voting and then combines them with semantic features to enhance the semantic information. Furthermore, we proposed VIM to upsample the downsampled feature to the resolution of the input image. It significantly reduces model latency by only interpolating classes present in the final prediction, which is the most significant contributor to overall model latency. Extensive experiments show that PP-MobileSeg achieves a superior tradeoff between accuracy, model size, and latency compared to other methods. On the ADE20K dataset, PP-MobileSeg achieves 1.57% higher accuracy in mIoU than SeaFormer-Base with 32.9% fewer parameters and 42.3% faster acceleration on Qualcomm Snapdragon 855. Source codes are available at https://github.com/PaddlePaddle/PaddleSeg/tree/release/2.8.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑