A deep semantic matching method and system for R&D supply and demand description text matching

Through the combination of the improved textrank algorithm and the dual BERT model, it solves the problem that the existing technology cannot handle ultra-long texts and cannot separately train titles and content. It achieves high-precision semantic matching of R&D supply and demand description texts and significantly improves matching. Effect.

CN112861543BActive Publication Date: 2024-09-03吴俊
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110156093.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-04
Publication Date
2024-09-03
Estimated Expiration
2041-02-04

AI Technical Summary

Technical Problem

The existing technology cannot perform in-depth semantic matching on long texts of R&D supply and demand descriptions that exceed the 512-character limit, cannot train text titles and content summaries separately, and is difficult to achieve fine-grained semantic matching classification.

Method used

The improved textrank algorithm is used to condense the long text content of technical requirements and technical achievements into a summary of no more than 512 characters, and the dual BERT pre-trained language model is used to train the title and content summary respectively, and the logistic regression algorithm and Softmax function weighted values ​​are used. Linear stitching and classification processing, the output result is the demand semantic similarity coefficient.

Benefits of technology

It significantly improves the accuracy of semantic matching of R&D supply and demand description texts, circumvents BERT model input limitations, corrects model category prediction errors, and achieves the highest model F1 value.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112861543B
    Figure CN112861543B
Patent Text Reader

Abstract

The embodiment of the present invention discloses a deep semantic matching method and system for matching R&D supply and demand description texts. The deep semantic matching method includes: using an improved textrank algorithm to condense the long text of technical requirements and technical achievements into a text content summary of no more than 512 characters; constructing a dual independent BERT pre-trained language model, and training the title and content summary of the two types of texts of technical requirements and technical achievements respectively; linearly stitching the trained results, and using the weighted value of the Softmax function considering the category weight as the semantic similarity coefficient to process the linear stitching results. The technical solution proposed in the present invention avoids the limitation of 512-character input of the BERT pre-trained language model without losing the core semantics of the text content, extracts the semantic information that characterizes the context of technical requirements and technical achievements to the greatest extent, and is more refined than the traditional coarse-grained semantic matching classification, realizing automatic high-precision matching of technical requirements and technical achievement texts.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of natural language processing, and specifically to a deep semantic matching method and system for matching R&D supply and demand description texts. Background Art

[0002] As an important carrier for connecting R&D results with R&D supply and demand, many scientific and technological resource sharing platforms have built scientific research and technology achievement libraries and technology R&D demand libraries, storing a large amount of text information describing technical achievements and R&D needs. This patent application refers to R&D supply and demand description texts. Traditional online technology consulting services mostly use manual matching to complete the matching of R&D supply and demand description texts, which requires large personnel investment, low matching efficiency, and low matching success rate. How to achieve deep and accurate matching of the semantics of R&D supply and demand description texts, and help both supply and demand parties to match efficiently, is an important technology for creating intelligent technology consulting services, and an important guarantee for accelerating the market transformation of scientific research results.

[0003] Different from the general text semantic matching scenario, the semantic matching of R&D supply and demand description text has the following particularities: (1) It involves a wide range of professional fields, contains many terminologies and is highly technical; (2) The text to be matched has a title and content. The title should not exceed 30 words and be concise and refined; the content should be hundreds of words and be complex and divergent in meaning.

[0004] Existing text semantic similarity matching technologies have evolved from shallow machine learning such as TF-IDF, support vector machine, pagerank, to deep neural network learning that considers contextual semantics such as word2vec and transformer. Duan Yaoqing et al. combined word2vec word embedding with support vector machine algorithm to perform semantic matching classification on message datasets. They used shallow machine learning algorithms and targeted popular message texts. Fu Cong et al. combined word2vec word embedding with the AutoLMP model in image recognition to perform question-answer matching on the Quora dataset. The algorithm technology used either failed to capture and solve the polysemy problem or required domain prior knowledge input, and could not achieve end-to-end automatic matching. Nie Haohao et al. designed an automatic semantic matching model for legal texts and judicial interpretations based on the BERT pre-trained language model, but did not solve the 512-character limit of the BERT model.

[0005] There are existing technical solutions that use word2vec word embedding and shallow neural network models for text similarity semantic matching. However, due to the characteristics of shallow contextual semantic learning, the algorithm model is more suitable for general field texts with clear semantics and single connotations, and is difficult to apply to the context of R&D supply and demand description texts with complex semantics and many proprietary terms. The existing algorithm for deep semantic matching based on the BERT pre-trained language model is limited by the BERT model's limitation of only allowing 512 characters to be input, and cannot perform deep semantic matching on long text content of R&D supply and demand descriptions that exceed the 512-character limit. Summary of the invention

