A semantic-based method for constructing a panoramic space of R&D design resources

The LDA and Word2vec methods are used to construct a panoramic space of R&D design resources, which solves the problem of low shareability in the resource sharing process, realizes the efficient association and utilization of design resources, and provides the semantic change trend and association relationship expression of design resources.

CN114186067BActive Publication Date: 2024-08-23TIANJIN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111206443.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-16
Publication Date
2024-08-23
Estimated Expiration
2041-10-16

AI Technical Summary

Technical Problem

In the process of R&D and design resource sharing, the shareability of resources is low, resulting in low resource utilization. Existing technology is difficult to achieve high-dimensional indexing of massive design resources and semantic analysis across time and space, and cannot quickly associate design resources with need.

Method used

Use methods based on LDA and Word2vec to extract text resources in the entire design process, build global and local theme maps of R&D design resources, conduct semantic vectorization through text processing algorithms, generate panoramic spaces, and express the semantic change trends and associations of design resources. relationships to achieve rapid location and search of resources.

Benefits of technology

Through the semantic association mining algorithm, the rapid association of the design resource space is realized, the resource sharing efficiency is improved, the intuitive expression of the design resource status is provided, and the efficient sharing and utilization of R&D design resources are supported.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114186067B
    Figure CN114186067B
Patent Text Reader

Abstract

The present invention relates to a method for constructing a panoramic space of R&D design resources based on semantics, comprising the following steps: extracting text-based enterprise shared resources in the entire design process to construct a R&D design resource text corpus; performing text preprocessing on the R&D design resource text corpus to generate a R&D design resource text corpus; LDA processing: performing LDA processing on the R&D design resource text corpus and the R&D design sub-corpus respectively to generate two parts of topic content, namely, a global topic of the R&D design resource and a local topic of the R&D design resource; wherein the R&D design resource text corpus is the full resource text in the entire R&D design process, and the R&D design sub-corpus is based on the resource text in the R&D design sub-process and is a subset of the R&D design corpus; topic vectorization; topic relevance calculation; and topic relevance relationship map drawing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of semantic information, and in particular relates to a method for constructing a panoramic space of research and development design resources based on semantics. Background Art

[0002] Since the design resource space changes all the time with the type, quantity, and status of resources, it is particularly important to establish a unified panoramic space to organize R&D design resources in a unified manner. The shareability of resources directly affects the sharing and utilization efficiency of resources, and is one of the core key issues in solving the sharing of R&D design resources. With the generation of massive R&D design resources, it is urgent to establish a high-dimensional index of design resources based on semantics. Through semantic association mining algorithms, a comprehensive semantic analysis of massive design resource entities across time and space can be performed to achieve rapid association between design resource space and differentiated needs. Based on the panoramic space model of R&D design resources, resource views of different dimensions (such as professional, category, nature, source, etc.) can be automatically generated to achieve rapid positioning and search of specific category resources. Summary of the invention

[0003] The purpose of this patent is to use text processing algorithms to semantically vectorize text-based R&D design resources from massive amounts of R&D design resource data, build a semantic sharing process for R&D design resources, and obtain the semantic change trend of R&D design resources during the sharing process. Based on the complete design process cycle, it can intuitively express the semantic information changes of R&D design resources in each process link. At the same time, the R&D design resources in different design links are integrated using associations, and finally a semantic panoramic space of R&D design resources is constructed to provide support for researchers to share R&D design resources in the subsequent design process. The main technical solutions are as follows:

[0004] A semantic-based method for constructing a panoramic space of R&D design resources includes the following steps:

[0005] The first step is to extract the text-based enterprise shared resources in the entire design process and build a text corpus of R&D design resources;

[0006] The second step is to perform text preprocessing on the R&D and design resource text corpus to generate the R&D and design resource text corpus;

[0007] Step 3: LDA processing

[0008] LDA processing is performed on the R&D design resource text corpus and the R&D design sub-corpus respectively to generate two parts of thematic content: the global topic of R&D design resources and the local topic of R&D design resources. The R&D design resource text corpus is the full resource text in the whole process of R&D design, and the R&D design sub-corpus is based on the resource text in the R&D design sub-process and is a subset of the R&D design corpus. The specific method is as follows:

[0009] 1) Build a global theme of R&D and design resources based on the entire R&D and design process

[0010] Perform LDA processing on the R&D design resource text corpus, including determining the corresponding optimal number of topics;

