Higher-order inference addresses a fundamental limitation of first-order mention-ranking models, which score antecedent-mention pairs independently. By iteratively updating span representations using the embeddings of predicted antecedents, the model propagates information through the coreference chain, allowing a pronoun to be influenced by an antecedent that was itself resolved in a prior iteration. This enables transitive reasoning where A = B and B = C implies A = C.
Glossary
Higher-Order Inference

What is Higher-Order Inference?
Higher-order inference is an iterative refinement technique in neural coreference resolution where span representations are updated based on the representations of their predicted antecedents, enabling transitive reasoning across chains.
In practice, higher-order inference is implemented by running multiple refinement passes over the document. After an initial scoring pass, each span's representation is recomputed as a weighted average of its own embedding and the embeddings of its top-ranked antecedents. This updated representation is then fed back into the biaffine attention scoring function, allowing the model to make globally consistent decisions rather than greedy, locally optimal ones.
Key Characteristics of Higher-Order Inference
Higher-order inference moves beyond simple pairwise scoring by iteratively refining span representations based on the representations of their predicted antecedents, enabling transitive reasoning across coreference chains.
Iterative Span Refinement
Unlike first-order models that score mention pairs independently, higher-order inference repeatedly updates span representations using the embeddings of their predicted antecedents. In each iteration N, a span's representation is recomputed as a weighted combination of its original embedding and the representation of its antecedent from iteration N-1. This allows information to propagate along the coreference chain, so that a pronoun's representation eventually encodes features of the entity's first mention, even if they are separated by multiple sentences.
Transitive Reasoning Across Chains
The key advantage of higher-order inference is its ability to perform implicit transitive closure. If mention A corefers with B, and B corefers with C, a first-order model might fail to link A directly to C if they share few surface features. Higher-order models solve this by propagating information: after refinement, A's representation will have been pulled toward B's, and B's toward C's, making A and C more similar in the learned embedding space. This enables the model to correctly cluster all three mentions into a single coreference chain.
Attended Antecedent Aggregation
During each refinement step, a span's new representation is computed by attending over its top-K candidate antecedents. The model computes soft attention weights over these candidates using a scoring function, then produces a weighted sum of their representations. This aggregated vector is concatenated with the span's current representation and passed through a feedforward network to produce the refined embedding. This mechanism allows the model to integrate information from multiple potential antecedents simultaneously, rather than committing to a single hard decision early in the process.
Joint Mention Detection and Clustering
Higher-order inference is typically embedded within an end-to-end architecture that jointly performs mention detection and coreference resolution. The model scores all possible spans up to a maximum width, prunes low-scoring candidates, and then iteratively refines the surviving spans. Because refinement updates are applied to all spans in parallel, the model can simultaneously resolve multiple coreference chains within a document. The final clustering is produced by linking each mention to its highest-scoring antecedent after the last refinement iteration.
Computational Efficiency Trade-offs
While higher-order inference significantly improves accuracy on long-distance coreference and Winograd-style challenges, it introduces a linear increase in computational cost with each refinement iteration. Typical implementations use 2-3 iterations, as accuracy gains diminish beyond this point. To manage complexity, models employ aggressive span pruning before refinement and restrict the antecedent candidate pool to a fixed window of preceding mentions. The biaffine attention mechanism used for scoring is also designed for efficient batched computation on GPU hardware.
Impact on Coreference Benchmarks
The introduction of higher-order inference in models like e2e-coref and its successors produced a step-change improvement on the CoNLL-2012 shared task. Average F1 scores increased by 2-3 absolute points compared to first-order baselines, with the largest gains observed on pronominal resolution and long-distance coreference links. The technique has since become a standard component in state-of-the-art neural coreference systems and has been adapted for related tasks including entity linking and cross-document coreference.
Frequently Asked Questions
Explore the iterative reasoning mechanisms that allow neural coreference models to refine entity representations by considering the properties of predicted antecedents, enabling transitive logic across long documents.
Higher-Order Inference is an iterative refinement technique in neural coreference resolution where span representations are updated based on the representations of their predicted antecedents. Instead of making a single, independent pairwise decision, the model repeatedly feeds the embeddings of linked mentions back into the scoring function. This allows the system to perform transitive reasoning: if mention A is coreferent with B, and B is coreferent with C, the model can propagate information across the chain to infer that A and C are also coreferent. This mechanism is critical for resolving long coreference chains where direct lexical overlap is sparse, as it enables the model to accumulate evidence over multiple inference steps.
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
Explore the key concepts and model architectures that enable and interact with higher-order inference in neural coreference resolution.
Mention-Ranking Model
The foundational architecture that enables higher-order inference. Instead of making independent pairwise decisions, this model scores all candidate antecedents for a mention and selects the highest-ranked one. Higher-order inference iteratively refines these scores by conditioning span representations on the representations of their predicted antecedents, allowing transitive reasoning across the coreference chain.
Span Representation
A fixed-length vector encoding a contiguous token sequence, typically computed from the hidden states of a Transformer like SpanBERT. In higher-order inference, these representations are not static. After an initial antecedent is predicted, the span's representation is updated by attending over its antecedent's representation, enabling the model to capture long-range dependencies and resolve complex split antecedents.
Coreference Chain
The complete ordered set of all mentions in a discourse that refer to a single entity. Higher-order inference is designed to build these chains with greater accuracy by propagating information across links. A correct chain resolves anaphora and cataphora seamlessly, linking a pronoun to its antecedent and that antecedent to an earlier mention, forming a coherent entity cluster.
Biaffine Attention
A scoring mechanism that computes a pairwise score between a mention and a candidate antecedent using a learned bilinear transformation. In iterative higher-order models, this attention is applied repeatedly. After span representations are updated based on a coarse antecedent distribution, the biaffine scorer re-evaluates all pairs, allowing the model to correct initial errors and converge on a stable clustering.
Antecedent Pruning
A computational efficiency technique that restricts the candidate antecedent search space using heuristic filters based on distance, syntactic constraints, or agreement features. This is critical for making higher-order inference tractable. By pruning the search space before each iterative refinement step, the model can apply expensive, deep scoring functions only to the most plausible candidates.
SpanBERT
A pre-training method that masks contiguous spans of tokens and predicts them using span boundary representations, optimized for span-level tasks. Its boundary-focused representations provide a superior starting point for the span vectors that higher-order inference models iteratively refine. The strong initial representations reduce the number of refinement iterations needed for convergence.

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