A product knowledge fusion method and system

By using semantic text matching and deep learning algorithms in product design, combined with named entities, parts of speech, lexical and syntactic information, we solve the problem of polysemy and unclear reference of the word knowledge in multi-source heterogeneous data, and improve knowledge recognition and The accuracy of entity matching enables more accurate knowledge graph construction.

CN112949312BInactive Publication Date: 2024-10-22CHINA ACAD OF ART
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202110327074.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-26
Publication Date
2024-10-22
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the existing technology, due to the structure and source differences of multi-source heterogeneous data, the word knowledge has multiple meanings and unclear references in product design. Traditional text matching algorithms are mainly limited to the lexical level and cannot go deep into the semantic level, resulting in matching Insufficient accuracy.

Method used

Semantic text is used for text matching, and named entities, parts of speech, lexical and syntactic information are added to the word vector for fusion, and entity contextual features are extracted. Deep learning algorithms are used for entity matching and knowledge graph construction, including convolutional neural networks, Technologies such as K-Max pooling, Bilinear similarity measure function and BiLSTM network.

Benefits of technology

It improves the accuracy of knowledge recognition and entity matching, effectively reduces ambiguity problems caused by different data structures and sources, and enhances the accuracy of the knowledge graph.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112949312B_ABST
    Figure CN112949312B_ABST
Patent Text Reader

Abstract

The present invention discloses a product knowledge fusion method and system, the method comprising the following steps: obtaining product original data; performing knowledge extraction on the product original data to obtain product-related entities, attributes and semantic relationships; constructing an entity information knowledge base based on the product-related entities, attributes and semantic relationships; fusing the semantic relationships and attributes with the entities, and using a text matching model to perform entity matching to obtain product original data corresponding to the matched entity information; and establishing a product knowledge graph based on the matched entity information. The method and system use a knowledge fusion approach to normalize multi-source heterogeneous data, thereby effectively reducing problems such as polysemy and unclear reference of knowledge terms caused by different data structures and sources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of deep learning, and in particular to a product knowledge fusion method and system. Background Art

[0002] In order to assist product designers in product research and give full play to the advantages of big data, the product design knowledge graph is constructed to intuitively and efficiently display the relationship between products. When constructing a knowledge graph, knowledge often comes from multiple different data sources. Due to the differences in structure and content between data sources, there will be problems of polysemy and unclear reference when integrating the acquired knowledge. Therefore, it is necessary to perform knowledge fusion processing to eliminate the ambiguity in the reference of entities and attributes and to normalize multi-source heterogeneous data.

[0003] Text matching is an important basic problem in natural language processing and can be applied to a large number of NLP tasks, such as information retrieval, question-answering systems, paraphrasing, dialogue systems, machine translation, etc. These NLP tasks can be abstracted as text matching problems to a large extent. Traditional text matching technologies include BoW, VSM, TF-IDF, BM25, Jaccord, SimHash and other algorithms, which mainly solve the matching problem at the vocabulary level, or the similarity problem at the vocabulary level. In fact, the matching algorithm based on vocabulary overlap has great limitations, for reasons including: word meaning limitations, structural limitations, and knowledge limitations. This shows that for text matching tasks, we cannot just stay at the literal matching level, but must go deeper into the semantic matching level. Summary of the invention

[0004] One of the inventive objectives of the present invention is to provide a product knowledge fusion method and system, which uses semantic text for text matching, thereby overcoming the shortcomings of word-level matching and improving the accuracy of matching.

[0005] Another object of the present invention is to provide a product knowledge fusion method and system, which uses knowledge fusion to normalize multi-source heterogeneous data, thereby effectively reducing problems such as ambiguity and unclear reference caused by different data structures and sources.

[0006] Another object of the present invention is to provide a product knowledge fusion method and system, which adds information including but not limited to named entities, parts of speech, lexical and syntactic information to the term vector for fusion, so that the term vector contains richer semantic information and improves the accuracy of knowledge recognition.

[0007] Another inventive object of the present invention is to provide a product knowledge fusion method and system, which also extracts the context of the entity for feature extraction, obtains the semantic information of the context, and uses the above and below semantic information as the context of the entity itself for semantic recognition, which can improve the accuracy of entity meaning recognition in the article.

