A relationship extraction method and system

Liu Zhiyuan,Han Xu,Yu Pengfei,Sun Maosong,Li Peng
2019-01-01
Abstract:The embodiment of the invention provides a relationship extraction method and system. The method comprises the following steps: obtaining sentences containing entity pairs, and obtaining correspondinginstance feature vectors according to the sentences; Based on the attention mechanism of relational hierarchy, obtaining the entity-pair latent relationship of different layers according to the instance feature vector. A relationship of the entity pair is extracted according to a potential relationship of the entity pairs of the different layers. According to relationship extraction method and system provided by an embodiment of that present invention, ahierarchical attention mechanism is constructed by introducing the hierarchical information of relationships, which enables the relationshipextraction model to consider the intrinsic relationship between relationships, Thus, the stability of the relationship extraction model is improved, and the performance of the relationship extractionmodel is outstanding in the long tail relationship which lacks of training data, and the performance of the relationship extraction model can be greatly improved, and the relationship extraction modelhas good practicability.
What problem does this paper attempt to address?