Coreference Resolution › What Coreference Is and Is Not

Michael BrenndoerferNovember 17, 20268 min read
Language AI HandbookAll chapters
Part 9 of 67Coreference, Discourse, Pragmatics, and Dialogue
Chapter 56Coreference Resolution › What Coreference Is and Is Not
Reading section 2 of 14 · What Coreference Is and Is Not · 8 minSection 2 of 14 · 8 min

Section 2 of 14 · 8 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

Before we can build a resolver, we need a precise picture of the object it produces. Coreference is often introduced with a handful of pronoun examples, which makes it sound simpler than it is. Pronouns are only one kind of mention, and identity of reference is only one kind of discourse dependency. The boundaries of the task matter because they determine what the model is asked to predict, what the annotation contains, and what the evaluation can possibly reward.

Mentions and Entity Clusters

With gold mentions supplied, a resolver only has to group their spans. The official CoNLL-2012 setting required predicted mentions from the document and other permitted input annotations. For example, two nonoverlapping spans can each name the same person.

The span notation is half-open in the usual way: (0, 2) covers tokens 0 and 1, not token 2. That convention is boring until it is violated. An off-by-one in a token span can turn "Dr. Alvarez" into "Dr." or into "Dr. Alvarez briefed", and every downstream comparison then measures a different object than the one the annotator marked. The implementation later checks token slices against the original string.

Mentions come in several syntactic shapes, and each brings its own problems:

  • Proper names: "Dr. Alvarez". Easy to detect, easy to match by string, hard to disambiguate when two people share a name.
  • Pronouns: "she", "her", "they". Require agreement and salience reasoning.
  • Definite descriptions: "the engineer", "the lead". Require world knowledge and discourse context to link.
  • Demonstratives: "this", "that". Can refer to entities, events, or whole propositions.
  • Nominal predicates such as "an engineer" in "Alvarez is an engineer". OntoNotes treats copular attributes as properties of the subject's referent and omits them from coreference chains.

A name-matching rule can use spelling and known aliases. Agreement can narrow the possible referents of a pronoun. A definite description such as "the engineer" may pick out someone introduced by name, so resolving it can require context about the person's role. A mention detector that proposes every noun phrase will include nominal predicates as candidates.

Corpora define which expressions count as mentions. The OntoNotes coreference annotations include noun phrases and some verb headwords linked to event mentions, subject to the corpus guidelines. Under exact-span scoring, a prediction with different boundaries is counted as a mismatch.

Coreference, Anaphora, and Bridging

Coreference is identity of reference. Anaphora is a broader relation: one expression's interpretation depends on another expression. Not all anaphora is coreference.

Consider:

I bought a car last month. The steering wheel already needs replacing.

"The steering wheel" in this example depends on "a car" for its interpretation. The phrases refer to two distinct objects. Connecting them through a part-whole relation is bridging. An identity partition keeps the car and wheel in separate groups. A part-whole edge records the relation between those groups.

Rösiger et al. (2018) evaluate bridging by scoring links between bridging noun phrases and their antecedents. A coreference score restricted to identity links leaves the car-to-wheel relation outside the evaluation.

A demonstrative can also refer back to a clause.

The reactor passed inspection. That surprised the board.

"That" can pick out the reactor’s passing of the inspection or the fact that the reactor passed. An annotation scheme that includes events can group two mentions of the same event. To score a clause-content link against a reference, its annotations must mark the clause content as the antecedent.

Coreference groups mentions that share a referent. Bridging connects distinct referents. When a demonstrative refers to the content of a clause, the clause supplies the antecedent. A benchmark restricted to identity links between mentions of people and objects leaves bridging and links to clause content outside its score.

Coreference versus Entity Linking

This chapter covers coreference within a document. Entity Linking and Knowledge Graph Construction covers how a linker maps mentions or document clusters to nodes in a knowledge base.

