paper-with-me

Papers

Augmenting Self-attention with Persistent Memory

2019-07-02 · Sainbayar Sukhbaatar, Edouard Grave, Guillaume Lample, Herve Jegou, Armand Joulin

Transformer networks have lead to important progress in language modeling and machine translation. These models include two consecutive modules, a feed-forward layer and a self-attention layer. The latter allows the network to capture long term dependencies and are often regarded as the key ingredient in the success of Transformers. Building upon this intuition, we propose a new model that solely consists of attention layers. More precisely, we augment the self-attention layers with persistent memory vectors that play a similar role as the feed-forward layer. Thanks to these vectors, we can remove the feed-forward layer without degrading the performance of a transformer. Our evaluation shows the benefits brought by our model on standard character and word level language modeling benchmarks.

📄 PDF Abstract BibTeX arXiv:1907.01470

Code (2)

facebookresearch/adaptive-span pytorch
lucidrains/x-transformers pytorch

Tasks

Language ModelingLanguage ModellingTranslation

Methods 이 논문이 사용한 방법론

Adam 설명 없음
AdaGrad AdaGrad is a stochastic optimization method that adapts the learning rate to the parameters. It performs smaller updates for parameters associated with frequently occurring…
L1 Regularization $L_{1}$ Regularization is a regularization technique applied to the weights of a neural network. We minimize a loss function compromising both the primary loss function and a…
Adaptive Masking 설명 없음
All-Attention Layer An All-Attention Layer is an attention module and layer for transformers that merges the self-attention and feedforward sublayers into a single unified attention layer. As…

Similar Papers 제목 키워드 기반

Trained Persistent Memory for Frozen Decoder-Only LLMs

2026-03-20 · Hong Jeong arxiv

Decoder-only language models are stateless: hidden representations are discarded after every forward pass and nothing persists across sessions. Jeong (2026a) showed that trained memory adapters give a frozen encoder-deco…

DFSMN-SAN with Persistent Memory Model for Automatic Speech Recognition

2019-10-28 · Zhao You, Dan Su, Jie Chen, Chao Weng 외

Self-attention networks (SAN) have been introduced into automatic speech recognition (ASR) and achieved state-of-the-art performance owing to its superior ability in capturing long term dependency. One of the key ingredi…

Automatic Speech RecognitionAutomatic Speech Recognition (ASR)speech-recognitionSpeech Recognition

EAANet: Efficient Attention Augmented Convolutional Networks

2022-06-03 · Runqing Zhang, Tianshu Zhu

Humans can effectively find salient regions in complex scenes. Self-attention mechanisms were introduced into Computer Vision (CV) to achieve this. Attention Augmented Convolutional Network (AANet) is a mixture of convol…

AI-native Memory 2.0: Second Me

2025-03-11 · Jiale Wei, Xiang Ying, Tao Gao, Fangyi Bao 외

Human interaction with the external world fundamentally involves the exchange of personal memory, whether with other individuals, websites, applications, or, in the future, AI agents. A significant portion of this intera…

FrictionManagement

Sparse Forcing: Native Trainable Sparse Attention for Real-time Autoregressive Diffusion Video Generation

2026-04-23 · Boxun Xu, Yuming Du, Zichang Liu, Siyu Yang 외 arxiv

We introduce Sparse Forcing, a training-and-inference paradigm for autoregressive video diffusion models that improves long-horizon generation quality while reducing decoding latency. Sparse Forcing is motivated by an em…

Text-to-Video Generation