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

UFO-ViT:不带Softmax的高性能线性视觉Transformer

UFO-ViT: High Performance Linear Vision Transformer without Softmax

Kakao Enterprise

Jeong-geun Song

摘要:

视觉Transformer已成为计算机视觉任务中最重要的模型之一。虽然他们优于以前的作品,他们需要大量的计算资源的规模是二次$N$。这是传统的自注意(SA)算法的一个主要缺点。在这里,我们提出了单位力操作的视觉Transformer(UFO-ViT),一种新的SA机制,具有线性复杂性。这项工作的主要途径是消除非线性从原来的SA。我们因式分解SA机制的矩阵乘法,没有复杂的线性近似。通过修改只有几行代码,从原来的SA,所提出的模型优于大多数基于变换的模型在图像分类和密集的预测任务的大多数容量制度。

英文摘要:

Vision transformers have become one of the most important models for computer vision tasks. Although they outperform prior works, they require heavy computational resources on a scale that is quadratic to $N$. This is a major drawback of the traditional self-attention (SA) algorithm. Here, we propose the Unit Force Operated Vision Transformer (UFO-ViT), a novel SA mechanism that has linear complexity. The main approach of this work is to eliminate nonlinearity from the original SA. We factorize the matrix multiplication of the SA mechanism without complicated linear approximation. By modifying only a few lines of code from the original SA, the proposed models outperform most transformer-based models on image classification and dense prediction tasks on most capacity regimes.

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

↑