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

基于层次层间注意力的Transformers语义分割改进

Improving Semantic Segmentation in Transformers using Hierarchical Inter-Level Attention

University of Toronto(多伦多大学);Nvidia(英伟达);Vector Institute(向量研究所)

Gary Leung, Jun Gao, Xiaohui Zeng, Sanja Fidler

摘要:

现有的基于变换器的图像主干通常在一个方向上从较低级别向较高级别传播特征信息。这可能不是理想的,因为描绘准确对象边界的定位能力在较低的高分辨率特征图中最突出,而可以消除属于一个对象与另一个对象的图像信号的歧义的语义通常出现在更高级别的处理中。我们提出了层次间注意力(HILA),一种基于注意力的方法,捕获不同级别的功能之间的自下而上和自上而下的更新。HILA通过在骨干编码器的较高和较低级别的特征之间添加本地连接来扩展分层视觉Transformer架构。在每一次迭代中,我们构建了一个层次结构,通过让较高级别的功能竞争分配,以更新属于它们的较低级别的功能,迭代解决对象部分的关系。这些改进的较低级别特征然后用于重新更新较高级别特征。HILA可以集成到大多数分层架构中,而不需要对基础模型进行任何更改。我们将HILA添加到SegFormer和Swin Transformer中,并在语义分割中以更少的参数和FLOPS显示出显著的准确性改进。项目网址及代码:https://www.cs.toronto.edu/~garyleung/hila/

英文摘要:

Existing transformer-based image backbones typically propagate feature information in one direction from lower to higher-levels. This may not be ideal since the localization ability to delineate accurate object boundaries, is most prominent in the lower, high-resolution feature maps, while the semantics that can disambiguate image signals belonging to one object vs. another, typically emerges in a higher level of processing. We present Hierarchical Inter-Level Attention (HILA), an attention-based method that captures Bottom-Up and Top-Down Updates between features of different levels. HILA extends hierarchical vision transformer architectures by adding local connections between features of higher and lower levels to the backbone encoder. In each iteration, we construct a hierarchy by having higher-level features compete for assignments to update lower-level features belonging to them, iteratively resolving object-part relationships. These improved lower-level features are then used to re-update the higher-level features. HILA can be integrated into the majority of hierarchical architectures without requiring any changes to the base model. We add HILA into SegFormer and the Swin Transformer and show notable improvements in accuracy in semantic segmentation with fewer parameters and FLOPS. Project website and code: https://www.cs.toronto.edu/~garyleung/hila/

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

↑