Information processing method and device, electronic equipment and storage medium

By identifying and matching information types on target documents, combined with standard reference information and large language models, the problem that the existing system cannot automatically identify subjective questions and fill-in-the-blank questions is solved, and the identification efficiency and accuracy are improved.

CN118736612APending Publication Date: 2024-10-01BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410804842.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The existing grading system based on answer sheets cannot automatically identify subjective questions and fill-in-the-blank objective questions, resulting in high manpower consumption.

Method used

By identifying the information type of the target document, the standard reference information set is used to match the first type of information with standard reference information, and the pre-trained large language model is used to match the second type of information without standard reference information, and the matching results of the two are combined Determine final target matching results.

Benefits of technology

It improves the accuracy and efficiency of information matching, reduces the impact of subjective factors on the matching results, and realizes automatic identification of subjective questions and fill-in-the-blank questions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118736612A_ABST
    Figure CN118736612A_ABST
Patent Text Reader

Abstract

The invention provides an information processing method and device, electronic equipment and a storage medium, and the method comprises the steps: recognizing a target document, and obtaining a first-class information set and a second-class information set; based on the standard reference information set of the target document, performing information matching on the first type of information; based on the target large language model, performing information matching on the second type of information; and determining a target matching result of the target document based on the matching result of the first type of information and the matching result of the second type of information. The information type of the target document is identified, the standard reference information set is adopted to carry out information matching on the first type of information with the standard reference information, and the target large language model is adopted to carry out information matching on the second type of information without the standard reference information, so that the accuracy and efficiency of information matching are improved, and the user experience is improved. And meanwhile, the second type of information without the standard reference information is subjected to information matching through the target large language model, so that the influence of subjective factors on an information matching result can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, specifically to the field of artificial intelligence technology such as natural language processing and deep learning, and in particular to an information processing method, device, electronic device and storage medium. Background Art

[0002] Currently, in the answer sheet-based grading system, only objective questions of the multiple-choice type can be automatically identified. There is no automated recognition process for subjective questions and fill-in-the-blank objective questions. For example, there are a large number of fill-in-the-blank questions in the biology, geography, and chemistry subjects in junior and senior high schools, and the only way to grade the questions is to rely on teachers of the corresponding subjects, which is quite labor-intensive. Summary of the invention

[0003] The present disclosure provides an information processing method, device, electronic device and storage medium.

[0004] According to a first aspect of the present disclosure, there is provided an information processing method, comprising: identifying the information type of a target document, obtaining a first information set and a second information set, wherein the first information set includes first information corresponding to standard reference information, and the second information set includes second information not corresponding to standard reference information; performing information matching on the first information based on the standard reference information set of the target document; performing information matching on the second information based on a pre-trained target large language model; and determining a target matching result of the target document based on the matching result of the first information and the matching result of the second information.

[0005] According to a second aspect of the present disclosure, there is provided an information processing device, comprising: an identification module, for identifying the information type of a target document, and obtaining a first information set and a second information set, wherein the first information set includes first information corresponding to standard reference information, and the second information set includes second information not corresponding to standard reference information; a determination module, for information matching the first information based on the standard reference information set of the target document; a matching module, for matching the second information based on a pre-trained target large language model to obtain a matching result of the second information; and a scoring module, for determining a target matching result of the target document based on the matching result of the first information and the matching result of the second information.

[0006] According to a third aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the information processing method described in the above-mentioned one aspect embodiment.

[0007] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, on which a computer program / instructions are stored, and the computer instructions are used to enable the computer to execute the information processing method described in the above-mentioned embodiment.

[0008] According to a fifth aspect of the present disclosure, a computer program product is provided, including a computer program / instruction, wherein when the computer program / instruction is executed by a processor, the information processing method described in the above-mentioned first embodiment is implemented.

[0009] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description.

[0010] By identifying the information type of the target document, using the standard reference information set to match the first type of information with standard reference information, and using the target large language model to match the second type of information that does not have corresponding standard reference information, the accuracy and efficiency of information matching are improved. At the same time, by using the target large language model to match the second type of information without standard reference information, the influence of subjective factors on the information matching results can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0012] Figure 1 A flowchart of an information processing method provided by an embodiment of the present disclosure;

