[Paper Review] Mention Memory: incorporating textual knowledge into Transformers through entity mention attention
This paper proposes tome, a Transformer model that enhances factual reasoning by integrating a semi-parametric Mention Memory—dense vector representations of 150 million entity mentions from Wikipedia—into attention mechanisms. The model achieves state-of-the-art performance on open-domain claim verification and entity-based question answering without retraining, simply by updating the memory with new entities.
Natural language understanding tasks such as open-domain question answering often require retrieving and assimilating factual information from multiple sources. We propose to address this problem by integrating a semi-parametric representation of a large text corpus into a Transformer model as a source of factual knowledge. Specifically, our method represents knowledge with `mention memory', a table of dense vector representations of every entity mention in a corpus. The proposed model - TOME - is a Transformer that accesses the information through internal memory layers in which each entity mention in the input passage attends to the mention memory. This approach enables synthesis of and reasoning over many disparate sources of information within a single Transformer model. In experiments using a memory of 150 million Wikipedia mentions, TOME achieves strong performance on several open-domain knowledge-intensive tasks, including the claim verification benchmarks HoVer and FEVER and several entity-based QA benchmarks. We also show that the model learns to attend to informative mentions without any direct supervision. Finally we demonstrate that the model can generalize to new unseen entities by updating the memory without retraining.
Motivation & Objective
- To address the challenge of reliably incorporating factual knowledge from large text corpora into neural language models.
- To enable fine-grained, multi-source reasoning over diverse factual information without requiring supervised retrieval signals.
- To design a scalable and generalizable method for integrating external knowledge into Transformers that supports zero-shot generalization to unseen entities.
- To demonstrate that attention over a dense, semi-parametric memory can outperform existing retrieve-and-read and aggregate entity baselines on knowledge-intensive NLP tasks.
Proposed method
- The method constructs a Mention Memory by encoding every entity mention in English Wikipedia (150M total) into dense vectors using a pre-trained mention encoder.
- The tome model uses memory attention layers that allow each mention in the input passage to attend to relevant entries in the Mention Memory, enabling retrieval of specific entity attributes or relations.
- The Mention Memory is kept frozen during fine-tuning, allowing the model to reason over factual information without retraining the memory components.
- The model employs TOMEBlocks—stacked modules combining memory attention and standard Transformer blocks—to enable multi-hop and multi-source reasoning within a single forward pass.
- The approach supports zero-shot generalization by updating the memory with new entity mentions without retraining the main model.
- The model is trained end-to-end using only verification or question-answering accuracy as supervision, without direct supervision on retrieved memory entries.
Experimental results
Research questions
- RQ1Can a Transformer model effectively retrieve and reason over fine-grained factual information from a large corpus using a semi-parametric memory of entity mentions?
- RQ2Does attention over a dense, pre-encoded Mention Memory lead to better performance than aggregate entity retrieval or retrieve-and-read baselines on knowledge-intensive tasks?
- RQ3Can the model learn to attend to informative and relevant mentions without any explicit supervision on retrieval quality?
- RQ4To what extent can the model generalize to unseen entities by updating only the memory, without retraining the main network?
- RQ5How does memory size affect performance, and does the model benefit from larger, more comprehensive memories?
Key findings
- On the HoVer and FEVER claim verification benchmarks, tome achieves state-of-the-art performance, significantly outperforming both entity aggregate baselines and retrieve-and-read models.
- The model learns to attend to highly specific and informative mentions—such as album positions and production details—without any direct supervision on retrieval quality.
- Ablation studies confirm that the Mention Memory is crucial for performance, with accuracy dropping substantially when it is removed or replaced with a smaller memory.
- The model generalizes effectively to unseen entities: when evaluated with the full memory, the zero-shot model (tome-unseen) maintains performance comparable to the full model on TriviaQA and ComplexWebQuestions.
- Performance increases smoothly with memory size, though with diminishing returns, suggesting that overlapping or redundant mentions exist in large-scale corpora.
- The model achieves strong results on entity-based QA benchmarks, including 17.4% accuracy on TriviaQA dev and 16.4% on ComplexWebQuestions dev, outperforming comparable baselines.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.