Are Neighbors Enough? Multi-Head Neural n-gram can be Alternative to Self-attention
Not on the map. Why?
Abstract (arXiv)
Impressive performance of Transformer has been attributed to self-attention, where dependencies between entire input in a sequence are considered at every position. In this work, we reform the neural n-gram model, which focuses on only several surrounding representations of each position, with the multi-head mechanism as in Vaswani et al.(2017). Through experiments on sequence-to-sequence tasks, we show that replacing self-attention in Transformer with multi-head neural n-gram can achieve comparable or better performance than Transformer. From various analyses on our proposed method, we find that multi-head neural n-gram is complementary to self-attention, and their combinations can further improve performance of vanilla Transformer.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 13 of its 16 references that are in the map. First posted on arXiv 27 Jul 2022.
Builds on
13 of 16 references.
References · 13
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
- 2019Generating Long Sequences with Sparse Transformerscited by 1,546
- 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,292
- 2015A Neural Attention Model for Abstractive Sentence Summarizationcited by 396
- 2018Scaling Neural Machine Translationcited by 204
- 2019Positional Encoding to Control Output Sequence Lengthcited by 56
- 2017Classical Structured Prediction Losses for Sequence to Sequence Learningcited by 55
1 more
- 2021Revisiting Simple Neural Probabilistic Language Modelscited by 10
Built on by
Citing papers per year: 2023: 1; 2024: 1.
2 papers.