[0006] The purpose of the embodiments of the present invention is to provide a deep semantic matching method and system for matching R&D supply and demand description texts, so as to solve the problems that the existing technical solutions cannot perform semantic similarity matching on long texts of technical achievements-R&D needs that exceed the 512-character limit, cannot train text titles and text content summaries separately, and cannot perform fine-grained semantic matching classification.

[0007] To achieve the above objectives, the embodiments of the present invention mainly provide the following technical solutions:

[0008] In the first aspect, an embodiment of the present invention provides a deep semantic matching method and system method for matching R&D supply and demand description texts, including: preprocessing the title and content in the technical requirements and technical achievements texts respectively to obtain the text title and text content; using a summary extraction algorithm to extract the text content of the preprocessed technical requirements to obtain a summary of the technical requirements text content; using a summary extraction algorithm to extract the text content of the preprocessed technical achievements to obtain a summary of the technical achievements text content; inputting the text title of the technical requirements and technical achievements into a first BERT model to obtain a first similarity category result; inputting the text content summary of the technical requirements and technical achievements into a second BERT model to obtain a second similarity category result; linearly splicing the first similarity category result and the second similarity category result to obtain a third similarity category result; processing the linearly spliced ​​third similarity category result through a logistic regression algorithm to obtain a result-requirement semantic similarity coefficient; outputting the technical achievement-technical requirement semantic matching result according to the descending order of the result-requirement semantic similarity coefficient.

[0009] Furthermore, it also includes: when pre-processing the titles and contents in the technical requirements and technical achievements texts respectively, punctuation marks are removed and only Chinese characters are retained.

[0010] Furthermore, it also includes: when using the summary extraction algorithm to extract summaries of the technical requirements text content and the technical achievements text content, using the improved textrank algorithm to condense the long text content of the technical requirements and the technical achievements into a technical requirements text content summary and a technical achievements text content summary of no more than 512 characters respectively.

[0011] Furthermore, it also includes: when using the logistic regression algorithm to process the third similarity category result after the linear splicing, using the weighted value of the Softmax function taking into account the category weight as the achievement-demand semantic similarity coefficient.

[0012] In the second aspect, an embodiment of the present invention also provides a deep semantic matching system for matching R&D supply and demand description texts, including: a preprocessing module for processing titles and contents in technical requirements and technical achievements texts; an extraction module for extracting core content summaries of technical requirements and technical achievements texts; a training module for respectively training text titles and text content summaries of technical requirements and technical achievements to obtain first similarity category results and second similarity category results; a splicing module for linearly splicing the first similarity category results and the second similarity category results to obtain third similarity category results; a classification module for performing logistic regression algorithm processing on the third similarity category results after linear splicing to obtain a result-demand semantic similarity coefficient; a control processing module for controlling the text preprocessing, summary extraction, model training, linear splicing, classification processing and descending output of titles and contents in long texts of technical requirements and technical achievements.

[0013] Furthermore, the preprocessing module removes punctuation marks and retains only Chinese characters when preprocessing the titles and contents in the technical requirements and technical achievements texts respectively.

[0014] Furthermore, when the extraction module uses the summary extraction algorithm to extract summaries of the technical requirements text content and the technical achievements text content, it uses the improved textrank algorithm to condense the long text content of the technical requirements and technical achievements into a text content summary of no more than 512 characters.

[0015] Furthermore, when the classification module uses the logistic regression algorithm to process the third similarity category result after the linear stitching, the weighted value of the Softmax function taking into account the category weight is used as the achievement-requirement semantic similarity coefficient.

[0016] In a third aspect, an embodiment of the present invention further provides an electronic device comprising: at least one processor and at least one memory; the memory is used to store one or more program instructions; the processor is used to run one or more program instructions to execute a deep semantic matching method and system for matching R&D supply and demand description texts as described in the first aspect.

[0017] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium comprising one or more program instructions, wherein the one or more program instructions are used to execute a deep semantic matching method and system for matching R&D supply and demand description texts as described in the first aspect.

[0018] The technical solution provided by the embodiment of the present invention has at least the following advantages:

