A Systematic Analysis of Hybrid Linear Attention

14d ago · Global · primary source: export.arxiv.org

Multi-source synthesis by The Embedding Report from 3 sources. Every numeric and quoted claim traces to a cited source body (see methodology).

Researchers have made advancements in addressing the limitations of Transformers in handling long sequences by adopting linear attention mechanisms and hybrid architectures.

Transformers face quadratic complexity and memory issues with long sequences, prompting the adoption of linear attention mechanisms using fixed-size hidden states[1]. Hybrid architectures combining linear and full attention layers have been developed to improve recall performance. A recent study trained and open-sourced 72 models, covering six linear attention variants across five hybridization ratios[1]. The study found that recall significantly improves with increased full attention layers, particularly below a 3:1 ratio[1]. Meanwhile, a new recurrent model called CARVE achieves state-of-the-art results on several benchmarks and leads every recurrent baseline on nine common-sense reasoning benchmarks[2]. CARVE has 1.3B parameters and is trained on 100B tokens[2]. Additionally, the Erase-then-Delta Attention (EDA) mechanism has been proposed to improve memory updates by decoupling where to erase from where to write[3]. EDA performed best in both dense 2.5B and MoE 25B-A2.8B model families in language-model pretraining experiments[3].

commentaryresearch-paper

Background sources we checked (4)
  • arxiv.org ↗ Transformers face quadratic complexity and memory issues with long sequences, prompting the adoption of linear attention mechanisms using fixed-size hidden states. However, linear models often suffer from limited recall performance, leading to hybrid architectures that combine li…
  • en.wikipedia.org ↗ A large language model (LLM) is a neural network trained on a vast amount of text for natural language processing tasks, especially language generation. LLMs can typically generate, summarize, translate, and analyze text in many contexts, and are a foundational technology behind …
  • en.wikipedia.org ↗ John Kendall Kruschke is an American psychologist and statistician known for his work in connectionist models of human learning, and in Bayesian statistical analysis. He is Provost Professor Emeritus in the Department of Psychological and Brain Sciences at Indiana University …
  • en.wikipedia.org ↗ In artificial neural networks, recurrent neural networks (RNNs) are designed for processing sequential data, such as text, speech, and time series, where the order of elements is important. Unlike feedforward neural networks, which process inputs independently, RNNs utilize recur…

Sources cited (3)

  1. arxiv.org ↗ E
  2. arxiv.org ↗ E
  3. arxiv.org ↗ E
Spot something wrong? Report an issue