Inferensys

Glossary

Mention Pair Model

A coreference architecture that classifies whether a pair of mentions are coreferent by scoring each candidate antecedent-mention relationship independently.
Architect reviewing LLM integration architecture on laptop, system diagrams visible, modern technical office setup.
COREFERENCE ARCHITECTURE

What is Mention Pair Model?

A foundational neural architecture for coreference resolution that classifies whether a specific pair of text spans refer to the same real-world entity by scoring each candidate antecedent-mention relationship independently.

A mention pair model is a coreference resolution architecture that independently classifies whether a pair of text mentions are coreferent. Unlike mention-ranking models that compare all candidates simultaneously, this approach evaluates each (antecedent, anaphor) pair in isolation, producing a binary decision or probability score for every possible combination of spans in a document.

While computationally straightforward, the mention pair model's primary limitation is its inability to enforce transitivity across a coreference chain. Because each pair is scored independently, the model may predict that mention A corefers with B and B with C, yet fail to predict that A corefers with C. This inconsistency led to the development of higher-order inference techniques and mention-ranking architectures that consider the entire antecedent set jointly.

ARCHITECTURAL FOUNDATIONS

Key Characteristics of Mention Pair Models

The mention-pair model represents a foundational architecture in neural coreference resolution that decomposes the complex clustering task into a series of independent, binary classification decisions between candidate spans.

01

Binary Pairwise Classification

The core mechanism reduces coreference to a binary decision: for any two mentions (i, j), the model independently predicts whether they are coreferent. This is implemented by feeding a concatenated vector representation of both spans through a feedforward network with a softmax output layer. The model scores each candidate antecedent-mention pair in isolation, without considering global coherence or other links in the chain.

02

Feature Engineering Dependency

Traditional mention-pair models rely heavily on hand-crafted linguistic features to represent the relationship between two spans. These include:

  • Lexical features: String match, head word match, edit distance
  • Syntactic features: Binding theory constraints, i-commands, c-commands
  • Distance features: Token distance, sentence distance, mention count distance
  • Agreement features: Number, gender, and animacy compatibility
  • Semantic class features: WordNet hypernyms, named entity type compatibility
03

First-Pass Candidate Generation

Before pairwise scoring, the model generates a set of candidate antecedents for each mention. This is typically done using a deterministic sieve that applies high-precision filters:

  • Restricting candidates to mentions within a fixed window of preceding sentences
  • Filtering by agreement constraints (number, gender, animacy)
  • Applying syntactic filters based on binding theory principles This pruning step is critical for computational tractability, as exhaustive pairwise comparison scales quadratically with document length.
04

Training with Positive and Negative Pairs

The model is trained on labeled coreference chains by generating training instances from all possible mention pairs. For each anaphoric mention, the correct antecedent forms a positive instance, while all non-coreferent preceding mentions form negative instances. This creates a highly imbalanced dataset where negative pairs vastly outnumber positive ones, requiring careful sampling strategies or weighted loss functions during optimization.

05

Transitivity Violation Problem

A fundamental limitation of the mention-pair architecture is that independent pairwise decisions do not guarantee transitive closure. The model may predict that mention A is coreferent with B, and B is coreferent with C, but A is not coreferent with C. This violates the equivalence relation property of coreference. Post-processing heuristics, such as agglomerative clustering over pairwise scores, are required to enforce consistent chain formation.

06

Evolution to Mention-Ranking Models

The mention-pair architecture directly led to the development of mention-ranking models, which address key limitations. Rather than making independent binary decisions, mention-ranking models score all candidate antecedents for a given mention and select the highest-scoring one via a softmax over candidates. This implicitly captures competition among antecedents and eliminates the need for a binary classification threshold. Modern neural systems like e2e-coref use this ranking formulation with learned span representations.

COREFERENCE ARCHITECTURES

Mention Pair vs. Mention-Ranking Models

A comparison of the two primary neural architectures for scoring coreference links, contrasting independent pairwise classification with antecedent ranking.

FeatureMention Pair ModelMention-Ranking Model

Core mechanism

Classifies each (mention, antecedent) pair independently as coreferent or not

Scores all candidate antecedents for a mention and selects the highest-ranked one

Decision granularity

Binary classification per pair

Softmax over all candidates

Transitive consistency

Handles entity-level context

Computational complexity

O(n²) pairwise evaluations

O(n²) scoring with O(n) ranking

Typical training objective

Binary cross-entropy loss

Marginal log-likelihood over correct antecedents

Prone to contradictory chains

Example architecture

Soon et al. (2001) decision tree classifier

Lee et al. (2017) e2e-coref with biaffine attention

COREFERENCE ARCHITECTURES

Frequently Asked Questions

Explore the mechanics of the Mention Pair Model, a foundational architecture for scoring coreference relationships between individual text spans.

A Mention Pair Model is a coreference resolution architecture that classifies whether a specific pair of text mentions are coreferent by independently scoring each candidate antecedent-mention relationship. Unlike mention-ranking models that compare all candidates simultaneously, this binary classification approach takes two spans—an anaphor and a potential antecedent—and predicts a coreference link probability. The model processes features such as lexical overlap, syntactic agreement, and semantic compatibility to determine if both spans refer to the same real-world entity. While computationally straightforward, the primary limitation is that pairwise decisions are made in isolation, potentially leading to inconsistent coreference chains where transitive relationships are not globally enforced.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.