[0013] Figure 2 A flowchart of another information processing method provided by an embodiment of the present disclosure;

[0014] Figure 3 A flowchart of another information processing method provided by an embodiment of the present disclosure;

[0015] Figure 4 A schematic diagram of the structure of an information processing device provided by an embodiment of the present disclosure;

[0016] Figure 5A block diagram of an electronic device according to an information processing method of an embodiment of the present disclosure. DETAILED DESCRIPTION

[0017] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0018] The information processing method, apparatus, and electronic device according to the embodiments of the present disclosure are described below with reference to the accompanying drawings.

[0019] Deep Learning (DL) is a new research direction in the field of Machine Learning (ML). It is introduced into machine learning to make it closer to its original goal - artificial intelligence. Deep learning is the internal laws and representation levels of learning sample data. The information obtained in the learning process is of great help in the interpretation of data such as text, images and sounds. Its ultimate goal is to enable machines to have analytical learning capabilities like humans and to recognize data such as text, images and sounds. Deep learning is a complex machine learning algorithm that has achieved results in speech and image recognition that far exceed previous related technologies.

[0020] Natural Language Processing (NLP) is an important direction in the fields of computer science and artificial intelligence. It studies various theories and methods that can achieve effective communication between people and computers using natural language. Natural language processing is a science that integrates linguistics, computer science, and mathematics. Therefore, research in this field will involve natural language, that is, the language people use in daily life, so it is closely related to the study of linguistics, but there are important differences. Natural language processing is not a general study of natural language, but the development of computer systems that can effectively realize natural language communication, especially the software systems therein. Therefore, it is part of computer science.

[0021] Figure 1 A flowchart of an information processing method provided by an embodiment of the present disclosure.

[0022] like Figure 1 As shown, the information processing method may include:

[0023] S101, identifying the information type of the target document, obtaining a first information set and a second information set, wherein the first information set includes first information corresponding to standard reference information, and the second information set includes second information not corresponding to standard reference information.

[0024] It should be noted that, in the embodiments of the present disclosure, the first type of information set is an information set with fixed information reference information, and the first type of information set may include multiple types of information. Taking the processing of examination papers as an example, the first type of information may include multiple-choice questions, true-or-false questions, and fill-in-the-blank questions with fixed reference information.

[0025] The second type of information set is information with certain logical thinking and subjective factors. The second type of information does not have fixed reference information, and different respondents may answer with different reference information. The second type of information set can include multiple types of information. Taking the processing of examination papers as an example, it can include open-ended fill-in-the-blank questions, questions with a logical order, and subjective questions.

[0026] It should be noted that there are many methods for identifying the information type of the target document, which are not limited here. In a possible implementation, the information type of the information to be processed can be determined by identifying the information identifier in the target document.

[0027] S102, performing information matching on the first category of information based on the standard reference information set of the target document.

[0028] It should be noted that the standard reference information set is pre-set and is the correct reference information for the first information. For any information, when the reference information in the target document is exactly the same as the standard reference information, the information can be matched as correct.

[0029] In the embodiment of the present disclosure, the matching result of the first category of information can be determined by inputting the standard reference information set and the first category of information set into a scoring model, and the scoring model is trained in advance.

[0030] Taking the processing of test papers as an example, when the test taker's answer is exactly the same as the standard answer, the test question can get the corresponding score.

[0031] S103, performing information matching on the second type of information based on the pre-trained target large language model.

[0032] It should be noted that the target large language model is a model for scoring the second type of information, which is trained in advance and stored in the storage space of the electronic device for easy retrieval when needed.

[0033] It should be noted that since the second category of information has no fixed reference information, when training the target large language model, the past second category information and its corresponding reference information can be used as training samples. The reference information can be information generated by other people in the past who have processed this type of target text, and can also be information that identifies suggestions or preferences.

[0034] S104: Determine a target matching result of the target document based on the matching result of the first type of information and the matching result of the second type of information.

