Multi-branch Attentive Transformer
While the multi-branch architecture is one of the key ingredients to the success of computer vision tasks, it has not been well investigated in natural language processing, especially sequence learning tasks. In this work, we propose a simple yet effective variant of Transformer called multi-branch attentive Transformer (briefly, MAT), where the attention layer is the average of multiple branches and each branch is an independent multi-head attention layer. We leverage two training techniques to regularize the training: drop-branch, which randomly drops individual branches during training, and proximal initialization, which uses a pre-trained Transformer model to initialize multiple branches. Experiments on machine translation, code generation and natural language understanding demonstrate that such a simple variant of Transformer brings significant improvements. Our code is available at \url{https://github.com/HA-Transformer}.
Code (1)
Tasks
Code GenerationMachine TranslationNatural Language UnderstandingTranslationMethods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
Vision Transformer with Attentive Pooling for Robust Facial Expression Recognition
Facial Expression Recognition (FER) in the wild is an extremely challenging task. Recently, some Vision Transformers (ViT) have been explored for FER, but most of them perform inferiorly compared to Convolutional Neural …
Facial Expression RecognitionFacial Expression Recognition (FER)Inductive BiasBatch DropBlock Network for Person Re-identification and Beyond
Since the person re-identification task often suffers from the problem of pose changes and occlusions, some attentive local features are often suppressed when training CNNs. In this paper, we propose the Batch DropBlock …
Image RetrievalMetric LearningPerson Re-IdentificationDoubly Attentive Transformer Machine Translation
In this paper a doubly attentive transformer machine translation model (DATNMT) is presented in which a doubly-attentive transformer decoder normally joins spatial visual features obtained via pretrained convolutional ne…
DecoderImage CaptioningMachine TranslationMultimodal Machine Translation+1Synchronize Feature Extracting and Matching: A Single Branch Framework for 3D Object Tracking
Siamese network has been a de facto benchmark framework for 3D LiDAR object tracking with a shared-parametric encoder extracting features from template and search region, respectively. This paradigm relies heavily on an …
3D Object TrackingObject TrackingGTC: GNN-Transformer Co-contrastive Learning for Self-supervised Heterogeneous Graph Representation
Graph Neural Networks (GNNs) have emerged as the most powerful weapon for various graph tasks due to the message-passing mechanism's great local information aggregation ability. However, over-smoothing has always hindere…
Contrastive LearningGraph Representation LearningRepresentation Learning