Entity recognition method, system and storage medium based on multi-graph collaborative semantic network
Through the multi-graph collaborative semantic network method, combined with dictionary and part-of-speech feature data, a graph network is constructed and trained, which solves the error problem caused by dictionary dependence in deep learning named entity recognition, and improves the accuracy and model generalization ability of Chinese named entity recognition. .
Patent Information
- Application Number
- CN202210496739.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-09
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-05-09
AI Technical Summary
Existing named entity recognition methods based on deep learning rely too much on dictionaries and ignore the interference effect of dictionary enhancement methods, resulting in recognition errors. They also fail to make full use of Chinese part-of-speech dependency information, affecting recognition accuracy.
Using a multi-graph collaborative semantic network method, by acquiring dictionary feature data and part-of-speech feature data of Chinese sentences, we construct boundary graphs, relationship graphs and inclusion graphs, perform graph convolution processing and collaborative training, and integrate dictionary and part-of-speech information to improve entity recognition accuracy. Spend.
It effectively improves the accuracy of Chinese named entity recognition, reduces recognition errors caused by dictionary errors, makes full use of Chinese part-of-speech dependency information, and improves the generalization ability of the model.
Smart Images

Figure CN114896978B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of entity recognition technology, and in particular to an entity recognition method, system and storage medium based on a multi-graph collaborative semantic network. Background Art
[0002] In the related technologies, named entity recognition is not only one of the most important directions of natural language processing, but also a preprocessing step for downstream tasks such as relationship extraction, information retrieval, and knowledge graphs. Named entity recognition aims to extract entities such as names of people, places, and organizations from unstructured texts. Traditional Chinese named entity recognition is mainly divided into character-level methods and word-level methods. Character-level methods cannot fully utilize the potential sequence information between words in a sentence, resulting in weak generalization of the model; word-level methods over-rely on word-segmentation tools, and word-segmentation errors will continue throughout the task process, and error propagation will lead to a decrease in recognition performance. With the emergence of deep learning, powerful tools have been provided for named entity recognition to improve the recognition ability of the model. However, named entity recognition based on deep learning methods overly relies on enhancement methods such as dictionaries, ignoring the interference of dictionary enhancement methods on the model. Over-reliance on dictionaries often easily leads to the phenomenon of identifying incorrect entities. Summary of the invention
[0003] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention proposes an entity recognition method, system and storage medium based on a multi-graph collaborative semantic network, which can effectively improve the accuracy of entity recognition results.
[0004] On the one hand, an embodiment of the present invention provides an entity recognition method based on a multi-graph collaborative semantic network, comprising the following steps:
[0005] Acquire original data, wherein the original data includes a plurality of Chinese sentences;
[0006] Extracting feature data of the original data, wherein the feature data includes dictionary feature data and part-of-speech feature data;
[0007] Constructing a multi-image matrix according to the original data and the feature data;
[0008] Merging the original data and the characteristic data to obtain merged data;
[0009] The combined data and the multi-image matrix are fused and then collaboratively trained to obtain a feature fusion result;
[0010] The feature fusion result is decoded to obtain the Chinese named entity recognition result of the original data.
[0011] In some embodiments, extracting feature data of the original data includes:
[0012] Using a dictionary tool to match word feature data on the original data to obtain dictionary feature data;
[0013] The original data is parsed by a part-of-speech parsing tool to obtain part-of-speech feature data.
[0014] In some embodiments, after extracting the feature data of the original data, the method further comprises the following steps:
[0015] Inputting the dictionary feature data into an embedding layer to obtain a dictionary feature vector;
[0016] Inputting the part-of-speech feature data into an embedding layer to obtain a part-of-speech feature vector;
[0017] The original data is input into the embedding layer to obtain a context information vector.
[0018] In some embodiments, constructing a multi-image matrix according to the original data and the feature data includes:
[0019] fusing the dictionary feature vector and the context information vector to generate a boundary map;
[0020] The part-of-speech feature vector and the context information vector are fused to generate a relationship graph and an inclusion graph respectively.
[0021] In some embodiments, the relationship graph includes dependencies between individual items and dependencies between words.
[0022] In some embodiments, the step of fusing the combined data with the multi-image matrix for collaborative training includes:
[0023] Inputting the fusion result of the first merged data and the boundary graph into a first graph attention network for graph convolution processing, wherein the first merged data includes merged data of the dictionary feature vector and the context information vector;
[0024] Inputting the fusion result of the second merged data and the relationship graph into a second graph attention network for graph convolution processing, wherein the second merged data includes merged data of the part-of-speech feature vector and the context information vector;
[0025] The fusion result of the second merged data and the inclusion graph is input into a third graph attention network for graph convolution processing.
[0026] In some embodiments, the step of fusing the combined data with the multi-image matrix for collaborative training further includes:
[0027] Inputting the boundary graph, the relationship graph, the inclusion graph and the context information of the original data into a fusion layer for parameter learning;
[0028] Collaborative training via multi-image fusion.
[0029] On the other hand, an embodiment of the present invention provides an entity recognition system based on a multi-graph collaborative semantic network, comprising:
[0030] An acquisition module, used for acquiring original data, wherein the original data includes a plurality of Chinese sentences;
[0031] An extraction module, used to extract feature data of the original data, wherein the feature data includes dictionary feature data and part-of-speech feature data;
[0032] A construction module, used for constructing a multi-image matrix according to the original data and the feature data;
[0033] A merging module, used for merging the original data and the feature data to obtain merged data;
[0034] A collaborative training module, used for fusing the combined data with the multi-image matrix and performing collaborative training to obtain a feature fusion result;
[0035] A decoding module is used to decode the feature fusion result to obtain the Chinese named entity recognition result of the original data.
[0036] On the other hand, an embodiment of the present invention provides an entity recognition system based on a multi-graph collaborative semantic network, comprising:
[0037] at least one memory for storing a program;
[0038] At least one processor is used to load the program to execute the entity recognition method based on multi-graph collaborative semantic network.
[0039] On the other hand, an embodiment of the present invention provides a storage medium, in which a computer-executable program is stored. When the computer-executable program is executed by a processor, it is used to implement the entity recognition method based on a multi-graph collaborative semantic network.
[0040] The embodiment of the present invention provides an entity recognition method based on a multi-graph collaborative semantic network, which has the following beneficial effects:
[0041] This embodiment extracts dictionary feature data and part-of-speech feature data from original data containing several Chinese sentences to form feature data, and constructs a multi-graph matrix based on the original data and the feature data, and merges the original data and the feature data to obtain merged data, and then fuses the merged data and the multi-graph matrix for collaborative training to obtain a feature fusion result, and then decodes the feature fusion result to obtain a Chinese named entity recognition result of the original data. This embodiment identifies Chinese entities in Chinese sentences by considering dictionary feature data and part-of-speech feature data, thereby effectively improving the accuracy of entity recognition results.
[0042] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The present invention will be further described below with reference to the accompanying drawings and embodiments, wherein:
[0044] Figure 1 A flowchart of an entity recognition method based on a multi-graph collaborative semantic network according to an embodiment of the present invention;
[0045] Figure 2 The present invention is a schematic diagram of the process of an entity recognition method based on a multi-graph collaborative semantic network according to an embodiment of the present invention. DETAILED DESCRIPTION
[0046] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
[0047] In the description of the present invention, "several" means more than one, "many" means more than two, "greater than", "less than", "exceed", etc. are understood to exclude the number itself, and "above", "below", "within", etc. are understood to include the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0048] In the description of the present invention, unless otherwise clearly defined, words such as "setting" should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meaning of the above words in the present invention in combination with the specific content of the technical solution.
[0049] In the description of the present invention, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0050] At present, named entity recognition based on deep learning methods over-relies on enhancement methods such as dictionaries, ignoring the interference of dictionary enhancement methods on the model. Over-reliance on dictionaries often easily leads to the phenomenon of identifying wrong entities. For example: for the sentence "Nanjing Yangtze River Bridge", the dictionary can match "Yangtze River Bridge" to help the model identify the place name entity "Yangtze River Bridge". But at the same time, the dictionary will also match the words "Nanjing City", "Nanjing", "Mayor" and "Jiang Bridge". The matching word "Nanjing" will make the model mistakenly think that "Nanjing" is a real entity in this sentence, which has always led to the subsequent recognition of two wrong entities "Mayor" and "Jiang Bridge". Therefore, the meaning of this sentence will become that the name of the mayor of Nanjing is Jiang Bridge. This is the problem caused by over-reliance on dictionary enhancement methods. In addition, most methods ignore the most important point in Chinese sentences, the part-of-speech dependency information of Chinese. Compared with other languages, Chinese sentences have richer expressive power. For example: "Guangdong Student Union", for the machine, it is difficult to associate the two words "Guang" or "Da" with the words "Student Union", but in fact "Guangdong Student Union" is a whole. Most current methods cannot solve this problem.
[0051] Based on this, refer to Figure 1 , the embodiment of the present invention provides an entity recognition method based on a multi-graph collaborative semantic network, and the embodiment of the method can be applied to a processor of a cloud server or a Chinese named entity recognition platform. Specifically, Figure 1 As shown, the method embodiment includes but is not limited to the following steps:
[0052] Step 110: obtaining original data; wherein the original data includes a plurality of Chinese sentences;
[0053] Step 120: extracting feature data of the original data; wherein the feature data includes dictionary feature data and part-of-speech feature data;
[0054] Step 130, constructing a multi-image matrix according to the original data and the feature data;
[0055] Step 140: Merge the original data and the feature data to obtain merged data;
[0056] Step 150, fusing the merged data and the multi-image matrix and performing collaborative training to obtain a feature fusion result;
[0057] Step 160: decode the feature fusion result to obtain the Chinese named entity recognition result of the original data.
[0058] In the embodiment of the present application, the original data is a collection of Chinese sentences, that is, the present embodiment performs Chinese named entity recognition on sentences that need Chinese named entity recognition. Specifically, assuming that the original data input of the character-based training model is s = {c1, c2, ..., c n}, where c i is the i-th character in a sentence, and each character c i It can be expressed by finding the embedded vector, as shown in formula (1):
[0059]
[0060] Among them, e c Represents the character embedding vector table.
[0061] In the embodiment of the present application, for extracting the feature data of the original data and obtaining the dictionary feature data and the part-of-speech feature data, the dictionary feature data can be obtained by matching the word feature data of the original data with a dictionary tool; and the part-of-speech parsing tool can be used to parse the part-of-speech of the original data to obtain the part-of-speech feature data. In this embodiment, since vocabulary knowledge helps to enhance the representation of characters to improve the performance of the NER model, this embodiment represents the entries matched by the dictionary matching tool for each sentence in the original data as l = {l1, l2, ..., l m This embodiment uses the part of speech and relationship dependency of Chinese words to cut and separate the sentences in the original data through the part of speech analysis tool, and obtains the cut vocabulary represented as w = {w1, w2, ..., w k}.
[0062] In the embodiment of the present application, for constructing a multi-graph matrix based on the original data and the feature data, a boundary matrix graph can be generated by fusing the dictionary feature data and the original data; and a relationship graph and an inclusion graph can be generated by fusing the part-of-speech feature data and the original data. Specifically, this embodiment constructs three word-character interaction graphs, the vertices and edges of the three graphs are different, and an adjacency matrix is introduced to represent the graph structure. The values in the adjacency matrix represent whether there is a relationship between the vertices in the graph. This embodiment uses the original data s i=(I, love, Beijing, Forbidden City, Museum, Museum) as an example, a dictionary match is performed on each character in the original data to make full use of potential characters, and the dictionary feature data set l is obtained by matching. i = {Beijing, Forbidden City, Museum}, used to construct the boundary graph B-graph, the boundary graph is obtained by fusing the dictionary feature data and the original data. The vertex set V is the result of the merging of the dictionary feature data and the original data. The adjacency matrix A B Store data. If the matched word has multiple characters, the position of the word in the matrix and the first and last characters in the word are recorded as 1. i For example, we use the dependency prasing tool to perform part-of-speech analysis on the original data and cut the original data set into a collection of words and phrases. i = {I, love, Beijing, Forbidden City, Museum}, used to construct the relationship graph R-graph and the inclusion graph C-graph. The word dependency information set is defined as f i ={SBV,HED,ATT,ATT,VOB}, using set index to represent index i ={2,0,5,5,2}. Regarding the relationship graph R-graph, the dependency between individual characters and the dependency between words are considered at the same time, and the adjacency matrix A is used R and A C Store data. For the adjacency matrix A R , if the cut word contains multiple characters, the position of the word and all the characters contained in the word in the matrix is recorded as 1, and each character and the position of the remaining characters in the word are recorded as 1 in turn; if the cut word is related to another word, its position is recorded as 1. For the adjacency matrix A C , the position of the cut word and the first and last characters in the word are recorded as 1, and the position of the cut character and its predecessor and successor characters are recorded as 1.
[0063] In an embodiment of the present application, after extracting the feature data of the original data, the dictionary feature data can be input into an embedding layer to obtain a dictionary feature vector; the part-of-speech feature data can be input into an embedding layer to obtain a part-of-speech feature vector; and the original data can be input into an embedding layer to obtain a context information vector. After obtaining the feature data in vector form and the context information of the original data, the multi-graph matrix is constructed according to the original data and the feature data, and a boundary graph can be generated by fusing the dictionary feature vector and the context information vector, and a relationship graph and an inclusion graph can be generated by fusing the part-of-speech feature vector and the context information vector, respectively.
[0064] Specifically, Figure 2As shown, the dictionary feature data set is defined as l = {l1,l2,...,l m}, and send it to the pre-trained embedding layer embedding to obtain a low-dimensional dense vector of the dictionary feature data, that is, the dictionary feature vector Among them, e w is a word embedding lookup table. Similarly, the part-of-speech feature data set w = {w1, w2, ..., w k} and the original data s={c1,c2,...,c n} are sent to the embedding layer to obtain the part-of-speech feature vector x w =e w (w) and the vector representation of the original data x c =e c (c), where e c is the character embedding vector table. The LSTM model is used to process the original data. The specific process is described in formula (2), formula (3) and formula (4):
[0065]
[0066]
[0067]
[0068] The above data vector of the original data vector And the following data vector Perform XOR operation to obtain the context information vector H = {h1,h2,...,h n The dictionary feature vector is combined with the original data vector to obtain the boundary graph B-graph, whose vertex set is The part-of-speech feature vector is combined with the original data vector to obtain the relationship graph R-graph and the inclusion graph C-graph, both of which share a set of vertex sets.
[0069] In the embodiments of the present application, Figure 2 As shown, the collaborative training after fusing the merged data and the multi-image matrix includes but is not limited to the following steps:
[0070] Inputting the fusion result of the first merged data and the boundary graph B-graph into the first graph attention network GAT1 for graph convolution processing, wherein the first merged data includes the merged data of the dictionary feature vector and the context information vector;
[0071] Inputting the fusion result of the second merged data and the relationship graph R-graph into the second graph attention network GAT2 for graph convolution processing, wherein the second merged data includes the merged data of the part-of-speech feature vector and the context information vector;
[0072] The fusion result of the second merged data and the inclusion graph C-graph is input into the third graph attention network GAT3 for graph convolution processing.
[0073] In this embodiment, the graph attention network GAT is used to model the three interaction graphs. Specifically, in the M-layer GAT of this embodiment, the input representation of the j-th layer consists of a set of node features, NF J ={f1,f2,...,f n In addition, this embodiment also introduces the adjacency matrix A, and satisfies f i ∈R F , A∈R N*N Where F represents the dimension of the j-th layer feature, and N represents the number of nodes. The output representation of the j-th layer is a set of new node features NF(j+1)={f1',f2',...,fN'} that are different from other nodes. Each GAT has K independent and different attention heads, which are specifically expressed as shown in formulas (5) and (6):
[0074]
[0075]
[0076] Among them, || represents the connection operation; σ represents the nonlinear activation function; N i represents the adjacent nodes of node i in the graph, represents the attention parameter, W k ∈R F' , a∈R 2F' Represents a single-layer feedforward neural network. KF' represents the j-th layer output f i ', F' represents the dimension of the final output feature, and the result retains the average value. Specifically, the average value is calculated as shown in formula (7):
[0077]
[0078] Specifically, this embodiment constructs three independent graph attention networks GAT1, GAT2 and GAT3 to model three interaction graphs. The boundary graph B-graph is used to capture the boundary entity information of vocabulary knowledge, and its vertex set is The output node feature representation of the GAT1 model is shown in formula (8):
[0079] G1=GAT1(X B ,AB ) Formula (8)
[0080] Among them, G1∈R F'* ( N+M) , n represents the number of characters in the sentence, and m represents the number of matched words. For the relationship graph R-graph and the inclusion graph C-graph, they share the same set of vertices. The output node feature representations of the GAT2 and GAT3 models are G2 and G3, respectively, as shown in formula (9) and formula (10):
[0081] G2=GAT2(X,A R ) Formula (9)
[0082] G3=GAT3(X,A C ) Formula (10)
[0083] Among them, G y ∈R F'*(n+k) , y∈(2,3), n represents the number of words contained in the sentence, and k represents the number of words obtained by part-of-speech parsing. For the output node feature G of the graph attention network i , i∈(1,2,3), only retain the characters of the first n columns of the matrix to represent Q i =G i [:,0:n], i∈(1,2,3) for use by the decoding layer.
[0084] In an embodiment of the present application, the collaborative training after fusing the merged data and the multi-graph matrix also includes: inputting the boundary graph, the relationship graph, the inclusion graph and the context information of the original data into the fusion layer for parameter learning; and then performing collaborative training through multi-graph fusion to obtain feature fusion results. Specifically, the three character-word interaction graphs constructed in this embodiment have different functions, and the three interaction graphs are fused by the fusion layer to fully utilize their respective advantages. At the same time, considering the auxiliary role of the context information of the original data on Chinese NER, this embodiment inputs it together with the retained features output by the three graph attention networks into the fusion module R, where R is shown in formula (11):
[0085] R=W1H+W2Q1+W3Q2+W4Q3 Formula (11)
[0086] Among them, W y is the training matrix, y∈(1,2,3,4), and finally a collaboration matrix R is obtained from the fusion layer. The matrix R integrates the different functions of these graphs.
[0087] In the embodiment of the present application, the prediction result can be obtained by using the CRF decoding feature fusion result. Specifically, the standard conditional random field discriminant model CRF is used to capture the dependency between continuous labels. For any input data s = {c1, c2, ..., c n}, multiple images are fused for collaborative training to obtain the feature fusion result R = (r1, r2, ..., r n ), as the input data of the CRF decoding layer. The Chinese named entity recognition result corresponding to the input data is obtained by decoding the CRF decoding layer. Specifically, given the predicted label sequence Y = (y1, y2, ..., y n ), the calculation formula of the label sequence Y is shown in formula (12):
[0088]
[0089] Among them, y' i represents any tag sequence, and All are training parameters. This example uses the first-order Viterbi algorithm to find the label sequence with the highest score on the character-based input representation. Given a manually labeled training data The optimized model is obtained by using the L2 regularized sentence log-likelihood loss as shown in formula (13).
[0090]
[0091] Among them, λ represents the L2 regularization parameter and Θ represents the training parameter set.
[0092] The embodiment of the present invention provides an entity recognition system based on a multi-graph collaborative semantic network, comprising:
[0093] An acquisition module, used for acquiring original data, wherein the original data includes a plurality of Chinese sentences;
[0094] An extraction module, used to extract feature data of the original data, wherein the feature data includes dictionary feature data and part-of-speech feature data;
[0095] A construction module, used for constructing a multi-image matrix according to the original data and the feature data;
[0096] A merging module, used for merging the original data and the feature data to obtain merged data;
[0097] A collaborative training module, used for fusing the combined data with the multi-image matrix and performing collaborative training to obtain a feature fusion result;
[0098] A decoding module is used to decode the feature fusion result to obtain the Chinese named entity recognition result of the original data.
[0099] The contents of the method embodiments of the present invention are all applicable to the system embodiments. The functions specifically implemented by the system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method.
[0100] The embodiment of the present invention provides an entity recognition system based on a multi-graph collaborative semantic network, comprising:
[0101] at least one memory for storing a program;
[0102] At least one processor for loading the program to execute Figure 1 The entity recognition method based on multi-graph collaborative semantic network is shown.
[0103] The contents of the method embodiments of the present invention are all applicable to the system embodiments. The functions specifically implemented by the system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method.
[0104] An embodiment of the present invention provides a storage medium, wherein a computer executable program is stored, and when the computer executable program is executed by a processor, it is used to implement Figure 1 The entity recognition method based on multi-graph collaborative semantic network is shown.
[0105] The embodiment of the present invention further provides a computer program product or a computer program, wherein the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device can read the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes Figure 1 The entity recognition method based on multi-graph collaborative semantic network is shown.
[0106] The embodiments of the present invention are described in detail above in conjunction with the accompanying drawings, but the present invention is not limited to the above embodiments. Various changes can be made within the knowledge of ordinary technicians in the relevant technical field without departing from the purpose of the present invention. In addition, the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict.
Claims
1. An entity recognition method based on multi-graph collaborative semantic network, It is characterized in that The following steps are involved: Acquire original data, wherein the original data includes a plurality of Chinese sentences; Extracting feature data of the original data, wherein the feature data includes dictionary feature data and part-of-speech feature data; Constructing a multi-image matrix according to the original data and the feature data; Merging the original data and the characteristic data to obtain merged data; The combined data and the multi-image matrix are fused and then collaboratively trained to obtain a feature fusion result; Decoding the feature fusion result to obtain the Chinese named entity recognition result of the original data; Wherein, after extracting the characteristic data of the original data, the method further comprises the following steps: Inputting the dictionary feature data into an embedding layer to obtain a dictionary feature vector; Inputting the part-of-speech feature data into an embedding layer to obtain a part-of-speech feature vector; Input the original data into the embedding layer to obtain a context information vector; The constructing a multi-image matrix according to the original data and the feature data comprises: fusing the dictionary feature vector and the context information vector to generate a boundary map; Fusion of the part-of-speech feature vector and the context information vector to generate a relationship graph and an inclusion graph respectively; The step of fusing the combined data with the multi-image matrix for collaborative training includes: Inputting the fusion result of the first merged data and the boundary graph into the first graph attention network for graph convolution processing, wherein the first merged data includes merged data of the dictionary feature vector and the context information vector; Inputting the fusion result of the second merged data and the relationship graph into a second graph attention network for graph convolution processing, wherein the second merged data includes merged data of the part-of-speech feature vector and the context information vector; The fusion result of the second merged data and the inclusion graph is input into a third graph attention network for graph convolution processing.
2. According to claim 1, an entity recognition method based on multi-graph collaborative semantic network, It is characterized in that The step of extracting feature data from the original data comprises: Using a dictionary tool to match word feature data on the original data to obtain dictionary feature data; The original data is parsed by a part-of-speech parsing tool to obtain part-of-speech feature data.
3. According to the entity recognition method based on multi-graph collaborative semantic network according to claim 1, It is characterized in that The relationship graph includes dependency relationships between individual items and dependency relationships between words.
4. According to claim 1, a method for entity recognition based on multi-graph collaborative semantic network, It is characterized in that The step of fusing the combined data with the multi-image matrix for collaborative training further includes: Inputting the boundary graph, the relationship graph, the inclusion graph and the context information of the original data into a fusion layer for parameter learning; Collaborative training via multi-image fusion.
5. An entity recognition system based on multi-graph collaborative semantic network, It is characterized in that include: An acquisition module, used for acquiring original data, wherein the original data includes a plurality of Chinese sentences; An extraction module, used to extract feature data of the original data, wherein the feature data includes dictionary feature data and part-of-speech feature data; A construction module, used for constructing a multi-image matrix according to the original data and the feature data; A merging module, used for merging the original data and the feature data to obtain merged data; A collaborative training module, used for fusing the combined data with the multi-image matrix and performing collaborative training to obtain a feature fusion result; A decoding module, used to decode the feature fusion result to obtain the Chinese named entity recognition result of the original data; Wherein, after extracting the feature data of the original data, the extraction module is further used to perform the following steps: Inputting the dictionary feature data into an embedding layer to obtain a dictionary feature vector; Inputting the part-of-speech feature data into an embedding layer to obtain a part-of-speech feature vector; Input the original data into the embedding layer to obtain a context information vector; The constructing a multi-image matrix according to the original data and the feature data comprises: fusing the dictionary feature vector and the context information vector to generate a boundary map; Fusion of the part-of-speech feature vector and the context information vector to generate a relationship graph and an inclusion graph respectively; The step of fusing the combined data with the multi-image matrix for collaborative training includes: Inputting the fusion result of the first merged data and the boundary graph into the first graph attention network for graph convolution processing, wherein the first merged data includes merged data of the dictionary feature vector and the context information vector; Inputting the fusion result of the second merged data and the relationship graph into a second graph attention network for graph convolution processing, wherein the second merged data includes merged data of the part-of-speech feature vector and the context information vector; The fusion result of the second merged data and the inclusion graph is input into a third graph attention network for graph convolution processing.
6. An entity recognition system based on multi-graph collaborative semantic network, It is characterized in that include: at least one memory for storing a program; At least one processor is used to load the program to execute the entity recognition method based on a multi-graph collaborative semantic network as described in any one of claims 1-4.
7. A storage medium, It is characterized in that A computer-executable program is stored therein, and when the computer-executable program is executed by a processor, it is used to implement the entity recognition method based on a multi-graph collaborative semantic network as described in any one of claims 1-4.
Citation Information
Patent Citations
Word2vec improvement method of related factor training combining parts of speech and word orders
CN107526834A
Chinese named entity recognition method based on graph network integrated dictionary
CN111046671A
Chinese named entity recognition method, system and equipment and storage medium
CN113420557A
Adaptive evaluation of meta-relationships in semantic graphs
US20180373699A1