[0035] In the disclosed embodiment, the target document is first identified for its information type, and a first information set and a second information set are obtained, wherein the first information set includes first information corresponding to standard reference information, and the second information set includes second information not corresponding to standard reference information. Then, based on the standard reference information set of the target document, information matching is performed on the first information, and then based on the pre-trained target large language model, information matching is performed on the second information. Finally, based on the matching results of the first information and the matching results of the second information, the target matching result of the target document is determined. Thus, by identifying the information type of the target document, the standard reference information set is used to match the first information with standard reference information, and the target large language model is used to match the second information without standard reference information, the accuracy and efficiency of information matching are improved. At the same time, the target large language model is used to match the second information without standard reference information, which can reduce the influence of subjective factors on the information matching results.

[0036] In the disclosed embodiment, based on the standard reference information set of the target document, information matching is performed on a type of information. First, the information sequence and reply information of the first type of information can be obtained. Then, based on the information sequence, the standard reference information corresponding to the first type of information can be determined from the standard reference information set of the target document. Finally, the matching result of the first type of information can be determined based on the reply information and the standard reference information. Therefore, after identifying that the information is the first type of information, the matching result of the first type of information can be accurately determined by obtaining the standard reference information set, providing a data basis for the subsequent determination of the target matching result.

[0037] In the above embodiment, the second type of information is matched based on the pre-trained target large language model, and the second type of information can also be matched by Figure 2 Explaining further, the method includes:

[0038] S201, obtaining the information type of the second category of information.

[0039] S202, extracting information subject and reply information from the second category of information.

[0040] In the embodiment of the present disclosure, there may be many methods for extracting information topics and reply information from the second category of information, and no limitation is made here.

[0041] In one possible implementation, the second category of information may be processed by a natural language algorithm, and the information subject and reply information in the second category of information may be determined by analysis.

[0042] In another possible implementation, the second category of information may also be input into a text extraction model for processing, and the information subject and reply information in the second category of information may be output through the text extraction model.

[0043] S203, inputting the information subject and reply information of the second category information, as well as the information type, into the target large language model, and matching the reply information of the second category information with the target large language model to obtain a matching result of the second category information.

[0044] In the disclosed embodiment, the matching logic corresponding to the second type of information can be determined according to the information type, and the target large language model can match the reply information of the second type of information based on the matching logic to obtain the matching result of the second type of information.

[0045] In the disclosed embodiment, the target large language model matches the reply information of the second category of information to obtain the matching result of the second category of information. The matching logic corresponding to the second category of information can be determined according to the information type, and the target large language model matches the reply information of the second category of information based on the matching logic to obtain the matching result of the second category of information.

[0046] Since the second type of information does not have clear reference information, but under the premise of conforming to public conscience, there will be one or more answering logics, that is, the judgment logic when scoring the second type of information. It should be noted that the judgment logic can be one or more, and there is no limitation here. It needs to be limited according to the actual information.

[0047] It is to be noted when necessary that the matching logic may be obtained by analyzing the target large language model based on the second type of information, or may be obtained through other means, such as by analyzing the second type of information through a judgment logic determination model.

[0048] In the disclosed embodiment, the information type of the second type of information is first obtained, and then the information subject and reply information are extracted from the second type of information. Finally, the information subject and reply information of the second type of information, as well as the information type, are input into the target large language model, and the target large language model matches the reply information of the second type of information to obtain the matching result of the second type of information. Thus, by matching the second type of information with the target large language model, the efficiency of matching the divergent information can be improved, and the influence of personal subjective factors on the information matching result can be reduced.

[0049] In the above embodiment, the training process of the target large language model can also be performed by Figure 3 Explaining further, the method includes:

[0050] S301, obtaining matched historical documents, and extracting second-category information corresponding to different information types from the historical documents.

[0051] S302: For each information type, determine a sample information set of the information type according to the second type of information extracted from the historical documents corresponding to the information type.

[0052] S303: Based on sample information sets of different information types, the initial large language model is trained to obtain a target large language model.

[0053] It should be noted that different information types can be processed by the same large language model. In a possible implementation, different information types may also correspond to different initial large language models, which is not limited here.

[0054] In the disclosed embodiment, based on sample information sets of different information types, the initial large language model is trained to obtain a target large language model. First, the model training nodes corresponding to the different information types are determined, and the sample information sets of the corresponding information types are sent to the model training nodes. Then, the initial large language model is trained on the model training nodes according to the sample information sets of the information types to obtain the target large language model. Thus, by training the large language models for different information types to obtain the target large language model, the trained target large language model can solve the second type of information corresponding to different information types. At the same time, by matching information through the model, the influence of subjective factors on the information matching results can be greatly reduced.

[0055] It should be noted that, at the model training node, the initial large language model is trained according to the sample information set of the information type to obtain the target large language model. The initial large language model can be first trained on the model training node based on the sample information set of the information type to obtain the loss function of the model training node, and then the loss functions of the model training nodes are summarized to obtain the total loss function. Finally, the model parameters of the large language model are adjusted based on the total loss function and the training is continued until the training end conditions are met to obtain the target large language model.

[0056] It can be understood that model training is an iterative process, which is carried out by continuously adjusting the network parameters of the model until the overall loss function value of the model is less than the preset value, or the overall loss function value of the model no longer changes or changes slowly, the model converges, and a trained model is obtained.

[0057] It should be noted that the training termination conditions in the embodiments of the present disclosure may be various and are not limited here. For example, the termination condition may be that the total loss function is less than a loss threshold, which is set in advance and can be changed according to actual design needs. In another possible implementation, the termination condition may also be that the training time reaches a set time, the number of training times reaches a set number of times, etc.

[0058] In one possible implementation, the information types of the second category of information may include open-ended filling-in-the-blank type, logical reasoning type, and subjective type, and the loss function values ​​for each type may be calculated as shown below.

[0059] Optionally, the information type is an open-ended fill-in-the-blank type, and the sample information set includes first sample information of the open-ended fill-in-the-blank type. The standard reference information of the first sample information can be first obtained, and then the information subject and reply information of the first sample information, and the standard reference information are input into the large language model. The large language model matches the reply information of the first sample information based on the standard reference information to obtain a predicted matching result of the first sample information. Finally, based on the predicted matching result and the actual matching result of the first sample information, the loss function of the large language model is determined.

[0060] Optionally, the information type is a logical reasoning type, and the sample information set includes a second sample information of the logical reasoning type. The logical language expression related to the information belonging to the historical document can be first obtained, and the logical language expression can be understood in a natural language based on the large language model to obtain the natural language expression of the logical language expression. Then, the information subject and logical steps of the second sample information are input into the large language model, and the large language model matches the logical steps based on the natural language expression of the logical language expression of the belonging information to obtain the predicted matching result of the second sample information. Finally, based on the predicted matching result and the actual matching result of the second sample information, the loss function of the large language model is determined.

[0061] Optionally, the information type is subjective, and the sample information set includes third sample information of the subjective class. First, background knowledge related to the information of the historical document can be obtained, and the background knowledge can be understood based on the large language model to obtain the knowledge base of the information. Then, the information subject and reply information of the third sample information can be input into the large language model. The large language model matches the reply information of the third sample information based on the knowledge base of the information to obtain the predicted matching result of the third sample information. Finally, based on the predicted matching result and the actual matching result of the third sample information, the loss function of the large language model is determined.

[0062] When calculating the total loss function, the loss function values ​​corresponding to the open-ended fill-in-the-blank class, the logical reasoning class, and the subjective class can be calculated to obtain the total loss function value. There can be many methods for this calculation, and no limitation is made here. For example, taking the processing of test papers as an example, the above method can be used to calculate the loss function for the open-ended fill-in-the-blank class, the logical reasoning class, and the subjective class, and then the loss function values ​​corresponding to the open-ended fill-in-the-blank class, the logical reasoning class, and the subjective class are added to calculate the total loss function value. In this way, by calculating the loss values ​​of each model training node separately and then determining the overall loss function value, the target large language model finally trained can take into account different types of second-category information.

[0063] It should be noted that the training nodes in the disclosed embodiment are physical nodes for training different information types, and different training nodes can be trained separately. In the disclosed embodiment, distributed training can be achieved by inputting sample information sets corresponding to the training nodes, thereby improving the efficiency of training.

[0064] In the above embodiment, according to the second type of information extracted from the historical documents corresponding to the information type, the sample information set of the information type is determined. First, the second type of information extracted from the historical documents can be extracted to obtain the information subject, reply information and matching results of the second type of information as candidate sample information, and then the candidate sample information is cleaned and segmented to obtain the sample information set. Therefore, by extracting, cleaning and segmenting the second type of information, a better quality training sample can be provided for subsequent model training, thereby improving the effect of the final training.

[0065] It should be noted that there are many methods for extracting the second type of information, which are not limited here. In a possible implementation, the second type of information can be extracted by an information extraction model.

[0066] In one possible implementation, the initial large language model is trained based on sample information sets of different information types. After obtaining the target large language model, a test sample information set can be obtained, and the model performance of the target large language model can be verified based on the test sample information set. In this way, the performance of the target large language model can be tested by verifying the model performance of the target large language model through the test sample information set.

[0067] In another possible implementation, the initial large language model is trained based on sample information sets of different information types. After obtaining the target large language model, a fine-tuning instruction can be received, and the target large language model is fine-tuned based on the fine-tuning instruction to obtain the final target large language model. It should be noted that the fine-tuning instruction can be a fine-tuning instruction issued by the operator to the model based on the final training results after the training is completed. In another possible implementation, the fine-tuning instruction can also be an adjustment instruction generated after the model performance of the target large language model is verified.

[0068] In the disclosed embodiment, the matching results of multiple target documents can also be collected as the third sample information for model iteration, and the target large language model can be iterated based on the third sample information. In this way, the model can be adjusted according to the constantly updated document library to improve the practicality of the target large language model.

[0069] Taking the processing of the examination paper as an example, the stem of the examination paper is the information subject in the above embodiment, and the type of the question in the examination paper is the information type in the above embodiment.

[0070] The questions of the examination paper are scanned to obtain a first type of question set and a second type of question set, wherein the first type of questions in the first type of question set correspond to standard reference answers, and the second type of questions in the second type of question set do not correspond to standard reference answers. It can be understood that the first type of question set can be the first type of information set in the above embodiment, and the standard reference answer is the standard reference information in the above embodiment. The second type of question set can be the second type of information set in the above embodiment. The second type of question set can include open-ended fill-in-the-blank, logical reasoning and subjective questions. The first type of question set can include fill-in-the-blank questions and multiple-choice questions. It should be noted that the information theme of the examination paper can be obtained by identification, and can also be input in advance, and no limitation is made here. The answer to the first type of question in the first type of question set can be matched with the standard reference answer to obtain the score of the first type of question. The second type of question can be input into the large language model, and the large language model calls the corresponding test paper judgment logic according to the type of the second type of question, obtains the score of the second type of question, and finally adds the scores of the two types of questions to obtain the total score of the examination time. It is understandable that the large language model can be a test paper judgment model.

[0071] For example, if the second type of test questions are open-ended fill-in-the-blank questions, you can refer to the processing process of open-ended fill-in-the-blank questions of information type; if the second type of test questions are logical reasoning questions, you can refer to the processing process of logical reasoning questions of information type; if the second type of test questions are subjective questions, you can refer to the processing process of subjective questions of information type. In some embodiments, historical test papers that have been judged are obtained, sample data is obtained from the historical test papers, and the large model is trained and fine-tuned.

[0072] Corresponding to the information processing methods provided in the above-mentioned embodiments, an embodiment of the present disclosure further provides an information processing device. Since the information processing device provided in the embodiment of the present disclosure corresponds to the information processing methods provided in the above-mentioned embodiments, the implementation methods of the above-mentioned information processing methods are also applicable to the information processing device provided in the embodiment of the present disclosure and will not be described in detail in the following embodiments.

[0073] Figure 4 The information processing device 400 is a schematic diagram of the structure of an information processing device provided by an embodiment of the present disclosure. The information processing device 400 includes: an identification module 410 , a determination module 420 , a matching module 430 and a scoring module 440 .

[0074] The identification module 410 is used to identify the information type of the target document and obtain a first information set and a second information set, wherein the first information set includes first information corresponding to standard reference information and the second information set includes second information not corresponding to standard reference information.

[0075] The determination module 420 is used to match the first type of information based on the standard reference information set of the target document.

