Document-level relation extraction method based on heterogeneous graph attention network
A technology of relationship extraction and attention, applied in the field of extraction, can solve problems such as low accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment approach 1
[0056] Embodiment 1: Combining figure 1 Describe this embodiment, a method for document-level relationship extraction based on heterogeneous graph attention network described in this embodiment, which includes the following steps:
[0057] S1. Obtain document text;
[0058] First, given a document text, to predict the relationship between entities in the document text, and to facilitate the subsequent training of the document-level relationship extraction model.
[0059] S2, establish a document-level relationship extraction model, input the document text obtained in S1 into the document-level relationship extraction model for training, output the relationship of the document text, and obtain a trained document-level relationship extraction model. The specific process is:
[0060] The document-level relationship extraction model sequentially includes a vector representation layer, a context representation layer, a graph representation layer, and a classification layer;
[00...
Embodiment 1
[0113]Since different types of elements in a document play different roles in expressing semantic relations, the input document is constructed as a document graph with different node types, that is, the constructed document graph contains sentence nodes, mention nodes, and entity nodes. Then, seven types of undirected edges are constructed by exploiting the natural associations between document elements. Additionally, considering the importance of nodes and edges, a heterogeneous graph attention network is proposed to learn rich node representations in document graphs.
[0114] Specifically, given a document text as in, represents the dth in the document text x a word, d a =1,2,...i. At the same time, a document-level relationship extraction model is established, and the document-level relationship extraction model sequentially includes a vector representation layer, a context representation layer, a graph representation layer, and a classification layer.
[0115] docum...
Embodiment 2
[0171]
[0172]
[0173]
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com