This ICLR 2022 paper from Rutgers University introduces EntQA, a novel framework that reimagines Entity Linking (EL) by borrowing a successful architecture from the world of Open-Domain Question Answering.
The Problem with Traditional Entity Linking
Entity Linking is the task of taking a raw document and mapping specific spans of text (mentions) to unique entries in a knowledge base (KB), like Wikipedia.
Traditionally, this is done in a "Mention Detection (MD) $\rightarrow$ Entity Disambiguation (ED)" pipeline. For example, a system first finds a name like "Jordan," and then tries to figure out if it refers to Michael Jordan the basketball player, Michael I. Jordan the scientist, or the country.
The authors argue this approach is fundamentally "unnatural." It is difficult to identify a mention accurately without knowing what entity it refers to. Furthermore, errors in the detection phase inevitably propagate to the disambiguation phase, creating a performance bottleneck. Existing "end-to-end" models try to solve this but often rely on massive, manually curated "mention-candidate" dictionaries that map specific strings to potential entities. This limits their flexibility and makes them hard to adapt to new domains.
The EntQA Solution: Inverting the Pipeline
The core innovation of EntQA is inverting the pipeline. It treats the problem as an "inverted" version of open-domain question answering (QA).
- The Retriever (Entity Retrieval): Given a passage, a fast dual-encoder module (initialized with BLINK) retrieves the top-$K$ (e.g., 100) candidate entities from the KB that are likely to be mentioned. Crucially, it does this based on the context of the passage before any specific mentions are identified.
- The Reader (Mention Extraction): For each candidate entity, the system "asks" the document: "Where is this entity mentioned?" A powerful cross-attention reader (based on ELECTRA) scans the passage to find "answer spans" (mentions). If the reader finds no convincing spans, it rejects the candidate.
- Global Reranking: The model performs multi-task learning, jointly training the reader to find spans and to rank the candidates. At inference, it uses a simple threshold ($\gamma$) to decide which entity-mention pairs to keep.
By using this structure, EntQA eliminates the need for a mention-candidate dictionary and can link entities in a zero-shot fashion by simply reading their KB descriptions.
Key Insights and Advantages
- Retrieval is Easier than Detection: The authors hypothesized that it's easier to guess which entities are relevant to a document than it is to guess which spans are mentions without entity knowledge. Their retriever achieved over 98% top-100 recall on the AIDA dataset, proving this point.
- Independence from Dictionaries: Unlike almost all previous state-of-the-art systems, EntQA doesn't use a "cheat sheet" (dictionary) of which names usually refer to which entities. This makes it much more robust for "long-tail" entities or new knowledge bases.
- Data Efficiency: While competitors like GENRE require industry-scale pretraining on 64 GPUs for 30 hours, EntQA can be trained on an "academic budget" (e.g., 4 GPUs for 9 hours) while still outperforming them.
- The "Fill-in-the-Blank" Effect: Error analysis showed that EntQA often "over-predicts" mentions that are actually correct but were missed by human annotators in the gold standard datasets.
Key Results
The authors evaluated EntQA using the GERBIL benchmarking platform, which provides a standardized way to compare EL systems across multiple datasets, utilizing the 2019 Wikipedia dump from the KILT benchmark (roughly 5.9 million entities).
- State-of-the-Art Performance: EntQA achieved an InKB Micro $F_1$ score of 85.8 on AIDA-B (the standard in-domain benchmark for EL), a 2.1 absolute improvement over previous best models.
- Generalization: It showed strong "out-of-the-box" performance on out-of-domain datasets (including social media and news), with a macro-averaged $F_1$ of 60.5 across 8 datasets (a 2.3 improvement).
- Speed-Accuracy Tradeoff: The system's runtime is linear relative to the number of candidates ($K$). The authors demonstrated that they could reduce $K$ from 100 to 20 to get a 5x speedup with only a negligible drop in accuracy.
Limitations and Future Work
While highly effective, EntQA has a few limitations. Because it uses dense retrieval, it requires significant RAM (the authors used 252GB) to store and index entity embeddings. Additionally, performance on datasets with very long documents (like MSNBC) lagged slightly, likely because its passage-level processing loses some global document context. Finally, while the threshold-based approach can theoretically handle nested entity mentions, the authors left a deep dive into nested linking and coreference resolution (e.g., linking pronouns to entities) for future work.
Summary updated