paper-with-me

All-Attention Layer

2000년 도입 · 논문 2편에서 사용

An All-Attention Layer is an attention module and layer for transformers that merges the self-attention and feedforward sublayers into a single unified attention layer. As opposed to the two-step mechanism of the Transformer layer, it directly builds its representation from the context and a persistent memory block without going through a feedforward transformation. The additional persistent memory block stores, in the form of key-value vectors, information that does not depend on the context. In terms of parameters, these persistent key-value vectors replace the feedforward sublayer.

출처: Augmenting Self-attention with Persistent Memory

소개 논문: Augmenting Self-attention with Persistent Memory

Attention Modules · General