Research map / Architectures and efficiency / Attention and transformers
$$-former: Infinite Memory Transformer
Pedro Henrique Martins, Zita Marinho, André F. T. Martins
Instituto de Telecomunicações · Google DeepMind · Instituto Superior Técnico · Unbabel
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.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add continuous unbounded long-term memory | GPT-2 small · Wikitext-103 | perplexity: 16.85 -> 16.64 | Improved |
| add continuous unbounded long-term memory | GPT-2 small · PG19 subset | perplexity: 33.44 -> 32.61 | Improved |
| add compressive memory instead | GPT-2 small · Wikitext-103 | perplexity: 16.85 -> 16.87 | No clear effect |
| add sticky memories (ablation) | ∞-former · PG19 subset | perplexity: 32.61 -> 32.48 | Improved |
| add sticky memories (ablation) | ∞-former · Wikitext-103 (GPT-2) | perplexity: 16.64 -> 16.61 | Improved |
| add sticky memories (ablation) | ∞-former · Wikitext-103 (from scratch) | perplexity: 24.29 -> 24.22 | Improved |
| give the model access to the auxiliary document via memory | GPT-2 · CMU-DoG | F1: 7.82 -> 8.64 (GPT-2 w/o doc vs GPT-2); 8.92 with ∞-former | Improved |
| replace compressive memory with ∞-former | GPT-2 with memory · CMU-DoG | perplexity: 18.02 vs 18.02 | No clear effect |
| replace compressive memory with ∞-former | GPT-2 with memory · CMU-DoG | Rouge-1: 14.74 -> 15.28 | Improved |
| add sticky memories (ablation) | ∞-former · CMU-DoG | F1 / Rouge / Meteor: F1 8.92 -> 9.01 | Improved |
| add sticky memories (ablation) | ∞-former · CMU-DoG | perplexity: 18.02 -> 18.04 | No clear effect |
| increase number of basis functions substantially (ablation) | ∞-former · sorting (length 8,000) | accuracy | Hurt |
Later papers that compared with this method
2 later accepted papers report ∞-former as a baseline in their results tables; 2 of them report a better number on most of the results they share with it.
- Memoria: Resolving Fateful Forgetting Problem through Human-Inspired Memory Architecture (ICML 2024 · better on 3 of 3 shared results)
- LaMemo: Language Modeling with Look-Ahead Memory (NAACL 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 1 of 1 on most shared results.
- Transformer-XL — Transformer-XL: Attentive Language Models beyond a Fixed-Length Context (ACL 2019) · 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 sparse efficient transformers for long context
Do sparse and efficient long-context attention methods keep their quality and speed at larger model scale?
- Not tested on models larger than a few billion parameters. · 12 papers state it
- Training costs more or is less stable than a standard transformer. · 7 papers state it
- Quality still falls behind softmax attention or the teacher model. · 6 papers state it
Closest papers by meaning
- Beyond Attention: Breaking the Limits of Transformer Context Length with Recurrent Memory (AAAI 2024 · similarity 0.92)
- Forgetting Transformer: Softmax Attention with a Forget Gate (ICLR 2025 · similarity 0.90)
- Memorization Capacity of Multi-Head Attention in Transformers (ICLR 2024 · similarity 0.89)
- Understanding the Expressive Power and Mechanisms of Transformer for Sequence Modeling (NeurIPS 2024 · similarity 0.89)
- Understanding Factual Recall in Transformers via Associative Memories (ICLR 2025 · similarity 0.88)
- Memory-Augmenting Decoder-Only Language Models through Encoders (Student Abstract) (AAAI 2024 · similarity 0.88)
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.