What is entity linking?
Entity linking is the natural language processing task of connecting a person, organisation, place or product name in text to the one correct record in a knowledge base or knowledge graph, using context to decide which record an ambiguous name means.
Unlike named entity recognition, which finds a name and labels its type, entity linking maps the name to a uniquely defined record and often uses recognition as its first step.
- Topic
- Natural language processing and Turkish
- Also known as
- Named entity disambiguation, wikification
- Origin
- Encyclopaedia based approaches from the mid 2000s; 2011 EMNLP collective disambiguation study
How entity linking works
- Mention detection finds the boundaries of entity names in the text.
- Candidate generation selects likely records per name, in dense methods via nearest neighbour search with a bi-encoder.
- Ranking scores the prior probability, context similarity and coherence with other entities; alternatively a cross-encoder reranks the candidates.
- Names with no match go to a special empty record (NIL) or are deemed unlinkable below a threshold.
In more detail
Collective disambiguation
Methods that handle all names in a text together, rather than one at a time, also take semantic coherence among candidates into account. The 2011 study built a weighted graph of mentions and candidate entities and searched for a dense subgraph approximating the best joint mapping. Because coherence can mislead on short texts covering unrelated topics, the method applied this step only to the critical mentions.
Commonly confused terms
| Term | How it differs |
|---|---|
| Coreference resolution | Coreference resolution links expressions within the same text that refer to the same entity, such as a name and a later pronoun. Entity linking connects the name to a record in a knowledge base outside the text. |
Why entity linking matters for on-premises AI
By resolving name ambiguity, entity linking is an essential component of many information extraction pipelines. A 2011 study combined mention priors, context similarity and coherence among candidates; a 2020 study linked against 5.9 million candidates in 2 milliseconds with a bi-encoder and nearest neighbour search. Knowledge bases stay incomplete, so spotting names without a record remains an open challenge.
An insurer links variant spellings such as Ankara Branch and Ank. br. in claim notes to its branch records and maps garage names to master data identifiers. Every file mentioning a garage is then one query away; names matching no record go to review.
Common questions
Are entity linking and named entity recognition the same?
No. Entity recognition finds a name and labels its type; entity linking connects that name to a specific record in a knowledge base.
How is a name that is not in the knowledge base handled?
It is linked to a special empty record or treated as unlinkable when the best match scores below a threshold. This stops it from being linked to a wrong record.
Related terms
Sources
- Neural Entity Linking: A Survey of Models Based on Deep Learning, Semantic Web Journal, 2022
- Robust Disambiguation of Named Entities in Text, EMNLP, 2011
- Scalable Zero-shot Entity Linking with Dense Entity Retrieval, EMNLP, 2020
In the glossary: Glossary, E to L