Improving Semantic Segmentation in Transformers using Hierarchical Inter-Level Attention

Gary Leung, Jun Gao, Xiaohui Zeng, Sanja Fidler
7/5/2022
cs.CV

No confident code implementation found for this paper.

Abstract

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/

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{leung2022improving,
  title  = {Improving Semantic Segmentation in Transformers using Hierarchical Inter-Level Attention},
  author = {Gary Leung and Jun Gao and Xiaohui Zeng and Sanja Fidler},
  year   = {2022},
  eprint = {2207.02126},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.02126v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.02126.svg)](https://codeofpaper.com/paper/2207.02126)

Discussion