paper-with-me

TNT

Transformer in Transformer

2000년 도입 · 논문 12편에서 사용

Transformer is a type of self-attention-based neural networks originally applied for NLP tasks. Recently, pure transformer-based models are proposed to solve computer vision problems. These visual transformers usually view an image as a sequence of patches while they ignore the intrinsic structure information inside each patch. In this paper, we propose a novel Transformer-iN-Transformer (TNT) model for modeling both patch-level and pixel-level representation. In each TNT block, an outer transformer block is utilized to process patch embeddings, and an inner transformer block extracts local features from pixel embeddings. The pixel-level feature is projected to the space of patch embedding by a linear transformation layer and then added into the patch. By stacking the TNT blocks, we build the TNT model for image recognition. Image source: Han et al.

출처: Transformer in Transformer

소개 논문: Transformer in Transformer

Vision Transformers · Computer VisionImage Model Blocks · Computer VisionImage Models · Computer VisionBackbone Architectures · Computer VisionTransformers · Natural Language Processing