SwiGLU's Edge: Swish Gating for Smoother Learning

SwiGLU, a prominent GLU variant used in models like Meta's LLaMA-2, improves upon the original GLU by replacing the sigmoid gating function with the smoother, non-monotonic Swish activation function, leading to enhanced expressive power, better optimization, and stabilized gradient signals during training.

Sources

Open the full topic