[0008] In order to achieve at least one of the above-mentioned invention objects, the present invention further provides a product knowledge fusion method, the method comprising the following steps:

[0009] Get the original product data;

[0010] Extracting knowledge from the original product data to obtain entities, attributes and semantic relationships related to the product;

[0011] Constructing an entity information knowledge base according to entities, attributes and semantic relationships related to the product;

[0012] The semantic relationship and the attribute are integrated into the entity, and a text matching model is used to perform entity matching to obtain the original product data corresponding to the matching entity information;

[0013] Build a knowledge graph of the product based on the matched entity information.

[0014] According to one of the preferred embodiments of the present invention, text data in the original product data is obtained, and the text data is segmented to obtain keywords of the text data.

[0015] According to another preferred embodiment of the present invention, the segmented keywords are converted into word vectors, the named entity, lexical information, part of speech and syntactic information of the sentence where the keywords are located corresponding to the keywords are obtained and converted into feature vectors and then input into the word vectors for fusion to obtain the fused entity information.

[0016] According to another preferred embodiment of the present invention, the context of the entity information is obtained, and features are extracted from the context, the entity information and the corresponding context are subjected to K-Max pooling operation, and the pooled feature vectors are concatenated, specifically:

[0017]

[0018]

[0019]

[0020] Then concatenate the above three vectors into

[0021] in They represent the i-th named entity, the text segment before the entity, and the text segment after the entity in sentence P, respectively. KMax{} is the K-Max pooling operation. They represent the vectors of entity, entity context, and entity context obtained by convolutional neural network and K-Max pooling respectively. The bilinear interpolation method is used to calculate the matching entity information matrix of sentences in different product text data.

[0022] According to another preferred embodiment of the present invention, a Bilinear similarity metric function is used to calculate the mutual information of two sentences at different positions. The calculation method is as follows:

[0023] Get the position information of two statements p i 、h i , where p i 、h i are converted into vectors and

[0024] Output the interaction matrix based on the feature vectors of the above two position information:

[0025]

[0026] Further calculate the attention interaction of different granular angles of text data:

[0027] where e ij ∈R m×n

[0028]

[0029]

[0030] where e ij is the dot product similarity between the i-th word in the product text data P and the j-th word in the product text data H, exp(e ik ) indicates e ik Correction processing, k is the corresponding text entity word, m is the number of words in text P, n is the number of words in text H, exp(e ik ) represents the normalization calculation of all words in the text data H for the i-th keyword in the text data P, e kj It means that all words in the text data P perform normalization calculation on the jth keyword in the text data H, P T is the transposed matrix of the P matrix, where the attention representations of the Chinese data P and H are α p , β h ;in is obtained by weighted summing each word in the text H, indicating the matching information between the i-th word in the text P and each word in the text H; β h It is obtained by weighted summing each word in the text P, indicating the matching information between the jth word in the text H and each word in the text P.

[0031] According to another preferred embodiment of the present invention, a convolutional neural network is used to embed the words E of two text data. p and E h Extract local structural information respectively and obtain the local semantic matrices of the two texts respectively:

[0032] C p =Wide_CNN(E p );

[0033] C h =Wide_CNN(E h );

[0034] Among them C p ∈R m×1×ck , C h ∈R n×1×ck , m, n are the number of words in the text data P and text data H respectively, ck is the number of convolution kernels, C p is the word embedding E p The result obtained after the wide convolutional neural network structure; C h is the word embedding E h The result obtained after passing through the wide convolutional neural network structure.

[0035] According to another preferred embodiment of the present invention, the output result C h , C p Perform attention interaction calculation to obtain the local semantic attention matrix of text data P and text data H respectively: cnn p ,cnn h .

[0036] According to another preferred embodiment of the present invention, the self-attention interactions within the text are calculated respectively, wherein the calculation formula for the self-attention interactions of the text data P is:

[0037]

[0038] in

[0039] The calculation formula of the sub-attention of text data H is the same as that of text data P, α ij Represents the attention of word i and word j in text P, and is calculated to obtain the self-attention interaction result of the two texts.

