Subject knowledge point sample generation method based on knowledge point graph
By performing knowledge point feature extraction and associated feature matching on the subject test question knowledge point map, subject knowledge point samples are generated, which solves the problem of low knowledge point display efficiency in the existing technology and achieves more efficient knowledge point display.
Patent Information
- Application Number
- CN202410697105.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-17
AI Technical Summary
In the existing technology, the knowledge point map of subject test questions cannot efficiently display related knowledge points in a visual form, resulting in low learning efficiency.
By extracting knowledge points from the target text paragraph, the target knowledge point features are obtained, and the associated knowledge point features are obtained based on the subject knowledge point map. The knowledge point paragraph generation model is used to generate subject knowledge point samples to improve the display efficiency of associated knowledge points.
Through artificial intelligence feature extraction and knowledge graph matching, subject knowledge point samples are generated, which improves the display efficiency of knowledge points and enables the role of the knowledge graph to be better exerted.
Smart Images

Figure CN118657203A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of knowledge point graphs, and in particular to a method for generating subject knowledge point samples based on an indicator graph. Background Art
[0002] The "Subject Test Questions and Knowledge Points Map" displays the knowledge relationship network between test questions and knowledge points in a visual way, and describes the relationship between subjects, test questions and knowledge points in a structured form. It is a digital teaching resource and teaching tool. Through the construction of the map, it can help teachers improve the quality of teaching in actual teaching, enhance the pertinence and effectiveness of teachers' teaching; promote students' understanding and mastery of knowledge, clarify the logical context of knowledge points, establish a knowledge system of subjects and test questions and knowledge points, realize personalized learning, and improve learning efficiency.
[0003] In related technologies, subject test knowledge point maps are usually provided directly to users in a visual form for learning. Users can understand the relationship between adjacent nodes based on the display of node correlation in the knowledge point map, and deduce the knowledge points they currently master based on the relationship between adjacent nodes, as well as plan subsequent learning.
[0004] However, the knowledge point display method in the related art can only display the node content and association relationship to the user, but cannot prompt the user in a visual form, resulting in low display efficiency of the subject knowledge representation method based on the knowledge point map in the related art. Summary of the invention
[0005] The present invention relates to a method for generating subject knowledge point samples based on a knowledge point map, which can improve the display efficiency of related knowledge points. The method is applied in a computer device, and the method includes: Extracting knowledge points from the target text paragraph to obtain at least one target knowledge point feature corresponding to the target text paragraph; Acquire at least two associated knowledge point features corresponding to the target knowledge point features based on the subject knowledge point graph; In response to receiving a knowledge point sample generation instruction, the knowledge point features are input into a knowledge point paragraph generation model, and a subject knowledge point sample corresponding to the target text paragraph is output, the form of the subject knowledge point sample being consistent with the form required by the knowledge point sample generation instruction.
[0006] In an optional embodiment, the subject knowledge point samples are implemented as knowledge point entry samples, knowledge point title samples, and knowledge point question type samples; The knowledge point entry sample is used to display at least one knowledge point feature; The knowledge point question samples are used to display questions corresponding to at least one knowledge point feature; The knowledge point question type samples are used to indicate a set of questions corresponding to the knowledge point features in the form of text paragraphs.
[0007] In an optional embodiment, knowledge points are extracted from the target text paragraph to obtain at least one target knowledge point feature corresponding to the target text paragraph, including: The target text paragraph is input into the knowledge point extraction model, and at least one target knowledge point feature corresponding to the target text paragraph is output. The knowledge point extraction model is implemented as a machine learning model.
[0008] In an optional embodiment, the knowledge point extraction model includes an Albert sub-model layer and an FC feed-forward network sub-model layer connected to each other; The Albert sub-model layer is used to label the target text paragraphs; The FC feedforward network sub-model layer is used to generate target knowledge point features.
[0009] In an optional embodiment, the target knowledge point features include intention category features and knowledge point content features; The intention category feature is used to characterize how the knowledge point is used in the question; Acquiring at least two associated knowledge point features corresponding to the target knowledge point features based on the subject knowledge point graph, including: The subject knowledge point map is matched with the target knowledge point features to obtain at least two associated knowledge point features associated with the knowledge point content features.
[0010] In an optional embodiment, the method further comprises: Construct a knowledge point graph, which includes entity content and relationship content; The entity content includes knowledge point content and question content, and the question content is annotated with at least one of question type attribute, answer attribute, answer analysis attribute and complexity attribute; The relationship content is used to represent the association between at least two entity contents. The relationship content corresponds to a relationship value. The relationship value is used to represent the relationship type. The relationship type includes a belongs to type and a contains type.
[0011] In an optional embodiment, the knowledge point sample generation instruction includes knowledge point sample form data, and the knowledge point sample form data is used to characterize the form of the subject knowledge point sample, and the form of the subject knowledge point sample corresponds to the intention category feature.
[0012] In an optional embodiment, the knowledge point paragraph generation model includes at least two sample generation sub-models; In response to receiving the knowledge point sample generation instruction, the knowledge point features are input into the knowledge point paragraph generation model, and the subject knowledge point samples corresponding to the target text paragraph are output, including: In response to receiving a knowledge point sample generation instruction, determining knowledge point sample form data in the knowledge point sample generation instruction; Configure the target sample generation sub-model based on the knowledge point sample form data; The knowledge point features are input into the target sample generation sub-model, and the subject knowledge point samples corresponding to the target text paragraph are output.
[0013] In an optional embodiment, the method further comprises: Get query fields; Determine the prompt words in the query field; Generate instructions for knowledge point samples based on prompt words.
[0014] The beneficial effects of the technical solution provided by this application include at least: After obtaining the target text paragraph, the knowledge point feature extraction is performed on the target text paragraph, and the corresponding associated knowledge point features are obtained based on the knowledge graph. After obtaining the associated knowledge point features, the subject knowledge point samples corresponding to the text paragraph are generated based on the knowledge point associated features. Through the feature extraction method based on artificial intelligence, combined with the knowledge graph, knowledge points are obtained based on the text paragraph, and the corresponding content is expanded to obtain subject knowledge point samples, so that the role of the knowledge graph can be brought into play, thereby improving the display efficiency of the associated knowledge points. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0016] Figure 1 A flowchart of a method for generating subject knowledge point samples based on a knowledge point graph provided by an exemplary embodiment of the present application is shown.
[0017] Figure 2 A flowchart of another method for generating subject knowledge point samples based on a knowledge point graph provided by an exemplary embodiment of the present application is shown. DETAILED DESCRIPTION
[0018] In order to make the objectives, technical solutions and advantages of the present application more clear, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
[0019] Figure 1 A flow chart of a method for generating subject knowledge point samples based on a knowledge point graph provided by an exemplary embodiment of the present application is shown. The method is described by taking the application of the method in a computer device as an example. The method includes: Step 101 , extracting knowledge points from a target text paragraph to obtain at least one target knowledge point feature corresponding to the target text paragraph.
[0020] In the embodiment of the present application, the target text paragraph is a paragraph corresponding to the subject knowledge point. Optionally, the target text paragraph can be implemented as a question containing knowledge points; or, the target text paragraph is implemented as a text description containing knowledge points; or, the target text paragraph is implemented as a confusing question sentence containing knowledge points. Under the condition of satisfying the text form, the present application does not limit the implementation form of the target text paragraph.
[0021] In the embodiment of the present application, the target knowledge point feature is implemented as the knowledge point content corresponding to the target text paragraph. Optionally, the target knowledge point feature is implemented as the text form corresponding to the target text paragraph.
[0022] Step 102: Acquire at least two associated knowledge point features corresponding to the target knowledge point feature based on the subject knowledge point graph.
[0023] In the embodiment of the present application, the subject knowledge point map is implemented as a map composed of subject knowledge points related to the target text paragraph. Optionally, the subject knowledge point map is implemented in the form of a database.
[0024] After matching the subject knowledge point map with the target knowledge point feature, the computer device can obtain at least two associated knowledge point features associated with the target knowledge point feature. Optionally, the associated knowledge point feature and the associated knowledge point feature have the same expression form.
[0025] Step 103, in response to receiving the knowledge point sample generation instruction, input the knowledge point features into the knowledge point paragraph generation model, and output the subject knowledge points corresponding to the target text paragraph.
[0026] In the embodiment of the present application, the knowledge point paragraph generation model is implemented as a knowledge point feature model based on feature matching. Optionally, the form of the subject knowledge point sample generated by the knowledge point paragraph generation model will be consistent with its required form and correspond to the knowledge point sample generation instruction. In the embodiment of the present application, the knowledge point sample generation instruction is an instruction generated based on user operation, and the knowledge point sample generation instruction is used to specify the form of the subject knowledge point sample.
[0027] In summary, the method provided in the embodiment of the present application, after obtaining the target text paragraph, performs knowledge point feature extraction on the target text paragraph, and obtains the corresponding associated knowledge point features based on the knowledge graph, and after obtaining the associated knowledge point features, generates a subject knowledge point sample corresponding to the text paragraph based on the knowledge point associated features. Through the feature extraction method based on artificial intelligence, combined with the knowledge graph, knowledge points are obtained based on the text paragraph, and the corresponding content is expanded to obtain subject knowledge point samples, so that the role of the knowledge graph can be brought into play, thereby improving the display efficiency of the associated knowledge points.
[0028] Figure 2 A flow chart of another method for generating subject knowledge point samples based on a knowledge point graph provided by an exemplary embodiment of the present application is shown. The method is described by taking the application of the method in a computer device as an example. The method includes: Step 201: input a target text paragraph into a knowledge point extraction model, and output at least one target knowledge point feature corresponding to the target text paragraph.
[0029] In an embodiment of the present application, the knowledge point extraction model is implemented as a machine learning model.
[0030] In an embodiment of the present application, the knowledge point extraction model includes an interconnected Albert sub-model layer and an FC feedforward network sub-model layer; the Albert sub-model layer is used to perform feature annotation on the target text paragraph; and the FC feedforward network sub-model layer is used to generate target knowledge point features.
[0031] Step 202, matching the subject knowledge point map with the target knowledge point features to obtain at least two associated knowledge point features associated with the knowledge point content features.
[0032] It should be noted that in the embodiment of the present application, the target knowledge point features include intent category features and knowledge point content features. Among them, the intent category features are used to characterize the way in which the knowledge points are used in the questions, and the knowledge point content features are used to indicate the knowledge point content. In one example, the intent category features indicate the following contents: (1) What knowledge points are included in knowledge point A; (2) What knowledge points are included in knowledge point A; (3) What questions are included in knowledge point A; (4) What other knowledge points are included in the questions that include knowledge point A; (5) What types of questions are included in knowledge point A; (6) What is the complexity of the questions that include knowledge point A; (7) What is the knowledge path of knowledge point A. In the embodiment of the present application, the intent category features can be embodied in the form of feature vectors.
[0033] Step 203, construct a knowledge point graph.
[0034] In an embodiment of the present application, the knowledge point graph includes entity content and relationship content; the entity content includes knowledge point content and question content, and the question content is annotated with at least one of question type attributes, answer attributes, answer analysis attributes, and complexity attributes; the relationship content is used to characterize the association between at least two entity contents, and the relationship content corresponds to a relationship value, which is used to characterize the relationship type, and the relationship type includes a belonging type and a containing type.
[0035] In one example, the relationship between knowledge point content and knowledge point content is of the belonging type, for example, the relationship between the "electricity and magnetism" knowledge point and the "electromagnetism" knowledge point is of the belonging type. Correspondingly, the relationship between the knowledge point content and the question content is of the inclusion type, for example, the relationship between the judgment question of knowledge related to electromagnetism and the "electromagnetism" knowledge point is of the inclusion type. In other embodiments of the present application, the relationship content between entity content also includes at least one of a similarity relationship, an associated relationship, and a contradictory relationship, and the present application does not limit the specific form of the relationship content.
[0036] In the embodiments of the present application, the knowledge graph can be implemented in the form of a database, and the computer device executes the subject knowledge point sample generation method based on the knowledge point graph shown in each embodiment of the present application by retrieving the content in the database.
[0037] Step 204 , in response to receiving the knowledge point sample generation instruction, determining the knowledge point sample form data in the knowledge point sample generation instruction.
[0038] In an embodiment of the present application, the knowledge point sample form data is used to indicate the implementation form of the knowledge point sample. Optionally, the knowledge point sample form data is used to indicate at least one of the question type corresponding to the subject knowledge point sample, the word limit corresponding to the subject knowledge point sample, and the answer form corresponding to the subject knowledge point sample.
[0039] In one example, the computer device can obtain a query field based on a language processing model, determine a prompt word in the query field, and generate a knowledge point sample generation instruction based on the prompt word.
[0040] Step 205, configuring the target sample generation sub-model based on the knowledge point sample form data.
[0041] Optionally, in an embodiment of the present application, different target sample generation sub-models correspond to different implementation forms of knowledge point samples.
[0042] Step 206, input the knowledge point features into the target sample generation sub-model, and output the subject knowledge point samples corresponding to the target text paragraph.
[0043] In the embodiment of the present application, corresponding to the forms of different subject knowledge point samples, the knowledge point features and the corresponding associated knowledge point features are input into a computer device, and the corresponding subject knowledge point samples are output.
[0044] In the embodiment of the present application, the subject knowledge point sample can be implemented as at least one of a knowledge point paragraph sample, a knowledge point title sample, and a knowledge point outline sample. Optionally, the subject knowledge point sample includes target knowledge point features extracted from the target text paragraph and also includes associated knowledge point features.
[0045] In summary, the method provided in the embodiment of the present application, after obtaining the target text paragraph, performs knowledge point feature extraction on the target text paragraph, and obtains the corresponding associated knowledge point features based on the knowledge graph, and after obtaining the associated knowledge point features, generates a subject knowledge point sample corresponding to the text paragraph based on the knowledge point associated features. Through the feature extraction method based on artificial intelligence, combined with the knowledge graph, knowledge points are obtained based on the text paragraph, and the corresponding content is expanded to obtain subject knowledge point samples, so that the role of the knowledge graph can be brought into play, thereby improving the display efficiency of the associated knowledge points.
[0046] The above are only optional embodiments of the present application and are 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.
Claims
1. A method for generating subject knowledge point samples based on knowledge point graph, It is characterized in that The method is applied in a computer device, and the method comprises: Extracting knowledge points from a target text paragraph to obtain at least one target knowledge point feature corresponding to the target text paragraph; Acquire at least two associated knowledge point features corresponding to the target knowledge point feature based on the subject knowledge point map; In response to receiving a knowledge point sample generation instruction, the knowledge point features are input into the knowledge point paragraph generation model, and a subject knowledge point sample corresponding to the target text paragraph is output, wherein the form of the subject knowledge point sample is consistent with the form required by the knowledge point sample generation instruction.
2. The method according to claim 1, It is characterized in that The subject knowledge point samples are implemented as knowledge point entry samples, knowledge point title samples and knowledge point question type samples; The knowledge point entry sample is used to display at least one knowledge point feature; The knowledge point topic samples are used to display topics corresponding to at least one of the knowledge point features; The knowledge point question type samples are used to indicate a set of questions corresponding to the knowledge point features in the form of text paragraphs.
3. The method according to claim 1, It is characterized in that The step of extracting knowledge points from the target text paragraph to obtain at least one target knowledge point feature corresponding to the target text paragraph includes: The target text paragraph is input into a knowledge point extraction model, and at least one target knowledge point feature corresponding to the target text paragraph is output, wherein the knowledge point extraction model is implemented as a machine learning model.
4. The method according to claim 3, It is characterized in that The knowledge point extraction model includes an Albert sub-model layer and an FC feedforward network sub-model layer connected to each other; The Albert sub-model layer is used to perform feature annotation on the target text paragraph; The FC feedforward network sub-model layer is used to generate the target knowledge point features.
5. The method according to claim 1, It is characterized in that The target knowledge point features include intention category features and knowledge point content features; The intention category feature is used to characterize the way in which the knowledge point is used in the question; The acquiring at least two associated knowledge point features corresponding to the target knowledge point feature based on the subject knowledge point graph includes: The subject knowledge point map is matched with the target knowledge point feature to obtain at least two associated knowledge point features associated with the knowledge point content feature.
6. The method according to claim 5, It is characterized in that The method further comprises: Constructing a knowledge point graph, wherein the knowledge point graph includes entity content and relationship content; The entity content includes knowledge point content and question content, and the question content is annotated with at least one of question type attribute, answer attribute, answer analysis attribute and complexity attribute; The relationship content is used to represent the association between at least two entity contents. The relationship content corresponds to a relationship value. The relationship value is used to represent a relationship type. The relationship type includes a belongs to type and a contains type.
7. The method according to claim 6, It is characterized in that The knowledge point sample generation instruction includes knowledge point sample form data, and the knowledge point sample form data is used to characterize the form of the subject knowledge point sample, and the form of the subject knowledge point sample corresponds to the intention category feature.
8. The method according to claim 7, It is characterized in that The knowledge point paragraph generation model includes at least two sample generation sub-models; In response to receiving the knowledge point sample generation instruction, inputting the knowledge point feature into the knowledge point paragraph generation model, and outputting a subject knowledge point sample corresponding to the target text paragraph, including: In response to receiving a knowledge point sample generation instruction, determining the knowledge point sample form data in the knowledge point sample generation instruction; Configure a target sample generation sub-model based on the knowledge point sample form data; The knowledge point features are input into the target sample generation sub-model, and the subject knowledge point samples corresponding to the target text paragraph are output.
9. The method according to claim 1, It is characterized in that The method further comprises: Get query fields; determining a prompt word in the query field; Generate a knowledge point sample generation instruction based on the prompt word.
Citation Information
Patent Citations
Question recommendation method, device and storage medium
CN110362671A
Question and answer generation method and device based on knowledge graph and automatic examination question generation system
CN114492803A
Question and answer recommendation method and device, electronic equipment and storage medium
CN116257607A
