Addressing Some Limitations of Transformers with Feedback Memory
Angela Fan, Thibaut Lavril, Edouard Grave, Armand Joulin, Sainbayar, Sukhbaatar

TL;DR
This paper introduces the Feedback Transformer, a novel architecture that enhances sequential modeling by allowing all previous representations to inform future ones, leading to improved performance in language, translation, and reinforcement learning tasks.
Contribution
The paper proposes the Feedback Transformer architecture, which exposes all previous representations to future ones, overcoming limitations of standard Transformers.
Findings
Feedback Transformers outperform comparable models on multiple benchmarks.
Small, shallow Feedback Transformers achieve strong performance.
Increased representation capacity improves efficiency and effectiveness.
Abstract
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,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Feedback Transformers: Addressing Some Limitations of Transformers with Feedback Memory (Explained)· youtube
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques · Multimodal Machine Learning Applications
MethodsLinear Layer · Absolute Position Encodings · Position-Wise Feed-Forward Layer · Refunds@Expedia|||How do I get a full refund from Expedia? · Feedback Memory · Tanh Activation · Sigmoid Activation · Long Short-Term Memory · A2C · RMSProp