[0040] According to another preferred embodiment of the present invention, the context interaction matrix, the granular angle attention interaction matrix, the local semantic attention interaction matrix and the self-attention interaction matrix of the two text data P and H that match each other are spliced ​​respectively to form new semantic matrices after splicing:

[0041]

[0042]

[0043] The new semantic matrix is ​​input into the BiLSTM network to extract text semantic features to obtain the final matching results, and the knowledge graph is constructed based on the final matching results.

[0044] In order to achieve at least one of the above-mentioned invention purposes, the present invention further provides a product knowledge fusion system, and the product knowledge fusion system applies the above-mentioned product knowledge fusion method.

[0045] In order to achieve at least one of the above-mentioned invention purposes, the present invention further provides a computer-readable storage medium, which stores and applies the above-mentioned product knowledge fusion system. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 Shown is a flow chart of a product knowledge fusion method of the present invention;

[0047] Figure 2 Shown is a schematic diagram of a convolution model in the present invention;

[0048] Figure 3 Shown is a schematic diagram of the text matching model structure in the present invention. DETAILED DESCRIPTION

[0049] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and those skilled in the art can think of other obvious variations. The basic principles of the present invention defined in the following description can be applied to other embodiments, variations, improvements, equivalents, and other technical solutions that do not deviate from the spirit and scope of the present invention.

[0050] Those skilled in the art should understand that, in the disclosure of the present invention, the terms "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicating the orientation or position relationship are based on the orientation or position relationship shown in the drawings, which are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation. Therefore, the above terms should not be understood as limiting the present invention.

[0051] Please combine Figure 1-3 The present invention discloses a product knowledge fusion method and system. The method fully introduces the semantic features of product entities for matching. The semantic features include the granularity, local features, and global features of text data, and fuses the entity context features in the text data to use a deep learning algorithm for matching, so that similar text data can be accurately matched, which can be used for product similarity judgment and product knowledge graph construction.

[0052] Specifically, the product knowledge fusion method needs to first obtain the original text data of the product, wherein the original text data of the product can be obtained using methods including but not limited to crawler technology. After obtaining the text data, each text data is segmented. Since the present invention is implemented by comparing data pairwise, the present invention takes text data P and text data H as examples as two text data that need to be matched, and the two text data come from different products.

[0053] The present invention can use the existing jieba word segmentation library to segment the collected text data P and text data H, and obtain the keywords corresponding to the two text data respectively. It should be noted that the jieba word segmentation library can adopt a high-precision mode, and can segment long words again to obtain high-precision keywords.

[0054] After the two text data are segmented using the word segmentation library, the segmented keywords are converted into vectors. The present invention preferably uses the Woed2Vect algorithm to convert keywords into corresponding word vectors. If the keyword does not appear in the word list, the keyword is randomly initialized. The word vectors of the text data P and the text data H are respectively:

[0055]

[0056]

[0057] Among them, E p ∈R m×d , E h ∈R n×d, m, n represent the number of words in the product design text P, H respectively, and d represents the dimension of the word vector. P and E h Represent the word vectors of text data P and text data H respectively.

[0058] Further, the part of speech, morphology and syntax of the sentence where the keyword is located of each keyword are obtained. The part of speech, morphology and syntax of the sentence where the keyword is located are converted into feature vectors, wherein the part of speech may include but not limited to adverbs, auxiliary words, conjunctions and nouns, and the morphology includes but not limited to nouns used as verbs, nouns as adverbials, nouns used as adverbs, adjectives used as nouns, adjectives used as verbs, verbs used as nouns, numerals used as verbs, verb causative usage, adjective causative usage, noun causative usage, etc. The syntax includes but not limited to declarative sentences, interrogative sentences, imperative sentences and exclamatory sentences, etc.

[0059] Use existing natural language processing models, such as NLTK and StanfordNLP models, to identify named entities of two texts, convert the named entities into feature vectors, merge the feature vectors corresponding to the syntax of the named entities, parts of speech, lexical structures, and key words in the text into the feature vectors, and obtain the entity sets of text data P and text data H after using the above existing models to identify named entities: and

