Inferensys

Glossary

Antecedent Pruning

A computational efficiency technique that restricts the candidate antecedent search space for a mention by applying heuristic filters based on distance, syntactic constraints, or agreement features.
Stylish WeWork-like workspace with hot desks and document wall, professional searching through enterprise knowledge base on a mounted ultrawide display, warm industrial pendants overhead.
COMPUTATIONAL EFFICIENCY

What is Antecedent Pruning?

A computational efficiency technique that restricts the candidate antecedent search space for a mention by applying heuristic filters based on distance, syntactic constraints, or agreement features.

Antecedent pruning is a computational efficiency technique in coreference resolution that reduces the candidate search space by applying heuristic filters before scoring. Rather than evaluating every prior mention as a potential antecedent, the system discards candidates that violate hard constraints such as number agreement, gender agreement, or syntactic binding restrictions, dramatically lowering the quadratic computational cost of pairwise scoring.

Modern neural coreference systems implement antecedent pruning through distance-based cutoffs and head-finding heuristics that retain only the most salient candidates. By combining syntactic filters with a coarse mention-ranking model that assigns a preliminary likelihood score, the pruner ensures the downstream span representation scorer operates on a manageable subset, maintaining high recall while enabling tractable inference over long documents.

EFFICIENCY MECHANISM

Key Characteristics of Antecedent Pruning

Antecedent pruning is a computational bottleneck solution that drastically reduces the candidate search space during coreference resolution by applying heuristic filters before scoring.

01

Distance-Based Filtering

Restricts the search space by enforcing a maximum sentence distance between a mention and its candidate antecedents.

  • Window Size: Typically limits candidates to the current and preceding 2-3 sentences.
  • Rationale: Entities in natural discourse tend to be referenced locally; distant antecedents are statistically rare.
  • Implementation: A sliding window over the document graph that discards spans outside the threshold before the scoring phase.
02

Syntactic Constraints

Applies linguistic rules to eliminate grammatically impossible antecedents, preventing the model from wasting compute on invalid pairs.

  • Binding Theory: Filters candidates that violate Principle B (a pronoun cannot be bound in its governing category) or Principle C (a referring expression cannot be bound).
  • C-Command: Removes antecedents that do not c-command the anaphor in the parse tree.
  • Head Agreement: Prunes candidates where the syntactic head does not match the expected constituent type.
03

Agreement Feature Pruning

Eliminates candidates that fail to match the mention on morphosyntactic features, a high-recall filter applied before neural scoring.

  • Number Agreement: A singular pronoun cannot corefer with a plural noun phrase.
  • Gender Agreement: In gendered languages, filters antecedents that conflict with the pronoun's grammatical gender.
  • Animacy: Distinguishes between animate and inanimate entities to resolve pronouns like 'it' vs. 'he/she'.
  • Person: Ensures first-person pronouns are only matched with first-person antecedents.
04

Mention Type Heuristics

Prioritizes or eliminates candidates based on their syntactic type, leveraging the observation that certain mention types are more likely to serve as antecedents.

  • Proper Noun Priority: Named entities are often discourse-prominent and serve as antecedents for subsequent pronouns.
  • Indefinite Filtering: Indefinite noun phrases (e.g., 'a company') typically introduce new entities rather than referring back.
  • Appositive Collapse: Treats appositive constructions as a single mention to avoid redundant candidate generation.
05

Span Pruning via Mention Score

A learned preprocessing step where a lightweight scorer assigns a mention likelihood to every possible span, retaining only the top-k candidates.

  • Top-k Selection: Typically keeps 0.4 to 0.5 spans per token on average, reducing the candidate pool by over 90%.
  • Joint Pruning: The same mention score used for antecedent pruning also defines the final mention detection threshold.
  • Efficiency Gain: Reduces the complexity of the pairwise scoring matrix from O(n²) to O(n × k), where k is the pruned span count.
06

Discourse Salience Ordering

Rather than scoring all valid candidates, the model only evaluates antecedents in order of discourse prominence, stopping early when a high-confidence link is found.

  • Recency Ranking: Sorts candidates by proximity, assuming the most recent compatible antecedent is the most likely.
  • Grammatical Role Weighting: Subjects and objects are ranked higher than oblique arguments based on Centering Theory.
  • Early Termination: The first candidate exceeding a confidence threshold is selected, bypassing the need to score the entire filtered set.
ANTECEDENT PRUNING

Frequently Asked Questions

Explore the core concepts behind antecedent pruning, a critical efficiency technique in coreference resolution that reduces computational complexity by intelligently filtering candidate mentions.

Antecedent pruning is a computational efficiency technique in coreference resolution that restricts the candidate search space for a mention by applying heuristic filters. Instead of evaluating every previous mention in a document as a potential antecedent, the system applies constraints based on distance, syntactic structure, and agreement features to eliminate impossible or highly unlikely candidates. For example, a system might prune any candidate antecedent that appears more than three sentences prior, or filter out candidates that do not agree in number and gender with the current mention. This drastically reduces the quadratic complexity of pairwise mention comparison, making neural coreference models computationally tractable for long documents.

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.