Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Addressing Some Limitations of Transformers with Feedback Memory

About

Transformers have been successfully applied to sequential, auto-regressive tasks despite being feedforward networks. Unlike recurrent neural networks, Transformers use attention to capture temporal relations while processing input tokens in parallel. While this parallelization makes them computationally efficient, it restricts the model from fully exploiting the sequential nature of the input. The representation at a given layer can only access representations from lower layers, rather than the higher level representations already available. In this work, we propose the Feedback Transformer architecture that exposes all previous representations to all future representations, meaning the lowest representation of the current timestep is formed from the highest-level abstract representation of the past. We demonstrate on a variety of benchmarks in language modeling, machine translation, and reinforcement learning that the increased representation capacity can create small, shallow models with much stronger performance than comparable Transformers.

Angela Fan, Thibaut Lavril, Edouard Grave, Armand Joulin, Sainbayar Sukhbaatar• 2020

Related benchmarks

TaskDatasetResultRank
Language ModelingWikiText-103 (test)
Perplexity18.2
524
Machine TranslationWMT En-De 2014 (test)
BLEU29.5
379
Character-level Language Modelingenwik8 (test)
BPC0.96
195
Language ModelingPG19 bytes (test)
Bits Per Token0.935
14
Language ModelingPG19 tokens (test)
Bits per Token3.49
14
Language ModelingarXiv tokens (test)
Bits Per Token1.22
14
Showing 6 of 6 rows

Other info

Follow for update