[0019] The technical solution provided by the embodiment of the present invention uses the improved textrank algorithm to condense the long text of technical requirements and technical achievements into a text content summary of no more than 512 characters, without losing the core semantics of the text content, avoiding the limitation of 512 character input of the BERT pre-trained language model; constructs a dual BERT pre-trained language model to train the title and content summary of the two types of texts of technical requirements and technical achievements respectively, extracts the semantic information representing the context of technical requirements and technical achievements to the greatest extent, and significantly improves the semantic matching accuracy of the two types of texts; improves the traditional Softmax function classification output to the Softmax function weighted value output considering the category weight, corrects the model category prediction error, and improves the text semantic matching accuracy. The method proposed by the present invention is compared with the semantic matching method based on word2vec word embedding, the text title semantic matching method based on BERT word embedding, and the text title and content joint semantic matching method based on BERT word embedding. The model F1 value realized by the technical solution is the highest, which is significantly improved compared with the three types of benchmark models. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the implementation methods of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the implementation methods or the description of the prior art. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other implementation drawings can be derived from the provided drawings without creative work.

[0021] The structures, steps, etc. illustrated in this specification are only used to match the contents disclosed in the specification so as to facilitate understanding and reading by persons familiar with the technology. They are not used to limit the conditions under which the present invention can be implemented, and therefore have no substantial technical significance. Any modification of the structure, change or adjustment of the step relationship, without affecting the effects and purposes that can be achieved by the present invention, should still fall within the scope of the technical contents disclosed by the present invention.

[0022] Figure 1 A flowchart of a deep semantic matching method and system for matching R&D supply and demand description texts provided in an embodiment of the present invention.

[0023] Figure 2 A structural block diagram of a deep semantic matching system for matching R&D supply and demand description texts provided in an embodiment of the present invention.

[0024] Figure 3 A technical requirement provided for an embodiment of the present invention - a schematic diagram of a deep semantic matching algorithm for technical achievement text. DETAILED DESCRIPTION

[0025] The following is a description of the implementation of the present invention by specific embodiments. People familiar with the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0026] In the following description, specific details such as specific system algorithms, models, and techniques are provided for illustration rather than limitation in order to provide a thorough understanding of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, algorithms, and methods are omitted so as not to obscure the description of the present invention with unnecessary details.

[0027] In the description of the present invention, it should be understood that the terms “first” and “second” are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0028] Figure 1 A flowchart of a deep semantic matching method and system for matching R&D supply and demand description texts provided by an embodiment of the present invention. Figure 1 As shown, an embodiment of the present invention provides a deep semantic matching method and system for matching R&D supply and demand description texts, including:

[0029] S1: Preprocess the titles and contents in the technical requirements and technical achievements texts respectively to obtain the text titles and text contents.

[0030] Specifically, when the user inputs the text set of technical requirements and technical achievements into the deep semantic matching system, the deep semantic matching system preprocesses the text data set, including splitting the text title and text content, removing punctuation marks, retaining only Chinese characters, and obtaining a preprocessed text data set.

[0031] In one embodiment of the present invention, the preprocessed text data set includes preprocessed text titles and text contents.

[0032] S2: Use a summary extraction algorithm to extract the text content of the preprocessed technical requirements to obtain a summary of the technical requirements text content; use a summary extraction algorithm to extract the text content of the preprocessed technical achievements to obtain a summary of the technical achievements text content.

[0033] Specifically, when extracting the core content of the text content of technical requirements and technical achievements in the preprocessed text data set, the improved TextRank algorithm is used to condense the long text content of the technical requirements and technical achievements into a text content summary of no more than 512 characters.

[0034] In one embodiment of the present invention, the sentence node weight adjustment is considered based on the similarity characteristics between the text content sentence and the title. First, the title sentence P is calculated. 0 With content sentence P i The similarity ω i0 , the formula is as follows:

[0035]

[0036] Secondly, we traverse the feature words in each sentence. If they appear in the title, we increase the word frequency weight; otherwise, we keep the word frequency weight unchanged. The calculation formula is as follows:

[0037]