[0060] Since the meaning of an entity is related to the context of the text, in order to better obtain the semantic information represented by the entity, the present invention further extracts the context features of the entity. The specific method includes the following steps:

[0061] Using different one-dimensional convolutional neural networks Conv entity and Conv context The network extracts features of the named entity and the text fragments of the named entity's context respectively, obtains the feature vector of the named entity, the feature vector of the entity context, and the feature vector of the entity context, and inputs the named entity feature vector and the context feature vector into the K-Max layer for pooling operation. The formula of the pooling operation is as follows:

[0062]

[0063]

[0064]

[0065] Among them, Conv entity Represents a one-dimensional convolutional neural network for feature extraction of named entities, Conv contextrepresents a one-dimensional convolutional neural network that extracts features from the context of a named entity. They represent the i-th named entity, the text segment before the entity, and the text segment after the entity in sentence P. KMax{} is the K-Max pooling operation. Respectively represent the vector representation of entity, entity context, and entity context obtained by convolutional neural network and K-Max pooling. For the k entity context feature vectors in the text data P and an entity context feature vector in the text H The Bilinear algorithm (bilinear difference algorithm) is used to calculate the entity matching matrix between text data P and text data H. The text position p of the entity in text data P is i and the text position h in the text data H i Converted into vector representation respectively: and The Bilinear algorithm is further used to establish interactive information based on text position:

[0066] Where M is the weight matrix of interactions in different dimensions, b is the linear part parameter, The interaction matrix representing the text positions, express Calculate the dot product similarity e between the i-th keyword in the product text data P and the j-th word in the text data ij :

[0067]

[0068] where e ij ∈R m×n , R m×n Represents a matrix of corresponding dimensions, where the dimensions are related to the text data P and the number of words m and n in the text data, respectively. Represents the matrix of text data P at word i, and transposes the P matrix, E j h Represents the matrix of text data H at word j, and further obtains the contextual attention matrix α of text data P and text data H p , β h :

[0069]

[0070]

[0071] The denominator part exp(e ik ) indicates e ikThe result is normalized to the same interval. The denominator is the sum of all words in text H and the i-th word in text P. exp(e ik ) indicates e ik Correction processing, k is the corresponding text entity word, m is the number of words in text P, n is the number of words in text H, exp(e ik ) represents the normalization calculation of all words in the text data H for the i-th keyword in the text data P, e kj It means that all words in the text data P perform normalization calculation on the jth keyword in the text data H. The attention α of the above text data P and text data H p , β h They are respectively the text attention based on the particle angle, and the present invention further calculates the attention based on the local features, wherein it is necessary to obtain the local features of the text, and convert the local features into feature vectors, and use the above method to calculate the local attention interaction of the text. It should be noted that the attention calculation method based on the local angle is the same as the calculation method based on the particle angle, and the present invention will not be described in detail.

[0072] In order to effectively utilize the semantic information in the text, the present invention further uses a wide convolutional neural network to embed the word vector E p , E h Extract local structural features respectively to form a text semantic matrix:

[0073] C p =Wide_CNN(E p );

[0074] C h =Wide_CNN(E h );

[0075] Among them, C p ∈R m×1×ck , C h ∈R n×1×ck , m, n are the number of words in the text data P, H respectively, l is the dimension parameter, ck is the number of convolution kernels, C p is the word embedding vector E p The result obtained after the wide convolutional neural network structure, C h is the word embedding vector E h The result obtained after the wide convolutional neural network structure. The local structural features of the text that have passed through the wide convolutional neural network are subjected to attention interaction calculations in the encoding layer output data to obtain the final local semantic attention matrices of the text data P and the text data H respectively: cnn p ,cnn h .

[0076] In order to capture the long-range dependencies of texts, consider the word order and context information of texts, and obtain deep semantic information, it is necessary to interact within the texts and find the connections within the text sequences. Taking text P as an example, calculate the self-attention representation SA of P p :

[0077]

[0078] in, is the attention of word i and word j in text data P, and d is the dimension of word vector. Similarly, the self-attention representation SA of H is obtained h .

