GLU's Origin: Vanquishing RNN's Vanishing Gradients

GLUs were introduced by Meta (formerly Facebook) researchers in 2016 to enable convolutional networks to process variable-length sequences in parallel, a crucial step before Transformers. Their gating mechanism provided a linear path for gradients, effectively mitigating the vanishing gradient problem prevalent in Recurrent Neural Networks (RNNs) and improving information flow.

Sources

Open the full topic