[0038] In the above formula, the title sentence P 0 The feature word vector is P 0 =[k 01 ,…,k 0h' ] T , h' is the number of feature words in the title and sentence after expansion, and the adjustment matrix D is obtained n*h .

[0039] Then according to formula (1) and matrix D n*h Calculate the similarity between sentences and get the matrix SD n*n, the subsequent algorithm iteration process is the same as the textrank algorithm.

[0040] In one embodiment of the present invention, each iteration loop only calculates the first cycle, reducing the calculation time. Considering that the nodes in the text network diagram will eventually converge to a stable value through iteration, this value is the final importance score of each node. The network diagram information only exists in the link weights between edges. The degree is recalculated in each cycle just to speed up the iteration process, and it has little to do with the final convergence value. After experiments, it was found that the extracted summary has little to do with whether the degree is recalculated each time. Therefore, each iteration only needs to calculate one cycle, because the degree of each point remains unchanged in the iteration. Through such optimization, the original convergence process of O(n^2) complexity is optimized to O(n) complexity, and the iterative calculation time is greatly reduced.

[0041] In one embodiment of the present invention, the parameters of the input technical requirements and technical achievements text content are set (the number of sentences extracted from the technical requirements text content N=12, the number of sentences extracted from the technical achievements text content N=10), and the improved algorithm is applied to output the summary of the technical requirements and technical achievements text content.

[0042] S3: Input the text title of the technical requirements and technical achievements into the first BERT model to obtain a first similarity category result; input the text content summary of the technical requirements and technical achievements into the second BERT model to obtain a second similarity category result.

[0043] Specifically, the preprocessed text titles and text content summaries of no more than 512 characters of the two types of texts, namely, technical requirements and technical achievements, are respectively input into two independent BERT pre-trained language models for training to obtain first similarity category results and second similarity category results.

[0044] In one embodiment of the present invention, the text title of the technical requirements and technical achievements is input into a BERT pre-trained language model for training to obtain a first similarity category result; the text content summary of the technical requirements and technical achievements is input into another BERT pre-trained language model for training to obtain a second similarity category result.

[0045] In one embodiment of the present invention, this patent application constructs a dual independent BERT model architecture for the complex semantic characteristics of the R&D supply and demand description text, pairs the technical achievement with the technical requirement title, and pairs the technical achievement with the technical requirement content summary, loads the BERT Chinese pre-training vector (hidden layer is 768 dimensions, adopts 12-head mode, a total of 110M parameters, maximum sequence length is 512, train_batch_size is 64) to fine-tune the training set data, and the principle diagram of the text deep semantic matching algorithm is shown in the figure. Figure 3 shown.

[0046] S4: Linearly stitch the first similarity category result and the second similarity category result to obtain a third similarity category result.

[0047] Specifically, the first similarity category result and the second similarity category result are linearly stitched according to a certain weight, and the third similarity category result is linearly stitched according to a certain weight.

[0048] S5: The third similarity category result after the linear splicing is processed by a logistic regression algorithm to obtain an outcome-demand semantic similarity coefficient.

[0049] Specifically, the third similarity category result after the linear splicing is processed by a logistic regression algorithm, and a weighted value of a Softmax function taking category weights into consideration is used as the outcome-demand semantic similarity coefficient.

[0050] In one embodiment of the present invention, the weighted value of the Softmax function taking into account the category weight is used as the achievement-demand semantic similarity coefficient, and the corresponding formula is as follows:

[0051]

[0052] In the above formula, i is the similarity category (defined as 4 categories, "1" represents irrelevant, "2" represents weakly related, "3" represents relatively strong related, and "4" represents strongly related), S i Represents the Softmax function value of category i.

[0053] S6: Output the technical achievement-technical requirement semantic matching results according to the descending order of the achievement-requirement semantic similarity coefficients.

[0054] Specifically, taking the technical requirement document as the matching target, the obtained technical achievements and the semantic similarity coefficients of the technical requirement are outputted in descending order as the matching results.

[0055] In one embodiment of the present invention, taking the technical result document as the matching target, the semantic similarity coefficients of the obtained technical requirement document and the technical result document are output in descending order for the matching results; taking the technical requirement document as the matching target, the semantic similarity coefficients of the obtained technical result document and the technical requirement document are output in descending order for the matching results.

[0056] Figure 2 A structural block diagram of a deep semantic matching system for R&D supply and demand description text matching provided by an embodiment of the present invention. Figure 2As shown, an embodiment of the present invention provides a deep semantic matching system for R&D supply and demand description text matching, including: a preprocessing module 100, an extraction module 200, a training module 300, a splicing module 400, a classification module 500 and a control processing module 600.

[0057] Among them, the preprocessing module 100 is used to process the title and content in the technical requirements and technical achievements text; the extraction module 200 is used to extract the core content summary of the technical requirements and technical achievements text; the training module 300 is used to train the text title and text content summary of the technical requirements and technical achievements respectively to obtain the first similarity category result and the second similarity category result; the splicing module 400 is used to linearly splice the first similarity category result and the second similarity category result to obtain the third similarity category result; the classification module 500 is used to perform a logistic regression algorithm on the third similarity category result after the linear splicing to obtain the achievement-requirement semantic similarity coefficient; the control processing module 600 is used to control the text preprocessing, summary extraction, model training, linear splicing, classification processing and descending output of the title and content in the long text of the technical requirements and technical achievements.

[0058] In one embodiment of the present invention, the preprocessing module 100 removes punctuation marks and only retains Chinese characters when preprocessing the title and content in the technical requirements and technical achievements texts respectively.

[0059] In one embodiment of the present invention, when the extraction module 200 uses the summary extraction algorithm to extract the summary of the technical requirements text content and the technical achievements text content, it uses the improved textrank algorithm to condense the long text content of the technical requirements and the technical achievements into a text content summary of no more than 512 characters.

[0060] In one embodiment of the present invention, the classification module 500 further includes using a weighted value of a Softmax function taking into account category weights as an outcome-requirement semantic similarity coefficient when using the logistic regression algorithm to process the third similarity category result after linear stitching.

[0061] It should be noted that the specific implementation manner of a deep semantic matching system for matching R&D supply and demand description texts in an embodiment of the present invention is similar to the specific implementation manner of a deep semantic matching method and system for matching R&D supply and demand description texts in an embodiment of the present invention. For details, please refer to the description of a deep semantic matching method and system for matching R&D supply and demand description texts. In order to reduce redundancy, it will not be repeated here.

[0062] In addition, other structures and functions of a deep semantic matching system for matching R&D supply and demand description texts in an embodiment of the present invention are known to those skilled in the art and will not be described in detail to reduce redundancy.

[0063] An embodiment of the present invention also provides an electronic device, comprising: at least one processor and at least one memory; the memory is used to store one or more program instructions; the processor is used to run one or more program instructions to execute a deep semantic matching method and system for matching R&D supply and demand description texts as described in the first aspect.

[0064] The embodiments disclosed in the present invention provide a computer-readable storage medium, in which computer program instructions are stored. When the computer program instructions are executed on a computer, the computer executes the above-mentioned deep semantic matching method and system for matching R&D supply and demand description texts.

[0065] In the embodiment of the present invention, the processor may be an integrated circuit chip having the signal processing capability. The processor may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0066] The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present invention can be directly embodied as a hardware decoding processor for execution, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The processor reads the information in the storage medium and completes the steps of the above method in combination with its hardware.

