The invention discloses a remote supervision relation extraction method and
system based on relation hierarchy interaction, and the method comprises the steps: fusing three types of inputs:
word embedding, relative position embedding and head and
tail entity embedding through an
information processing mechanism, and obtaining
word embedding representation; coding the
word embedding representation through neural network coding, and obtaining
sentence representation; establishing a relationship hierarchical
interaction structure, and obtaining a relationship-enhanced
sentence representation; eliminating mistakenly labeled
sentence instances, and obtaining sentence packet representation; and constructing a classifier through a multi-layer
perceptron and a softmax
activation function, obtaining a probability
score of the sentence packet for a relation category, and performing relation extraction according to the probability
score. According to the method, for the error tag problem and the long-
tail distribution problem of the remote supervision relationship, the hierarchical structure of the relationship in a
knowledge base is utilized to model the interaction relationship between the relationship hierarchies, more valuable clues are provided for a
relationship extraction classification task, and the performance of a
relationship extraction model is improved.