GLU's Core: How FFN Gates Create Activation Outliers

Gated Linear Unit (GLU) variants, such as SwiGLU, within Feed-Forward Network (FFN) layers are a primary architectural source of activation spikes. Their multiplicative gating mechanism and the FFN's role in amplifying hidden states via residual connections contribute to these excessively large activation values.

Sources

Open the full topic