Method and system for constructing education question bank knowledge graph based on multi-source heterogeneous data
By constructing an educational question bank knowledge graph based on multi-source heterogeneous data, and updating and adjusting edge weights in real time, the timeliness and accuracy problems of traditional educational knowledge graphs are solved, providing personalized teaching resources and learning paths, and improving teaching quality and learning efficiency.
Patent Information
- Application Number
- CN202611361062.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-03
- Publication Date
- 2026-11-24
AI Technical Summary
Traditional educational knowledge graphs cannot update classroom interaction data in real time, cannot identify emerging knowledge points, and lack dynamic edge weight adjustment mechanisms, resulting in insufficient timeliness and accuracy of teaching content and an inability to provide personalized learning paths.
An educational question bank knowledge graph is constructed based on multi-source heterogeneous data. By collecting classroom interaction behavior data in real time, dynamically adjusting edge weights, and combining educational logic constraint rules and historical answer data, a semantically rich educational knowledge graph is generated, which identifies high-frequency test points and easily mistaken knowledge points, and constructs personalized knowledge recommendation paths.
It achieves timeliness and accuracy in knowledge graphs, provides personalized teaching resources and learning paths, and improves teaching quality and learning efficiency.
Smart Images

Figure CN123159318A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of knowledge graph technology, specifically to a method and system for constructing an educational question bank knowledge graph based on multi-source heterogeneous data. Background Technology
[0002] Currently, traditional methods often rely on static textbooks and question banks, making it impossible to collect and update classroom interaction data in real time. This results in knowledge graphs being unable to identify emerging knowledge points in a timely manner, failing to adapt to rapidly changing educational needs and students' interests, and affecting the timeliness and relevance of teaching content. Furthermore, many traditional knowledge graph construction methods lack dynamic edge weight adjustment mechanisms, failing to optimize in real time based on students' learning progress and knowledge mastery. This may lead to unreasonable logical relationships between nodes in the knowledge graph, thereby reducing the accuracy and reliability of the graph and increasing the risk of spreading misinformation.
[0003] Furthermore, traditional methods fail to effectively analyze the weights of nodes and edges in knowledge graphs, thus limiting their ability to identify frequently tested and easily mistaken knowledge points. This leaves teachers without a basis for curriculum design, making it difficult to formulate targeted teaching strategies and affecting overall teaching quality. In addition, traditional methods often adopt a one-size-fits-all teaching model, lacking attention to individual student differences. They cannot identify students' weak knowledge points by analyzing their historical learning trajectories and real-time interactive behaviors, resulting in a lack of personalized knowledge recommendation paths. This limits the effectiveness of students' self-learning process and makes it difficult to achieve the goal of reinforcement learning. Summary of the Invention
[0004] To achieve the above objectives, the present invention provides the following technical solution: a method for constructing an educational question bank knowledge graph based on multi-source heterogeneous data, comprising: We collect multi-source heterogeneous raw data from the education field, perform structured parsing on the multi-source heterogeneous raw data, and obtain the raw dataset; the raw dataset includes textbook text sequences, structured records of question banks, and keyframes of teaching videos; The original dataset is input into a pre-trained educational entity extraction model. Joint entity recognition is performed based on textbook text sequences, structured records from the question bank, and keyframes from teaching videos to extract core educational entities and semantic relationships between entities, thereby constructing an initial educational knowledge graph. The initial educational knowledge graph is feature-encoded based on a heterogeneous graph neural network model. Educational logic constraint rules are introduced to verify the consistency of the encoded graph. Credible triples that conform to the preset educational axioms are selected to generate a logically verified knowledge graph. Align the logic verification knowledge graph with the historical answer data in the structured records of the question bank, calculate the mastery probability of each knowledge point node and the discrimination index of the question node based on the historical answer data, and dynamically adjust the edge weights in the logic verification knowledge graph according to the mastery probability and discrimination index to obtain a dynamic weight knowledge graph. Based on the node attributes and edge weights in the dynamic weighted knowledge graph, the textbook text sequence and keyframes of the teaching video are mapped to the semantic description vectors of the nodes. The semantic description vectors are then injected into the corresponding nodes of the dynamic weighted knowledge graph to generate a semantically rich educational knowledge graph. We extract high-frequency test point subgraphs and error-prone knowledge point subgraphs from the rich semantic educational knowledge graph, and expand and connect these subgraphs by combining them with a current educational hot topic vocabulary database, thus constructing a scenario-based knowledge graph for specific teaching scenarios.
[0005] Preferably, the method further includes: Real-time collection of classroom interaction behavior data streams, matching of classroom interaction behavior data streams with contextualized knowledge graphs, identification of uncovered emerging knowledge points, insertion of emerging knowledge points as new nodes into the contextualized knowledge graph, and establishment of association edges between new nodes and surrounding nodes based on interaction frequency to obtain a dynamically evolving contextualized knowledge graph. Based on all node attributes and edge weights in the dynamically evolving scenario-based knowledge graph, a secondary feature aggregation is performed on the relationship between the new node and its surrounding nodes. The influence factor of the new node on its surrounding nodes is calculated, and the weight values of the associated edges are updated according to the influence factor to generate a weight-optimized knowledge graph. The system acquires historical learning trajectory data from students, matches this data with knowledge point nodes in a weighted and optimized knowledge graph, generates personalized knowledge recommendation paths for the current student based on the matching results and the mastery probability of the nodes, and maps these recommended paths to specific teaching resource sequences.
[0006] Preferably, the educational logic constraint rules include the rule that prerequisite relationships are irreversible and the rule that the difficulty coefficient is monotonically increasing; the nodes in the initial educational knowledge graph represent knowledge points or test questions, and the edges represent the logical dependencies between knowledge points or the attribution relationship between test questions and knowledge points; The initial educational knowledge graph is feature-encoded based on a heterogeneous graph neural network model. Educational logical constraint rules are introduced to verify the consistency of the encoded graph. Trustworthy triples that conform to preset educational axioms are selected, generating a logically validated knowledge graph, including: Based on the heterogeneous graph neural network model, neighborhood aggregation is performed on text nodes, question nodes and video nodes in the initial educational knowledge graph to obtain node embedding vectors of different modalities; After embedding nodes of different modalities into vectors and concatenating them, the data is input into a logic discriminator to detect logical contradictions between nodes based on educational logic constraint rules. If the target triple is detected to violate the rule of irreversibility of prior repair relations, the edge direction of the target triple will be forcibly corrected. If the target triple is detected to violate the monotonically increasing difficulty rule, the edge weight of the target triple is reduced to below the preset threshold. The triples with corrected directions or reduced weights are retained to generate a logical verification knowledge graph.
[0007] Preferably, the logic verification knowledge graph and the historical answer data in the structured records of the question bank are aligned. Based on the historical answer data, the mastery probability of each knowledge point node and the discrimination index of the question node are calculated. The edge weights in the logic verification knowledge graph are dynamically adjusted according to the mastery probability and discrimination index to obtain a dynamic weighted knowledge graph, including: The knowledge point nodes in the logic verification knowledge graph are matched with the test point tags in the historical answer data, and the number of students who answered the questions corresponding to the knowledge point nodes correctly and incorrectly is counted. The probability of mastering a knowledge point node is calculated based on the number of students who answered correctly and incorrectly, and the discrimination index of a question node is calculated based on the variance of the score of the question node. Based on mastering the probability replacement logic to verify the original weights of the dependency edges between knowledge point nodes in the knowledge graph, the discrimination index is used as the weight of the connection edge between the question node and the knowledge point node. The graph with the weights replaced is used as a dynamic weighted knowledge graph.
[0008] Preferably, based on the node attributes and edge weights in the dynamic weighted knowledge graph, the textbook text sequence and keyframes of the teaching video are mapped to semantic description vectors of the nodes. These semantic description vectors are then injected into the corresponding nodes of the dynamic weighted knowledge graph to generate a semantically rich educational knowledge graph, including: Extract the text definitions and question stems of each node in the dynamic weighted knowledge graph, and retrieve supplementary explanatory texts and demonstration video clips related to each node from the textbook text sequence and keyframes of the teaching video; Feature alignment is performed between the supplementary explanatory text and the demonstration video clips to generate a fused feature vector; By concatenating the fused feature vectors as attribute features of corresponding nodes in the dynamic weight knowledge graph, a semantically rich educational knowledge graph is obtained.
[0009] Preferably, high-frequency test point subgraphs and error-prone knowledge point subgraphs are extracted from the semantically rich educational knowledge graph, and expanded and connected by combining the current educational hot topic vocabulary database to construct a scenario-based knowledge graph for specific teaching scenarios, including: Based on the weight values of edges in the rich semantic knowledge graph, a number of subgraphs with the highest weight ranking are selected as high-frequency test point subgraphs, and subgraphs composed of nodes whose mastery probability is lower than a preset probability threshold are selected as error-prone knowledge point subgraphs. Extract extended vocabulary from the current educational hot topic vocabulary database that has the highest semantic similarity to the node names in the high-frequency test point sub-graph and the error-prone knowledge point sub-graph; Add virtual transition nodes based on expanded vocabulary between the high-frequency test point subgraph and the error-prone knowledge point subgraph, and establish the association edges between the virtual transition nodes and the original nodes; The subgraphs with added virtual nodes are merged to generate a contextualized knowledge graph for a specific teaching scenario.
[0010] Preferably, real-time collection of classroom interaction behavior data streams is performed, and these data streams are matched with a contextualized knowledge graph to identify uncovered emerging knowledge points. These emerging knowledge points are then inserted as new nodes into the contextualized knowledge graph. Simultaneously, association edges are established between the new nodes and surrounding nodes based on interaction frequency, resulting in a dynamically evolving contextualized knowledge graph, including: Speech recognition and keyword extraction are performed on the classroom interaction behavior data stream to obtain real-time interactive text; Perform similarity matching between real-time interactive text and node names in a contextualized knowledge graph; If there are target keywords that fail to match and the frequency of the target keywords is greater than the preset frequency threshold, then the target keywords are determined to be emerging knowledge points. In the contextualized knowledge graph, new nodes representing emerging knowledge points are created, and the number of times the new nodes co-occur with surrounding existing nodes in real-time interactive text is counted. Directed edges are constructed between newly added nodes and their surrounding nodes based on the number of co-occurrences. The weights of the directed edges are assigned according to the number of co-occurrences to obtain a dynamically evolving scenario-based knowledge graph.
[0011] Preferably, based on all node attributes and edge weights in the dynamically evolving contextualized knowledge graph, a secondary feature aggregation is performed on the association between the new node and its surrounding nodes. The influence factor of the new node on its surrounding nodes is calculated, and the weight values of the associated edges are updated according to the influence factor to generate a weight-optimized knowledge graph, including: In the dynamic evolution scenario-based knowledge graph input graph attention network model, the feature vectors of each new node and its surrounding nodes are concatenated and linearly transformed. Calculate the attention coefficient of the newly added node to its surrounding nodes, and normalize it to obtain the influence factor; The updated edge weight values are obtained by multiplying the influence factor by the original co-occurrence weight of the associated edge. Replace the original weights with all the updated edge weights to generate a weight-optimized knowledge graph.
[0012] Preferably, historical learning trajectory data from the student's end is acquired, and this data is matched with knowledge point nodes in a weighted optimized knowledge graph. Based on the matching results and the mastery probability of the nodes, a personalized knowledge recommendation path is generated for the current student. This recommended path is then mapped to a specific sequence of teaching resources, including: Align the incorrect answers and dwell time in the historical learning trajectory data with the knowledge point nodes in the weighted optimized knowledge graph to identify the current student's weak knowledge points; Based on the dependencies of weak knowledge points in the weighted knowledge graph, and combined with the mastery probability of nodes, a recommended path to the target knowledge point is calculated. Retrieve the explanation videos and variation questions corresponding to the nodes in the recommended path from the textbook text sequence and keyframes of the teaching video; The retrieved videos and questions are arranged in order of their paths, and personalized learning packages are generated and pushed to students.
[0013] The system for constructing an educational question bank knowledge graph based on multi-source heterogeneous data is applicable to the aforementioned method for constructing an educational question bank knowledge graph based on multi-source heterogeneous data, including: The data acquisition unit is used to collect multi-source heterogeneous raw data in the field of education, and to perform structured parsing on the multi-source heterogeneous raw data to obtain the raw dataset; the raw dataset includes textbook text sequences, structured records of question banks, and keyframes of teaching videos; The entity recognition unit is used to input the original dataset into the pre-trained educational entity extraction model, and perform joint entity recognition based on textbook text sequences, structured records in the question bank, and key frames of teaching videos to extract core educational entities and semantic relationships between entities, and construct an initial educational knowledge graph. The feature encoding unit is used to encode the features of the initial educational knowledge graph based on the heterogeneous graph neural network model, introduce educational logic constraint rules to perform consistency verification on the encoded graph, select credible triples that conform to the preset educational axioms, and generate a logically verified knowledge graph. The data alignment unit is used to align the logic verification knowledge graph with the historical answer data in the structured records of the question bank. Based on the historical answer data, it calculates the mastery probability of each knowledge point node and the discrimination index of the question node. Based on the mastery probability and discrimination index, it dynamically adjusts the edge weights in the logic verification knowledge graph to obtain a dynamic weight knowledge graph. The semantic education unit is used to map textbook text sequences and keyframes of teaching videos into semantic description vectors of nodes based on node attributes and edge weights in the dynamic weighted knowledge graph, and inject the semantic description vectors into the corresponding nodes of the dynamic weighted knowledge graph to generate a semantically rich education knowledge graph. Specific teaching units are used to extract high-frequency test point subgraphs and error-prone knowledge point subgraphs from semantically rich educational knowledge graphs, and to expand and connect the high-frequency test point subgraphs and error-prone knowledge point subgraphs by combining them with a current educational hot topic vocabulary database, so as to construct a scenario-based knowledge graph for specific teaching scenarios.
[0014] Compared with the prior art, the beneficial effects of the present invention are: This invention continuously updates and expands the knowledge graph by collecting real-time classroom interaction data streams, promptly identifying emerging knowledge points and incorporating them into teaching content. This allows the knowledge graph to adapt to rapidly changing educational needs and student interests, maintaining its timeliness and relevance. Furthermore, by introducing educational logic constraint rules and a dynamic edge weight adjustment mechanism, it ensures that the logical relationships between nodes in the knowledge graph are reasonable, improving the accuracy and credibility of the knowledge graph. It can also effectively prevent the spread of misinformation and the recommendation of unreasonable knowledge points. This invention combines multiple data sources, including textbook text, video content, and historical answer data, to generate a semantically rich knowledge graph through feature alignment and fusion. This not only enriches the content of the knowledge graph but also provides students with more intuitive learning resources. Furthermore, by analyzing the weights of nodes and edges in the knowledge graph, it can effectively identify frequently tested and easily mistaken knowledge points, providing a basis for instructional design and review strategies. This helps teachers to design courses more effectively and improve teaching quality. Moreover, by analyzing students' historical learning trajectories and real-time interactive behaviors, the system can identify students' weak knowledge points and generate personalized knowledge recommendation paths, helping students strengthen their learning in the areas where they need it most, thereby improving learning efficiency. Attached Figure Description
[0015] Figure 1 This is a schematic diagram of the overall method steps in Embodiment 1 of the present invention; Figure 2 This is a schematic diagram of the overall system architecture in Embodiment 2 of the present invention.
[0016] In the diagram: 1. Data acquisition unit; 2. Entity recognition unit; 3. Feature encoding unit; 4. Data alignment unit; 5. Semantic education unit; 6. Specific teaching unit. Detailed Implementation
[0017] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0018] Example 1, please refer to Figure 1This invention provides a technical solution: a method for constructing an educational question bank knowledge graph based on multi-source heterogeneous data, comprising: S1. Collect multi-source heterogeneous raw data in the education field, perform structured parsing on the multi-source heterogeneous raw data to obtain the raw dataset; the raw dataset includes textbook text sequences, structured records of question banks, and keyframes of teaching videos; S2. Input the original dataset into the pre-trained educational entity extraction model, perform joint entity recognition based on textbook text sequences, structured records of the question bank, and key frames of teaching videos, extract core educational entities and semantic relationships between entities, and construct an initial educational knowledge graph; S3. Based on the heterogeneous graph neural network model, feature encoding is performed on the initial educational knowledge graph. Educational logic constraint rules are introduced to perform consistency verification on the encoded graph, and credible triples that conform to the preset educational axioms are selected to generate a logically verified knowledge graph. S4. Align the logic verification knowledge graph with the historical answer data in the structured record of the question bank. Calculate the mastery probability of each knowledge point node and the discrimination index of the question node based on the historical answer data. Dynamically adjust the edge weights in the logic verification knowledge graph according to the mastery probability and discrimination index to obtain a dynamic weight knowledge graph. S5. Based on the node attributes and edge weights in the dynamic weighted knowledge graph, the textbook text sequence and key frames of the teaching video are mapped to the semantic description vectors of the nodes. The semantic description vectors are then injected into the corresponding nodes of the dynamic weighted knowledge graph to generate a semantically rich educational knowledge graph. S6. Extract high-frequency test point subgraphs and error-prone knowledge point subgraphs from the rich semantic educational knowledge graph, and expand and connect the high-frequency test point subgraphs and error-prone knowledge point subgraphs by combining the current educational hot topic vocabulary database, and construct a scenario-based knowledge graph for specific teaching scenarios.
[0019] It should be noted that in the field of education, data sources are diverse, including textbooks, test questions, and teaching videos. This data collection focuses on three main types: textbook text sequences, which refer to the text content in textbooks, including chapters, paragraphs, and key concepts; for example, the definition and properties of "functions" in a mathematics textbook; and structured records in question banks, which refer to the structured information of exam questions, typically including question type (multiple choice, fill-in-the-blank), difficulty level, and related knowledge points; for example, a multiple choice question might involve understanding "quadratic functions," and its structured record would indicate that it is a multiple choice question with a medium difficulty level. Keyframes in instructional videos refer to important moments in the video, from which key shots can be extracted, such as when a teacher explains an important concept. These keyframes help to understand the intuitive presentation of the teaching content. Through structured analysis of this data, a raw dataset can be obtained, which contains the three types of data mentioned above. This step usually requires the use of natural language processing techniques to perform word segmentation, part-of-speech tagging, and other processing on the text, and to extract keywords and themes. The original dataset is input into a pre-trained educational entity extraction model. This model is based on deep learning and may use natural language processing models such as BERT, which are specifically fine-tuned for the education field. The model's task is to identify and classify core educational entities in the text, such as "function" and "theorem", as well as the semantic relationships between these entities, such as "containment" and "dependency". By jointly identifying entities, a preliminary educational knowledge graph can be constructed. This graph consists of nodes (entities) and edges (relationships). Suppose that in the graph, "function" is identified as a node, and "definition" and "property" are identified as two other nodes. The relationship between them can be represented as "function - definition - property". To further optimize the knowledge graph, a heterogeneous graph neural network is used to encode the features of the initial knowledge graph. The advantage of heterogeneous graph neural networks lies in their ability to handle different types of nodes and edges, making them suitable for complex structures like educational knowledge graphs. In this process, educational logical constraints are introduced, such as "a theorem must have a corresponding proof." These logical rules are used to perform consistency checks on the encoded graph, ensuring that the extracted information conforms to educational axioms and selecting reliable triples. For example, "Theorem A" can only be included in the knowledge graph if "proof A" exists. Align the logic verification knowledge graph with historical answer data in the question bank, and use the historical answer data to calculate the mastery probability of each knowledge point; for example, if a student has answered 80% of the questions related to "functions" correctly in past exams, then the mastery probability of this knowledge point can be set as 0.8. Based on the mastery probability and question discrimination index, the degree to which questions differentiate students' abilities is measured, and the weights of the edges in the knowledge graph are dynamically adjusted. The purpose of this is to make the knowledge graph more accurately reflect students' learning status and knowledge mastery, forming a dynamically weighted knowledge graph. In dynamic weighted knowledge graphs, node attributes and edge weights are used to map textbook text sequences and keyframes of teaching videos as semantic description vectors for nodes. For example, the definition of a "function" can be transformed into a vector form to represent its position and importance in the knowledge graph. These semantic description vectors are then injected into the corresponding nodes to form a semantically rich educational knowledge graph, which can better serve teaching and learning. Extract high-frequency test point subgraphs and error-prone knowledge point subgraphs from rich semantic educational knowledge graphs; for example, a high-frequency test point might be "linear equations," while an error-prone knowledge point might be "misuse of symbols in algebraic operations"; in addition, these subgraphs can be expanded and connected by combining current educational hot topics vocabulary databases, thereby constructing a scenario-based knowledge graph for specific teaching scenarios; this can be used for personalized teaching to help teachers and students better focus on key knowledge points.
[0020] In an optional embodiment, the method further includes: Real-time collection of classroom interaction behavior data streams, matching of classroom interaction behavior data streams with contextualized knowledge graphs, identification of uncovered emerging knowledge points, insertion of emerging knowledge points as new nodes into the contextualized knowledge graph, and establishment of association edges between new nodes and surrounding nodes based on interaction frequency to obtain a dynamically evolving contextualized knowledge graph. Based on all node attributes and edge weights in the dynamically evolving scenario-based knowledge graph, a secondary feature aggregation is performed on the relationship between the new node and its surrounding nodes. The influence factor of the new node on its surrounding nodes is calculated, and the weight values of the associated edges are updated according to the influence factor to generate a weight-optimized knowledge graph. The system acquires historical learning trajectory data from students, matches this data with knowledge point nodes in a weighted and optimized knowledge graph, generates personalized knowledge recommendation paths for the current student based on the matching results and the mastery probability of the nodes, and maps these recommended paths to specific teaching resource sequences.
[0021] It should be noted that classroom interaction behavior data stream refers to the data generated by the interaction between teachers and students during the teaching process. This data can include: the frequency and content of students' questions in class; students' response to teachers' questions and their accuracy; the degree of participation in group discussions, such as the number of times students speak; and students' real-time feedback on the classroom content, such as voting or raising their hands. For example, if a teacher finds that 10 students have raised relevant questions when explaining "calculus", this data will be recorded as the interaction behavior for that knowledge point. Contextualized knowledge graphs are knowledge networks built upon specific teaching scenarios, containing knowledge points, concepts, and their relationships. When real-time interactive behavior data streams are matched with contextualized knowledge graphs, emerging knowledge points that are not yet covered can be identified. These emerging knowledge points may arise from course content updates, changes in student interests, or social hot topics. For example, suppose students frequently ask questions about "artificial intelligence ethics" in class, but this knowledge point is not yet included in the existing graph. Through matching, this emerging knowledge point can be identified and inserted as a new node into the contextualized knowledge graph. Establishing connections between new nodes and their surrounding nodes is a crucial step. These connections reflect the relationship between emerging and existing knowledge points; for example, "artificial intelligence ethics" may be associated with "machine learning" and "data privacy." The strength of such connections can be determined based on the frequency of interaction: if multiple students frequently mention "artificial intelligence ethics" and "data privacy" in discussions, the edge weight between them will be higher. This process forms a dynamically evolving, scenario-based knowledge graph. In the dynamic evolution scenario-based knowledge graph, the attributes of all nodes and the weights of edges are comprehensively considered in order to perform secondary feature aggregation on the relationship between new nodes and surrounding nodes; this process aims to calculate the influence factor of new nodes on surrounding nodes. The impact factor can be understood as the degree to which a certain knowledge point affects the learning effect of other knowledge points. For example, if "artificial intelligence ethics" is frequently mentioned and related discussions increase students' understanding of "machine learning", then its impact factor will increase accordingly. In this way, the weight values of the related edges can be updated, so that the graph can more accurately reflect the true relationship between knowledge points. Historical learning trajectory data refers to the behavioral data accumulated by students during the learning process, including completed exercises, courses attended, and learning duration. This data can reflect students' learning habits and knowledge mastery. Matching historical learning trajectory data with knowledge point nodes in a weighted optimized knowledge graph can help identify knowledge points that students have mastered or need to learn further. For example, if a student has a good grasp of "calculus" but performs poorly in "linear algebra" in the past, the matching result between the two will guide subsequent personalized recommendations. Based on the matching results and the probability of mastering knowledge points, a personalized knowledge recommendation path can be generated for the current student. For example, if the system identifies that a student has difficulty with "linear algebra," the recommended path may include the following steps: basic concept review: recommending relevant teaching videos or documents to strengthen basic concepts; practice question recommendation: providing tiered practice questions to gradually increase the difficulty; discussion and interaction: arranging group discussions or online Q&A to encourage student participation; the recommended path is mapped to a specific sequence of teaching resources, so that students can learn one by one in the recommended order, gradually improving their mastery of the relevant knowledge points.
[0022] In an optional embodiment, the educational logic constraint rules include the rule that prerequisite relationships are irreversible and the rule that the difficulty coefficient is monotonically increasing; the nodes in the initial educational knowledge graph represent knowledge points or test questions, and the edges represent the logical dependencies between knowledge points or the attribution relationship between test questions and knowledge points; The initial educational knowledge graph is feature-encoded based on a heterogeneous graph neural network model. Educational logical constraint rules are introduced to verify the consistency of the encoded graph. Trustworthy triples that conform to preset educational axioms are selected, generating a logically validated knowledge graph, including: Based on the heterogeneous graph neural network model, neighborhood aggregation is performed on text nodes, question nodes and video nodes in the initial educational knowledge graph to obtain node embedding vectors of different modalities; After embedding nodes of different modalities into vectors and concatenating them, the data is input into a logic discriminator to detect logical contradictions between nodes based on educational logic constraint rules. If the target triple is detected to violate the rule of irreversibility of prior repair relations, the edge direction of the target triple will be forcibly corrected. If the target triple is detected to violate the monotonically increasing difficulty rule, the edge weight of the target triple is reduced to below the preset threshold. The triples with corrected directions or reduced weights are retained to generate a logical verification knowledge graph.
[0023] It should be noted that the educational logic constraint rules are rules that ensure the rationality of the relationships between knowledge points in the knowledge graph. These mainly include: the rule of irreversible prerequisite relationships: which stipulates the learning order between certain knowledge points; for example, before learning "calculus", students must first master "algebra"; if there is a triple representing that "calculus" depends on "algebra", according to this rule, reverse dependency (i.e., "algebra" depends on "calculus") is not allowed. The monotonically increasing difficulty coefficient rule requires that the difficulty of knowledge points should increase. That is, if the difficulty coefficient of knowledge point A is lower than that of knowledge point B, then there should be an edge from A to B in the knowledge graph; otherwise, it is unreasonable. For example, suppose the difficulty coefficient of "linear algebra" is 2 and the difficulty coefficient of "abstract algebra" is 3, then in the knowledge graph, "linear algebra" should point to "abstract algebra". Nodes represent knowledge points or exam questions; for example, the node "Calculus" represents a knowledge point, while the node "Calculus Exercise 1" represents an exam question related to that knowledge point; edges represent the logical dependencies between knowledge points or the attribution relationship between exam questions and knowledge points; for example, an edge connecting "Calculus" and "Calculus Exercise 1" indicates that this exercise is based on the knowledge point of calculus. Heterogeneous graph neural network models are deep learning models that handle graph structures containing different types of nodes and edges. In educational knowledge graphs, nodes can be categorized into different modalities: text nodes (containing teaching texts, textbook content, etc.), question nodes (specific exam questions or exercises), and video nodes (containing teaching videos, recorded explanations, etc.). By performing neighborhood aggregation on these nodes of different modalities, their respective features can be extracted, ultimately yielding the corresponding node embedding vectors. For example, for a text node like "calculus," information can be aggregated from its surrounding question and video nodes to generate a comprehensive feature representation. By concatenating the embedded vectors of nodes from different modalities, a more comprehensive feature representation can be formed; this concatenation result is then passed as input to the logic discriminator; the role of the logic discriminator is to determine whether there are logical contradictions between nodes based on educational logic constraint rules. When the logic discriminator detects that a target triple (e.g., the relationship between a knowledge point and a test question) violates the above educational logic constraints, it will take corresponding measures: If the target triple violates the rule of irreversible prerequisite relations, such as identifying that "algebra" depends on "calculus", the system will automatically adjust the direction of the edge to change it to "calculus" depending on "algebra"; if the target triple violates the rule of monotonically increasing difficulty coefficients, such as finding that "basic geometry" points to "advanced geometry" but the actual difficulty does not match, the system will adjust the weight of the edge to reduce it to below a preset threshold, which means that the importance of this relationship is weakened. After the above corrections, the final knowledge graph is called the logical verification knowledge graph. This knowledge graph is more in line with educational logic constraints than the initial version and can better support personalized learning recommendations and the effective integration of knowledge points. For example, suppose we have the following nodes and edges: Nodes: "Algebra" (difficulty level 1), "Calculus" (difficulty level 2), "Calculus Exercise 1" (difficulty level 2); If the initial graph contains the edge "Algebra" → "Calculus" and "Calculus" → "Calculus Exercise 1", and the difficulty levels are logically consistent (i.e., there is no inverse dependency), then the graph is reasonable; however, if it is found that "Calculus" points to "Algebra", the rule of irreversible prior relationships will be triggered, and the system will automatically correct the direction of the edge to ensure logical consistency; ultimately, all verified nodes and edges will form a more reasonable logically verified knowledge graph.
[0024] In an optional embodiment, the logic verification knowledge graph and historical answer data in the structured records of the question bank are aligned. Based on the historical answer data, the mastery probability of each knowledge point node and the discrimination index of each question node are calculated. The edge weights in the logic verification knowledge graph are dynamically adjusted according to the mastery probability and discrimination index to obtain a dynamically weighted knowledge graph, including: The knowledge point nodes in the logic verification knowledge graph are matched with the test point tags in the historical answer data, and the number of students who answered the questions corresponding to the knowledge point nodes correctly and incorrectly is counted. The probability of mastering a knowledge point node is calculated based on the number of students who answered correctly and incorrectly, and the discrimination index of a question node is calculated based on the variance of the score of the question node. Based on mastering the probability replacement logic to verify the original weights of the dependency edges between knowledge point nodes in the knowledge graph, the discrimination index is used as the weight of the connection edge between the question node and the knowledge point node. The graph with the weights replaced is used as a dynamic weighted knowledge graph.
[0025] It should be noted that knowledge point nodes represent specific knowledge points in the educational knowledge graph, such as "calculus" and "linear algebra"; while historical answer data includes students' answer records for the corresponding knowledge points in exams or exercises, which includes the test point tag for each question; test point tags refer to the question tags that are directly related to the knowledge point; for example, if a student answers a question about "calculus", then the test point tag for that question is "calculus". By matching the knowledge point nodes in the logic verification knowledge graph with the test point tags in the historical answer data, it is possible to count how many students answered questions related to these knowledge points correctly or incorrectly. For example, suppose that under the knowledge point of "calculus", 100 students did related exercises, of which 80 students answered correctly and 20 students answered incorrectly. Based on the statistical data obtained in the previous step, the mastery probability of each knowledge point can be calculated. The mastery probability reflects the degree to which students have mastered a certain knowledge point, and is usually expressed as the ratio of the number of students who answered correctly to the total number of students who answered the questions. In the example above, the mastery probability of "calculus" can be calculated as: 80 (number of students who answered correctly) / 100 (total number of students) = 0.8, which means that 80% of the students have mastered "calculus". The discrimination index is used to measure the ability of a question to differentiate between students of different levels. It is usually assessed by calculating the difference in scores between students who answered the question correctly and those who answered it incorrectly, or by statistically analyzing the variance of the scores. For example, if a question related to "calculus" scores higher for students who answered it correctly and lower for those who answered it incorrectly, then the discrimination index of this question will be higher. The discrimination index of this question can be obtained by calculating the variance of the scores of all students who answered the question. In a knowledge graph, the dependency edges between knowledge point nodes usually have a fixed weight, representing the strength of the association between knowledge points. Based on the calculated mastery probability, the weights of these dependency edges between knowledge point nodes can be replaced. For example, if the original weight of the dependency edge between "calculus" and "linear algebra" was 0.5, and the mastery probability of "calculus" is 0.8, then the weight of this edge can be updated to 0.8 to more accurately reflect how a student's mastery of "calculus" affects their learning of "linear algebra". The weights of the connecting edges between question nodes and knowledge point nodes also need to be replaced according to the discrimination index; this is because the higher the discrimination index of a question, the more effectively it can distinguish students of different levels, so the weight of its connecting edge with the knowledge point should also be increased accordingly; for example, assuming that the discrimination index of a question related to "calculus" is 0.9, this means that this question can distinguish students' abilities very well, and the weight of the connecting edge can be set to 0.9. After the above steps, the final knowledge graph is called a dynamic weighted knowledge graph. Compared with the initial graph, this graph can more accurately reflect students' mastery of knowledge points and their ability to distinguish between different questions. Therefore, it can be used for more precise learning recommendations, personalized education, and other scenarios.
[0026] In an optional embodiment, based on the node attributes and edge weights in the dynamic weighted knowledge graph, the textbook text sequence and keyframes of the teaching video are mapped to semantic description vectors of the nodes, and the semantic description vectors are injected into the corresponding nodes of the dynamic weighted knowledge graph to generate a semantically rich educational knowledge graph, including: Extract the text definitions and question stems of each node in the dynamic weighted knowledge graph, and retrieve supplementary explanatory texts and demonstration video clips related to each node from the textbook text sequence and keyframes of the teaching video; Feature alignment is performed between the supplementary explanatory text and the demonstration video clips to generate a fused feature vector; By concatenating the fused feature vectors as attribute features of corresponding nodes in the dynamic weight knowledge graph, a semantically rich educational knowledge graph is obtained.
[0027] It should be noted that in the dynamic weighted knowledge graph, nodes typically represent knowledge points or questions; each node has its corresponding text definition and question stem; the text definition is a brief explanation of the knowledge point; for example, for the knowledge point "calculus," the text definition could be: "Calculus is a branch of mathematics that studies the changes of functions, mainly including the concepts of limits, derivatives, and integrals;" The question stem is the specific problem that students see in the exam; for example, "Calculate the derivative of the following function: f(x) = x² + 3x + 2;" At this stage, it is necessary to extract this information from each node in the knowledge graph for use in subsequent steps; To enhance the contextual information of the knowledge graph, content related to each node is retrieved from textbook text sequences and keyframes of teaching videos. Through these sources, supplementary explanatory texts and demonstration video clips related to the nodes can be obtained, further enriching the content of the knowledge graph. Feature alignment is performed on the retrieved text and video clips. Feature alignment refers to converting information from different sources into the same format or dimension to facilitate merging. Text features can be extracted using natural language processing techniques, such as using word embedding models (like Word2Vec or BERT) to generate vector representations of the text. Video features can be obtained using visual feature extraction techniques, such as using convolutional neural networks to extract important features from video frames and form a vector representation. Text features and video features are concatenated to generate a fusion feature vector that integrates multimodal information; for example, for supplementary explanatory text and demonstration video of "calculus", the final feature vector will contain both the semantic information of the text and the visual information of the video. After feature fusion is completed, the fused feature vector needs to be concatenated as the attribute features of the corresponding node in the dynamic weighted knowledge graph. This means combining the new feature vector with the existing node information, so that each node not only contains basic knowledge point definitions and question information, but also rich supplementary information. For example, the node "calculus" now not only has the text definition "calculus is a branch of mathematics that studies the changes of functions", but also its corresponding question stem, as well as the vector after feature fusion. This vector may contain a deeper understanding and visual presentation of calculus. Through the above steps, a semantically rich educational knowledge graph is obtained. This graph has richer contextual information, which can provide students with a personalized learning experience. The semantically rich knowledge graph not only contains the relationships between knowledge points and questions, but also integrates information from different media, enabling students to gain a more comprehensive understanding when learning. For example, when students are learning "calculus", they can not only see the definition and questions, but also watch related video explanations, thereby deepening their mastery of the knowledge.
[0028] In an optional embodiment, high-frequency test point subgraphs and error-prone knowledge point subgraphs are extracted from the semantically rich educational knowledge graph, and extended and connected by combining the current educational hot topic vocabulary database to construct a scenario-based knowledge graph for a specific teaching scenario, including: Based on the weight values of edges in the rich semantic knowledge graph, a number of subgraphs with the highest weight ranking are selected as high-frequency test point subgraphs, and subgraphs composed of nodes whose mastery probability is lower than a preset probability threshold are selected as error-prone knowledge point subgraphs. Extract extended vocabulary from the current educational hot topic vocabulary database that has the highest semantic similarity to the node names in the high-frequency test point sub-graph and the error-prone knowledge point sub-graph; Add virtual transition nodes based on expanded vocabulary between the high-frequency test point subgraph and the error-prone knowledge point subgraph, and establish the association edges between the virtual transition nodes and the original nodes; The subgraphs with added virtual nodes are merged to generate a contextualized knowledge graph for a specific teaching scenario.
[0029] It should be noted that in the rich semantic educational knowledge graph, each edge has a weight value, which usually represents the importance or correlation between them; the high-frequency test point subgraph refers to the subgraph composed of the top-ranked nodes selected based on the edge weight values; these nodes are usually key knowledge points that students frequently encounter in exams; for example, if there are the following knowledge points and their weights: "function" (weight 0.9), "derivative" (weight 0.85), and "integral" (weight 0.8); assuming that the top 3 high-frequency test points are selected, then the high-frequency test point subgraph will contain the three nodes "function", "derivative", and "integral" and their interrelationships; It is necessary to identify nodes where students' mastery probability is below a certain preset threshold and form a subgraph of error-prone knowledge points. Mastery probability refers to a student's ability to understand and apply a certain knowledge point, which is usually assessed through test scores or learning feedback. For example, if the mastery probability of the knowledge point "limit" is assessed to be 0.4 (below the set threshold of 0.5), then the "limit" node will be included in the subgraph of error-prone knowledge points. If there are the following nodes and their mastery probabilities: "differential" (0.6), "limit" (0.4), and "function graph" (0.5), then the "limit" node will be selected into the subgraph of error-prone knowledge points. The Education Hot Topics Vocabulary Database is a collection of currently popular or important terms in the field of education, such as "online learning," "flipped classroom," and "adaptive learning." Using natural language processing techniques (such as word vector models), the similarity between knowledge point names and these hot topics can be calculated. For example, the node "derivative" may have a high similarity to the term "rate of change." These related terms can be extracted as expanded vocabulary. Virtual transition nodes based on expanded vocabulary are added between the high-frequency test point subgraph and the error-prone knowledge point subgraph. These nodes act as bridges connecting the high-frequency test points and error-prone knowledge points. Virtual transition nodes are nodes that are different from actual knowledge points but are semantically related. For example, if "derivative" and "rate of change" have a high similarity, a virtual node "rate of change" can be created and placed between "derivative" and "limit". At the same time, it is necessary to establish the connection edges between the virtual transition nodes and the original nodes to represent the relationship between them. For example, the connecting edge may indicate the definitional relationship between "derivative" and "rate of change". By merging the high-frequency test point subgraphs and the error-prone knowledge point subgraphs after adding virtual nodes, a scenario-based knowledge graph is generated for a specific teaching scenario. The scenario-based knowledge graph contains high-frequency test points, error-prone knowledge points, and virtual transition nodes, which can help teachers and students better understand the relationship between knowledge points and provide a more comprehensive learning path. For example, the final scenario-based knowledge graph may present the following structure: high-frequency test point node: "derivative"; error-prone knowledge point node: "limit"; virtual transition node: "rate of change". Such a graph allows "rate of change" to be introduced as an auxiliary concept when teaching "derivative", and at the same time, it can identify the weak points that students may have when learning "limit", thereby designing more effective teaching strategies.
[0030] In one optional embodiment, classroom interaction behavior data streams are collected in real time, matched with a contextualized knowledge graph, and emerging knowledge points that are not yet covered are identified. These emerging knowledge points are then inserted as new nodes into the contextualized knowledge graph. Simultaneously, association edges between the new nodes and surrounding nodes are established based on the interaction frequency, resulting in a dynamically evolving contextualized knowledge graph, including: Speech recognition and keyword extraction are performed on the classroom interaction behavior data stream to obtain real-time interactive text; Perform similarity matching between real-time interactive text and node names in a contextualized knowledge graph; If there are target keywords that fail to match and the frequency of the target keywords is greater than the preset frequency threshold, then the target keywords are determined to be emerging knowledge points. In the contextualized knowledge graph, new nodes representing emerging knowledge points are created, and the number of times the new nodes co-occur with surrounding existing nodes in real-time interactive text is counted. Directed edges are constructed between newly added nodes and their surrounding nodes based on the number of co-occurrences. The weights of the directed edges are assigned according to the number of co-occurrences to obtain a dynamically evolving scenario-based knowledge graph.
[0031] It should be noted that classroom interaction behavior data stream refers to the interactive information between teachers and students during the teaching process, including students answering questions, asking questions, and discussing. These interactions are usually recorded in voice, text, or other forms and can serve as an important data source for the learning process. For example, in a math class, a student might say, "Teacher, I don't quite understand how to find the derivative." This statement is an example of an interaction behavior data stream. Speech recognition is performed on classroom interaction data, converting the speech signal into a readable text format. Then, key concepts and terms are identified from this text using keyword extraction technology. Representative words are extracted from the text using natural language processing technology. For example, in the sentence above, "derivative" is a keyword. For example, if the real-time interactive text is "How to calculate the derivative of a function?", then after keyword extraction, the keyword obtained is "derivative". The extracted keywords are matched with the node names in the contextualized knowledge graph to determine whether these keywords already exist in the knowledge graph. The contextualized knowledge graph is a structured knowledge network that contains key nodes of teaching content and the relationships between them, such as mathematical concepts like "derivative" and "integral". For example, matching the extracted keyword "derivative" with nodes in the knowledge graph reveals that "derivative" already exists in the graph, so the match is successful. If a target keyword fails to match, and its frequency in the classroom interaction text exceeds a preset frequency threshold, it is identified as an emerging knowledge point. A failed match means the system failed to find a knowledge graph node corresponding to the extracted keyword. The frequency threshold is a pre-set standard. For example, if the frequency threshold is set to 3 times, and a keyword appears 5 times in classroom discussions, then this keyword can be considered an emerging knowledge point. For example, if students mention "limit" 4 times in multiple classroom discussions, but there is no "limit" node in the knowledge graph, then "limit" is considered an emerging knowledge point. In the contextualized knowledge graph, create a new node to represent an emerging knowledge point; for example, create a new node for "limit"; count the number of times the new node co-occurs with surrounding existing nodes in the real-time interactive text; this step is to understand the relationship between new knowledge points and existing knowledge points; the number of co-occurrences refers to the number of nodes that appear simultaneously in the same real-time interactive text; for example, if "limit" and "derivative" appear 5 times in a classroom discussion, then their co-occurrence count is 5 times. Directed edges are constructed between new nodes and their surrounding nodes based on the number of times they co-occur. This indicates that there is a relationship between the two nodes, and the direction of the directed edge can indicate the direction of information flow. A directed edge is a connection from one node to another, representing a unidirectional relationship. For example, if the number of times "limit" and "derivative" co-occur is 5, a directed edge from "limit" to "derivative" can be created in the knowledge graph to indicate the association between "limit" and "derivative". The weights of directed edges are assigned based on the number of times they co-occur. The higher the number of times they co-occur, the greater the weight of the edge, indicating a stronger relationship between them. For example, if the number of times "limit" and "derivative" co-occurs is 5, the weight of this directed edge can be set to 5. Through the above steps, a dynamically evolving scenario-based knowledge graph is finally formed. It not only includes known knowledge points, but can also be updated in real time to reflect new knowledge points and their relationships that appear in the classroom.
[0032] In an optional embodiment, based on all node attributes and edge weights in the dynamically evolving contextualized knowledge graph, a secondary feature aggregation is performed on the association between the new node and its surrounding nodes. The influence factor of the new node on its surrounding nodes is calculated, and the weight values of the associated edges are updated according to the influence factor to generate a weight-optimized knowledge graph, including: In the dynamic evolution scenario-based knowledge graph input graph attention network model, the feature vectors of each new node and its surrounding nodes are concatenated and linearly transformed. Calculate the attention coefficient of the newly added node to its surrounding nodes, and normalize it to obtain the influence factor; The updated edge weight values are obtained by multiplying the influence factor by the original co-occurrence weight of the associated edge. Replace the original weights with all the updated edge weights to generate a weight-optimized knowledge graph.
[0033] It should be noted that in the dynamically evolving contextualized knowledge graph, newly added nodes represent new knowledge points identified in class, while surrounding nodes are existing knowledge points related to these new knowledge points. For example, suppose there is a knowledge graph that includes three nodes: "derivative", "limit" and "integral". In a classroom interaction, a student raises the concept of "differential", at which point "differential" becomes a newly added node. In a graph attention network, each node has a feature vector that represents the node's attributes or information. For example, the feature vector of "derivative" may contain information such as its related definitions, formulas, and applications. The feature vector of a new node (such as "differential") is combined with the feature vectors of its surrounding nodes (such as "derivative" and "limit") to form a new feature vector. This is done so that the model can better understand the relationship between the new node and its surrounding nodes. The concatenated feature vectors are adjusted using a linear transformation (usually matrix multiplication) to suit the model's needs; this process helps extract more meaningful information. For example, if the feature vector for "differential" is [0.2, 0.5] and the feature vector for "derivative" is [0.3, 0.4], the concatenated vector might be [0.2, 0.5, 0.3, 0.4], and then a new feature representation can be obtained through a linear transformation. The model needs to calculate the attention coefficient of the new node to its surrounding nodes. This step uses the core idea of graph attention networks, which calculates the importance score of each surrounding node by performing inner product or other similarity calculations on the feature vectors. The higher the score, the greater the influence of the surrounding node on the new node. For example, if the attention coefficient between "differential" and "derivative" is 0.7, while the attention coefficient with "limit" is 0.3, it means that "derivative" is more important to "differential". To ensure that the sum of all attention coefficients is 1, these coefficients are usually normalized; this converts them into relative weights, which are called influence factors. For example, if the attention coefficient of "differential" to "derivative" is 0.7 and the attention coefficient to "limit" is 0.3, after normalization, these two coefficients remain unchanged (because their sum is 1), that is, the influence factors are 0.7 and 0.3 respectively. The updated edge weight value can be obtained by multiplying the influence factor by the original co-occurrence weight of the associated edge. The original co-occurrence weight refers to the initial weight of the edge that already exists in the knowledge graph, which is usually calculated based on the number of co-occurrences. For example, if the original co-occurrence weight between "differential" and "derivative" is 5, and the influence factor of "differential" on "derivative" is 0.7, then the updated edge weight is 5 (original weight) multiplied by 0.7 (influence factor), that is, the updated weight is 3.5. The updated edge weights replace the original weights, generating a weight-optimized knowledge graph. This optimized knowledge graph more accurately reflects the relationships and relative importance between nodes, which helps improve subsequent knowledge reasoning and learning. For example, after the update, the edge weight pointing from "differential" to "derivative" in the knowledge graph will be updated from 5 to 3.5. This means that in subsequent knowledge reasoning, the model will pay more attention to the relationship between "differential" and "derivative".
[0034] In an optional embodiment, historical learning trajectory data from the student's end is obtained, and this historical learning trajectory data is matched with knowledge point nodes in a weighted optimized knowledge graph. Based on the matching results and the mastery probability of the nodes, a personalized knowledge recommendation path is generated for the current student. The recommended path is then mapped to a specific sequence of teaching resources, including: Align the incorrect answers and dwell time in the historical learning trajectory data with the knowledge point nodes in the weighted optimized knowledge graph to identify the current student's weak knowledge points; Based on the dependencies of weak knowledge points in the weighted knowledge graph, and combined with the mastery probability of nodes, a recommended path to the target knowledge point is calculated. Retrieve the explanation videos and variation questions corresponding to the nodes in the recommended path from the textbook text sequence and keyframes of the teaching video; The retrieved videos and questions are arranged in order of their paths, and personalized learning packages are generated and pushed to students.
[0035] It should be noted that historical learning trajectory data refers to various information generated by students during the learning process, including learning time, completed questions, incorrect answers, and time spent on specific knowledge points. This data can help teachers and educational platforms understand students' learning status and mastery. For example, suppose a student solves 10 questions on the topic of "algebraic equations," answers 4 questions incorrectly, and spends 30 minutes on that topic. This data will be used to analyze the student's understanding of "algebraic equations." When aligning the incorrect answers and dwell time in the student's historical learning trajectory with the knowledge point nodes in the weighted optimized knowledge graph, the first step is to identify which knowledge points the student performs poorly on. The specific steps are as follows: Extract all incorrectly answered questions from the student's learning trajectory and find the knowledge points related to these questions; for example, if a student makes multiple mistakes on questions related to "algebraic equations," this knowledge point may be marked as a weak point; analyze the time the student spends on specific knowledge points; if the dwell time on a certain knowledge point is relatively long but the performance does not meet expectations (e.g., frequent incorrect answers), it also indicates that the student has difficulty with that knowledge point. Alignment can help identify students' weak areas; for example, a student might perform poorly on "algebraic equations" and "systems of equations." In weighted knowledge graphs, there are often dependencies between knowledge points, meaning that some knowledge points are fundamental to understanding others. By analyzing these dependencies, learning paths can be better developed. For example, if "algebraic equations" depends on understanding "basic operations" and "solving equations," then when developing a learning path, priority should be given to ensuring that students master these two fundamental knowledge points. By combining the probability of mastering weak knowledge points, a recommended path can be developed from weak knowledge points to target knowledge points. For example, if a student has a 0.8 probability of mastering "basic operations" and a 0.4 probability of mastering "algebraic equations", then in the recommended path, "basic operations" can be considered as the starting point, gradually guiding the student to "algebraic equations". By analyzing the position and dependencies of weak knowledge points in the weighted knowledge graph, and combining this with the mastery probability, a recommended path from weak knowledge points to target knowledge points can be calculated. This path will include the knowledge points that students need to learn or review to improve their mastery. For example, if the target knowledge point is "system of equations", the recommended path might be "basic operations" → "algebraic equations" → "system of equations". This path clarifies the content that students need to learn in sequence. Once the recommended path is determined, it is necessary to retrieve the corresponding explanation videos and variation questions from the textbook text sequence and teaching videos. Variation questions refer to questions with different forms or difficulties under the same knowledge point, which are designed to help students deepen their understanding. For example, for each knowledge point in the path, the following can be retrieved: Explanation videos: Explanation videos about "basic operations"; Variation questions: Different types of questions for "algebraic equations". The retrieved videos and questions are arranged in order of path to generate personalized learning packages. In these packages, students will learn and practice step by step according to the recommended learning path. For example, the order of a personalized learning package might be as follows: video explanation of "basic operations"; practice of "algebraic equations" with variations; video explanation of "algebraic equations"; practice of "systems of equations" with variations. In this way, the learning packages not only meet students' learning needs but also effectively improve their ability to master weak knowledge points.
[0036] Example 2, please refer to Figure 2 This invention provides a technical solution: a knowledge graph construction system for educational question banks based on multi-source heterogeneous data, applicable to the aforementioned method for constructing knowledge graphs for educational question banks based on multi-source heterogeneous data, comprising: Data acquisition unit 1 is used to collect multi-source heterogeneous raw data in the field of education, perform structured parsing on the multi-source heterogeneous raw data to obtain the raw dataset; the raw dataset includes textbook text sequences, structured records of question banks and key frames of teaching videos; Entity recognition unit 2 is used to input the original dataset into the pre-trained educational entity extraction model, and perform joint entity recognition based on textbook text sequences, structured records of the question bank and key frames of teaching videos to extract core educational entities and semantic relationships between entities, and construct an initial educational knowledge graph; Feature encoding unit 3 is used to encode the features of the initial educational knowledge graph based on the heterogeneous graph neural network model, introduce educational logic constraint rules to perform consistency verification on the encoded graph, select credible triples that conform to the preset educational axioms, and generate a logically verified knowledge graph. Data alignment unit 4 is used to align the logic verification knowledge graph with the historical answer data in the structured record of the question bank. Based on the historical answer data, it calculates the mastery probability of each knowledge point node and the discrimination index of the question node. Based on the mastery probability and discrimination index, it dynamically adjusts the edge weights in the logic verification knowledge graph to obtain a dynamic weight knowledge graph. Semantic Education Unit 5 is used to map textbook text sequences and keyframes of teaching videos into semantic description vectors of nodes based on node attributes and edge weights in the dynamic weighted knowledge graph, and inject the semantic description vectors into the corresponding nodes of the dynamic weighted knowledge graph to generate a semantically rich educational knowledge graph. Specific teaching unit 6 is used to extract high-frequency test point subgraphs and error-prone knowledge point subgraphs from the semantically rich educational knowledge graph, and to expand and connect the high-frequency test point subgraphs and error-prone knowledge point subgraphs by combining the current educational hot topic vocabulary database, so as to construct a scenario-based knowledge graph for specific teaching scenarios.
[0037] The embodiments of the present invention have been described in detail above with reference to the accompanying drawings. However, the present invention is not limited thereto. Various changes can be made within the scope of knowledge possessed by those skilled in the art without departing from the spirit of the present invention.
Claims
1. A method for constructing an educational question bank knowledge graph based on multi-source heterogeneous data, characterized in that, include: We collect multi-source heterogeneous raw data from the education field, perform structured parsing on the multi-source heterogeneous raw data, and obtain the raw dataset; the raw dataset includes textbook text sequences, structured records of question banks, and keyframes of teaching videos; The original dataset is input into a pre-trained educational entity extraction model. Joint entity recognition is performed based on textbook text sequences, structured records from the question bank, and keyframes from teaching videos to extract core educational entities and semantic relationships between entities, thereby constructing an initial educational knowledge graph. The initial educational knowledge graph is feature-encoded based on a heterogeneous graph neural network model. Educational logic constraint rules are introduced to verify the consistency of the encoded graph. Credible triples that conform to the preset educational axioms are selected to generate a logically verified knowledge graph. Align the logic verification knowledge graph with the historical answer data in the structured records of the question bank, calculate the mastery probability of each knowledge point node and the discrimination index of the question node based on the historical answer data, and dynamically adjust the edge weights in the logic verification knowledge graph according to the mastery probability and discrimination index to obtain a dynamic weight knowledge graph. Based on the node attributes and edge weights in the dynamic weighted knowledge graph, the textbook text sequence and keyframes of the teaching video are mapped to the semantic description vectors of the nodes. The semantic description vectors are then injected into the corresponding nodes of the dynamic weighted knowledge graph to generate a semantically rich educational knowledge graph. We extract high-frequency test point subgraphs and error-prone knowledge point subgraphs from the rich semantic educational knowledge graph, and expand and connect these subgraphs by combining them with a current educational hot topic vocabulary database, thus constructing a scenario-based knowledge graph for specific teaching scenarios.
2. The method for constructing an educational question bank knowledge graph based on multi-source heterogeneous data according to claim 1, characterized in that, The method further includes: Real-time collection of classroom interaction behavior data streams, matching of classroom interaction behavior data streams with contextualized knowledge graphs, identification of uncovered emerging knowledge points, insertion of emerging knowledge points as new nodes into the contextualized knowledge graph, and establishment of association edges between new nodes and surrounding nodes based on interaction frequency to obtain a dynamically evolving contextualized knowledge graph. Based on all node attributes and edge weights in the dynamically evolving scenario-based knowledge graph, a secondary feature aggregation is performed on the relationship between the new node and its surrounding nodes. The influence factor of the new node on its surrounding nodes is calculated, and the weight values of the associated edges are updated according to the influence factor to generate a weight-optimized knowledge graph. The system acquires historical learning trajectory data from students, matches this data with knowledge point nodes in a weighted and optimized knowledge graph, generates personalized knowledge recommendation paths for the current student based on the matching results and the mastery probability of the nodes, and maps these recommended paths to specific teaching resource sequences.
3. The method for constructing an educational question bank knowledge graph based on multi-source heterogeneous data according to claim 2, characterized in that, Educational logical constraints include the rule that prerequisite relationships are irreversible and the rule that the difficulty coefficient increases monotonically; in the initial educational knowledge graph, nodes represent knowledge points or test questions, and edges represent the logical dependencies between knowledge points or the attribution relationship between test questions and knowledge points; The initial educational knowledge graph is feature-encoded based on a heterogeneous graph neural network model. Educational logical constraint rules are introduced to verify the consistency of the encoded graph. Trustworthy triples that conform to preset educational axioms are selected, generating a logically validated knowledge graph, including: Based on the heterogeneous graph neural network model, neighborhood aggregation is performed on text nodes, question nodes and video nodes in the initial educational knowledge graph to obtain node embedding vectors of different modalities; After embedding nodes of different modalities into vectors and concatenating them, the data is input into a logic discriminator to detect logical contradictions between nodes based on educational logic constraint rules. If the target triple is detected to violate the rule of irreversibility of prior repair relations, the edge direction of the target triple will be forcibly corrected. If the target triple is detected to violate the monotonically increasing difficulty rule, the edge weight of the target triple is reduced to below the preset threshold. The triples with corrected directions or reduced weights are retained to generate a logical verification knowledge graph.
4. The method for constructing an educational question bank knowledge graph based on multi-source heterogeneous data according to claim 3, characterized in that, Align the logic verification knowledge graph with the historical answer data in the structured question bank. Calculate the mastery probability of each knowledge point node and the discrimination index of each question node based on the historical answer data. Dynamically adjust the edge weights in the logic verification knowledge graph according to the mastery probability and discrimination index to obtain a dynamically weighted knowledge graph, including: The knowledge point nodes in the logic verification knowledge graph are matched with the test point tags in the historical answer data, and the number of students who answered the questions corresponding to the knowledge point nodes correctly and incorrectly is counted. The probability of mastering a knowledge point node is calculated based on the number of students who answered correctly and incorrectly, and the discrimination index of a question node is calculated based on the variance of the score of the question node. Based on mastering the probability replacement logic to verify the original weights of the dependency edges between knowledge point nodes in the knowledge graph, the discrimination index is used as the weight of the connection edge between the question node and the knowledge point node. The graph with the weights replaced is used as a dynamic weighted knowledge graph.
5. The method for constructing an educational question bank knowledge graph based on multi-source heterogeneous data according to claim 4, characterized in that, Based on node attributes and edge weights in a dynamic weighted knowledge graph, textbook text sequences and keyframes from teaching videos are mapped to semantic description vectors for nodes. These semantic description vectors are then injected into the corresponding nodes of the dynamic weighted knowledge graph, generating a semantically rich educational knowledge graph, including: Extract the text definitions and question stems of each node in the dynamic weighted knowledge graph, and retrieve supplementary explanatory texts and demonstration video clips related to each node from the textbook text sequence and keyframes of the teaching video; Feature alignment is performed between the supplementary explanatory text and the demonstration video clips to generate a fused feature vector; By concatenating the fused feature vectors as attribute features of corresponding nodes in the dynamic weight knowledge graph, a semantically rich educational knowledge graph is obtained.
6. The method for constructing an educational question bank knowledge graph based on multi-source heterogeneous data according to claim 5, characterized in that, This involves extracting high-frequency test point subgraphs and error-prone knowledge point subgraphs from a semantically rich educational knowledge graph, and expanding and connecting these subgraphs by incorporating current educational hot topics into a vocabulary database. The result is a scenario-based knowledge graph tailored to specific teaching scenarios, including: Based on the weight values of edges in the rich semantic knowledge graph, a number of subgraphs with the highest weight ranking are selected as high-frequency test point subgraphs, and subgraphs composed of nodes whose mastery probability is lower than a preset probability threshold are selected as error-prone knowledge point subgraphs. Extract extended vocabulary from the current educational hot topic vocabulary database that has the highest semantic similarity to the node names in the high-frequency test point sub-graph and the error-prone knowledge point sub-graph; Add virtual transition nodes based on expanded vocabulary between the high-frequency test point subgraph and the error-prone knowledge point subgraph, and establish the association edges between the virtual transition nodes and the original nodes; The subgraphs with added virtual nodes are merged to generate a contextualized knowledge graph for a specific teaching scenario.
7. The method for constructing an educational question bank knowledge graph based on multi-source heterogeneous data according to claim 6, characterized in that, Real-time collection of classroom interaction behavior data streams is performed and matched with a contextualized knowledge graph to identify uncovered emerging knowledge points. These emerging knowledge points are then inserted as new nodes into the contextualized knowledge graph. Simultaneously, association edges are established between the new nodes and surrounding nodes based on interaction frequency, resulting in a dynamically evolving contextualized knowledge graph, including: Speech recognition and keyword extraction are performed on the classroom interaction behavior data stream to obtain real-time interactive text; Perform similarity matching between real-time interactive text and node names in a contextualized knowledge graph; If there are target keywords that fail to match and the frequency of the target keywords is greater than the preset frequency threshold, then the target keywords are determined to be emerging knowledge points. In the contextualized knowledge graph, new nodes representing emerging knowledge points are created, and the number of times the new nodes co-occur with surrounding existing nodes in real-time interactive text is counted. Directed edges are constructed between newly added nodes and their surrounding nodes based on the number of co-occurrences. The weights of the directed edges are assigned according to the number of co-occurrences to obtain a dynamically evolving scenario-based knowledge graph.
8. The method for constructing an educational question bank knowledge graph based on multi-source heterogeneous data according to claim 7, characterized in that, Based on all node attributes and edge weights in the dynamically evolving contextualized knowledge graph, a secondary feature aggregation is performed on the association between new nodes and their surrounding nodes. The influence factor of the new node on its surrounding nodes is calculated, and the weight values of the associated edges are updated according to this influence factor, generating a weight-optimized knowledge graph, including: In the dynamic evolution scenario-based knowledge graph input graph attention network model, the feature vectors of each new node and its surrounding nodes are concatenated and linearly transformed. Calculate the attention coefficient of the newly added node to its surrounding nodes, and normalize it to obtain the influence factor; The updated edge weight values are obtained by multiplying the influence factor by the original co-occurrence weight of the associated edge. Replace the original weights with all the updated edge weights to generate a weight-optimized knowledge graph.
9. The method for constructing an educational question bank knowledge graph based on multi-source heterogeneous data according to claim 8, characterized in that, Acquire historical learning trajectory data from students, match this data with knowledge point nodes in a weighted optimized knowledge graph, and generate personalized knowledge recommendation paths for the current student based on the matching results and the mastery probability of the nodes. Map these recommended paths to specific sequences of teaching resources, including: Align the incorrect answers and dwell time in the historical learning trajectory data with the knowledge point nodes in the weighted optimized knowledge graph to identify the current student's weak knowledge points; Based on the dependencies of weak knowledge points in the weighted knowledge graph, and combined with the mastery probability of nodes, a recommended path to the target knowledge point is calculated. Retrieve the explanation videos and variation questions corresponding to the nodes in the recommended path from the textbook text sequence and keyframes of the teaching video; The retrieved videos and questions are arranged in order of their paths, and personalized learning packages are generated and pushed to students.
10. A knowledge graph construction system for educational question banks based on multi-source heterogeneous data, applicable to the knowledge graph construction method for educational question banks based on multi-source heterogeneous data as described in any one of claims 1-9, characterized in that, include: The data acquisition unit is used to collect multi-source heterogeneous raw data in the field of education, and to perform structured parsing on the multi-source heterogeneous raw data to obtain the raw dataset; the raw dataset includes textbook text sequences, structured records of question banks, and keyframes of teaching videos; The entity recognition unit is used to input the original dataset into the pre-trained educational entity extraction model, and perform joint entity recognition based on textbook text sequences, structured records in the question bank, and key frames of teaching videos to extract core educational entities and semantic relationships between entities, and construct an initial educational knowledge graph. The feature encoding unit is used to encode the features of the initial educational knowledge graph based on the heterogeneous graph neural network model, introduce educational logic constraint rules to perform consistency verification on the encoded graph, select credible triples that conform to the preset educational axioms, and generate a logically verified knowledge graph. The data alignment unit is used to align the logic verification knowledge graph with the historical answer data in the structured records of the question bank. Based on the historical answer data, it calculates the mastery probability of each knowledge point node and the discrimination index of the question node. Based on the mastery probability and discrimination index, it dynamically adjusts the edge weights in the logic verification knowledge graph to obtain a dynamic weight knowledge graph. The semantic education unit is used to map textbook text sequences and keyframes of teaching videos into semantic description vectors of nodes based on node attributes and edge weights in the dynamic weighted knowledge graph, and inject the semantic description vectors into the corresponding nodes of the dynamic weighted knowledge graph to generate a semantically rich education knowledge graph. Specific teaching units are used to extract high-frequency test point subgraphs and error-prone knowledge point subgraphs from semantically rich educational knowledge graphs, and to expand and connect the high-frequency test point subgraphs and error-prone knowledge point subgraphs by combining them with a current educational hot topic vocabulary database, so as to construct a scenario-based knowledge graph for specific teaching scenarios.