[0067] The storage medium may be a memory, which may be, for example, a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memory.

[0068] Among them, the non-volatile memory can be a read-only memory (ROM), a programmable ROM (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.

[0069] The volatile memory may be a random access memory (RAM) which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous DRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct rambus RAM (DRRAM).

[0070] The storage media described in the embodiments of the present invention are intended to include, but are not limited to, these and any other suitable types of memory.

[0071] Those skilled in the art will appreciate that in one or more of the above examples, the functions described in the present invention can be implemented using a combination of hardware and software. When software is used, the corresponding functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any media that facilitates the transmission of computer programs from one place to another. Storage media can be any available media that can be accessed by general or special-purpose computers.

[0072] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials 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, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0073] Although the present invention has been described in detail above by general description and specific embodiments, it is obvious to those skilled in the art that some modifications or improvements can be made to the present invention. Therefore, these modifications or improvements made without departing from the spirit of the present invention all belong to the scope of protection claimed by the present invention.

Claims

1. A deep semantic matching method for matching R&D supply and demand description texts, characterized in that: include: Preprocess the titles and contents in the technical requirements and technical achievements texts respectively to obtain the text titles and text contents; Use summary extraction algorithm to extract the text content of preprocessed technical requirements to obtain a summary of the technical requirements text content; Use a summary extraction algorithm to extract the text content of the preprocessed technical achievements to obtain a summary of the technical achievements text content; Input the text title of technical requirements and technical achievements into the first BERT model to obtain the first similarity category result; Input the text content summary of technical requirements and technical achievements into the second BERT model to obtain the second similar category result; Linearly combine the first similarity category result and the second similarity category result to obtain a third similarity category result; The third similarity category results after linear splicing are processed by logistic regression algorithm to obtain the outcome-demand semantic similarity coefficient; Output the semantic matching results of technical achievement and technical requirement according to the descending order of the semantic similarity coefficients of the achievement and requirement; When the abstract extraction algorithm is used to extract abstracts from the technical requirements text content and the technical achievements text content, the improved textrank algorithm is used to condense the long text content of the technical requirements and the technical achievements into a technical requirements text content abstract and a technical achievements text content abstract of no more than 512 characters, respectively. Specifically, the following steps are used: considering the sentence node weight adjustment of the similarity characteristics between the text content sentence and the title, firstly calculating the title sentence P o With content sentence P a The similarity ω ao , the formula is as follows: Secondly, we traverse the feature words in each sentence. If they appear in the title, we increase the word frequency weight; otherwise, we keep the word frequency weight unchanged. The calculation formula is as follows: In the above formula, the title sentence P o The feature word vector is P o =[k o1 ,…,k oh' ] T , h' is the number of feature words in the title and sentence after expansion, and the adjustment matrix D is obtained n*h ; Then according to formula (1) and matrix D n*h Calculate the similarity between sentences and get the matrix SD n*n , and then iterate using the textrank algorithm; When the logistic regression algorithm is used to process the third similarity category result after linear splicing, the weighted value of the Softmax function considering the category weight is used as the achievement-demand semantic similarity coefficient, and the corresponding formula is as follows: In the above formula, InterrelationScore is the semantic similarity coefficient between the outcome and the requirement, i is the similarity category, which is divided into 4 categories: "1" represents irrelevant, "2" represents weak correlation, "3" represents strong correlation, and "4" represents strong correlation. i Represents the Softmax function value of category i.

2. According to claim 1, a deep semantic matching method for matching R&D supply and demand description texts is characterized in that: include: When preprocessing the titles and contents in the technical requirements and technical achievements texts respectively, punctuation marks are removed and only Chinese characters are retained.

3. A deep semantic matching system for matching R&D supply and demand description texts, characterized by: include: A preprocessing module, used to preprocess the title and content in the technical requirements and technical achievements texts respectively to obtain the text title and text content; An extraction module is used to extract the text content of the preprocessed technical requirements using a summary extraction algorithm to obtain a summary of the technical requirements text content; and to extract the text content of the preprocessed technical achievements using a summary extraction algorithm to obtain a summary of the technical achievements text content; A training module, used for inputting the text title of the technical requirements and technical achievements into the first BERT model to obtain a first similarity category result; and inputting the text content summary of the technical requirements and technical achievements into the second BERT model to obtain a second similarity category result; A merging module, configured to linearly merge the first similarity category result and the second similarity category result to obtain a third similarity category result; The classification module is used to process the third similarity category results after linear splicing through a logistic regression algorithm to obtain the outcome-demand semantic similarity coefficient; A control processing module is used to output the semantic matching results of technical achievements and technical requirements according to the semantic similarity coefficients of the achievements and requirements in descending order; When the extraction module uses the summary extraction algorithm to extract the summary of the technical requirements text content and the technical achievements text content, the improved textrank algorithm is used to condense the long text content of the technical requirements and technical achievements into a text content summary of no more than 512 characters, specifically including: considering the sentence node weight adjustment of the similarity characteristics between the text content sentence and the title, first calculating the title sentence P o With content sentence P a The similarity ω ao , the formula is as follows: Secondly, traverse the feature words in each sentence. If they appear in the title, increase the word frequency weight; otherwise, keep the word frequency weight unchanged; the calculation formula is as follows: In the above formula, the title sentence P o The feature word vector is P o =[k o1 ,…,k oh' ] T , h' is the number of feature words in the title and sentence after expansion, and the adjustment matrix D is obtained n*h ; Then according to formula (1) and matrix D n*h Calculate the similarity between sentences and get the matrix SD n*n , and then iterate using the textrank algorithm; When the classification module uses the logistic regression algorithm to process the third similarity category result after linear splicing, the weighted value of the Softmax function considering the category weight is used as the achievement-demand semantic similarity coefficient. The corresponding formula is as follows: In the above formula, InterrelationScore is the semantic similarity coefficient between the outcome and the requirement, i is the similarity category, which is divided into 4 categories: "1" represents irrelevant, "2" represents weak correlation, "3" represents strong correlation, and "4" represents strong correlation. i Represents the Softmax function value of category i.

4. A deep semantic matching system for matching R&D supply and demand description texts according to claim 3, characterized in that: When the preprocessing module preprocesses the title and content in the technical requirements and technical achievements texts respectively, punctuation marks are removed and only Chinese characters are retained.

5. An electronic device, characterized in that: The electronic device comprises: at least one processor and at least one memory; The memory is used to store one or more program instructions; The processor is used to run one or more program instructions to execute the method according to any one of claims 1-2.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes one or more program instructions, and the one or more program instructions are used to execute the method according to any one of claims 1-2.