Mention detection is the process of locating every contiguous text span—whether a named entity, nominal phrase, or pronoun—that references a distinct discourse entity. It operates as the critical upstream component in coreference resolution pipelines, where undetected mentions create broken chains and missed entity links. Modern systems typically use span enumeration over all possible token subsequences, then apply a learned mention scorer to filter non-referring spans.
Glossary
Mention Detection

What is Mention Detection?
Mention detection is the foundational NLP subtask of identifying all spans of text within a document that refer to a real-world entity, serving as the prerequisite step for building coreference chains.
Unlike Named Entity Recognition, which classifies spans into predefined semantic categories, mention detection focuses purely on referential status regardless of type. Neural architectures like the e2e-coref model jointly optimize mention detection with mention-ranking objectives, using SpanBERT representations and head-finding heuristics to compute span embeddings. The output feeds directly into antecedent pruning and pairwise scoring for downstream coreference linking.
Key Characteristics of Mention Detection
Mention detection is the critical first stage of coreference resolution that identifies all text spans referring to entities. Without accurate mention boundaries, downstream coreference linking cannot function.
Span Boundary Identification
The primary mechanism involves identifying the start and end tokens of a mention. Modern systems use learned span representations rather than hand-crafted rules. Key aspects include:
- Detecting nested mentions (e.g., 'the CEO of Microsoft' contains 'Microsoft')
- Handling discontinuous mentions in some languages
- Resolving head-finding heuristics to identify the syntactic head of each span
- Pruning invalid spans using mention likelihood scores to reduce computational overhead
Mention Types and Classification
Detection systems must distinguish between different mention types to enable accurate coreference. The standard OntoNotes taxonomy includes:
- Named entities: Proper nouns referring to specific people, organizations, locations
- Nominal mentions: Common noun phrases that refer to entities ('the company', 'a large city')
- Pronominal mentions: Pronouns that anaphorically refer to antecedents ('she', 'it', 'they')
- Singleton detection: Identifying entities mentioned exactly once, which still require representation as distinct discourse referents
Neural Mention Scoring
Modern systems like the e2e-coref architecture compute a mention score for every possible span up to a maximum length. This score represents the model's confidence that a span constitutes a valid mention. The process involves:
- Enumerating all spans within a length constraint (typically up to 10-30 tokens)
- Computing span representations from token embeddings using attention or concatenation of boundary vectors
- Applying a feedforward network to produce a scalar mention score
- Using span pruning to retain only the top-k highest-scoring spans for downstream coreference scoring
Syntactic Constraints and Filtering
Detection accuracy improves by incorporating linguistic constraints that filter implausible mentions. Common filters include:
- Part-of-speech tag filtering: Requiring mentions to contain at least one noun or pronoun
- Syntactic parse constraints: Using dependency parses to identify valid noun phrase boundaries
- Binding theory constraints: Applying syntactic principles governing pronoun-antecedent relationships
- Head-finding rules: Identifying the semantic head word to ensure the span represents a coherent entity reference
Evaluation Metrics for Detection
Mention detection performance is measured independently from coreference linking using precision, recall, and F1 on identified mention boundaries. Key metrics include:
- Mention Detection F1: Evaluates exact span boundary matching against gold annotations
- B-cubed precision and recall: Measures entity-level detection accuracy across coreference chains
- CoNLL-2012 shared task metrics: The standard benchmark combining MUC, B-cubed, and CEAF scores
- Boundary errors vs. type errors: Distinguishing between incorrect span offsets and misclassified mention types
Zero Anaphora and Implicit Mentions
In pro-drop languages like Japanese, Chinese, and Spanish, entities may be referenced without explicit textual mentions. Detection systems must handle:
- Zero pronouns: Syntactically omitted arguments that are semantically understood
- Implicit arguments: Verb arguments inferred from context without surface realization
- Empty category detection: Using syntactic cues to identify positions where a mention should be inferred
- Cross-linguistic variation: Adapting detection strategies for languages with different pro-drop parameters
Frequently Asked Questions
Clear, technical answers to the most common questions about the foundational NLP subtask of identifying all textual spans that refer to an entity.
Mention detection is the NLP subtask of identifying all contiguous spans of text that refer to a distinct entity, serving as the prerequisite step for building coreference chains. It works by scanning a document to locate every noun phrase, named entity, or pronoun that constitutes a 'mention' of something in the discourse. Modern neural systems typically use a span enumeration approach, where a model scores every possible text span up to a maximum length, classifying each as a mention or non-mention based on learned span representations. These representations are often computed by concatenating the hidden states of a transformer model like BERT at the span's start and end tokens, combined with an attention-weighted sum of tokens inside the span. A head-finding heuristic may further refine the representation by identifying the syntactic head word. The output is a set of all mentions in the document, which are then passed to a coreference scoring module to determine which mentions refer to the same entity.
Mention Detection vs. Related NLP Tasks
How mention detection differs from adjacent tasks in the entity recognition pipeline
| Feature | Mention Detection | Named Entity Recognition | Coreference Resolution |
|---|---|---|---|
Primary objective | Identify all spans referring to entities | Identify and classify entity spans into categories | Link all mentions referring to the same entity |
Output type | Unlabeled mention spans | Labeled entity spans (PER, ORG, LOC) | Coreference chains/clusters |
Handles pronouns | |||
Handles nominal mentions | |||
Requires entity classification | |||
Requires mention detection first | |||
Singleton detection | |||
Typical evaluation metric | Recall over gold mentions | F1 per entity type | MUC, B³, CEAF, LEA |
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
Mention detection is the foundational first stage of any coreference resolution system. The following concepts represent the subsequent architectural components and linguistic phenomena that operate on the detected spans.
Coreference Resolution
The end-to-end NLP task that mention detection serves. It identifies all expressions in a text that refer to the same real-world entity, linking pronouns and noun phrases to their antecedents. Modern systems like e2e-coref jointly perform mention detection and coreference scoring using learned span representations.
Span Representation
A fixed-length vector encoding a contiguous sequence of tokens. Once mention detection identifies candidate spans, each span is encoded—typically by concatenating the hidden states of its start and end tokens from a model like SpanBERT—to serve as input to the mention-ranking model.
Mention-Ranking Model
The neural architecture that consumes the output of mention detection. It scores all candidate antecedents for a given mention and selects the highest-ranked one. This approach uses biaffine attention to compute pairwise scores between the detected mention span and each candidate antecedent span.
Span Pruning
A critical efficiency step applied immediately after mention detection. It reduces the number of candidate spans by filtering out those with low mention likelihood scores before they enter the computationally expensive coreference scoring phase. This prevents quadratic blowup in the number of span pairs evaluated.
Coreference Chain
The complete ordered set of all mentions within a discourse that refer to a single entity. Mention detection identifies the individual nodes; the coreference model links them into a chain. For example: 'Inferensys' → 'the company' → 'it' → 'their' forms a single chain.
Head-Finding Heuristic
A rule-based method applied to detected mention spans to identify the syntactic head word. This head is used to extract features like gender and number agreement, and to prune candidate antecedents. For the span 'the large language model company', the head is 'company'.

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