The invention relates to a visual document
information extraction method based on an attention correction graph neural network, and the method comprises the steps: firstly extracting entity node images, texts and
layout features according to entities, text contents and textbox information, and obtaining n entity node indexes closest to each entity node in a document to generate an edge
adjacency matrix; the entity node features and the edge
adjacency matrix are input into a GraphSAGE graph
network model to learn node features, graph
convolution and an attention correction
mechanism based on structural features are fused in the process, the edge weight is calculated and corrected according to node feature distance and degree information, feature representation is output after multi-layer graph
convolution and correction operation, and the edge
adjacency matrix is obtained. And inputting the full connection layer to complete node classification, sampling the document to obtain entity node pairs and edge features, and inputting the full connection layer to perform edge classification after fusion. According to the method, by means of the GraphSAGE model, multi-
modal information is effectively fused, the node and graph structure characteristics are accurately captured, the node relation and weight are dynamically adjusted, and the entity node classification accuracy is remarkably improved.