They are different questions:

  • A coreference resolver decides that "Dr. Alvarez" in sentence 1 and "Alvarez" in sentence 3 are the same person. It does not know, or need to know, whether that person exists in Wikidata.
  • An entity linker decides that the resulting entity corresponds to a specific KB node. It relies on the cluster to have enough context, but it also has to handle the case where the document's entity has no KB node at all (an unlinkable mention, or NIL).

Document clusters and knowledge-base assignments can contain independent errors. A linker can assign nodes to individual mentions. Suppose a resolver has grouped mentions of two different people into one cluster. A linker that assigns exactly one node to each input cluster then assigns a single node to both sets of mentions.

Named entity recognition, from Named Entity Recognition, is a third and narrower task: it labels spans with types. Types are useful features for coreference, since "Dr. Alvarez" and "she" agree in type and number while "Dr. Alvarez" and "the reactor" do not. But a type label is not an identity decision: two PERSON mentions can be two different people, and the model must decide. Type agreement can rule out a link, but it cannot establish one. That asymmetry is why NER helps coreference without solving it.

Nonreferential and Degenerate Mentions

Consider what the following expressions denote in context.

  • Pleonastic it: "It is raining." There is no entity.
  • Existential there: "There are three reasons to worry."
  • Generic you: "You can't certify a reactor without a stress test." The pronoun applies to anyone performing the certification. A speaker could say this to a particular person.
  • Idiom chunks: "They finally kicked the bucket" does not involve a bucket.
  • Mention-versus-word: "The word bank has two senses" mentions a word, not a financial institution.

Linking a pleonastic it to a nearby noun phrase introduces a spurious member into its cluster. Mention detection can prevent that attachment by rejecting the span. In span-ranking systems, this rejection is folded into the mention score: a span that is not a mention should get a low score and be pruned. In pipeline systems, it is a separate classification step, often implemented as a sequence labeler in the style of the BIO tagging we covered in BIO Tagging.

The examples also show why a purely syntactic detector is not enough. "It is raining" and "It surprised the board" have the same pronoun in subject position, but the second can refer to an earlier event or proposition. A detector that keys on the word "it" cannot distinguish them. An encoder can represent the surrounding words at inference time. Training annotations tell a supervised model which contextual patterns to associate with a referential use. The cost of getting this wrong is asymmetric: a missed referential mention loses information, while a spurious nonreferential mention can create a false link and contaminate a cluster.

Split Antecedents

Alvarez met Bhatt at the lab. They reviewed the cooling loop together.

"They" refers to a group that includes Alvarez and Bhatt. An identity partition can give that group its own cluster. Representing the two people as members of the group takes an additional relation, such as a set-valued antecedent. Check whether the annotation supplies that relation before scoring split antecedents. A decoder limited to one identity link per mention needs a richer output representation to encode group membership.

Speaker-Grounded Pronouns

In dialogue, the speaker and addressee of a turn help determine who I and you refer to.

A: I flagged the cooling loop in March. B: I remember. I signed off anyway.

A uses “I” once, and B uses it twice. The identity partition can group B’s two occurrences together and leave A’s occurrence in its own cluster. Turn structure and speaker or addressee information help infer those assignments. When moving from written text to transcripts, check whether the annotation convention changed too. See Dialogue Acts and Conversation Structure.

Mention density can shift with genre. In OntoGUM (Zhu et al., 2021), the conversation slice has 1,027 mentions in 5,701 tokens, compared with 1,803 mentions in 14,094 tokens in the news slice. Compare the two rates before transferring a mention budget calibrated on news.

Singleton Policy

A singleton is a mention with no coreferent partner in the document: an entity that is mentioned exactly once.

Whether singletons count is a corpus policy, and it changes the meaning of every score you compute:

  • The OntoNotes coreference data used by CoNLL-2012 omit singleton mentions from the annotations. The shared-task paper reports that most participant systems filtered out predicted singleton clusters.
  • Downstream applications usually care a great deal about singletons, because "this mention introduces a new entity" is exactly the decision that prevents an overmerge.

Evaluating only annotated chains gives no credit for recovering omitted singletons. Attaching an unannotated or ambiguous mention changes the response partition and can still hurt a score. Use a dataset with the mention coverage your application needs.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy