A method and system for identifying question sentences in scientific literature research
By extracting research question sentences from the scientific literature database, constructing and iterative recognition models, extracting feature words and building a feature weight vector mapping layer, the problem of low accuracy of question sentence recognition in the existing technology is solved, and the importance of feature words is realized. Improvement of discrimination and classification accuracy.
Patent Information
- Application Number
- CN202410426751.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-10
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-04-10
AI Technical Summary
The classification accuracy of question sentence recognition models in the existing technology is low and cannot effectively distinguish the importance of different feature words.
By extracting research question sentences and non-research question sentences from the scientific literature database, the pre-training model is used to build an initial classification recognition model, iterative identification and aggregation analysis are performed, feature words are extracted, a feature weight vector mapping layer is constructed, and it is compared with the initial model The output layers are connected to form a target classification and recognition model.
It improves the integration of feature words and the importance of feature words in question sentences, and improves classification accuracy.
Smart Images

Figure CN118152574B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of question sentence recognition, and in particular to a method and system for recognizing question sentences in scientific and technological literature research. Background Art
[0002] Research question Sentence recognition is a sentence binary classification task. Sentence classification is a common natural language processing task. Common binary classification processing usually collects a large amount of sentence training data, and then uses machine learning to train intelligent models for recognition. The disadvantage is that the model that recognizes the sentence as a whole does not consider the influence of the feature words in the sentence, and usually relies on the pre-processing of the input sentence, resulting in insufficient recognition accuracy.
[0003] The existing technology has the technical problem that the classification accuracy of the question sentence recognition model is low and it is unable to differentiate the importance of different feature words. Summary of the invention
[0004] The present application provides a method and system for identifying question sentences in scientific and technological literature research, which is used to solve the technical problems in the prior art that the classification accuracy of the question sentence recognition model is low and the importance of different feature words cannot be differentiated.
[0005] In view of the above problems, the present application provides a method and system for identifying problem sentences in scientific and technological literature research.
[0006] In a first aspect of the present application, a method for identifying problem sentences in scientific and technological literature is provided, the method comprising:
[0007] Extract multiple scientific and technological documents from the scientific and technological literature database to identify research problem sentences, and obtain Q research problem sentences and P non-research problem sentences;
[0008] Using the Q research question sentences and the P non-research question sentences as training data, using the pre-training model to perform classification learning on the training data to obtain a target initial classification recognition model;
[0009] Iteratively identifying the scientific literature database using the target initial classification recognition model to obtain a corpus of research question sentences;
[0010] Performing cluster analysis on the parts of speech and syntactic structures of the research question sentences in the research question sentence corpus to obtain target parts of speech and target structural positions;
[0011] Using the target structure position as an index, searching the research question sentence corpus, extracting feature words at the target structure position, and obtaining a feature word set;
[0012] Performing word frequency analysis on the feature word set to construct a feature weight vector mapping layer;
[0013] The feature weight vector mapping layer is connected to the output layer of the target initial classification recognition model to obtain the target classification recognition model.
[0014] The second aspect of the present application provides a method system for identifying problem sentences in scientific and technological literature research, the system comprising:
[0015] A question sentence acquisition module is used to extract multiple scientific and technological documents from the scientific and technological document database to identify research question sentences, and obtain Q research question sentences and P non-research question sentences;
[0016] An initial classification recognition model acquisition module is used to use the Q research question sentences and the P non-research question sentences as training data, and use a pre-training model to classify and learn the training data to obtain a target initial classification recognition model;
[0017] A question sentence corpus acquisition module is used to iteratively identify the scientific literature database using the target initial classification recognition model to obtain a research question sentence corpus;
[0018] A target structure position acquisition module is used to perform cluster analysis on the parts of speech and syntactic structures of the research question sentences in the research question sentence corpus to obtain target parts of speech and target structure positions;
[0019] A feature word set acquisition module is used to search the research question sentence corpus with the target structure position as an index, extract the feature words at the target structure position, and obtain a feature word set;
[0020] A vector mapping layer construction module is used to perform word frequency analysis on the feature word set and construct a feature weight vector mapping layer;
[0021] The target classification recognition model acquisition module is used to connect the feature weight vector mapping layer with the output layer of the target initial classification recognition model to obtain the target classification recognition model.
[0022] One or more technical solutions provided in this application have at least the following technical effects or advantages:
[0023] This application extracts multiple scientific and technological documents from a scientific and technological literature database to identify research problem sentences, obtains Q research problem sentences and P non-research problem sentences, then uses Q research problem sentences and P non-research problem sentences as training data, uses a pre-training model to classify and learn the training data, obtains a target initial classification recognition model, and then uses the target initial classification recognition model to iteratively recognize the scientific and technological literature database to obtain a research problem sentence corpus, performs cluster analysis on the part of speech and syntactic structure of the research problem sentences in the research problem sentence corpus, obtains the target part of speech and target structure position, then uses the target structure position as an index to search the research problem sentence corpus, extracts feature words at the target structure position, obtains a feature word set, performs word frequency analysis on the feature word set, constructs a feature weight vector mapping layer, and then connects the feature weight vector mapping layer to the output layer of the target initial classification recognition model to obtain a target classification recognition model. The technical effect of integrating the feature words of the research problem sentence and the importance of the feature words and improving the classification accuracy is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0025] Figure 1 A schematic diagram of a method for identifying problem sentences in scientific literature research provided in an embodiment of the present application;
[0026] Figure 2 A schematic diagram of the system structure of a method for identifying question sentences in scientific literature research provided in an embodiment of the present application.
[0027] Explanation of the accompanying drawings: question sentence acquisition module 11, initial classification recognition model acquisition module 12, question sentence corpus acquisition module 13, target structure position acquisition module 14, feature word set acquisition module 15, vector mapping layer construction module 16, target classification recognition model acquisition module 17. DETAILED DESCRIPTION
[0028] The present application provides a method and system for identifying question sentences in scientific and technological literature research, which is used to solve the technical problems in the prior art that the classification accuracy of the question sentence recognition model is low and the importance of different feature words cannot be differentiated.
[0029] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0030] It should be noted that the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or server that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or modules that are not explicitly listed or inherent to these processes, methods, products or devices.
[0031] Embodiment 1
[0032] like Figure 1 As shown, the present application provides a method for identifying problem sentences in scientific and technological literature research, wherein the method comprises:
[0033] Step S100: extract multiple scientific and technological documents from the scientific and technological document database to identify research problem sentences, and obtain Q research problem sentences and P non-research problem sentences;
[0034] In a possible embodiment, the scientific literature database is a database that stores scientific literature (such as papers, journals, etc.) in different fields. By using manual annotation or iterative semi-automatic annotation method to identify research question sentences in multiple scientific literature in the scientific literature database, the sentences containing research questions are annotated to obtain Q research question sentences, and the remaining multiple research question sentences are added to P non-research question sentences. Among them, Q and P are both integers greater than or equal to 3. By identifying research question sentences, the technical effect of training the target initial classification recognition model used for the subsequent construction of the research question corpus and providing basic training data is achieved.
[0035] Step S200: using the Q research question sentences and the P non-research question sentences as training data, using the pre-training model to perform classification learning on the training data to obtain a target initial classification recognition model;
[0036] Further, the Q research question sentences and the P non-research question sentences are used as training data, and the pre-training model is used to classify and learn the training data to obtain a target initial classification recognition model. Step S200 of the embodiment of the present application also includes:
[0037] Dividing the training data consisting of the Q research question sentences and the P non-research question sentences into a training set and a validation set according to a preset ratio;
[0038] The training set is divided into n groups, the pre-training model is trained in sequence to learn the classification of question sentences, and a plurality of research question sentences and non-research question sentences in the verification set are input into the pre-training model to obtain a verification research question sentence set and a verification non-research question sentence set;
[0039] The first degree of overlap between the verification research question sentence set and the multiple research question sentences in the verification set, and the second degree of overlap between the verification non-research question sentence set and the multiple non-research question sentences in the verification set are respectively counted, and the statistical results are weightedly calculated to obtain the model output accuracy based on the weighted calculation results.
[0040] Furthermore, the model output accuracy is obtained, and then step S200 of the embodiment of the present application further includes:
[0041] Determine whether the model output accuracy meets a preset accuracy threshold, and if not, update the network parameters of the pre-trained model according to the model output accuracy, and use the updated pre-trained model to perform supervised learning on the next set of training sets;
[0042] If yes, the training is completed and the target initial classification and recognition model is obtained.
[0043] In one possible embodiment, the Q research question sentences and the P non-research question sentences are used as training data, and the differences between research question sentences and non-research question sentences are learned to supervise the pre-training model, thereby obtaining a target initial classification recognition model. The pre-training model is a RoBERTa model, which is a pre-training language model based on the Transformer architecture proposed by Facebook AI, aiming to improve the performance and generalization ability of natural language processing tasks. The noise is greatly eliminated by pre-training, thereby improving the model efficiency and generalization ability. The target initial classification recognition model is a functional model for identifying research question sentences in the corpus in the scientific literature database.
[0044] In one embodiment, the training data consisting of the Q research question sentences and the P non-research question sentences are divided into a training set and a verification set according to a preset ratio, wherein the preset ratio is an arbitrary ratio preset by a person skilled in the art, and preferably, the preset ratio is 2:1. The training set is used to train the pre-trained model, and the verification set is used to verify the output accuracy of the pre-trained model. By dividing the training set into n groups, the pre-trained model is trained in turn using the n groups of training sets respectively, the classification of question sentences is learned, and the multiple research question sentences and non-research question sentences in the verification set are input into the pre-trained model to obtain a set of verified research question sentences and a set of verified non-research question sentences, thereby analyzing the output accuracy of the pre-trained model.
[0045] Optionally, by respectively counting the first degree of overlap between the verification research question sentence set and the multiple research question sentences in the verification set, and the second degree of overlap between the verification non-research question sentence set and the multiple non-research question sentences in the verification set, that is, by performing consistency analysis on the verification research question sentence set and the multiple research question sentences in the verification set, and counting the number of identical research question sentences compared with the total number of multiple research question sentences in the verification set, the first degree of overlap is obtained.
[0046] The first overlap reflects the similarity between the verification research problem sentence set and the multiple research problem sentences in the verification set. The higher the first overlap, the higher the corresponding similarity. Based on the same principle, the consistency analysis is performed on the verification non-research problem sentence set and the multiple non-research problem sentences in the verification set to obtain the corresponding second overlap. The first overlap and the second overlap are weightedly calculated according to the weight ratio set by technicians in this field, and the model output accuracy is obtained according to the weighted calculation result.
[0047] Optionally, it is determined whether the model output accuracy meets the preset accuracy threshold. If not, it indicates that the model output accuracy does not meet the requirements at this time, and the network parameters of the pre-trained model are updated according to the size of the model output accuracy. Preferably, the greater the difference between the model output accuracy and the preset accuracy threshold, the greater the amplitude of updating the network parameters, and the updated pre-trained model is used to supervise the next set of training sets. If yes, it indicates that the model output accuracy meets the requirements, and the training is completed at this time, and the target initial classification recognition model is obtained.
[0048] Step S300: using the target initial classification recognition model to iteratively recognize the scientific literature database to obtain a corpus of research question sentences;
[0049] In a possible embodiment, the research question sentence corpus is obtained by inputting all the scientific and technological documents in the scientific and technological document database into the target initial classification recognition model for semi-automatic annotation, manually verifying the research question sentences in the output results, and eliminating the non-research question sentences in the output results. The research question sentence corpus provides basic data for subsequent feature word analysis and extraction.
[0050] Step S400: performing cluster analysis on the parts of speech and syntactic structures of the research question sentences in the research question sentence corpus to obtain target parts of speech and target structural positions;
[0051] Further, the part of speech and syntactic structure of the research question sentences in the research question sentence corpus are clustered and analyzed to obtain the target part of speech and target structure position. Step S400 of the embodiment of the present application further includes:
[0052] Perform keyword recognition on the research question sentence corpus to obtain a keyword set, wherein the keyword set includes K keywords, wherein the K keywords have K part-of-speech identifiers and K structural position identifiers;
[0053] The majority of the K part-of-speech tags is used as the target part-of-speech;
[0054] Retrieving the K keywords using the target part of speech as an index to obtain a target keyword set;
[0055] Cluster analysis is performed based on the target keyword set and the K structure position identifiers to determine the target structure position.
[0056] In one possible embodiment, a cluster analysis is performed on the parts of speech and syntactic structures of the keywords in all the research question sentences in the research question sentence corpus to determine the parts of speech that best represent the research question sentences and the syntactic structure positions of the keywords in the research question sentences, and to obtain the target parts of speech and the target structure positions.
[0057] Optionally, keyword recognition is performed on the research question sentence corpus using a keyword extraction algorithm, and the keyword extraction algorithm may be TF-IDF (Term Frequency-Inverse Document Frequency), TextRank, LSA (Latent Semantic Analysis), LDA (Latent Dirichlet Allocation), etc., and the keyword set is obtained after recognition. The keyword set includes K keywords, wherein the K keywords have K part-of-speech identifiers and K structural position identifiers. Part-of-speech identifiers include nouns, verbs, adjectives, adverbs, pronouns, etc. Structural position identifiers include predicates, objects, subjects, etc.
[0058] For example, in the research question sentence “To investigate(upos:VERB,xpos:VB)and quantifythe potential relationship between food groups and liver cancer.”, “investigate(upos:VERB,xpos:VB)” indicates that the part of speech of “investigate” is “VERB(verb)”, and the syntactic structure type in the sentence is “VB(predicate, basic form)”. In the research question sentence “We studied(upos:VERB,xpos:VBD)prospectively the association of inflammatory and metabolic biomarkerswith risks of hepatocellular carcinoma(HCC).”, “studied(upos:VERB,xpos:VBD)” indicates that the part of speech of “studied” is “VERB(verb)”, and the syntactic structure type in the sentence is “VBD(predicate, past tense)”.
[0059] Optionally, count the number of different types of part-of-speech tags respectively, and take the part-of-speech tag corresponding to the maximum number of occurrences as the target part-of-speech, such as verb. Then, search the K keywords with the target part-of-speech as an index to obtain a target keyword set. Among them, the parts of speech in the target keyword set are all target parts of speech.
[0060] Optionally, the K structure position identifiers are extracted with the target keyword set as an index to obtain a structure position identifier set, and the mode in the structure position identifier set is extracted to obtain the target structure position.
[0061] Step S500: using the target structure position as an index, searching the research question sentence corpus, extracting feature words at the target structure position, and obtaining a feature word set;
[0062] In a possible embodiment, by taking the target structure position as an index, a feature word search is performed on multiple research question sentences in the research question sentence corpus, and the feature words at the target structure position in the multiple research question sentences are extracted to obtain a feature word set. The feature word set is the feature words that best reflect the research question sentences in the research question sentence corpus, including feature words such as research, study, and problem.
[0063] Step S600: performing word frequency analysis on the feature word set to construct a feature weight vector mapping layer;
[0064] Furthermore, the word frequency analysis is performed on the feature word set to construct a feature weight vector mapping layer. Step S600 of the embodiment of the present application further includes:
[0065] Using the feature word type as an index, searching the feature word set to obtain M frequency identifiers of the M feature words;
[0066] The M characteristic words are used as M characteristic particles, and the M characteristic particles are identified by using the M frequency identifiers, and a word frequency screening space is constructed according to the M characteristic particles;
[0067] Randomly select a first characteristic particle from the word frequency screening space, count the number of multiple characteristic particles in a first region, and obtain a first statistic, wherein the first region is a region constructed with the first characteristic particle as the center and a preset first step length as the radius;
[0068] The preset first step length is randomly adjusted in direction according to a preset amplitude to obtain a first adjustment step length, and the number of multiple characteristic particles in the second area is counted to obtain a second statistic, wherein the first adjustment step length has a first adjustment direction, and the second area is an area constructed with the first characteristic particle as the center and the first adjustment step length as the radius.
[0069] Furthermore, after obtaining the second statistic, step S600 in the embodiment of the present application further includes:
[0070] Determine whether the difference between the second statistic and the first statistic meets a preset difference, and if so, continue to adjust the first adjustment step size according to the preset amplitude in the first adjustment direction;
[0071] If not, the multiple characteristic particles in the first area are taken as the first characteristic particle cluster, the first statistic is used to identify the first characteristic particle cluster, and the first characteristic particle cluster is eliminated from the word frequency screening space to obtain an updated word frequency screening space, and the second characteristic particle is randomly selected from the updated word frequency screening space again.
[0072] Furthermore, step S600 in the embodiment of the present application further includes:
[0073] Determine a particle cluster based on the second characteristic particles to obtain a second characteristic particle cluster;
[0074] After multiple elimination and adjustments, multiple characteristic particle clusters are obtained;
[0075] Respectively calculating the ratios of the plurality of statistical quantities of the plurality of characteristic particle clusters to the sum of the plurality of statistical quantities of the plurality of characteristic particle clusters to obtain a plurality of characteristic weights;
[0076] A plurality of feature word mapping sets are obtained based on the plurality of feature particle cluster mappings, and the feature weight vector mapping layer is constructed in combination with the plurality of feature weights, wherein the plurality of feature word mapping sets correspond one-to-one to the plurality of feature weights.
[0077] In a possible embodiment, the weights corresponding to different feature words are determined based on the frequencies of different types of feature words in the feature word set appearing in multiple research question sentences in the research question sentence corpus, thereby paving the way for the subsequent direct integration of the syntactic structure features and weight information of the research question sentences into the target initial classification recognition model.
[0078] In an embodiment of the present application, a search is performed in the feature word set with the feature word type as an index to obtain M frequency identifiers of the M feature words. The frequency identifier reflects the number of times the feature word appears in the research question sentence corpus. Furthermore, the M feature words are used as M feature particles, and the M feature particles are identified using the M frequency identifiers, and a word frequency screening space is constructed based on the M feature particles. The word frequency screening space is used to perform cluster analysis on feature particles with close word frequencies, thereby avoiding overly detailed weight division and increasing the computing power demand burden. The technical effect of improving recognition efficiency is achieved on the basis of ensuring the rationality of weight division corresponding to feature words of different frequencies.
[0079] Then, a first characteristic particle is randomly selected from the word frequency screening space, and the number of multiple characteristic particles in a first region is counted to obtain a first statistic, wherein the first region is a region constructed with the first characteristic particle as the center and the first step length as the radius. The first statistic reflects the number of particles gathered around the first characteristic particle.
[0080] Then, the preset first step length is randomly adjusted in direction according to the preset amplitude, and optionally, the random direction can be positive and negative. The positive direction is the direction of the preset first step length superimposed on the preset amplitude, and the negative direction is the direction of the preset first step length minus the preset amplitude. After adjustment, a first adjustment step length is obtained. The number of multiple characteristic particles in the second region is counted to obtain a second statistic, wherein the first adjustment step length has a first adjustment direction, and the second region is a region constructed with the first characteristic particle as the center and the first adjustment step length as the radius.
[0081] Furthermore, determine whether the difference between the second statistic and the first statistic meets the preset difference. If so, it indicates that the sizes of different adjustment steps have a greater impact on the number of particles aggregated around the first characteristic particle. At this time, it is necessary to continue to adjust the first adjustment step according to the preset amplitude in the first adjustment direction.
[0082] If not, it indicates that the distribution of characteristic particles outside the first region is relatively loose. At this time, the size of the adjustment step is adjusted again, and the gain of the effect on the number of particles gathered around the first characteristic particle is relatively low. At this time, the multiple characteristic particles in the first region are taken as the first characteristic particle cluster, and the first statistic is used to identify the first characteristic particle cluster.
[0083] Then, the first characteristic particle cluster is removed from the word frequency screening space to obtain an updated word frequency screening space, and a second characteristic particle is randomly selected from the updated word frequency screening space again.
[0084] By, based on the same calculation principle as the first characteristic particle cluster, determining the particle cluster according to the second characteristic particle and the preset first step length, a second characteristic particle cluster is obtained. After multiple elimination adjustments, until all characteristic particles in the word frequency screening space are divided into characteristic particle clusters, multiple characteristic particle clusters are obtained.
[0085] Furthermore, the ratios of the multiple statistics of the multiple feature particle clusters to the sum of the multiple statistics of the multiple feature particle clusters are respectively counted to obtain multiple feature weights. The feature particle clusters with larger statistics have higher importance for the recognition of the research question sentence, and the larger the feature weight assigned at this time. Based on the mapping of the multiple feature particle clusters, multiple feature word mapping sets are obtained, and the feature weight vector mapping layer is constructed in combination with the multiple feature weights, wherein the multiple feature word mapping sets correspond to the multiple feature weights one by one. The feature weight vector mapping layer is obtained by constructing a mapping relationship between the feature words in the multiple feature word mapping sets and the corresponding multiple feature weights.
[0086] Step S700: Connecting the feature weight vector mapping layer to the output layer of the target initial classification recognition model to obtain a target classification recognition model.
[0087] By connecting the feature weight vector mapping layer with the output layer of the target initial classification recognition model, when the target initial classification recognition model outputs the feature word list of the sentence, the feature words in the feature word list are matched with the feature words in the feature weight vector weight mapping layer in turn. If the match is successful, the feature weight in the feature weight vector weight mapping layer is used as the feature vector weight of the feature word in the feature word list of the output sentence. If the match is unsuccessful, the weight value is 0. After weighted calculation of the feature weight and the output result of the target initial classifier recognition model, a score is obtained, and whether it is a research problem sentence is determined according to the score.
[0088] In summary, the embodiments of the present application have at least the following technical effects:
[0089] This application obtains Q research question sentences and P non-research question sentences by annotating and identifying question sentences in the scientific literature database, and then uses the obtained target initial classification recognition model to iteratively recognize the scientific literature database to obtain a corpus of research question sentences, and then performs cluster analysis to obtain the target part of speech and target structure position, and obtains a feature word set by extracting feature words at the target structure position, and then performs word frequency analysis on the feature word set, constructs a feature weight vector mapping layer, and then connects the feature weight vector mapping layer to the output layer of the target initial classification recognition model to obtain a target classification recognition model. The technical effect of integrating the feature words of the research question sentences and the importance of the feature words and improving the classification accuracy is achieved.
[0090] Embodiment 2
[0091] Based on the same inventive concept as the method for identifying problem sentences in scientific literature research in the above-mentioned embodiment, Figure 2 As shown, the present application provides a method system for identifying problem sentences in scientific and technological literature research. The system and method embodiments in the present application embodiments are based on the same inventive concept. The system includes:
[0092] A question sentence obtaining module 11 is used to extract multiple scientific and technological documents from a scientific and technological document database to identify research question sentences, and obtain Q research question sentences and P non-research question sentences;
[0093] An initial classification recognition model acquisition module 12 is used to use the Q research question sentences and the P non-research question sentences as training data, and use a pre-training model to classify and learn the training data to obtain a target initial classification recognition model;
[0094] A question sentence corpus acquisition module 13 is used to iteratively identify the scientific literature database using the target initial classification recognition model to obtain a research question sentence corpus;
[0095] A target structure position obtaining module 14 is used to perform cluster analysis on the parts of speech and syntactic structures of the research question sentences in the research question sentence corpus to obtain target parts of speech and target structure positions;
[0096] A feature word set acquisition module 15 is used to search the research question sentence corpus with the target structure position as an index, extract the feature words at the target structure position, and obtain a feature word set;
[0097] A vector mapping layer construction module 16 is used to perform word frequency analysis on the feature word set and construct a feature weight vector mapping layer;
[0098] The target classification and recognition model acquisition module 17 is used to connect the feature weight vector mapping layer with the output layer of the target initial classification and recognition model to obtain the target classification and recognition model.
[0099] Furthermore, the initial classification recognition model acquisition module 12 is used to perform the following steps:
[0100] Dividing the training data consisting of the Q research question sentences and the P non-research question sentences into a training set and a validation set according to a preset ratio;
[0101] The training set is divided into n groups, the pre-training model is trained in sequence to learn the classification of question sentences, and a plurality of research question sentences and non-research question sentences in the verification set are input into the pre-training model to obtain a verification research question sentence set and a verification non-research question sentence set;
[0102] The first degree of overlap between the verification research question sentence set and the multiple research question sentences in the verification set, and the second degree of overlap between the verification non-research question sentence set and the multiple non-research question sentences in the verification set are respectively counted, and the statistical results are weightedly calculated to obtain the model output accuracy based on the weighted calculation results.
[0103] Furthermore, the initial classification recognition model acquisition module 12 is used to perform the following steps:
[0104] Determine whether the model output accuracy meets a preset accuracy threshold, and if not, update the network parameters of the pre-trained model according to the model output accuracy, and use the updated pre-trained model to perform supervised learning on the next set of training sets;
[0105] If yes, the training is completed and the target initial classification and recognition model is obtained.
[0106] Furthermore, the target structure position obtaining module 14 is used to perform the following steps:
[0107] Perform keyword recognition on the research question sentence corpus to obtain a keyword set, wherein the keyword set includes K keywords, wherein the K keywords have K part-of-speech identifiers and K structural position identifiers;
[0108] The majority of the K part-of-speech tags is used as the target part-of-speech;
[0109] Retrieving the K keywords using the target part of speech as an index to obtain a target keyword set;
[0110] Cluster analysis is performed based on the target keyword set and the K structure position identifiers to determine the target structure position.
[0111] Furthermore, the vector mapping layer construction module 16 is used to perform the following steps:
[0112] Using the feature word type as an index, searching the feature word set to obtain M frequency identifiers of the M feature words;
[0113] The M characteristic words are used as M characteristic particles, and the M characteristic particles are identified by using the M frequency identifiers, and a word frequency screening space is constructed according to the M characteristic particles;
[0114] Randomly select a first characteristic particle from the word frequency screening space, count the number of multiple characteristic particles in a first region, and obtain a first statistic, wherein the first region is a region constructed with the first characteristic particle as the center and a preset first step length as the radius;
[0115] The preset first step length is randomly adjusted in direction according to a preset amplitude to obtain a first adjustment step length, and the number of multiple characteristic particles in the second area is counted to obtain a second statistic, wherein the first adjustment step length has a first adjustment direction, and the second area is an area constructed with the first characteristic particle as the center and the first adjustment step length as the radius.
[0116] Furthermore, the vector mapping layer construction module 16 is used to perform the following steps:
[0117] Determine whether the difference between the second statistic and the first statistic meets a preset difference, and if so, continue to adjust the first adjustment step size according to the preset amplitude in the first adjustment direction;
[0118] If not, the multiple characteristic particles in the first area are taken as the first characteristic particle cluster, the first statistic is used to identify the first characteristic particle cluster, and the first characteristic particle cluster is eliminated from the word frequency screening space to obtain an updated word frequency screening space, and the second characteristic particle is randomly selected from the updated word frequency screening space again.
[0119] Furthermore, the vector mapping layer construction module 16 is used to perform the following steps:
[0120] Determine a particle cluster based on the second characteristic particles to obtain a second characteristic particle cluster;
[0121] After multiple elimination and adjustments, multiple characteristic particle clusters are obtained;
[0122] Respectively calculating the ratios of the plurality of statistical quantities of the plurality of characteristic particle clusters to the sum of the plurality of statistical quantities of the plurality of characteristic particle clusters to obtain a plurality of characteristic weights;
[0123] A plurality of feature word mapping sets are obtained based on the plurality of feature particle cluster mappings, and the feature weight vector mapping layer is constructed in combination with the plurality of feature weights, wherein the plurality of feature word mapping sets correspond one-to-one to the plurality of feature weights.
[0124] It should be noted that the above-mentioned sequence of the embodiments of the present application is only for description and does not represent the advantages and disadvantages of the embodiments. And the above-mentioned specific embodiments of this specification are described. Other embodiments are within the scope of the attached claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0125] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
[0126] This specification and drawings are merely exemplary illustrations of the present application and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, a person skilled in the art may make various modifications and variations to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the present application and its equivalents, the present application intends to include these modifications and variations.
Claims
1. A method for identifying problem sentences in scientific literature research, It is characterized in that The method comprises: Extract multiple scientific and technological documents from the scientific and technological literature database to identify research problem sentences, and obtain Q research problem sentences and P non-research problem sentences; Using the Q research question sentences and the P non-research question sentences as training data, using the pre-training model to perform classification learning on the training data to obtain a target initial classification recognition model; Iteratively identifying the scientific literature database using the target initial classification recognition model to obtain a corpus of research question sentences; Performing cluster analysis on the parts of speech and syntactic structures of the research question sentences in the research question sentence corpus to obtain target parts of speech and target structural positions; Using the target structure position as an index, searching the research question sentence corpus, extracting feature words at the target structure position, and obtaining a feature word set; Performing word frequency analysis on the feature word set to construct a feature weight vector mapping layer; Connecting the feature weight vector mapping layer to the output layer of the target initial classification recognition model to obtain a target classification recognition model; The Q research question sentences and the P non-research question sentences are used as training data, and the training data is classified and learned using a pre-training model to obtain a target initial classification recognition model. The method includes: Dividing the training data consisting of the Q research question sentences and the P non-research question sentences into a training set and a validation set according to a preset ratio; The training set is divided into n groups, the pre-training model is trained in sequence to learn the classification of question sentences, and a plurality of research question sentences and non-research question sentences in the verification set are input into the pre-training model to obtain a verification research question sentence set and a verification non-research question sentence set; Respectively counting the first overlap between the verification research question sentence set and the multiple research question sentences in the verification set and the second overlap between the verification non-research question sentence set and the multiple non-research question sentences in the verification set, and performing weighted calculation on the statistical results, and obtaining the model output accuracy according to the weighted calculation results; The method further comprises: obtaining the model output accuracy; Determine whether the model output accuracy meets a preset accuracy threshold, and if not, update the network parameters of the pre-trained model according to the model output accuracy, and use the updated pre-trained model to perform supervised learning on the next set of training sets; If yes, the training is completed and the target initial classification recognition model is obtained; Performing cluster analysis on the parts of speech and syntactic structures of the research question sentences in the research question sentence corpus to obtain target parts of speech and target structural positions, the method comprising: Perform keyword recognition on the research question sentence corpus to obtain a keyword set, wherein the keyword set includes K keywords, wherein the K keywords have K part-of-speech identifiers and K structural position identifiers; The majority of the K part-of-speech tags is used as the target part-of-speech; Retrieving the K keywords using the target part of speech as an index to obtain a target keyword set; Performing cluster analysis based on the target keyword set and the K structure position identifiers to determine the target structure position; Performing word frequency analysis on the feature word set and constructing a feature weight vector mapping layer, the method includes: Using the feature word type as an index, searching the feature word set to obtain M frequency identifiers of the M feature words; The M characteristic words are used as M characteristic particles, and the M characteristic particles are identified by using the M frequency identifiers, and a word frequency screening space is constructed according to the M characteristic particles; Randomly select a first characteristic particle from the word frequency screening space, count the number of multiple characteristic particles in a first region, and obtain a first statistic, wherein the first region is a region constructed with the first characteristic particle as the center and a preset first step length as the radius; The preset first step length is randomly adjusted in a direction according to a preset amplitude to obtain a first adjustment step length, and the number of multiple characteristic particles in the second region is counted to obtain a second statistical quantity, wherein the first adjustment step length has a first adjustment direction, and the second region is a region constructed with the first characteristic particle as the center and the first adjustment step length as the radius; After obtaining the second statistic, the method further comprises: Determine whether the difference between the second statistic and the first statistic meets a preset difference, and if so, continue to adjust the first adjustment step size according to the preset amplitude in the first adjustment direction; If not, the plurality of characteristic particles in the first region are taken as a first characteristic particle cluster, the first statistic is used to identify the first characteristic particle cluster, and the first characteristic particle cluster is removed from the word frequency screening space to obtain an updated word frequency screening space, and a second characteristic particle is randomly selected from the updated word frequency screening space again; The method further comprises: Determine a particle cluster based on the second characteristic particles to obtain a second characteristic particle cluster; After multiple elimination and adjustments, multiple characteristic particle clusters are obtained; Respectively calculating the ratios of the plurality of statistical quantities of the plurality of characteristic particle clusters to the sum of the plurality of statistical quantities of the plurality of characteristic particle clusters to obtain a plurality of characteristic weights; A plurality of feature word mapping sets are obtained based on the plurality of feature particle cluster mappings, and the feature weight vector mapping layer is constructed in combination with the plurality of feature weights, wherein the plurality of feature word mapping sets correspond one-to-one to the plurality of feature weights.
2. A method system for identifying problem sentences in scientific literature research, It is characterized in that The system is used to execute the method according to claim 1, and the system comprises: A question sentence acquisition module is used to extract multiple scientific and technological documents from the scientific and technological document database to identify research question sentences, and obtain Q research question sentences and P non-research question sentences; An initial classification recognition model acquisition module is used to use the Q research question sentences and the P non-research question sentences as training data, and use a pre-training model to classify and learn the training data to obtain a target initial classification recognition model; A question sentence corpus acquisition module is used to iteratively identify the scientific literature database using the target initial classification recognition model to obtain a research question sentence corpus; A target structure position acquisition module is used to perform cluster analysis on the parts of speech and syntactic structures of the research question sentences in the research question sentence corpus to obtain target parts of speech and target structure positions; A feature word set acquisition module is used to search the research question sentence corpus with the target structure position as an index, extract the feature words at the target structure position, and obtain a feature word set; A vector mapping layer construction module is used to perform word frequency analysis on the feature word set and construct a feature weight vector mapping layer; The target classification recognition model acquisition module is used to connect the feature weight vector mapping layer with the output layer of the target initial classification recognition model to obtain the target classification recognition model.
Citation Information
Patent Citations
Chinese comparative sentence recognizing method and device based on neural network
CN104021115A
Method for extracting technical problems in patent literature and related equipment
CN115640375A
