Relationship graph reconstruction method and apparatus, computer device, and readable storage medium
Патент · WO A1
Полный текст
A relationship graph reconstruction method and apparatus, a computer device, and a readable storage medium. The method comprises: acquiring an initial relationship graph, and generating, on the basis of the initial relationship graph, a node feature matrix and an initial adjacency matrix corresponding to a plurality of target nodes; performing feature propagation and feature aggregation among the plurality of target nodes by means of a target model to obtain an intermediate feature of each target node; mapping the intermediate features to a latent space to obtain distribution parameters; performing random sampling on a Gaussian distribution to obtain a latent representation vector of each target node, and generating a latent representation matrix on the basis of the plurality of latent representation vectors; predicting a link probability between any two target nodes on the basis of the latent representation matrix to obtain a target adjacency matrix; and performing relationship reconstruction on the initial relationship graph by means of the target model on the basis of the node feature matrix and the target adjacency matrix to obtain a target relationship graph.