ReGLA: Refining Gated Linear Attention

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Lu, Peng, Kobyzev, Ivan, Rezagholizadeh, Mehdi, Chen, Boxing, Langlais, Philippe
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912529069899776
author Lu, Peng
Kobyzev, Ivan
Rezagholizadeh, Mehdi
Chen, Boxing
Langlais, Philippe
author_facet Lu, Peng
Kobyzev, Ivan
Rezagholizadeh, Mehdi
Chen, Boxing
Langlais, Philippe
contents Recent advancements in Large Language Models (LLMs) have set themselves apart with their exceptional performance in complex language modelling tasks. However, these models are also known for their significant computational and storage requirements, primarily due to the quadratic computation complexity of softmax attention. To mitigate this issue, linear attention has been designed to reduce the quadratic space-time complexity that is inherent in standard transformers. In this work, we embarked on a comprehensive exploration of three key components that substantially impact the performance of the Gated Linear Attention module: feature maps, normalization, and the gating mechanism. We developed a feature mapping function to address some crucial issues that previous suggestions overlooked. Then we offered further rationale for the integration of normalization layers to stabilize the training process. Moreover, we explored the saturation phenomenon of the gating mechanism and augmented it with a refining module. We conducted extensive experiments and showed our architecture outperforms previous Gated Linear Attention mechanisms in extensive tasks including training from scratch and post-linearization with continual pre-training.
format Preprint
id arxiv_https___arxiv_org_abs_2502_01578
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle ReGLA: Refining Gated Linear Attention
Lu, Peng
Kobyzev, Ivan
Rezagholizadeh, Mehdi
Chen, Boxing
Langlais, Philippe
Computation and Language
Recent advancements in Large Language Models (LLMs) have set themselves apart with their exceptional performance in complex language modelling tasks. However, these models are also known for their significant computational and storage requirements, primarily due to the quadratic computation complexity of softmax attention. To mitigate this issue, linear attention has been designed to reduce the quadratic space-time complexity that is inherent in standard transformers. In this work, we embarked on a comprehensive exploration of three key components that substantially impact the performance of the Gated Linear Attention module: feature maps, normalization, and the gating mechanism. We developed a feature mapping function to address some crucial issues that previous suggestions overlooked. Then we offered further rationale for the integration of normalization layers to stabilize the training process. Moreover, we explored the saturation phenomenon of the gating mechanism and augmented it with a refining module. We conducted extensive experiments and showed our architecture outperforms previous Gated Linear Attention mechanisms in extensive tasks including training from scratch and post-linearization with continual pre-training.
title ReGLA: Refining Gated Linear Attention
topic Computation and Language
url https://arxiv.org/abs/2502.01578