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

基于transformer的注意力网络在连续像素预测中的应用

Transformer-Based Attention Networks for Continuous Pixel-Wise Prediction

Harbin Institute of Technology(哈尔滨工业大学);University of Trento(特伦托大学);ETH Zurich(苏黎世联邦理工学院);Fondazione Bruno Kessler(布鲁诺·凯斯勒基金会)

Guanglei Yang, Hao Tang, Mingli Ding, Nicu Sebe, Elisa Ricci

摘要:

虽然卷积神经网络已经显示出对各种计算机视觉任务的巨大影响,但由于卷积运算的固有局部性,它们通常在显式建模远程依赖性方面表现出局限性。最初是为自然语言处理任务设计的,Transformers已经成为替代架构,具有先天的全局自我注意力机制来捕获长距离依赖关系。在本文中,我们提出了TransDepth,这是一种既受益于卷积神经网络又受益于Transformers的架构。为了避免网络失去其能力,以捕捉局部层次的细节,由于采用Transformers,我们提出了一种新的解码器,采用基于门的注意力机制。值得注意的是,这是第一篇将Transformers应用于涉及连续标签的逐像素预测问题的论文(即,单目深度预测和表面法线估计)。大量的实验表明,所提出的TransDepth实现了最先进的性能在三个具有挑战性的数据集。我们的代码可在https://github.com/ygjwd12345/TransDepth上获得。

英文摘要:

While convolutional neural networks have shown a tremendous impact on various computer vision tasks, they generally demonstrate limitations in explicitly modeling long-range dependencies due to the intrinsic locality of the convolution operation. Initially designed for natural language processing tasks, Transformers have emerged as alternative architectures with innate global self-attention mechanisms to capture long-range dependencies. In this paper, we propose TransDepth, an architecture that benefits from both convolutional neural networks and transformers. To avoid the network losing its ability to capture local-level details due to the adoption of transformers, we propose a novel decoder that employs attention mechanisms based on gates. Notably, this is the first paper that applies transformers to pixel-wise prediction problems involving continuous labels (i.e., monocular depth prediction and surface normal estimation). Extensive experiments demonstrate that the proposed TransDepth achieves state-of-the-art performance on three challenging datasets. Our code is available at: https://github.com/ygjwd12345/TransDepth.

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

↑