A layer in each AI transformer block that transforms each word's representation on its own, holding much of what the model learned in training.
Technically: A position-wise sublayer applied after attention in each Transformer block: two linear projections with a non-linear activation (often ReLU or GELU) between them, with an expanded inner dimension (commonly ~4x the model width). Research links much of a model's stored factual knowledge to FFN weights, which knowledge-editing methods target.
Category: Attention Mechanisms