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
Tsinghua University · Beijing National Research Center for Information Science and Technology
Read the paperPlace an idea next to itCheck your own paper ↗
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
- WikiText-103 leaderboard perplexity 23.77 · rank 74 of 123 papers
- text8 leaderboard bits per character 1.196 · rank 5 of 10 papers
- Enwik8 leaderboard bits per character 1.107 · rank 9 of 15 papers
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
- 590 improved
- 67 no clear effect
- 9 mixed
- 67 hurt
- Learning-Augmented Scalable Linear Assignment Problem Optimization via Neural Dual Warm-Starts ICML 2026 · add positional encodings to features (d=13 -> d=21) · Block-structured, N=4096 · speedupImproved
- Mesh Based Simulations with Spatial and Temporal awareness ICML 2026 · use learned positional embedding, learnable relative bias or weighted adjacency instead of RoPE · Aneurysm · RMSEHurt
- Sparse ActionGen: Accelerating Diffusion Policy with Real-time Pruning ICML 2026 · add sinusoidal positional encoding to the pruner · Robomimic Tool Hang · success rate (%): 28 -> 54Improved
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 changed | Where | Measured | Effect |
|---|---|---|---|
| add look-ahead memory (LaMemo) in place of static recurrence memory | Transformer-XL · Wikitext-103 test | perplexity: 24.56 -> 23.77 | Improved |
| add look-ahead memory | Transformer-XL · text8 test | bits per character: 1.239 -> 1.196 | Improved |
| add look-ahead memory | Transformer-XL · enwik8 test | bits per character: 1.128 -> 1.107 | Improved |
| add recurrence memory | Transformer+RPE · Wikitext-103 test | perplexity: 29.14 -> 24.56 | Improved |
| add memory interpolation (ablation) | LaMemo · Wikitext-103 test | perplexity: 24.90 -> 23.77 | Improved |
| add look-ahead attention (ablation) | LaMemo · Wikitext-103 test | perplexity: 24.56 -> 23.77 | Improved |
| use Transformer-XL relative positional encoding instead of disentangled RPE (ablation) | LaMemo · Wikitext-103 | perplexity: FAIL (did not converge) | Hurt |
| extrapolate to longer memory at inference (m up to 10x target length) | LaMemo vs Transformer-XL · Wikitext-103 | perplexity | Improved |
| compare with Compressive Transformer and infinity-former using external memory | LaMemo · Wikitext-103 test | perplexity: 24.41 / 24.22 -> 23.77 | Improved |
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.
- Training Language Models with Memory Augmentation (EMNLP 2022 · better on 1 of 1 shared result)
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.
- Transformer-XL — Transformer-XL: Attentive Language Models beyond a Fixed-Length Context (ACL 2019) · better on 6 of 6 shared results
- ∞-former — $$-former: Infinite Memory Transformer (ACL 2022) · better on 1 of 1 shared result
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?
- Experiments stop at small models, around 1.3B parameters or less. · 24 papers state it
- Theory covers simplified models, not the architectures used in practice. · 13 papers state it
- Kernels are naive or unoptimized, so speed gains are not realized. · 10 papers state it
Closest papers by meaning
- Memory Caching: RNNs with Growing Memory (ICML 2026 · similarity 0.88)
- Simple linear attention language models balance the recall-throughput tradeoff (ICML 2024 · similarity 0.88)
- Beyond Attention: Breaking the Limits of Transformer Context Length with Recurrent Memory (AAAI 2024 · similarity 0.88)
- M+: Extending MemoryLLM with Scalable Long-Term Memory (ICML 2025 · similarity 0.87)
- RAT: Bridging RNN Efficiency and Attention Accuracy via Chunk-based Sequence Modeling (NeurIPS 2025 · similarity 0.87)
- Reinforced Fast Weights via Next-Sequence Prediction (NeurIPS 2026 · similarity 0.87)
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.