[0011] Firstly, the optimal number of topics for the global theme of R&D and design resources is obtained through the hierarchical clustering method, and the number of clusters covering the content of the R&D and design resource text corpus is selected as the optimal number of topics K for the global theme of R&D and design resources;

[0012] Secondly, the optimal number of topics K obtained by the hierarchical clustering method is evaluated for topic consistency to determine its rationality. The higher the topic consistency score, the better the LDA model effect corresponding to the optimal number of topics K of the global topic of R&D design resources;

[0013] Finally, according to the α and β parameters of the LDA algorithm and the optimal number of topics K of the global topic of R&D design resources, a global topic G with K topics is constructed. i∈[1,K] ;

[0014] 2) Based on the R&D design sub-process, build local themes of R&D design resources

[0015] According to the various sub-process stages in the whole R&D design process, the R&D design resource text corpus is divided into R&D design resource text sub-corpus belonging to each R&D design sub-process, and LDA processing is performed on each R&D design resource text sub-corpus; the optimal number of topics R for each R&D design resource text sub-corpus is t (t∈1,2,3,...), R t The perplexity calculation formula of the R&D design resource sub-corpus is as follows:

[0016]

[0017] Among them, M represents the R&D design resource text sub-corpus;

[0018] N m represents the total number of words in the R&D and design resource text sub-corpus m under a single R&D and design sub-process;

[0019] P(w) represents the probability of word w in the R&D and design resource text m;

[0020] P(z|m) represents the probability distribution of topic z in R&D design resource text m;

[0021] P(w|z) represents the probability distribution of word w in topic z;

[0022] Finally, the LDA algorithm and the optimal number of topics (R1, R2, ..) of local topics of R&D design resources are used to construct a local topic L of R&D design resources with R1, R2, .. topics. j∈[1,Rt.] ;

[0023] Step 4: Topic Vectorization

[0024] Perform Word2vec vectorization on the generated global topics and local topics of R&D and design resources;

[0025] Step 5: Calculation of topic relevance;

[0026] The global topic vector of each R&D design resource is calculated using the cosine similarity formula. and local themes The correlation between them; the correlation calculation includes: R&D design resource global topic vector Calculate the correlation between the two; R&D and design resource local topic vector Calculate the correlation between the two; R&D and design resources global theme vector Local theme vector with R&D design resources Calculation of association;

[0027] Step 6: Draw a topic association relationship map;

[0028] The cosine similarity threshold is set to indicate the degree of association between topics. When the threshold is greater than 0.5, it indicates that there is an association between the two topics, otherwise it indicates that there is no association between the two topics. The associations with a threshold greater than 0.5 are further divided into three association intensity intervals, which are represented by strong, medium, and weak association degrees respectively.

[0029] 1) First, calculate the local topic vector of R&D design resources in adjacent R&D design sub-processes According to the correlation between the local theme vector of R&D design resources The strong, medium and weak correlation strength between the two will be the local theme L of the R&D design resources in the adjacent R&D design sub-processes j∈[1,R] Establishing association relationships; generating association relationship maps between local topics of R&D and design resources;

[0030] 2) Calculate the global topic vector of R&D design resources Local theme vector with R&D design resources The correlation of the R&D and design resources is used to generate a correlation relationship map of the global theme of R&D and design resources;

[0031] 3) Build a panoramic space of R&D and design resources based on the correlation map of the global themes of R&D and design resources and the corresponding keywords to provide support for R&D and design personnel.

[0032] Among them, the specific steps of the topic vectorization method in the fourth step are as follows:

[0033] 1) The global theme G of R&D and design resources i∈[1,K] and R&D design resources local topics The various keywords in the R&D and design resource text corpus are used as input, and the text in the R&D and design resource text corpus is used as output. After training, the Word2vec model is obtained. i∈[1,K] and R&D design resources local topics Each topic word in is expressed in the Word2vec model as a vector with 100-300 dimensions.

[0034] 2) Global theme G of R&D design resources obtained through LDA processing i∈[1,K] and R&D design resources local topics Each topic in the topic is presented in the form of "topic word*weight+topic word*weight+...", and the global topic G of R&D and design is presented in the form of "topic word*weight+topic word*weight+...". i∈[1,K] and R&D design resources local topics Each keyword vector in and its weight Weighted summation is performed to finally obtain the global theme vector of R&D design resources in the 100-300 dimensional vector space. and R&D design resource local theme vector

