Research map / Architectures and efficiency / Attention and transformers
Mass-Editing Memory with Attention in Transformers: A cross-lingual exploration of knowledge
Daniel Tamayo, Aitor Gonzalez-Agirre, Javier Hernando, Marta Villegas
Barcelona Supercomputing Center · Universitat Politècnica de Catalunya
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 attention-head corrections after MEMIT (MEMAT-16, CE) | MEMIT on Ǎguila-7B · CounterFact (English eval, 1,000 edits, trained in Catalan) | efficacy magnitude: 31.9 -> 43.8 | Improved |
| Add attention-head corrections after MEMIT (MEMAT-16, CE) | MEMIT on Ǎguila-7B · CounterFact (English eval, 1,000 edits, trained in Catalan) | efficacy score: 88.8 -> 90.7 | Improved |
| Add attention-head corrections after MEMIT (MEMAT-16, CE) | MEMIT on Ǎguila-7B · CounterFact (Catalan eval, trained in Catalan) | paraphrase magnitude: 40.4 -> 50.3 | Improved |
| Add attention-head corrections after MEMIT (MEMAT-16, CE) | MEMIT on Ǎguila-7B · CounterFact (English eval, 1,000 edits, trained in Catalan) | neighborhood score: 71.8 -> 73.4 | Improved |
| Use PMET instead of MEMIT | Ǎguila-7B editing · CounterFact (English eval, 1,000 edits, trained in Catalan) | efficacy score: 88.8 -> 80.4 | Hurt |
| Use PMET instead of MEMIT | Ǎguila-7B editing · CounterFact (English eval, 1,000 edits, trained in Catalan) | neighborhood score: 71.8 -> 73.9 | Improved |
| Recycle head corrections trained on other triplets (CC* vs CC) (ablation) | MEMAT-16 · CounterFact (English eval, 1,000 edits, trained in Catalan) | efficacy magnitude: 39.0 -> 42.2 | Improved |
| Recycle head corrections trained on other triplets (CE* vs CE) (ablation) | MEMAT-16 · CounterFact (English eval, 1,000 edits, trained in Catalan) | efficacy magnitude: 43.8 -> 38.5 | Hurt |
| Keep the same subject tokenization in both languages (Jaccard = 1) instead of differing tokenization (ablation) | MEMIT cross-lingual transfer · CounterFact cross-lingual, 1,000 edits | success and magnitude metrics | Improved |
| Insert two languages as separate matrices then sum (CAT)+(ENG) instead of joint optimization (CAT+ENG) (ablation) | MEMIT · CounterFact English eval, both languages | efficacy score: 93.4 -> 98.3 | Improved |
| Add attention-head corrections when inserting both languages | MEMIT (CAT)+(ENG) · CounterFact English eval, both languages | efficacy magnitude: 54.5 -> 68.0 | Improved |
| Use ITI-style averaged truthful head vectors instead of optimized head corrections (ablation) | MEMAT head correction · CounterFact (Catalan-trained, ITI in English) | success/magnitude metrics | Hurt |
Open problems in long-context KV and memory attention
How can long-context attention be made fast and small in memory without losing quality against full attention?
- Validated only on models up to about 13B parameters. · 8 papers state it
- Speedups are limited because the code is not fused or kernel-optimized. · 5 papers state it
- Compressed or sparse attention still trails full attention. · 4 papers state it
Closest papers by meaning
- Knowledge Circuits in Pretrained Transformers (NeurIPS 2024 · similarity 0.90)
- Revealing and Mitigating Over-Attention in Knowledge Editing (ICLR 2025 · similarity 0.89)
- PMET: Precise Model Editing in a Transformer (AAAI 2024 · similarity 0.89)
- MemEIC: A Step Toward Continual and Compositional Knowledge Editing (NeurIPS 2025 · similarity 0.89)
- Beyond Attention: Breaking the Limits of Transformer Context Length with Recurrent Memory (AAAI 2024 · similarity 0.89)
- WISE: Rethinking the Knowledge Memory for Lifelong Model Editing of Large Language Models (NeurIPS 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.