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

Local-to-Global Self-Attention in Vision Transformers

Inception Institute of Artificial Intelligence (IIAI)(起源人工智能研究院);Shanghai Jiao Tong University(上海交通大学)

Jinpeng Li, Yichao Yan, Shengcai Liao, Xiaokang Yang, Ling Shao

英文摘要:

Transformers have demonstrated great potential in computer vision tasks. To avoid dense computations of self-attentions in high-resolution visual data, some recent Transformer models adopt a hierarchical design, where self-attentions are only computed within local windows. This design significantly improves the efficiency but lacks global feature reasoning in early stages. In this work, we design a multi-path structure of the Transformer, which enables local-to-global reasoning at multiple granularities in each stage. The proposed framework is computationally efficient and highly effective. With a marginal increasement in computational overhead, our model achieves notable improvements in both image classification and semantic segmentation. Code is available at https://github.com/ljpadam/LG-Transformer

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

↑