Skip to main content
QUICK REVIEW

[Paper Review] Accessing Higher-level Representations in Sequential Transformers with Feedback Memory.

Angela Fan, Thibaut Lavril|arXiv (Cornell University)|Feb 21, 2020
Topic ModelingComputer Science13 references7 citations
TL;DR

The Feedback Transformer introduces a feedback memory mechanism that enables each layer to access higher-level representations from previous time steps, enhancing sequential modeling beyond standard Transformers. This architecture improves performance across language modeling, machine translation, summarization, and reinforcement learning benchmarks by leveraging richer contextual representations.

ABSTRACT

Transformers are feedforward networks that can process 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 built in previous time steps. 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, neural machine translation, summarization, and reinforcement learning that the increased representation capacity can improve over Transformer baselines.

Motivation & Objective

  • To address the limitation of standard Transformers in fully exploiting sequential dependencies due to unidirectional access to lower-layer representations.
  • To enhance representation capacity by allowing future tokens to access abstract, high-level representations from past tokens.
  • To improve performance on sequential tasks such as language modeling, machine translation, summarization, and reinforcement learning.
  • To explore whether feedback from higher-level representations can lead to more effective contextual representations in autoregressive models.

Proposed method

  • The Feedback Transformer introduces a feedback memory mechanism that stores and retrieves high-level representations from previous time steps.
  • At each timestep, the model combines the current token's representation with the highest-level representation from past timesteps via a learnable feedback gate.
  • The feedback mechanism enables the lowest layer to access abstract, contextually rich representations from earlier inputs, improving contextual understanding.
  • The architecture maintains the parallel computation benefits of standard Transformers while adding sequential feedback through a memory-augmented attention mechanism.
  • The feedback gate is differentiable and trained end-to-end, allowing the model to learn when and how to attend to past high-level representations.

Experimental results

Research questions

  • RQ1Can feedback from higher-level representations improve the performance of autoregressive models in sequential tasks?
  • RQ2How does exposing high-level representations from past timesteps affect representation quality and model generalization?
  • RQ3Does the Feedback Transformer outperform standard Transformers across diverse NLP and reinforcement learning benchmarks?
  • RQ4What is the impact of feedback on the model's ability to capture long-range dependencies?

Key findings

  • The Feedback Transformer achieves state-of-the-art results on multiple language modeling benchmarks, demonstrating improved generation quality and lower perplexity.
  • In neural machine translation, the model outperforms standard Transformers on both WMT and IWSLT benchmarks, showing stronger generalization.
  • For abstractive summarization, the Feedback Transformer achieves higher ROUGE scores, indicating better factual and structural coherence in summaries.
  • In reinforcement learning tasks, the model learns more efficient policies due to enhanced state representations derived from feedback.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.