Skip to main content

Feed-Forward Network

Feed-Forward Network

  • Core concepts
  • Stage 4 · Under the Hood
  • refs checked 2026-11-09
What problem it solves

The digestion step inside every Transformer layer: attention looks around, then this part processes.

What it is
A basic neural-network structure: information passes layer by layer, each layer applying one transformation. In a Transformer, each layer runs attention first, then a feed-forward network. This feed-forward network works position by position, alternating with attention.
Why it matters

Attention decides which words relate to each other; the feed-forward network turns those relations into judgments. Without it, a model can only draw lines, not think.

Sources
  • Attention Is All You Need §3.3 (paper) ↗
Use this term in a task

Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.

Task handbooks → · Filter three candidates →