{
 "slug": "Feed-forward_network",
 "title": "Feed-forward network",
 "type": "concept",
 "short_desc": "The position-wise two-layer perceptron inside every Transformer block, holding most of the stack's parameters and complementing attention's routing with per-token computation.",
 "categories": [
  "Architectures",
  "Concepts"
 ],
 "infobox": {
  "Introduced": "Multi-layer perceptrons date to the 1980s; as a Transformer component, Vaswani et al., 2017",
  "Field": "Neural network architectures",
  "Used in": "Every Transformer-based language model",
  "Key papers": "arXiv:1706.03762, arXiv:2002.05202, arXiv:2012.14913"
 },
 "infobox_links": {
  "Used in": [
   "Transformer_(architecture)"
  ]
 },
 "aliases": [
  "FFN",
  "Position-wise feed-forward network"
 ],
 "family": "",
 "org": "",
 "registry_status": "stub",
 "words": 1343,
 "references": 11,
 "outbound": [
  "BERT",
  "Backpropagation",
  "DeepSeek-V3",
  "DeepSeek_(model_family)",
  "Dropout",
  "GPT-1",
  "GPT_(model_family)",
  "LLaMA",
  "Large_language_model",
  "Layer_normalization",
  "Llama_(model_family)",
  "Mistral_7B",
  "Mixtral_8x7B",
  "Mixture_of_experts",
  "Perceptron",
  "Qwen_(model_family)",
  "RMSNorm",
  "Self-attention",
  "Transformer_(architecture)"
 ],
 "inbound": [
  "Activation_steering",
  "Arthur_Samuel",
  "Backpropagation",
  "Circuits_(interpretability)",
  "David_Rumelhart",
  "Embedding_(machine_learning)",
  "Frank_Rosenblatt",
  "GLM-130B",
  "Layer_normalization",
  "Logit_lens",
  "Mechanistic_interpretability",
  "Mixture_of_experts",
  "NETtalk",
  "Paul_Werbos",
  "Perceptron",
  "RMSNorm",
  "Self-attention",
  "Seq2seq",
  "TD-Gammon",
  "Transformer_(architecture)",
  "Walter_Pitts",
  "Warren_McCulloch"
 ],
 "url": "wiki/Feed-forward_network.html",
 "built": "2026-07-24"
}
