The application discloses a kind of based on low rank contrast learning and reconstruction graph
anomaly detection method, comprising: 1) obtain graph data, and generate low rank graph data by SVD
singular value decomposition dimension reduction, using restart random walk
algorithm to carry out subgraph sampling, obtain original view and low rank view;2) on original view and low rank view, construct contrast pair and carry out contrast learning, obtain contrast learning loss;3) low rank attribute reconstruction is carried out on original view and low rank view, and the final reconstruction loss of original view and low rank view is obtained;4) the graph neural
network model is trained in combination with contrast learning loss and reconstruction loss;5) according to the trained graph neural
network model, the
abnormality of node in the graph to be measured is judged, and the potential abnormal node is determined.The application generates low rank view by
low rank approximation to node attribute and topological structure, effectively filters the interference of abnormal node and
noise on the basis of retaining the original structure of graph.