CLDec 18, 2023

Linear Attention via Orthogonal Memory

arXiv:2312.11135v15 citationsh-index: 15
Originality Incremental advance
AI Analysis

This addresses a bottleneck for researchers and practitioners developing long-range language models, offering an incremental improvement over existing efficient attention methods.

The paper tackles the efficiency degradation problem in linear attention mechanisms for Transformers, particularly in causal language modeling with unbounded contexts, by proposing Linear Attention Via Orthogonal memory (LAVO), which achieves strong performance with linear complexity and scales context length to 128K.

Efficient attentions have greatly improved the computational efficiency of Transformers. However, most existing linear attention mechanisms suffer from an \emph{efficiency degradation} problem, leading to inefficiencies in causal language modeling and hindering their application in long-range language models. This problem is more pronounced under language modeling with unbounded contexts. In this paper, we propose \textbf{L}inear \textbf{A}ttention \textbf{V}ia \textbf{O}rthogonal memory~(\shortname) to address these limitations, achieving strong performance while maintaining linear complexity. \shortname employs orthogonal decomposition to compress a context into a fixed-size orthogonal memory while effectively minimizing redundancy within the context. Given that orthogonal memory compresses global information, we further dissect the context to amplify fine-grained local information. Additionally, we embed the relative position encoding into \shortname to improve the extrapolation ability. Experimental results show that \shortname greatly improves the efficiency of the causal language model with the best extrapolation performance and outperforms other efficient baselines. Further, we endeavor to employ \shortname for unbounded language modeling and successfully scale the context length to 128K.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes