mlsanityData to 7 Oct 2026

TransfoRNN: Capturing the Sequential Information in Self-Attention Representations for Language Modeling

arXiv 2104.01572 ↗First posted 4 Apr 2021cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

In this paper, we describe the use of recurrent neural networks to capture sequential information from the self-attention representations to improve the Transformers. Although self-attention mechanism provides a means to exploit long context, the sequential information, i.e. the arrangement of tokens, is not explicitly captured. We propose to cascade the recurrent neural networks to the Transformers, which referred to as the TransfoRNN model, to capture the sequential information. We found that the TransfoRNN models which consists of only shallow Transformers stack is suffice to give comparable, if not better, performance than a deeper Transformer model. Evaluated on the Penn Treebank and WikiText-2 corpora, the proposed TransfoRNN model has shown lower model perplexities with fewer number of model parameters. On the Penn Treebank corpus, the model perplexities were reduced up to 5.5% with the model size reduced up to 10.5%. On the WikiText-2 corpus, the model perplexity was reduced up to 2.2% with a 27.7% smaller model. Also, the TransfoRNN model was applied on the LibriSpeech speech recognition task and has shown comparable results with the Transformer models.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 14 of its 31 references that are in the map. First posted on arXiv 4 Apr 2021.

Builds on

14 of 31 references.

References · 14

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  5. 2016Layer Normalizationcited by 5,579
  6. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  7. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
  8. 2016Pointer Sentinel Mixture Modelscited by 2,992
  9. 2016Using the Output Embedding to Improve Language Modelscited by 266
  10. 2018Character-Level Language Modeling with Deeper Self-Attentioncited by 138
  11. 2018Sharp Nearby, Fuzzy Far Away: How Neural Language Models Use Contextcited by 113
  12. 2019Language Modeling with Deep Transformerscited by 96
2 more
  1. 2016Tying Word Vectors and Word Classifiers: A Loss Framework for Language Modelingcited by 87
  2. 2018Why Self-Attention? A Targeted Evaluation of Neural Machine Translation Architecturescited by 30

Built on by

Not cited yet.