A mention-ranking model is a neural coreference architecture that assigns a real-valued score to each candidate antecedent for a given mention and selects the highest-ranked candidate as the coreferent link. Unlike earlier mention pair models that classify each antecedent-mention pair independently, the ranking approach explicitly compares all candidates within a local discourse window, learning to prioritize the correct antecedent over competing distractors through a learned scoring function.
Glossary
Mention-Ranking Model

What is Mention-Ranking Model?
A neural coreference architecture that scores all candidate antecedents for a given mention and selects the highest-ranked one, rather than making independent pairwise decisions.
The architecture typically computes a pairwise compatibility score between the mention span representation and each candidate antecedent representation using a biaffine attention mechanism or feedforward network. The model is trained with a margin-based ranking loss or softmax over candidates, ensuring the true antecedent receives the highest score. This design naturally handles the anaphoricity decision—the model can assign a low score to all candidates or include a dummy NA antecedent, effectively learning when a mention is non-anaphoric and should start a new coreference chain.
Key Characteristics of Mention-Ranking Models
Mention-ranking models represent the dominant neural paradigm for coreference resolution, scoring all candidate antecedents for a given mention and selecting the highest-ranked one rather than making independent pairwise decisions.
Pairwise Scoring with Global Selection
Unlike mention-pair models that classify each antecedent-mention pair independently, mention-ranking models evaluate all candidates simultaneously for a given mention. The model computes a compatibility score for every candidate antecedent using a learned scoring function—typically a biaffine attention mechanism—and selects the highest-scoring candidate. This architecture naturally handles the constraint that each mention has at most one antecedent while allowing the model to compare candidates against each other implicitly through the softmax normalization over the candidate set.
Learned Span Representations
The foundation of modern mention-ranking models rests on dense span representations rather than hand-engineered linguistic features. Each candidate span is encoded by concatenating or attending over the hidden states of its boundary tokens, typically using architectures like SpanBERT that are pre-trained specifically for span-level tasks. The representation captures:
- The span's internal syntactic structure
- Its semantic content
- Contextual information from surrounding discourse This end-to-end learning eliminates the need for the brittle head-finding heuristics and syntactic parsers that dominated earlier deterministic systems.
Higher-Order Iterative Refinement
A critical innovation in mention-ranking architectures is higher-order inference, where span representations are iteratively updated based on their predicted antecedents. After an initial ranking pass, each span's embedding is refined by incorporating information from its top-ranked antecedent. This process repeats for multiple iterations, enabling transitive reasoning across coreference chains. For example, if mention A corefers with B, and B corefers with C, higher-order refinement allows the model to propagate information from C back to A, improving consistency across the entire coreference chain.
End-to-End Joint Optimization
The canonical e2e-coref architecture jointly optimizes mention detection and coreference scoring in a single end-to-end model. Rather than treating mention detection as a separate preprocessing step, the model considers all possible spans up to a maximum length, assigns each a mention likelihood score, and prunes low-scoring spans. The surviving spans then participate in the antecedent ranking process. This joint optimization allows the model to learn mention boundaries that are optimal for coreference resolution, rather than relying on a separate mention detection system that may miss spans critical for building complete coreference chains.
Pruning for Computational Efficiency
Naively considering all possible spans and antecedents would be computationally intractable. Mention-ranking models employ two key pruning strategies:
- Span pruning: After computing mention scores, only the top-k spans (typically 0.4 * document length) are retained as candidate mentions
- Antecedent pruning: For each mention, only the nearest k preceding spans are considered as candidate antecedents, based on the linguistic observation that most coreference relationships are local These heuristics reduce the quadratic complexity of pairwise scoring to a manageable linear pass over the document while maintaining high recall on standard benchmarks like CoNLL-2012.
Softmax over Antecedent Distribution
The final ranking decision uses a softmax over all candidate antecedent scores plus a dummy epsilon score for the 'no antecedent' case. This formulation elegantly handles singleton entities—mentions that do not corefer with any previous span—by allowing the model to assign them to the null antecedent. The probability distribution over candidates ensures that the model makes a globally coherent decision for each mention rather than applying an arbitrary threshold. This probabilistic formulation also enables the model to express uncertainty when multiple antecedents are plausible, which is common in ambiguous pronominal resolution scenarios.
Frequently Asked Questions
A technical deep dive into the neural architecture that revolutionized coreference resolution by scoring all candidate antecedents for a mention and selecting the highest-ranked one.
A mention-ranking model is a neural coreference architecture that, for a given mention, scores all candidate antecedents in the preceding discourse and selects the highest-ranked one as its coreferent link. Unlike earlier mention pair models that make independent binary decisions for each pair, the mention-ranking approach frames coreference as a learning-to-rank problem. The model computes a scalar compatibility score for each candidate antecedent-mention pair using a learned scoring function, typically a feedforward neural network over concatenated or biaffine-transformed span representations. The antecedent with the highest score above a threshold is linked; if no score exceeds the threshold, the mention starts a new coreference chain. This architecture naturally handles the competition among antecedents and avoids the inconsistency of pairwise classification where multiple antecedents might independently be classified as coreferent.
Mention-Ranking vs. Mention-Pair Models
A comparison of the two primary neural architectures for scoring coreference links, contrasting independent pairwise classification with global ranking over candidate antecedents.
| Feature | Mention-Ranking Model | Mention-Pair Model |
|---|---|---|
Core mechanism | Scores all candidate antecedents for a mention and selects the highest-ranked one | Classifies each candidate antecedent-mention pair independently as coreferent or not |
Decision scope | Global ranking across all candidates | Local, independent pairwise decision |
Transitive consistency | Implicitly encouraged through shared ranking | Not enforced; may produce contradictory links |
Typical architecture | Feed-forward scorer over span-pair representations with softmax over antecedents | Binary classifier with sigmoid output per pair |
Handling of non-antecedent | Learned epsilon score for no-antecedent case | Explicit negative class or threshold |
Computational complexity | O(n²) pairwise scoring, O(n) ranking | O(n²) pairwise scoring, O(n²) classifications |
Higher-order inference support | Natively supports iterative span refinement | Requires post-processing or separate clustering step |
Standard benchmark performance (CoNLL-2012 Avg. F1) | 73.0% (e2e-coref) | 60.0% (earlier pairwise systems) |
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Core concepts that define how mention-ranking models operate within the broader neural coreference resolution pipeline.
Mention Pair Model
The predecessor architecture that classifies each candidate antecedent-mention pair independently. Unlike mention-ranking, it makes a binary coreference decision for each pair without comparing all candidates simultaneously. This can lead to contradictory clustering where a pronoun is linked to two different antecedents in separate pairwise decisions. Mention-ranking resolves this by selecting a single, highest-scoring antecedent from the candidate set.
Biaffine Attention
The scoring mechanism typically used inside a mention-ranking model to compute the compatibility between a mention and a candidate antecedent. It uses a learned bilinear transformation:
- Takes the vector representation of the mention and the antecedent
- Passes them through a feedforward network
- Computes a scalar score via a bilinear form This produces a single number representing how likely the antecedent is the correct coreferent.
Higher-Order Inference
An iterative refinement technique that allows mention-ranking models to perform transitive reasoning across coreference chains. After the first ranking pass, span representations are updated by attending over their predicted antecedents' representations. The model then re-ranks candidates using these enriched representations. This enables the model to learn that if mention A corefers with B, and B corefers with C, then A and C are also coreferent.
Antecedent Pruning
A computational efficiency technique that restricts the candidate search space before ranking. Common heuristics include:
- Distance pruning: Only consider antecedents within a fixed window
- Agreement constraints: Filter out candidates with mismatched number, gender, or animacy
- Syntactic constraints: Remove candidates that violate binding theory principles This reduces the quadratic complexity of pairwise scoring to near-linear in practice.
Span Representation
The fixed-length vector encoding a contiguous token sequence that serves as input to the mention-ranking scorer. In the canonical e2e-coref model, span representations are computed by concatenating:
- The hidden states of the span's start and end tokens from a bidirectional LSTM or SpanBERT
- A learned attention-weighted sum over all tokens in the span
- An embedding of the span's width This vector must capture both the mention's identity and its syntactic role.
CoNLL-2012 Benchmark
The standard evaluation dataset for end-to-end coreference resolution, derived from OntoNotes 5.0. It contains documents across multiple genres including newswire, broadcast conversation, and web text. Models are evaluated using MUC, B³, and CEAF metrics, with the average F1 score (CoNLL F1) serving as the primary benchmark. Mention-ranking architectures have dominated this leaderboard since the introduction of neural coreference.

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.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us