[0035] This patent proposes a method for constructing a panoramic space of R&D design resources based on semantics. Combining LDA and Word2vec methods, it fully considers the contextual semantics of the text corpus of R&D design resources. Starting from the entire design process, it constructs a global topic map of R&D design resources based on the entire design process, and intuitively presents the sharing status of R&D design resources under the entire design process. For each design process sub-link, a local topic map of the text sub-corpus of R&D design resources under different design links is constructed, and the sharing relationship of R&D design resources in the design sub-task link is clarified. Finally, by mapping the relationship between the global theme of R&D design resources and the local theme of R&D design resources, the overall change trend and local relationship of R&D design resource sharing in the design process are effectively expressed, solving the problem of low resource utilization of R&D personnel in the process of R&D design resource sharing. Many studies on topic modeling generally only consider the subject words, but ignore the weight of the subject words in the topic. The topic vector obtained by weighted summation in the present invention fully considers the weight of the subject words in the topic and the document context relationship, accurately expresses the topic, and makes good preparations for the next step of the calculation of the relationship between topics. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 Overall technical solution process

[0037] Figure 2 Theme vectorization scheme

[0038] Figure 3 Design process and resource modeling

[0039] Figure 4 Generate the optimal number of global topics

[0040] Figure 5 R&D and design resources panoramic space DETAILED DESCRIPTION

[0041] A semantic-based panoramic space construction method for R&D design resources. The overall technical method flow is as follows: Figure 1 As shown:

[0042] The first step is to obtain text resources

[0043] Extract all text-based R&D shared design resources in the entire design process and build a text corpus set of R&D design resources.

[0044] Specific content includes but is not limited to: description of requirements at each design stage, design plan, design discussion, design tool list, tool parameter list, implementation phase report and other R&D resources related to the design process.

[0045] The second step is text preprocessing

[0046] The R&D and design resource text corpus set is subjected to text preprocessing to generate the R&D and design resource text corpus, including the cleaning of numbers and special characters, the removal of stop words and special words, and the use of Zip's law to remove overly common or rare words in the R&D and design resource text corpus.

[0047] Step 3: LDA processing

[0048] LDA processing is performed on the R&D design resource text corpus and the R&D design sub-corpus respectively to generate two parts of thematic content: the global topic of R&D design resources and the local topic of R&D design resources. The R&D design resource text corpus is the full resource text in the entire R&D design process, and the R&D design sub-corpus is based on the resource text in the R&D design sub-process and is a subset of the R&D design corpus. This patent constructs the global topic of R&D design resources through the R&D design resource corpus, and constructs each R&D design local topic with the R&D design sub-corpus in each design stage ( Figure 3 ). The specific method is as follows:

[0049] 1) Based on the entire R&D and design process, build a global theme of R&D and design resources.

[0050] This patent uses gensim library to implement the LDA model, which is determined by parameters (α, β) and the number of document topics. In this paper, the α and β parameters of the LDA algorithm are set to the default value of 0.1.

[0051] Since the amount of data in the R&D design resource corpus is huge, the method of calculating the optimal number of topics of the document LDA by perplexity is not applicable. Therefore, the optimal number of topics of the global topic of the R&D design resource in this patent is obtained by the hierarchical clustering method, and the clustering results are as follows: Figure 4 As shown in (a), the number of clusters covering 85% of the R&D and design resource text corpus is selected as the optimal number of topics K for the global topic of R&D and design resources.

[0052] The optimal number of topics K of the global topics of R&D design resources obtained by the hierarchical clustering method is evaluated for topic consistency ( Figure 4 (b)), the higher the topic consistency, the better the LDA model effect of the corresponding topic number.

[0053] According to the α and β parameters of the LDA algorithm and the optimal number of topics K of the global topic of R&D design resources, a global topic G with K topics is constructed. i∈[1,K] .

[0054] 2) Based on the R&D and design sub-processes, construct local themes of R&D and design resources.

[0055] According to the various sub-process stages in the whole R&D design process, the R&D design resource text corpus is divided into R&D design resource text sub-corpus belonging to each R&D design sub-process, and LDA processing is performed on each R&D design resource text sub-corpus. The parameters α and β are set to the default value of 0.1.

[0056] The optimal number of topics R for each R&D design resource text sub-corpus t (t∈1,2,3,...) is calculated by perplexity. Perplexity is usually used to measure the quality of the trained language model in natural language processing. In the selection of the optimal number of topics for LDA, the perplexity calculation can quantify the effect of the LDA model under different numbers of topics. The lower the perplexity value perplexity (W), the better the effect of the LDA model trained under the corresponding number of topics. The specific formula for calculating the perplexity of the corresponding R&D design resource sub-corpus is as follows:

[0057]

[0058] Among them, M represents the R&D design resource text sub-corpus;

[0059] N m represents the total number of words in the R&D and design resource text sub-corpus m under a single R&D and design sub-process;

[0060] P(w) represents the probability of word w in the R&D and design resource text m;

[0061] P(z|m) represents the probability distribution of topic z in R&D design resource text m;

[0062] P(w|z) represents the probability distribution of word w in topic z.

[0063] Finally, the LDA algorithm and the optimal number of topics (R1, R2, ..) of local topics of R&D design resources are used to construct local topics of R&D design resources with R1, R2, .. topics.

[0064] Step 4: Topic Vectorization

[0065] The generated global and local themes of R&D and design resources are vectorized by Word2vec. The vectorization scheme is as follows: Figure 2 The specific contents are as follows:

[0066] 1) The global theme G of R&D and design resources i∈[1,K] and R&D design resources local topics The various keywords in the R&D and design resource text corpus are used as input, and the text in the R&D and design resource text corpus is used as output. After training, the Word2vec model is obtained. i∈[1,K] and R&D design resources local topics Each topic word in is expressed in the Word2vec model as a vector with 100-300 dimensions.

[0067] 2) Global theme G of R&D design resources obtained through LDA processing i∈[1,K ] and R&D resources local topics Each topic in the topic is presented in the form of "topic word*weight+topic word*weight+...", so the global topic G i∈[1,K] and R&D design resources local topics Each keyword vector in and its weight Weighted summation is performed to finally obtain the global theme vector of R&D design resources in the 100-300 dimensional vector space. and R&D design resource local theme vector The calculation formula is as follows:

[0068]

[0069] Many studies on topic modeling generally only consider the subject words, but ignore the weight of the subject words in the topic. The topic vector obtained by weighted summation fully considers the weight of the subject words in the topic and the document context relationship, accurately expresses the topic, and makes good preparations for the next step of calculating the correlation between topics.

[0070] Step 5: Calculate the topic relevance

[0071] The global topic vector of each R&D design resource is calculated using the cosine similarity formula. and local themes The correlation between them. The formula for calculating cosine similarity is as follows:

[0072]

[0073] The correlation calculation includes: R&D design resource global topic vector Calculate the correlation between the two; R&D and design resource local topic vector Calculate the correlation between the two; R&D design resources global theme vector Local theme vector with R&D design resources The associated calculation.

[0074] Step 6: Draw a topic association map

[0075] The cosine similarity threshold is set to indicate the degree of association between topics. When the threshold is greater than 0.5, it indicates that the two topics are associated, otherwise it indicates that the two topics are not associated. The associations with a threshold greater than 0.5 are further divided into three association intensity intervals, which are represented by strong, medium, and weak association degrees.

[0076] 1) First, calculate the local topic vector of R&D design resources in adjacent R&D design sub-processes According to the correlation between the local theme vector of R&D design resources The strong, medium and weak correlation strength between the two will be the local themes of R&D resources in adjacent R&D sub-processes. Relationship construction. Generate a relationship map between local topics of R&D design resources. Figure 5 ).

[0077] 2) Calculate the global topic vector of R&D design resources Local theme vector with R&D design resources The correlation between R&D and design resources is analyzed to generate a correlation map of the global themes of R&D and design resources.

[0078] 3) Build a panoramic space of R&D and design resources based on the correlation map of the global themes of R&D and design resources and the corresponding keywords to provide support for R&D and design personnel.

Claims

