- Introduced by
- Hobbs (1978); Lee et al. (2017, neural end-to-end)
- Year
- 1978
- Type
- NLP information-extraction task
What does it do?
Coreference resolution is a natural-language-processing task that detects when different expressions in a text refer to the same entity, for example a name, a later pronoun, and a descriptive phrase that all point to one person.
Hobbs (1978) set out resolution of pronoun references over syntactic structure, and Lee et al. (2017) introduced an end-to-end neural model that links mentions from learned representations. Its output lets later information-extraction steps treat all references to an entity as one referent.
The intuition behind the method
When we read, we automatically know that "she", "the author", and "Marie Curie" can all be the same person. A machine does not. Coreference resolution teaches a system to make those links: it spots every expression that could refer to an entity (a mention), decides which mentions point to the same thing, and groups them together so the rest of a pipeline reads the text the way a human does.
History
Coreference resolution grows out of early computational linguistics. Hobbs (1978), in Resolving Pronoun References, set out a method for resolving pronoun references over syntactic structure. Later work moved toward learned models, and Lee et al. (2017) introduced an end-to-end neural approach.
When to use it
Choose coreference resolution when your input is running text, such as articles, reports or transcripts, in English or another supported language, and you need to know which expressions refer to the same entity across sentences. It is most useful as a step before information extraction or question answering, where pronouns and descriptive phrases must be tied to their referents. Do not use it when your records are short, self-contained items with no pronouns or repeated references, when you only need to label entity types (NER is the better fit), or when the model you have does not cover your language or text type.
Limitations and considerations
- Coverage depends on the languages and text types the chosen model was trained on. Text outside that coverage gets weaker links, so confirm that the model matches your language and genre before applying the method.
- Clusters inherit errors from upstream steps: poor mention boundaries or errors in earlier analysis can lead to missed or wrongly merged mentions.
- Ambiguous pronouns and long-distance antecedents remain difficult, so some links will be wrong even when the pipeline runs as intended.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Brings scattered references to one entity together, so a name in one sentence and a pronoun in a later one are counted once rather than as separate items.
- Rule-based approaches in the tradition of Hobbs (1978), which resolves pronoun references over syntactic structure, give an explicit rule for each link, which makes individual pronoun errors easier to trace.
- Neural end-to-end models such as Lee et al. (2017) learn linking decisions from data rather than relying on hand-written rules alone.
Applications
- Information extraction, gathering every reference to a given entity across a document into one record.
- Question answering and reading comprehension, where a pronoun must be tied to the entity it stands for.
- Building entity-centred views of a text, such as the list of people or organisations a document discusses.
- Preparing text for downstream analysis in which each entity should be counted once.
How it works
How it works
The text is segmented into sentences and tokens, and the later stages depend on this segmentation. Depending on the method, parsing or part-of-speech tagging may also be needed: syntax-based approaches such as Hobbs (1978) work over syntactic structure, while neural end-to-end models learn their own representations from the token sequence. Named-entity recognition (NER) is an optional precursor. It marks where entities sit and may help mention detection, but whether it improves results depends on the text and the model, and the cited sources do not establish how much it matters.
Candidate mentions are the spans that could refer to an entity, such as proper names, noun phrases and pronouns. Their boundaries matter, since a span cut too short or too long gives the linker the wrong unit to compare. In classical pipelines this is a separate step. In end-to-end neural models, span detection is learned jointly with linking (see link-mentions).
In classical mention-pair pipelines, the system decides for each pair of candidate mentions whether they refer to the same entity. Hobbs (1978), which addresses the resolution of pronoun references over syntactic structure, is a rule-based example: each decision follows from an explicit rule and can be traced. End-to-end neural models such as Lee et al. (2017) combine mention detection and linking in one learned model, scoring candidate links from learned representations. The stepwise pipeline described here therefore matches classical approaches rather than that model.
The pairwise decisions are merged into clusters, so every mention judged to point at the same entity is grouped together. Because links are joined transitively, a single wrong link can merge two different entities into one cluster.
Common pitfalls
- Poorly bounded mention candidates give the linker weak input, so check mention detection on a sample of your text before trusting the clusters.
- Trusting cluster membership without checking: because links are joined transitively, one wrong link can merge two entities, so review clusters that contain several distinct names.
- Using a model on a language or text type it was not built for can lower accuracy without any visible error; check the output on a sample of your own text first.
Frequently asked questions
What is the difference between coreference resolution and named-entity recognition?
NER finds and labels entity mentions (such as people or organisations) in text. Coreference resolution goes a step further by deciding which of those mentions, plus pronouns and descriptive phrases, refer to the same real-world entity, grouping them into clusters. NER is often a useful precursor to coreference.
Do I need a NER step first?
No step is strictly required. NER is an optional precursor: it marks where entities sit and may give mention detection better candidates. Whether it helps depends on the text and the model, and the cited sources do not establish how much it matters.
Does it work in languages other than English?
It works for English or other supported languages. Coverage outside the languages your model supports is limited, so the chosen model must match the language of your text.
Rule-based or neural, which approach should I use?
Rule-based methods in the tradition of Hobbs (1978) resolve pronoun references over syntactic structure, so each link can be traced to an explicit rule. End-to-end neural models such as Lee et al. (2017) learn linking decisions from data and need a model trained for your language and text type. Choose by whether you need traceable decisions or a learned model that matches your text.
Related methods
Sources
Lee, K. et al. (2017). End-to-end Neural Coreference Resolution. EMNLP.
Open publication referenceHobbs, J.R. (1978). Resolving Pronoun References. Lingua, 44(4), 311-338.
Open DOI reference