[0076] The matching module 430 is used to match the second type of information based on the pre-trained target large language model to obtain a matching result of the second type of information.

[0077] The scoring module 440 is used to determine a target matching result of the target document based on the matching result of the first type of information and the matching result of the second type of information.

[0078] In the disclosed embodiment, the matching module 430 is also used to: obtain the information type of the second category of information; extract the information subject and reply information from the second category of information; input the information subject and reply information of the second category of information, as well as the information type, into the target large language model, and use the target large language model to match the reply information of the second category of information to obtain a matching result for the second category of information.

[0079] In the disclosed embodiment, the matching module 430 is also used to: determine the matching logic corresponding to the second category of information according to the information type, and match the reply information of the second category of information based on the matching logic by the target large language model to obtain the matching result of the second category of information.

[0080] In the disclosed embodiment, the matching module 430 is further used to: obtain matched historical documents, and extract second-category information corresponding to different information types from the historical documents; for each information type, determine a sample information set of the information type according to the second-category information extracted from the historical documents corresponding to the information type; and train an initial large language model based on the sample information sets of different information types to obtain a target large language model.

[0081] In the disclosed embodiment, the training process of the target large language model includes: determining the model training nodes corresponding to the different information types, and sending the sample information sets of the corresponding information types to the model training nodes; training the initial large language model according to the sample information sets of the information types on the model training nodes to obtain the target large language model.

[0082] In an embodiment of the present disclosure, an initial large language model is trained based on sample information sets of different information types to obtain a target large language model, including: determining model training nodes corresponding to different information types, and sending sample information sets of corresponding information types to the model training nodes; training the initial large language model according to the sample information sets of the information types on the model training nodes to obtain a target large language model.

[0083] In an embodiment of the present disclosure, an initial large language model is trained on a model training node according to a sample information set of information type to obtain a target large language model, including: training the initial large language model on the model training node based on the sample information set of information type to obtain a loss function of the model training node; summarizing the loss functions of the model training nodes to obtain a total loss function; adjusting model parameters of the large language model based on the total loss function and continuing training until a training end condition is met to obtain a target large language model.

[0084] In an embodiment of the present disclosure, a sample information set of an information type is determined based on the second category of information extracted from historical documents corresponding to the information type, including: performing information extraction on the second category of information extracted from the historical documents to obtain the information subject, reply information and matching results of the second category of information as candidate sample information; performing data cleaning and segmentation on the candidate sample information to obtain a sample information set.

[0085] In an embodiment of the present disclosure, the information type is an open-ended fill-in-the-blank type, and the sample information set includes first sample information of the open-ended fill-in-the-blank type. The method also includes: obtaining standard reference information of the first sample information; inputting the information subject and reply information of the first sample information, and the standard reference information into the large language model, and the large language model matches the reply information of the first sample information based on the standard reference information to obtain a predicted matching result of the first sample information; and determining the loss function of the large language model based on the predicted matching result and the actual matching result of the first sample information.

[0086] In an embodiment of the present disclosure, the information type is a logical reasoning type, and the sample information set includes second sample information of the logical reasoning type. The method also includes: obtaining a logical language expression related to the information belonging to the historical document, and performing natural language understanding on the logical language expression based on the large language model to obtain a natural language expression of the logical language expression; inputting the information subject and logical steps of the second sample information into the large language model, and the large language model matches the logical steps based on the natural language expression of the logical language expression of the belonging information to obtain a predicted matching result of the second sample information; and determining the loss function of the large language model based on the predicted matching result and the actual matching result of the second sample information.

[0087] In the disclosed embodiment, the information type is subjective, and the sample information set includes third sample information of the subjective class. The method also includes: obtaining background knowledge related to the information belonging to the historical document, understanding the background knowledge based on the large language model, and obtaining a knowledge base of the belonging information; inputting the information subject and reply information of the third sample information into the large language model, and the large language model matches the reply information of the third sample information based on the knowledge base of the belonging information to obtain a predicted matching result of the third sample information; and determining the loss function of the large language model based on the predicted matching result and the actual matching result of the third sample information.

[0088] In the disclosed embodiment, after the initial large language model is trained based on sample information sets of different information types to obtain the target large language model, it also includes: obtaining a test sample information set, and verifying the model performance of the target large language model based on the test sample information set.