[0079] The present invention further fuses the above-mentioned multiple interactive information, and the fusion method includes the following steps:

[0080] Through the calculation of multi-angle interaction matrix splicing, we can obtain: splicing the context interaction matrix, granular angle attention interaction matrix, local semantic attention interaction matrix and self-attention interaction matrix respectively, and forming new semantic matrices after splicing:

[0081]

[0082]

[0083] The new semantic matrix is ​​input into the BiLSTM network to extract text semantic features, N_S p Represents the new semantic matrix of text data P, N_S h A new semantic matrix representing the text data H.

[0084] It is worth mentioning that the LSTM network contains three gate units, namely the input gate, forget gate, output gate, and two memory units, namely long-term memory and short-term memory. At time t, the calculation method of the three gate units and two memory units of LSTM is as follows:

[0085] Input gate: I t =σ(W i ·[h t-1 ,x t ]+b i );

[0086] Forget Gate: F t =σ(W f ·[h t-1 ,x t ]+b f );

[0087] Output gate: O t =σ(W o ·[ht-1 ,x t ]+b o );

[0088] Long-term memory: C t =F t *C t-1 +I t *[tanh(W c ·[h t-1 ,x t ]+b c )];

[0089] Short-term memory: h t =O t *tanh(C t );

[0090] where h t-1 is the output of the hidden layer at time t-1, x t is the input at the current time, i.e., time t, W i , W c , W f , W o represents different weight matrices, b i , b f , b c , b o represents different bias matrices, σ represents the sigmiod function, h t Represents the output of the LSTM unit at time t.

[0091] The final text semantic representation is:

[0092]

[0093]

[0094] in They represent the semantic representations of the two texts at time t after being encoded by BiLSTM.

[0095] Pavg = Avg_Pooling(N_S p );

[0096] Havg=Avg_Pooling(F_S h );

[0097] V = Concat[Pavg; Havg];

[0098] The concatenated semantic vector V is passed into the classifier of the multi-layer perceptron with the relu activation function for classification. The softmax cross entropy loss function is used, and the entire network is trained end-to-end using back propagation to obtain the final matching entity information.

[0099] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part, and / or installed from a removable medium. When the computer program is executed by the central processing unit (CPU), the above-mentioned functions defined in the method of the present application are executed. It should be noted that the above-mentioned computer-readable medium of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, a system, device or device of an electrical, magnetic, optical, electromagnetic, infrared segment, or semiconductor, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection with one or more wire segments, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, electrical wire, optical cable, RF, etc., or any suitable combination of the foregoing.

[0100] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0101] It is to be understood that the term "one" should be understood as "at least one" or "one or more", that is, in one embodiment, the number of an element may be one, while in another embodiment, the number of the element may be multiple, and the term "one" should not be understood as a limitation on the quantity.

[0102] Those skilled in the art should understand that the embodiments of the present invention described above and shown in the accompanying drawings are only examples and do not limit the present invention. The objectives of the present invention have been fully and effectively achieved. The functional and structural principles of the present invention have been demonstrated and explained in the embodiments. Without departing from the principles, the implementation methods of the present invention may be deformed or modified in any way.

Claims

1. A product knowledge fusion method, It is characterized in that The method comprises the following steps: Get the original product data; Extracting knowledge from the original product data to obtain entities, attributes and semantic relationships related to the product; Constructing an entity information knowledge base according to entities, attributes and semantic relationships related to the product; The semantic relationship and attributes are integrated into the entity, and a text matching model is used to perform entity matching to obtain the original product data corresponding to the matching entity information; Build a product knowledge graph based on the matched entity information; The Bilinear similarity measurement function is used to calculate the interaction information of different positions of text data p and text data h. The calculation method is as follows: Get the position information p of text data p and text data h i 、h i , where p i 、h i Convert them into feature vectors and Output the context interaction matrix based on the feature vector of the position information of the above text data p and text data h: Among them, M is the weight matrix of interactions in different dimensions, b is the linear part parameter, represents the contextual interaction matrix; Further calculate the granular angle attention interaction matrix of text data p and text data h: where e ij ∈R m×n ; in, where e ij is the dot product similarity between the i-th word in the text data p and the j-th word in the text data h, R m×n Represents a matrix of corresponding dimensions, where the dimensions are related to the number of words m and n in the text data p and h, respectively. exp(e ik ) indicates e ik Correction processing, k is the corresponding text entity word, n is the number of words in the text data h, m is the number of words in the text data p, It means that all words in the text data h are normalized and summed for the i-th keyword in the text data p. It means that all words in the text data p are normalized and summed for the jth keyword in the text data h. express The transposed matrix of the text data p and the text data h is represented by the particle angle attention interaction matrix α p , β h ;in It is obtained by weighted summing each word in the text data p, which represents the attention of the i-th word in the text data p; is obtained by weighted summing each word in the text data h, indicating the attention of the jth word in the text data h; Represents the matrix of text data p at word i, and Transpose the matrix, E j h represents the matrix of text data h at word j; E i p Represents the matrix of text data p at word i.

