paper-with-me

홈 › Papers

Linear Attention via Orthogonal Memory

2023-12-18 · Jun Zhang, Shuyang Jiang, Jiangtao Feng, Lin Zheng, Lingpeng Kong

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.

📄 PDF Abstract BibTeX arXiv:2312.11135

Code (0)

등록된 구현이 없습니다.

Tasks

Causal Language ModelingComputational EfficiencyLanguage ModelingLanguage Modelling

Similar Papers 제목 키워드 기반

AuON: A Linear-time Alternative to Orthogonal Momentum Updates

2025-09-29 · Dipan Maity arxiv

Orthogonal momentum gradient updates have emerged to overcome the limitations of vector-based optimizers like Adam. The vector-based optimizer Adam suffers from high memory costs and ill-conditioned momentum gradient upd…

Orthogonal Self-Attention

2026-02-05 · Leo Zhang, James Martens arxiv

Softmax Self-Attention (SSA) is a key component of Transformer architectures. However, when utilised within skipless architectures, which aim to improve representation learning, recent work has highlighted the inherent i…

Representation Learning

Hybrid Associative Memories

2026-03-20 · Leon Lufkin, Tomás Figliolia, Beren Millidge, Kamesh Krishnamurthy arxiv

Recurrent neural networks (RNNs) and self-attention are both widely used sequence-mixing layers that maintain an internal memory. However, this memory is constructed using two orthogonal mechanisms: RNNs compress the ent…

Autoencoder-based Initialization for Recurrent Neural Networks with a Linear Memory

2019-09-25 · Antonio Carta, Alessandro Sperduti, Davide Bacciu

Orthogonal recurrent neural networks address the vanishing gradient problem by parameterizing the recurrent connections using an orthogonal matrix. This class of models is particularly effective to solve tasks that requi…

MemorizationPermuted-MNIST

Space lower bounds for linear prediction in the streaming model

2019-02-09 · Yuval Dagan, Gil Kur, Ohad Shamir

We show that fundamental learning tasks, such as finding an approximate linear separator or linear regression, require memory at least \emph{quadratic} in the dimension, in a natural streaming setting. This implies that …

regression