[0089] In the disclosed embodiment, after the initial large language model is trained based on sample information sets of different information types to obtain the target large language model, it also includes: receiving fine-tuning instructions, and fine-tuning the target large language model based on the fine-tuning instructions to obtain the final target large language model.

[0090] In the disclosed embodiment, the method further includes: collecting matching results of multiple target documents as third sample information for model iteration, and performing model iteration on the target large language model based on the third sample information.

[0091] In the embodiment of the present disclosure, the determination module 420 is also used to: obtain the information sequence and reply information of the first category of information; based on the information sequence, determine the standard reference information corresponding to the first category of information from the standard reference information set of the target document; based on the reply information and the standard reference information, determine the matching result of the first category of information.

[0092] By identifying the information type of the target document, using the standard reference information set to match the first type of information with standard reference information, and using the target large language model to match the second type of information that does not have corresponding standard reference information, the accuracy and efficiency of information matching are improved. At the same time, by using the target large language model to match the second type of information without standard reference information, the influence of subjective factors on the information matching results can be reduced.

[0093] In the technical solution disclosed herein, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0094] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0095] Figure 5 A schematic block diagram of an example electronic device 500 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0096] like Figure 5 As shown, the device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program / instruction stored in a read-only memory (ROM) 502 or a computer program / instruction loaded from a storage unit 506 to a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the device 500 can also be stored. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0097] A number of components in the device 500 are connected to the I / O interface 505, including: an input unit 506 such as a keyboard, a mouse, etc.; an output unit 507 such as various types of displays, speakers, etc.; a storage unit 508 such as a disk, an optical disk, etc.; and a communication unit 509 such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 509 allows the device 500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0098] The computing unit 501 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 501 performs the various methods and processes described above, such as information processing methods. For example, in some embodiments, the information processing method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 506. In some embodiments, part or all of the computer program / instructions may be loaded and / or installed on the device 500 via ROM 502 and / or communication unit 509. When the computer program / instructions are loaded into RAM 503 and executed by the computing unit 501, one or more steps of the information processing method described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to perform the information processing method in any other appropriate manner (e.g., by means of firmware).

[0099] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs / instructions that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0100] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0101] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0102] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0103] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), the Internet, and a blockchain network.

[0104] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs / instructions running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0105] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in the disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in the disclosure can be achieved, and this document does not limit them here.

[0106] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. An information processing method, in, The method comprises: Identify the information type of the target document to obtain a first information set and a second information set, wherein the first information set includes first information corresponding to standard reference information, and the second information set includes second information not corresponding to standard reference information; Based on the standard reference information set of the target document, performing information matching on the first category of information; Based on the pre-trained target large language model, performing information matching on the second type of information; Based on the matching result of the first category of information and the matching result of the second category of information, a target matching result of the target document is determined.

2. The method according to claim 1, in, The performing information matching on the second type of information based on the pre-trained target large language model includes: Obtaining the information type of the second category of information; extracting information subject and reply information from the second type of information; The information subject and reply information of the second category of information, as well as the information type, are input into the target large language model, and the target large language model matches the reply information of the second category of information to obtain a matching result of the second category of information.

3. The method according to claim 2, in, The matching of the reply information of the second type of information by the target large language model to obtain the matching result of the second type of information includes: According to the information type, the matching logic corresponding to the second type of information is determined, and the target large language model matches the reply information of the second type of information based on the matching logic to obtain the matching result of the second type of information.

4. The method according to claim 2, in, The training process of the target large language model includes: Acquire matched historical documents, and extract second-category information corresponding to different information types from the historical documents; For each information type, determining a sample information set of the information type according to the second type of information extracted from the historical documents corresponding to the information type; Based on sample information sets of different information types, the initial large language model is trained to obtain the target large language model.

5. The method according to claim 4, in, The initial large language model is trained based on sample information sets of different information types to obtain the target large language model, including: Determine the model training nodes corresponding to the different information types, and send the sample information sets corresponding to the information types to the model training nodes; The initial large language model is trained on the model training node according to the sample information set of the information type to obtain the target large language model.

