Text2NKG: Fine-Grained N-ary Relation Extraction for N-ary relational Knowledge Graph Construction

Haoran Luo,Haihong E,Yuhao Yang,Tianyu Yao,Yikai Guo,Zichen Tang,Wentai Zhang,Kaiyang Wan,Shiyao Peng,Meina Song,Wei Lin,Yifan Zhu,Luu Anh Tuan
2024-10-30
Abstract:Beyond traditional binary relational facts, n-ary relational knowledge graphs (NKGs) are comprised of n-ary relational facts containing more than two entities, which are closer to real-world facts with broader applications. However, the construction of NKGs remains at a coarse-grained level, which is always in a single schema, ignoring the order and variable arity of entities. To address these restrictions, we propose Text2NKG, a novel fine-grained n-ary relation extraction framework for n-ary relational knowledge graph construction. We introduce a span-tuple classification approach with hetero-ordered merging and output merging to accomplish fine-grained n-ary relation extraction in different arity. Furthermore, Text2NKG supports four typical NKG schemas: hyper-relational schema, event-based schema, role-based schema, and hypergraph-based schema, with high flexibility and practicality. The experimental results demonstrate that Text2NKG achieves state-of-the-art performance in F1 scores on the fine-grained n-ary relation extraction benchmark. Our code and datasets are publicly available.
Artificial Intelligence,Computation and Language
What problem does this paper attempt to address?
### Problems the Paper Attempts to Solve This paper aims to address several key challenges in the construction of multi-relational knowledge graphs (NKG). Specifically, existing methods for constructing multi-relational knowledge graphs face the following three main issues: 1. **Diverse NKG Patterns**: Existing methods can only perform multi-relational extraction (n-ary RE) based on specific patterns, but there is currently no flexible method to handle different patterns with any number of relations. 2. **Determination of Entity Order**: Multi-relational extraction involves more possible entity orders than binary relations. For example, in hyper-relational patterns, it is necessary to determine which entity is the head entity, tail entity, or auxiliary entity. Existing methods usually ignore the combined impact of different entity orders, leading to inaccurate extraction. 3. **Variability of Multi-relational Extraction**: Existing methods typically output a fixed number of entities and are not good at determining a variable number of entities that form multi-relational facts. To address these challenges, the authors propose Text2NKG, a new fine-grained multi-relational extraction framework for automatically generating multi-relational facts from natural language texts to construct multi-relational knowledge graphs. Text2NKG improves the accuracy of fine-grained multi-relational extraction across all NKG patterns by introducing a span tuple multi-label classification method, a disorder merging method, and an output merging method.