ContextFormer:重新定义语义分割中的效率
ContextFormer: Redefining Efficiency in Semantic Segmentation
AI总结:
ContextFormer提出在瓶颈处融合CNN与ViT优势,通过TPEM、Trans-BDC和FMM三个模块实现高效实时语义分割,在多个数据集上取得最先进mIoU。
摘要:
语义分割为图像中的像素分配标签,是计算机视觉中一项关键但具有挑战性的任务。卷积方法虽然能很好地捕捉局部依赖关系,但在长距离关系建模上存在困难。视觉Transformer(ViTs)在全局上下文捕获方面表现出色,但受到高计算需求的制约,尤其是在高分辨率输入下。大多数研究优化编码器架构,而瓶颈部分仍未得到充分探索——这是提升性能和效率的关键领域。我们提出ContextFormer,这是一个混合框架,在瓶颈处利用CNN和ViT的优势,以平衡实时语义分割的效率、准确性和鲁棒性。该框架的效率由三个协同模块驱动:用于分层多尺度表示的Token金字塔提取模块(TPEM)、用于动态尺度感知特征建模的Transformer与分支深度卷积(Trans-BDC)块,以及用于增强空间和上下文一致性的鲁棒集成的特征融合模块(FMM)。在ADE20K、Pascal Context、CityScapes和COCO-Stuff数据集上的大量实验表明,ContextFormer显著优于现有模型,取得了最先进的mIoU分数,为效率和性能设立了新的基准。代码将在录用后公开。
英文摘要:
Semantic segmentation assigns labels to pixels in images, a critical yet challenging task in computer vision. Convolutional methods, although capturing local dependencies well, struggle with long-range relationships. Vision Transformers (ViTs) excel in global context capture but are hindered by high computational demands, especially for high-resolution inputs. Most research optimizes the encoder architecture, leaving the bottleneck underexplored - a key area for enhancing performance and efficiency. We propose ContextFormer, a hybrid framework leveraging the strengths of CNNs and ViTs in the bottleneck to balance efficiency, accuracy, and robustness for real-time semantic segmentation. The framework's efficiency is driven by three synergistic modules: the Token Pyramid Extraction Module (TPEM) for hierarchical multi-scale representation, the Transformer and Branched DepthwiseConv (Trans-BDC) block for dynamic scale-aware feature modeling, and the Feature Merging Module (FMM) for robust integration with enhanced spatial and contextual consistency. Extensive experiments on ADE20K, Pascal Context, CityScapes, and COCO-Stuff datasets show ContextFormer significantly outperforms existing models, achieving state-of-the-art mIoU scores, setting a new benchmark for efficiency and performance. The codes will be made publicly available upon acceptance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。