6. The method according to claim 5, in, The step of training the initial large language model according to the sample information set of the information type at the model training node to obtain the target large language model includes: Training an initial large language model based on the sample information set of the information type on the model training node to obtain a loss function of the model training node; Summarizing the loss functions of the model training nodes to obtain a total loss function; The model parameters of the large language model are adjusted based on the total loss function and training is continued until the training end condition is met to obtain the target large language model.

7. The method according to claim 4, in, The step of determining a sample information set of the information type according to the second type of information extracted from the historical document corresponding to the information type includes: Extracting the second type of information extracted from the historical documents, and obtaining information topics, reply information, and matching results of the second type of information as candidate sample information; The candidate sample information is cleaned and segmented to obtain the sample information set.

8. The method according to claim 6 or 7, in, The information type is an open-ended fill-in-the-blank type, the sample information set includes first sample information of the open-ended fill-in-the-blank type, and the method further includes: Acquire standard reference information of the first sample information; Inputting the information subject and reply information of the first sample information and the standard reference information into the large language model, and having the large language model match the reply information of the first sample information based on the standard reference information to obtain a predicted matching result of the first sample information; Based on the predicted matching result and the actual matching result of the first sample information, a loss function of the large language model is determined.

9. The method according to claim 6 or 7, in, The information type is a logical reasoning type, the sample information set includes second sample information of the logical reasoning type, and the method further includes: Acquire a logical language expression related to the information of the historical document, and perform natural language understanding on the logical language expression based on the large language model to acquire a natural language expression of the logical language expression; Inputting the information subject and the logical steps of the second sample information into the large language model, and matching the logical steps by the large language model based on the natural language expression of the logical language expression of the information to obtain a predicted matching result of the second sample information; Based on the predicted matching result and the actual matching result of the second sample information, a loss function of the large language model is determined.

10. The method according to claim 6 or 7, in, The information type is a subjective class, the sample information set includes third sample information of the subjective class, and the method further includes: Acquire background knowledge related to the information of the historical document, understand the background knowledge based on the large language model, and acquire a knowledge base of the information; Inputting the information subject and reply information of the third sample information into the large language model, and matching the reply information of the third sample information with the reply information of the third sample information based on the knowledge base of the corresponding information by the large language model to obtain a predicted matching result of the third sample information; Based on the predicted matching result and the actual matching result of the third sample information, a loss function of the large language model is determined.

11. The method according to claim 4, in, After the initial large language model is trained based on the sample information sets of different information types to obtain the target large language model, the method further includes: A test sample information set is obtained, and based on the test sample information set, model performance verification is performed on the target large language model.

12. The method according to claim 4, in, After the initial large language model is trained based on the sample information sets of different information types to obtain the target large language model, the method further includes: A fine-tuning instruction is received, and fine-tuning training is performed on the target large language model based on the fine-tuning instruction to obtain a final target large language model.

13. The method according to claim 4, in, The method further comprises: Matching results of multiple target documents are collected as third sample information for model iteration, and based on the third sample information, model iteration is performed on the target large language model.

14. The method according to claim 1, in, The performing information matching on the first category of information based on the standard reference information set of the target document includes: Obtaining the information sequence and reply information of the first type of information; Based on the information sequence, determining standard reference information corresponding to the first category of information from a standard reference information set of the target document; Based on the reply information and the standard reference information, a matching result of the first category of information is determined.

15. An information processing device, include: an identification module, configured to identify the information type of the target document, and obtain a first information set and a second information set, wherein the first information set includes first information corresponding to standard reference information, and the second information set includes second information not corresponding to standard reference information; A determination module, configured to perform information matching on the first category of information based on a standard reference information set of the target document; A matching module, used for matching the second type of information based on a pre-trained target large language model; A scoring module is used to determine a target matching result of the target document based on the matching result of the first category of information and the matching result of the second category of information.

16. An electronic device, include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 14.

17. A non-transitory computer-readable storage medium storing computer instructions, in, The computer instructions are used to enable the computer to execute the information processing method according to any one of claims 1 to 14.

18. A computer program product comprising a computer program / instructions, It is characterized in that When the computer program / instructions are executed by a processor, the information processing method according to any one of claims 1 to 14 is implemented.