2. A product knowledge fusion method according to claim 1, It is characterized in that Obtain text data from the original product data, segment the text data, and obtain keywords from the text data.

3. A product knowledge fusion method according to claim 2, It is characterized in that The segmented keywords are converted into word vectors, and the named entities, lexical information, part of speech and syntactic information of the sentences where the keywords are located corresponding to the keywords are obtained and converted into feature vectors, which are then input into the word vectors for fusion to obtain the fused entities.

4. A product knowledge fusion method according to claim 1, It is characterized in that The context of the entity information is obtained, and features are extracted from the context. The entity information and the corresponding context are subjected to K-Max pooling operation, and the pooled feature vectors are concatenated. Specifically, the following steps are performed: Then concatenate the above three vectors into in They represent the i-th named entity, the text segment before the entity, and the text segment after the entity in the text data p, respectively. KMax{} is the K-Max pooling operation. They represent the vectors of entity, entity context, and entity context obtained by convolutional neural network and K-Max pooling respectively, and the bilinear interpolation method is used to calculate the matching entity information matrix of sentences in different text data.

5. A product knowledge fusion method according to claim 1, It is characterized in that Use convolutional neural network to embed the words of two text data p and E h Extract local structural information respectively and obtain the local semantic matrices of the two texts respectively: C p =WideCNN(E p ); C h =WideCNN(E h ); Among them C p ∈R m×1×ck , C h ∈R n×1×ck , n, m are the number of words in text data h and text data p respectively, ck is the number of convolution kernels, C p is the word embedding E p The result obtained after the wide convolutional neural network structure; C h is the word embedding E h The result obtained after passing through the wide convolutional neural network structure.

6. A product knowledge fusion method according to claim 5, It is characterized in that The output result C h , C p Perform attention interaction calculations to obtain the local semantic attention interaction matrices of text data p and text data h: p ,cnn h ; The self-attention interaction matrix within the text is calculated separately, where the calculation formula of the self-attention interaction matrix of the text data p is: in is the attention of word i and word j in text data p, and d is the dimension of word vector; The self-attention interaction matrix of the text data h is The calculation method and the self-attention interaction matrix of the text data p is calculated in the same way.

7. A product knowledge fusion method according to claim 6, It is characterized in that The context interaction matrix, granular angle attention interaction matrix, local semantic attention interaction matrix and self-attention interaction matrix of the two matching text data p and text data h are spliced ​​respectively to form new semantic matrices: The new semantic matrices are respectively input into the BiLSTM network to extract text semantic features to obtain the final matching results, and a knowledge graph is constructed based on the final matching results.

8. A product knowledge fusion system, It is characterized in that The product knowledge fusion system applies a product knowledge fusion method as described in any one of claims 1-7 above.

9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores and applies the product knowledge fusion system described in claim 8 above.

Citation Information

Patent Citations

  • Thermal power plant multi-source data fusion method and device based on knowledge graph

    CN110781249A

  • Knowledge graph construction method and device

    CN111177399A

  • Electric power dispatching text entity linking method based on power distribution network knowledge graph

    CN111475655A

  • Text understanding method based on external knowledge embedding

    CN112507039A

  • Semantic Natural Language Vector Space

    US20170200066A1