Methods › General › Attention Modules › Feedback Memory
Feedback Memory
Introduced by Angela Fan et al. in Addressing Some Limitations of Transformers with Feedback Memory
archive 2025-07-28 Description, source and code snippet are the archive's method entry.
Feedback Memory is a type of attention module used in the Feedback Transformer architecture. It allows a transformer to to use the most abstract representations from the past directly as inputs for the current timestep. This means that the model does not form its representation in parallel, but sequentially token by token. More precisely, we replace the context inputs to attention modules with memory vectors that are computed over the past, i.e.:
𝐳ˡₜ = Attn(𝐱ˡₜ, [𝐦_(t-τ), …, 𝐦ₜ₋₁])
where a memory vector 𝐦ₜ is computed by summing the representations of each layer at the t-th time step:
𝐦ₜ = ∑ᴸₗ₌₀Softmax(wˡ)𝐱ₜˡ
where wˡ are learnable scalar parameters. Here l = 0 corresponds to token embeddings. The weighting of different layers by a softmax output gives the model more flexibility as it can average them or select one of them. This modification of the self-attention input adapts the computation of the Transformer from parallel to sequential, summarized in the Figure. Indeed, it gives the ability to formulate the representation 𝐱ˡₜ₊₁ based on past representations from any layer l′, while in a standard Transformer this is only true for l > l′. This change can be viewed as exposing all previous computations to all future computations, providing better representations of the input. Such capacity would allow much shallower models to capture the same level of abstraction as a deeper architecture.
Papers archive 2025-07-28
4 shown of 4, newest first. Repository counts are the archive's code-links table. A Syntology line states what Syntology ran from that paper's harvested code; it is per sample and not a correctness claim.
-
SPIRe: Boosting LLM Inference Throughput with Speculative Decoding 8 Apr 2025 · 0 repositories · arXiv:2504.06419
-
Iterative Feedback Network for Unsupervised Point Cloud Registration 9 Jan 2024 · 1 repository · arXiv:2401.04357
-
Do You Know My Emotion? Emotion-Aware Strategy Recognition towards a Persuasive Dialogue System 24 Jun 2022 · 1 repository · arXiv:2206.12101
-
Addressing Some Limitations of Transformers with Feedback Memory 21 Feb 2020 · 4 repositories · arXiv:2002.09402Syntology ran 3 of 3 samples · 0 unverified · 2 pointer-only (licence)
Tasks archive 2025-07-28
6 tasks the archive attaches to papers tagged with this method, by distinct papers. A task without a page in the catalog is plain text.
| Task | Papers |
|---|---|
| Language Modeling | 1 |
| Language Modelling | 1 |
| Machine Translation | 1 |
| Point Cloud Registration | 1 |
| Reinforcement Learning | 1 |
| Translation | 1 |
Usage over time archive 2025-07-28
Components: the archive holds no method-to-method composition, so PwC's Components table cannot be rebuilt; the Papers list carries no Results column for the same reason (the archive does not join its leaderboard rows to method tags).
Categories archive 2025-07-28
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections