Methods › General › Attention Modules › Feedback Memory

Feedback Memory

4 papers tagged archive 2025-07-28

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.

PaperSource

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.

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.

TaskPapers
Language Modeling1
Language Modelling1
Machine Translation1
Point Cloud Registration1
Reinforcement Learning1
Translation1

Usage over time archive 2025-07-28

Papers per year tagged with Feedback Memory: 2020 to 2025, peak 1 1 0 2020: 1 paper 2020 2021: 0 papers 2021 2022: 1 paper 2022 2023: 0 papers 2023 2024: 1 paper 2024 2025: 1 paper 2025
Papers per year the archive tags with this method, by the paper's archive date (4 dated). Bars are counts, not a trend claim.

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

Attention Modules

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