1. A semantic-based method for constructing a panoramic space of R&D design resources, comprising the following steps: The first step is to extract the text-based enterprise shared resources in the entire design process and build a text corpus of R&D design resources; The second step is to perform text preprocessing on the R&D and design resource text corpus to generate the R&D and design resource text corpus; Step 3: LDA processing LDA processing is performed on the R&D design resource text corpus and the R&D design sub-corpus respectively to generate two parts of topic content: the global topic of R&D design resources and the local topic of R&D design resources; The R&D design resource text corpus is the full resource text in the whole process of R&D design, and the R&D design sub-corpus is based on the resource text in the R&D design sub-process and is a subset of the R&D design corpus. The specific method is as follows: 1) Build a global theme of R&D and design resources based on the entire R&D and design process Perform LDA processing on the R&D design resource text corpus, including determining the corresponding optimal number of topics; Firstly, the optimal number of topics for the global theme of R&D and design resources is obtained through the hierarchical clustering method, and the number of clusters covering the content of the R&D and design resource text corpus is selected as the optimal number of topics K for the global theme of R&D and design resources; Secondly, the optimal number of topics K obtained by the hierarchical clustering method is evaluated for topic consistency to determine its rationality. The higher the topic consistency score, the better the LDA model effect corresponding to the optimal number of topics K of the global topic of R&D design resources; Finally, according to the α and β parameters of the LDA algorithm and the optimal number of topics K of the global topic of R&D design resources, a global topic G with K topics is constructed. i∈[1,K] ; 2) Based on the R&D design sub-process, build local themes of R&D design resources According to the various sub-process stages in the whole R&D design process, the R&D design resource text corpus is divided into R&D design resource text sub-corpus belonging to each R&D design sub-process, and LDA processing is performed on each R&D design resource text sub-corpus; the optimal number of topics R for each R&D design resource text sub-corpus is t (t∈1,2,3,...), R t The perplexity calculation formula of the R&D design resource sub-corpus is as follows: Among them, M represents the R&D design resource text sub-corpus; N m represents the total number of words in the R&D and design resource text sub-corpus m under a single R&D and design sub-process; P(w) represents the probability of word w in the R&D and design resource text m; P(z|m) represents the probability distribution of topic z in R&D design resource text m; P(w|z) represents the probability distribution of word w in topic z; Finally, the LDA algorithm and the optimal number of topics (R1, R2, ..) of local topics of R&D design resources are used to construct local topics of R&D design resources with R1, R2, .. topics. Step 4: Topic Vectorization Perform Word2vec vectorization on the generated global topics and local topics of R&D and design resources; Step 5: Calculation of topic relevance; The global topic vector of each R&D design resource is calculated using the cosine similarity formula. and local themes The correlation between them; the correlation calculation includes: R&D design resource global topic vector Calculate the correlation between the two; R&D and design resource local topic vector Calculate the correlation between the two; R&D design resources global theme vector Local theme vector with R&D design resources Calculation of association; Step 6: Draw a topic association relationship map; The cosine similarity threshold is set to indicate the degree of association between topics. When the threshold is greater than 0.5, it indicates that there is an association between the two topics, otherwise it indicates that there is no association between the two topics. The associations with a threshold greater than 0.5 are further divided into three association intensity intervals, which are represented by strong, medium, and weak association degrees respectively. 1) First, calculate the local topic vector of R&D design resources in adjacent R&D design sub-processes According to the correlation between the local theme vector of R&D design resources The strong, medium and weak correlation strength between the two will be the local theme L of the R&D design resources in the adjacent R&D design sub-processes j∈[1,R] Establishing association relationships; generating association relationship maps between local topics of R&D and design resources; 2) Calculate the global topic vector of R&D design resources Local theme vector with R&D design resources The correlation of the R&D and design resources is used to generate a correlation relationship map of the global theme of R&D and design resources; 3) Build a panoramic space of R&D and design resources based on the correlation map of the global themes of R&D and design resources and the corresponding keywords to provide support for R&D and design personnel.

2. The method for constructing a panoramic space of R&D and design resources according to claim 1, characterized in that: The second step of preprocessing includes cleaning of numbers and special characters, removing stop words and special words, and using Zip's law to remove overly common or rare words in the R&D design resource text corpus.

3. The method for constructing a panoramic space of R&D and design resources according to claim 1, characterized in that: The specific steps of the fourth step of the topic vectorization method are as follows: 1) The global theme G of R&D and design resources i∈[1,K] and R&D design resources local topics As input, the text in the R&D and design resource text corpus is used as output; after training, the Word2vec model is obtained; among which the global theme G of R&D and design resources i∈[1,K] and R&D design resources local topics Each topic word in is expressed in the Word2vec model as a vector with 100-300 dimensions; 2) Global theme G of R&D design resources obtained through LDA processing i∈[1,K] and R&D design resources local topics Each topic in the topic is presented in the form of "topic word*weight+topic word*weight+...", and the global topic G of R&D and design is presented in the form of "topic word*weight+topic word*weight+...". i∈[1,K] and R&D design resources local topics Each keyword vector in and its weight Weighted summation is performed to finally obtain the global theme vector of R&D design resources in the 100-300 dimensional vector space. and R&D design resource local theme vector