Abstract
Entity and Relation Extraction (ERE) is an important task in information extraction. Recent marker-based pipeline models achieve state-of-the-art performance, but still suffer from the error propagation issue. Also, most of current ERE models do not take into account higher-order interactions between multiple entities and relations, while higher-order modeling could be beneficial. In this work, we propose HyperGraph neural network for ERE (HGERE), which is built upon the PL-marker (a state-of-the-art marker-based pipeline model). To alleviate error propagation, we use a high-recall pruner mechanism to transfer the burden of entity identification and labeling from the NER module to the joint module of our model. For higher-order modeling, we build a hypergraph, where nodes are entities (provided by the span pruner) and relations thereof, and hyperedges encode interactions between two different relations or between a relation and its associated subject and object entities. We then run a hypergraph neural network for higher-order inference by applying message passing over the built hypergraph. Experiments on three widely used benchmarks (ACE2004, ACE2005 and SciERC) for ERE task show significant improvements over the previous state-of-the-art PL-marker.
Introduction
Extracting structured information from unstructured text—specifically identifying entities and the relationships between them—is a cornerstone of natural language processing. Traditionally, researchers have relied on pipeline models that first identify entities (NER) and then classify relations. While effective, these models are plagued by "error propagation": if the NER step misses an entity, the relation extraction step is doomed to fail.
To address this, joint models were developed to predict both simultaneously. However, they often lack the precision of "marker-based" pipeline techniques that use special tokens to guide Large Language Models (LLMs). Furthermore, standard models typically only consider pairwise interactions, ignoring the complex, higher-order dependencies where multiple relations and entities interact.
This paper introduces HGERE (HyperGraph neural network for ERE), a model that bridges this gap. By combining a high-recall span pruner with a hypergraph neural network, HGERE achieves state-of-the-art performance while mitigating the classic pitfalls of pipeline architectures.
Methods
HGERE is built upon three core innovations designed to maximize both recall and relational reasoning:
- High-Recall Span Pruner: Instead of a rigid NER module, HGERE uses a pruner that identifies a large pool of candidate spans. By keeping the top $K$ candidates, the model ensures nearly 100% of true entities are passed to the next stage. This "over-prediction" strategy moves the difficult task of final labeling to a stage where the model has more contextual information about potential relations.
- Marker-Based Backbone: The model utilizes the "PL-marker" strategy. It inserts "levitated markers" into the text, allowing the underlying Pre-trained Language Model (PLM) to generate representations that are specifically aware of subject and object roles.
- Hypergraph Neural Network (HGNN): The defining feature of HGERE is its use of hypergraphs to model higher-order interactions. Unlike standard graphs that connect two nodes, hyperedges can connect multiple nodes.
As shown in the architecture above, the hypergraph consists of:
- Nodes: Representing candidate entities and potential relations.
- Ternary Hyperedges: Connecting a subject, an object, and their specific relation.
- Relation-Relation Hyperedges: Connecting different relations that share entities, categorized as sibling (same subject), co-parent (same object), or grandparent (subject of one is object of another).
Refined representations are achieved through iterative message passing across these hyperedges, allowing the model to "reason" about the likelihood of a relation based on its neighbors.
Key Results
The authors evaluated HGERE on three standard benchmarks: ACE2004, ACE2005, and SciERC. The results demonstrate that HGERE consistently outperforms the previous state-of-the-art, PL-marker, across various encoders like BERT, SciBERT, and ALBERT.
Notable improvements include:
- SciERC: A significant jump in Relation F1 score from 51.1 to 55.7.
- ACE2005: An improvement in Relation+ F1 (requiring both correct entities and relation types) from 65.1 to 67.5.
- Joint Synergy: The hypergraph feedback loop didn't just help relations; it also improved NER accuracy. For example, identifying a "Work_For" relation helped the model correctly label a span as an "Organization" rather than a "Person."
Discussion and Insights
The success of HGERE highlights several key takeaways for information extraction:
- The Power of Indecision: By using a high-recall pruner rather than a strict classifier early on, the model avoids the "bottleneck" of early errors.
- Higher-Order Modeling: Explicitly representing triplets (Subject, Object, Relation) via hyperedges provides a more natural and effective structure for relational reasoning than standard pairwise graphs.
- Error Correction: Analysis showed HGERE is particularly effective at "rescuing" entities and relations that baseline models missed (labeled as "null"), proving the value of the hypergraph's global context.
Limitations
Despite its performance, HGERE is computationally more intensive, running approximately three times slower than the PL-marker baseline due to the overhead of the hypergraph and the large number of candidate spans. Additionally, the benefits of explicit higher-order modeling appear to diminish when using extremely large encoders (like ALBERT-xxlarge), suggesting that larger models may implicitly capture some of these interactions. Finally, the authors noted that adding more than three HGNN layers leads to "over-smoothing," where node representations become indistinguishable.
Summary updated