前馈网络Feed-Forward Network
Feed-Forward Network
Transformer 每层里的消化环节:注意力看完之后,由它加工。The digestion step inside every Transformer layer: attention looks around, then this part processes.
一种基本的神经网络结构:信息一层一层往前传,每层做一次变换。
在 Transformer 里,每层先做注意力,再接一个前馈网络。
这个前馈网络逐位置处理,两者交替进行。
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.
注意力负责「谁和谁相关」,前馈网络负责「把相关的东西加工成判断」。缺了它,模型只会连线,不会思考。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.
看站群怎么分工:这一站回答「是什么」,其他站回答「选哪个」How the site family divides the work ↗
回到名词地图看第4站的其他 35 个词 →Back to the map: the other 35 terms in station 4 →
- Attention Is All You Need(论文 §3.3)Attention Is All You Need §3.3 (paper) ↗