Multi-language entity relationship extraction method and system based on adversarial training mechanism

Liu Zhiyuan,Wang Xiaozhi,Han Xu,Lin Yankai,Sun Maosong
2020-01-01
Abstract:The invention provides a multi-language entity relationship extraction method and a system based on an adversarial training mechanism. The method comprises the steps of respectively encoding the target sentence in each language related to the target entity pair into an independent semantic space corresponding to each language and a consistent semantic space corresponding to all languages to obtainindependent information of each language and cross-language consistent information contained in the target sentence; then respectively adopting an independent attention mechanism of each language anda consistent attention mechanism among the languages to measure the attention weight of each target sentence relative to each relationship type; and finally, obtaining a global probability corresponding to each relationship type in combination with the attention weights of all the target sentences relative to each relationship type, selecting a maximum probability from the global probabilities corresponding to each relationship type, and finally, predicting the relationship between the target entity pairs according to the relationship type corresponding to the maximum probability. According to the method and the system, the complementarity among multiple languages can be deeply utilized, and the accuracy of a relationship extraction result in a multi-language scene is effectively improved.
What problem does this paper attempt to address?