English

Axially Expanded Windows for Local-Global Interaction in Vision Transformers

Computer Vision and Pattern Recognition 2022-11-15 v2

Abstract

Recently, Transformers have shown promising performance in various vision tasks. A challenging issue in Transformer design is that global self-attention is very expensive to compute, especially for the high-resolution vision tasks. Local self-attention performs attention computation within a local region to improve its efficiency, which leads to their receptive fields in a single attention layer are not large enough, resulting in insufficient context modeling. When observing a scene, humans usually focus on a local region while attending to non-attentional regions at coarse granularity. Based on this observation, we develop the axially expanded window self-attention mechanism that performs fine-grained self-attention within the local window and coarse-grained self-attention in the horizontal and vertical axes, and thus can effectively capturing both short- and long-range visual dependencies.

Keywords

Cite

@article{arxiv.2209.08726,
  title  = {Axially Expanded Windows for Local-Global Interaction in Vision Transformers},
  author = {Zhemin Zhang and Xun Gong},
  journal= {arXiv preprint arXiv:2209.08726},
  year   = {2022}
}
R2 v1 2026-06-28T01:33:24.270Z