scimeatlas

Research map / Architectures and efficiency / Attention and transformers

LaMemo: Language Modeling with Look-Ahead Memory

Haozhe Ji, Rongsheng Zhang, Zhenyu Yang, Zhipeng Hu, Minlie Huang

NAACL 2022Architectures and efficiency › Attention and transformersapproach: State space and recurrent sequence modelsopen problems in this approach5 citations (OpenAlex)

Tsinghua University · Beijing National Research Center for Information Science and Technology

Read the paperPlace an idea next to itCheck your own paper ↗

9measured effects
8improved
1hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

On benchmark leaderboards

This paper tried a common change: Add positional encoding

use Transformer-XL relative positional encoding instead of disentangled RPE · Wikitext-103 · perplexity: FAIL (did not converge) Hurt

What 733 accepted papers report for this change

See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add look-ahead memory (LaMemo) in place of static recurrence memoryTransformer-XL · Wikitext-103 testperplexity: 24.56 -> 23.77Improved
add look-ahead memoryTransformer-XL · text8 testbits per character: 1.239 -> 1.196Improved
add look-ahead memoryTransformer-XL · enwik8 testbits per character: 1.128 -> 1.107Improved
add recurrence memoryTransformer+RPE · Wikitext-103 testperplexity: 29.14 -> 24.56Improved
add memory interpolation (ablation)LaMemo · Wikitext-103 testperplexity: 24.90 -> 23.77Improved
add look-ahead attention (ablation)LaMemo · Wikitext-103 testperplexity: 24.56 -> 23.77Improved
use Transformer-XL relative positional encoding instead of disentangled RPE (ablation)LaMemo · Wikitext-103perplexity: FAIL (did not converge)Hurt
extrapolate to longer memory at inference (m up to 10x target length)LaMemo vs Transformer-XL · Wikitext-103perplexityImproved
compare with Compressive Transformer and infinity-former using external memoryLaMemo · Wikitext-103 testperplexity: 24.41 / 24.22 -> 23.77Improved

Later papers that compared with this method

1 later accepted paper reports LaMemo as a baseline in their results tables; 1 of them report a better number on most of the results they share with it.

Earlier methods this paper compares with

Named baselines from earlier accepted papers in this paper's results tables: better than 2 of 2 on most shared results.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

Open problems in state space and recurrent sequence models

Do state space and recurrent models keep their efficiency and recall at large scale and long context?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy