Abstract
Coreference resolution is a fundamental task in natural language understanding, often dominated by end-to-end neural models. However, these models frequently overlook explicit linguistic structures. This paper proposes a Heterogeneous Graph Attention Network (HGAT) that integrates syntactic dependency trees and semantic role labels into neural coreference resolution. By modeling tokens, arguments, and predicates as distinct nodes, the HGAT architecture bridges the gap between contextual embeddings and structured linguistic knowledge. Evaluated on the OntoNotes 5.0 benchmark, the model achieves state-of-the-art performance, particularly excelling in long-range entity tracking.
Introduction
Coreference resolution—the task of determining which mentions in a text (e.g., "Elon Musk," "he," "the CEO") refer to the same entity—is a cornerstone of natural language understanding. Modern systems have shifted toward end-to-end neural models that rely heavily on pretrained language models like BERT or SpanBERT.
While these "black box" models are powerful, they often overlook explicit linguistic structures. For example, knowing the grammatical relationship between words (syntax) or "who did what to whom" (semantics) provides vital clues for linking entities across sentences. The authors address the challenge of how to effectively integrate these structured, external "hints" into a neural architecture without relying on brittle, hand-engineered features.
The HGAT Framework
The authors propose a heterogeneous graph-based approach. Unlike a standard graph where all nodes are the same, their HGAT uses three distinct types of nodes: Token Nodes (individual words), Argument Nodes (spans of text that act as participants in an event), and Predicate Nodes (the verbs or actions that define an event).
Architecture and Message Passing
- Edge Construction: Edges are built based on two external sources: Dependency Trees (connecting tokens via grammatical roles like "subject" or "object") and Semantic Role Labeling (SRL) (connecting predicates to their arguments with labels like "Agent" or "Patient").
- Message Passing: A Graph Attention Network (GAT) updates node representations. Information flows from tokens to arguments, then to predicates, and back again. This allows a word's representation to be "flavored" by its role in the sentence's broader event structure.
- Attentive Integration & Gating: Instead of simply concatenating the new graph features, the model uses an attentive integration layer to weigh the importance of syntactic vs. semantic info. A gating mechanism then decides how much of this "augmented" information to mix with the original SpanBERT embeddings, preventing the model from being overwhelmed by noisy or redundant linguistic data.
Key Results and Discussion
The model was evaluated on the OntoNotes 5.0 English benchmark, the standard "gold standard" for coreference resolution. The HGAT + SpanBERT-large model achieved an Average F1 score of 81.1, a significant improvement over the strong SpanBERT baseline of 79.6.
Insights
- Complementary Strengths: Ablation studies show that syntax and semantics are better together. Syntax helps resolve local grammatical ambiguities, while SRL (semantics) helps the model understand the "story" of the document, making it easier to track entities through different actions.
- Long-Distance Benefits: One of the most striking findings is that the HGAT model provides the biggest gains on longer documents. While standard self-attention in Transformers can struggle with very long-range dependencies, the structured graph provides a "shortcut" for the model to maintain entity consistency over hundreds of tokens. On documents longer than 1,153 tokens, the model saw a massive +2.8 F1 improvement over the baseline.
- Robustness: Even when using predicted (and therefore imperfect) syntactic and semantic features, the model still outperformed the baseline, showing that the gating mechanism successfully filters out some of the noise from external parsers.
Limitations and Future Work
Most of the syntactic and semantic information used is extracted at the sentence level. While the authors link root nodes of adjacent sentences, the model still lacks a deep "discourse-level" graph that captures how paragraphs relate to one another. Additionally, building and processing these graphs adds computational overhead; training the largest version of the model requires significant GPU memory (32G+).
Future directions include incorporating WordNet for lexical knowledge (e.g., knowing that "scientist" and "physicist" are related) and exploring constituent parsing trees to provide a different syntactic perspective.
Summary updated