Knowledge structure prediction method and device based on graph neural network, equipment and medium

Through the graph neural network-based method, the text similarity and structural features of the learner's concept map are used for graph enhanced representation, which solves the problems of low subjective evaluation efficiency and poor accuracy in the existing technology, and achieves efficient analysis of the learner's knowledge structure. , accurate prediction.

CN118780353APending Publication Date: 2024-10-15HUAZHONG NORMAL UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410722080.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

In the existing technology, the assessment of learners' knowledge structure mainly relies on subjective evaluation, which is inefficient and error-prone, and lacks objectivity and accuracy.

Method used

Using a method based on graph neural networks, by obtaining the learner's concept map, calculating the text similarity and structural features of the nodes, performing graph enhancement representation, and inputting it into the knowledge structure prediction model, it achieves an objective, accurate and efficient analysis of the learner's knowledge structure. predict.

Benefits of technology

There is no need to rely on the experience of evaluators, and the knowledge structure can be quickly predicted directly through the graph neural network model based on the learner's concept map, achieving an objective, accurate and efficient assessment of the learner's knowledge structure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118780353A_ABST
    Figure CN118780353A_ABST
Patent Text Reader

Abstract

The invention discloses a knowledge structure prediction method and device based on a graph neural network, electronic equipment and a computer readable storage medium, and the method comprises the steps: obtaining a learning concept graph of a user; calculating the text similarity between the text of each node in the learning concept graph and each text in the expert dictionary, and obtaining the maximum text similarity as the semantic similarity of each node; performing graph enhancement representation according to the semantic similarity of the nodes in the learning concept graph and the node structure features of the learning concept graph to obtain node enhancement representation of the learning concept graph; and inputting an input vector obtained by serially connecting the node enhancement representation of the learning conceptual graph and the adjacent matrix of the conceptual graph into a knowledge structure prediction model constructed based on a graph neural network to obtain a knowledge structure prediction result of the user. According to the knowledge structure prediction method and device based on the graph neural network, the electronic equipment and the computer readable storage medium, the knowledge structure of a learner can be objectively, accurately and efficiently predicted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of educational information technology, and in particular, to a knowledge structure prediction method, device, electronic device, and computer-readable storage medium based on a graph neural network. Background Art

[0002] In teaching, learners' knowledge structure is usually evaluated. The evaluation and analysis of learners' knowledge structure can help teachers understand learners' deep learning status in a timely manner, which is of great significance for effective teaching feedback. In the prior art, the commonly used knowledge structure evaluation method mainly relies on the subjective evaluation of teachers, which is inefficient, subjective, and prone to errors. Summary of the invention

[0003] The embodiments of the present application provide a knowledge structure prediction method, device, electronic device and computer-readable storage medium based on a graph neural network, which can achieve the purpose of objectively, accurately and efficiently predicting the learner's knowledge structure.

[0004] On the one hand, an embodiment of the present application provides a knowledge structure prediction method based on a graph neural network, including:

[0005] Acquire a user's learning concept map, wherein the learning concept map includes a plurality of nodes having a connection relationship;

[0006] Calculating the text similarity between the text of each node in the learning concept graph and the text in the expert dictionary, and obtaining the maximum text similarity as the semantic similarity of each node;

[0007] Extracting node structure features of the learning concept graph;

[0008] Performing graph enhancement representation according to the semantic similarity of nodes in the learning concept graph and the node structural features of the learning concept graph to obtain a node enhancement representation of the learning concept graph;

[0009] The node enhanced representation of the learning concept graph and the adjacency matrix of the concept graph are connected in series to obtain an input vector, and the input vector is input into a knowledge structure prediction model built based on a graph neural network to obtain a knowledge structure prediction result of the user.

[0010] Optionally, extracting the node structure features of the learning concept graph includes:

[0011] Calculating the sum of the in-degree and out-degree of each node in the learning concept graph;

[0012] Calculating the NodeRank of each node in the learning concept graph;

[0013] Calculating the node betweenness centrality of each node in the learning concept graph;

[0014] Determine at least two of the sum of the in-degree and out-degree of each node in the learning concept graph, the NodeRank of each node in the learning concept graph, and the node betweenness centrality of each node in the learning concept graph to constitute the node structure feature of the learning concept graph.

[0015] Optionally, performing graph enhancement representation according to the semantic similarity of the nodes in the learning concept graph and the node structural features of the learning concept graph to obtain the node enhanced representation of the learning concept graph includes:

[0016] Constructing an indicator vector for each node in the learning concept graph according to the semantic similarity of the nodes in the learning concept graph, the sum of the in-degree and out-degree of each node in the learning concept graph, the NodeRank of each node in the learning concept graph, and the node betweenness centrality of each node in the learning concept graph;

[0017] According to the indicator vector of each node in the learning concept graph, obtaining an indicator node embedding matrix of the learning concept graph;

[0018] Obtaining a node feature matrix of the learning concept graph;

[0019] The node feature matrix of the learning concept graph and the indicator node embedding matrix of the learning concept graph are fused and spliced ​​to obtain a node enhanced representation of the learning concept graph.

[0020] Optionally, the graph neural network includes a GIN message aggregation layer and a graph pooling layer, wherein the GIN message aggregation layer is connected to an attention unit.

[0021] Optionally, after obtaining the knowledge structure prediction result of the user, the method further includes:

[0022] Obtaining the learning subject corresponding to the learning concept map;

[0023] Obtaining the learning participation of the user in the learning subject, where the learning participation is at least one of the learning investment time, classroom interaction frequency, and group discussion activity;

[0024] The prediction result of the user's knowledge structure is enhanced according to the learning subject and the user's learning participation in the learning subject.

[0025] Optionally, obtaining the user's learning concept map includes:

[0026] Acquire multiple concept maps of the user within a preset time period;

[0027] Acquiring learning behavior data corresponding to the plurality of concept maps;

[0028] Deleting or retaining the plurality of concept maps according to the learning behavior data to obtain at least two concept maps;

[0029] A target concept map is selected from the at least two concept maps according to the timestamps of the at least two concept maps, the complexity of the at least two concept maps, and the completeness of the at least two concept maps to obtain a learning concept map of the user.

[0030] On the one hand, the embodiment of the present application also provides a knowledge structure prediction device based on a graph neural network, including:

[0031] An acquisition module, used to acquire a user's learning concept map, wherein the learning concept map includes a plurality of nodes having a connection relationship;

[0032] A calculation module, used for calculating the text similarity between the text of each node in the learning concept graph and each text in the expert dictionary, and obtaining the maximum text similarity as the semantic similarity of each node;

[0033] An extraction module, used to extract node structure features of the learning concept graph;

[0034] An enhancement module, used for performing graph enhancement representation according to the semantic similarity of the nodes in the learning concept graph and the node structural features of the learning concept graph, to obtain a node enhanced representation of the learning concept graph;

[0035] A prediction module is used to concatenate the node enhanced representation of the learning concept graph and the adjacency matrix of the concept graph to obtain an input vector, and input the input vector into a knowledge structure prediction model built based on a graph neural network to obtain a knowledge structure prediction result of the user.

[0036] Optionally, the extraction module is specifically used for:

[0037] Calculating the sum of the in-degree and out-degree of each node in the learning concept graph;

[0038] Calculating the NodeRank of each node in the learning concept graph;

[0039] Calculating the node betweenness centrality of each node in the learning concept graph;

[0040] Determine at least two of the sum of the in-degree and out-degree of each node in the learning concept graph, the NodeRank of each node in the learning concept graph, and the node betweenness centrality of each node in the learning concept graph to constitute the node structure feature of the learning concept graph.

[0041] On the one hand, an embodiment of the present application also provides an electronic device, including: a memory and a processor; the memory stores executable program code; the processor coupled to the memory calls the executable program code stored in the memory to execute the knowledge structure prediction method based on graph neural network provided in the above embodiment.

[0042] On the one hand, an embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the knowledge structure prediction method based on graph neural network provided in the above embodiment is implemented.

[0043] It can be seen from the above-mentioned embodiments of the present application that by obtaining the user's learning concept map, the learning concept map includes multiple nodes with a connection relationship; calculating the text similarity between the text of each node in the learning concept map and the text in the expert dictionary, and obtaining the maximum text similarity as the semantic similarity of each node; extracting the node structure features of the learning concept map; performing graph enhancement representation according to the semantic similarity of the nodes in the learning concept map and the node structure features of the learning concept map, and obtaining the node enhancement representation of the learning concept map; connecting the node enhancement representation of the learning concept map and the adjacency matrix of the concept map in series to obtain an input vector, and inputting the input vector into a knowledge structure prediction model constructed based on a graph neural network to obtain the user's knowledge structure prediction result. The embodiment of the present application does not need to rely on the experience of the evaluator, and can quickly predict the user's knowledge results directly based on the user's learning concept map through the knowledge structure prediction model constructed based on the graph neural network, thereby achieving the purpose of objectively, accurately and efficiently predicting the learner's knowledge structure. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0045] Figure 1 A flowchart for implementing a knowledge structure prediction method based on a graph neural network provided in one embodiment of the present application;

[0046] Figure 2 A schematic diagram of the structure of a knowledge structure prediction device based on a graph neural network provided in one embodiment of the present application;

[0047] Figure 3 A schematic diagram of the hardware structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0048] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0049] See also Figure 1 , Figure 1 This is a flowchart of the implementation of the knowledge structure prediction method based on graph neural network provided in one embodiment of the present application. The method described in this embodiment can be applied to electronic devices, which can be smart terminals such as personal computers and servers. Figure 1 As shown, the method specifically includes:

[0050] Step S11, obtaining a user's learning concept map, wherein the learning concept map includes a plurality of nodes having an associated relationship.

[0051] In this embodiment, the user is a learner, for example, a primary school student, a junior high school student, or a senior high school student.

[0052] In this embodiment, the user's learning concept map may be drawn by the user, and the user's learning concept map may reflect the knowledge content learned by the user and the relationship between the knowledge content.

[0053] Specifically, the learning concept map includes multiple nodes, each of which can be represented by a circle, rectangle or other shape, and each node includes text representing a certain learning knowledge (for example, the name of a certain concept or a keyword); there is an association relationship between multiple nodes, that is, multiple nodes with an association relationship are connected by a connecting line with a direction. Furthermore, there may be a phrase on the connecting line that represents the relationship between the two connected nodes. For example, the learning concept map includes node A and node B, where node A points to node B, and node B represents the subordinate concept of node A.

[0054] Furthermore, in an optional embodiment of the present invention, the step of obtaining the user's learning concept map includes:

[0055] Acquire multiple concept maps of the user within a preset time period;

[0056] Acquiring learning behavior data corresponding to the plurality of concept maps;

[0057] Deleting or retaining the plurality of concept maps according to the learning behavior data to obtain at least two concept maps;

[0058] A target concept map is selected from the at least two concept maps according to the timestamps of the at least two concept maps, the complexity of the at least two concept maps, and the completeness of the at least two concept maps to obtain a learning concept map of the user.

[0059] In this embodiment, the preset time period may be at least half a semester, for example, the preset time period is 3 months.

[0060] Specifically, the plurality of concept maps may be obtained from the user's interactive behaviors such as online exercises and online test papers.

[0061] In this embodiment, obtaining time concept maps within a period of time and then screening them is conducive to screening out effective concept maps.

[0062] In this embodiment, the learning behavior data corresponding to the multiple concept maps refers to the learning behavior data corresponding to the assignments or exams corresponding to the multiple concept maps. The assignments or exams corresponding to the multiple concept maps refer to the assignments or exams that generate the concept maps, or the exams that are generated on the same day or week as the concept maps, or the assignments or exams corresponding to the knowledge points (or learning units) to which the concept maps belong.

[0063] Specifically, the learning behavior data can be the homework completion rate, the exam completion rate, the first matching degree between the homework completion status and the user behavior (this indicator reflects whether the homework can reflect the user's true level), and the second matching degree between the exam completion status and the user behavior (this indicator reflects whether the homework can reflect the user's true level).

[0064] Specifically, learning behavior data can be extracted from the preset memory. For example, after each online practice and online exam, the user's practice and exam are statistically analyzed to obtain the homework completion rate, exam completion rate, the matching degree between homework completion and user behavior, and the matching degree between exam completion and user behavior.

[0065] Specifically, multiple concept maps are deleted or retained according to the learning behavior data, including:

[0066] The concept graphs corresponding to the learning behavior data whose homework completion rate or test completion rate in the learning behavior data is higher than the preset completion rate are retained, and the learning behavior data whose homework completion rate or test completion rate in the learning behavior data is lower than the preset completion rate are deleted; or

[0067] The concept graph corresponding to the learning behavior data whose first matching degree or the second matching degree is higher than the preset completion rate is retained, and the learning behavior data whose first matching degree and the second matching degree are lower than the preset completion rate is deleted.

[0068] In this embodiment, the timestamp of the concept graph is the generation time of the concept graph. The complexity of the concept graph can be determined by the degree and betweenness of the nodes of the concept graph. The completeness of the concept graph can be determined by the coverage of the concept texts in the concept graph.

[0069] Specifically, selecting a target concept map from the at least two concept maps according to the timestamps of the at least two concept maps, the complexity of the at least two concept maps, and the completeness of the at least two concept maps to obtain the learning concept map of the user includes:

[0070] Different weights are assigned to the timestamp, the complexity and the completeness, and a weighted calculation is performed on each concept map in combination with the timestamp, the complexity and the completeness and the weights of the three, and the concept map with the highest score is selected as the learning concept map of the user.

[0071] In this embodiment, the user's learning concept map is comprehensively selected based on timestamp, complexity and completeness, which can avoid the problem that the selected concept map is inaccurate, incomplete, or too old.

[0072] Step S12, calculating the text similarity between the text of each node in the learning concept graph and the text in the expert dictionary, and obtaining the maximum text similarity as the semantic similarity of each node.

[0073] In this embodiment, the text of each node can be Chinese text or English text. The text of each node reflects the accuracy of the user's understanding of the relevant knowledge point.

[0074] In this embodiment, the expert dictionary includes standard concept definitions of each knowledge point, etc. Specifically, the expert dictionary can be preset, or can be analyzed from official teaching materials, teacher's lesson plans, etc. In the expert dictionary, there can be at least one standard text for a knowledge point.

[0075] Specifically, a synonym toolkit (eg, Synonyms) may be used to calculate the text similarity between the text of each node in the concept graph and each text in the expert dictionary.

[0076] In this embodiment, the text similarity between each node and each text in the expert dictionary is calculated. For example, there are N nodes in the user's learning concept map, and the expert dictionary includes text X. n (n=1, 2, 3, ..., m) where m is the number of texts in the expert dictionary. For any node M, the text of node M and text X are calculated one by one. n(n=1, 2, 3, ..., m) text similarity, get m similarity values, take the highest of these m similarity values ​​as the semantic similarity of node M, and so on, calculate the semantic similarity of N nodes.

[0077] Step S13, extracting node structure features of the learning concept graph.

[0078] In this embodiment, node structural features such as node entropy value, degree centrality and other indicators of the learning concept graph can be extracted. The node structural features can reflect the importance of the node in the learning concept graph.

[0079] Further, in an optional embodiment of the present invention, the extracting the node structure features of the learning concept graph includes:

[0080] Calculating the sum of the in-degree and out-degree of each node in the learning concept graph;

[0081] Calculating the NodeRank of each node in the learning concept graph;

[0082] Calculating the node betweenness centrality of each node in the learning concept graph;

[0083] Determine at least two of the sum of the in-degree and out-degree of each node in the learning concept graph, the NodeRank of each node in the learning concept graph, and the node betweenness centrality of each node in the learning concept graph to constitute the node structure feature of the learning concept graph.

[0084] In this embodiment, the learning concept graph is a directed graph, and the degree of a node is divided into in-degree and out-degree, which respectively represent the number of edges pointing to the node and the number of edges departing from the node. Specifically, the sum of the out-degree and in-degree of each node is It can be calculated by the following formula:

[0085]

[0086] Among them, v i ∈V represents a node in the learning concept graph, |V| is the total number of nodes in the learning concept graph, To learn the adjacency matrix of the concept graph, A i,j Represents the slave node v i To node v j Is there an edge, Aj,i, from node v j To node v i Is there an edge?

[0087] In this embodiment, NodeRank (NodeRank) can comprehensively evaluate the importance of a node in the entire structure network. Specifically, the NodeRank of each node It can be calculated by the following formula:

[0088]

[0089] Where |V| is the total number of concept graph nodes, c is the damping index (usually 0.85), L(v j ) is the node v of the learning concept graph j The out-degree, M(v i ) is a concept node v i It is the set of all concept nodes of the outgoing node.

[0090] In this embodiment, the node betweenness (BTN) focuses on the hub role of the node in the network, that is, the role of the node in the shortest path connecting other nodes. Nodes with high betweenness are usually more important in information dissemination. Specifically, the node betweenness of each node is It can be calculated by the following formula:

[0091]

[0092] Among them, σ st is the node v in the learning concept graph s To node v t The number of shortest paths, and σ st (i) is the number of shortest paths that pass through node v i For each pair of nodes v in the learning concept graph s and v t , computing node v i frequency on the shortest path between them.

[0093] In this embodiment, determining at least two of the sum of the in-degree and out-degree of each node in the learning concept graph, the NodeRank of each node in the learning concept graph, and the node betweenness centrality of each node in the learning concept graph to constitute the node structural features of the learning concept graph can better capture the differences between the structural information and semantic information of the graph during the information transmission process, thereby making accurate predictions.

[0094] Step S14, performing graph enhancement representation according to the semantic similarity of the nodes in the learning concept graph and the node structural features of the learning concept graph to obtain the node enhanced representation of the learning concept graph.

[0095] In this embodiment, a graph enhancement representation is performed based on the semantic similarity of the nodes in the learning concept graph and the node structural features of the learning concept graph, including fusing and splicing the semantic similarity of the nodes in the learning concept graph and the node structural features with the node feature matrix of the learning concept graph, and the result after splicing is the node enhancement representation of the learning concept graph.

[0096] Further, in an optional embodiment of the present invention, the graph enhancement representation is performed according to the semantic similarity of the nodes in the learning concept graph and the node structure characteristics of the learning concept graph to obtain the node enhancement representation of the learning concept graph, including:

[0097] Constructing an indicator vector for each node in the learning concept graph according to the semantic similarity of the nodes in the learning concept graph, the sum of the in-degree and out-degree of each node in the learning concept graph, the NodeRank of each node in the learning concept graph, and the node betweenness centrality of each node in the learning concept graph;

[0098] According to the indicator vector of each node in the learning concept graph, obtaining an indicator node embedding matrix of the learning concept graph;

[0099] Obtaining a node feature matrix of the learning concept graph;

[0100] The node feature matrix of the learning concept graph and the indicator node embedding matrix of the learning concept graph are fused and spliced ​​to obtain a node enhanced representation of the learning concept graph.

[0101] For example, taking nodes as units, the four indicators of a single node DG i NR i , BTN i Constitute a single node v i The indicator vector Then we get the index node embedding matrix H of the learning concept graph S =[n1,...n n ], obtain the node feature matrix H of the learning concept graph G , H S and H G Enter fusion splicing and obtain the node enhanced representation H of the learning concept graph:

[0102]

[0103] Among them, the matrix H s and H G are connected in series, where H G =[h1, h2, ..., h n ],h n Represents the node feature vector of the nth node.

[0104] Step S15, concatenating the node enhanced representation of the learning concept graph and the adjacency matrix of the concept graph to obtain an input vector, and inputting the input vector into a knowledge structure prediction model constructed based on a graph neural network to obtain a knowledge structure prediction result of the user.

[0105] In this embodiment, the predicted result of the user's knowledge structure is the level to which the user's knowledge structure belongs. For example, the predicted result of the user's knowledge structure is divided into three levels: excellent, qualified, and unqualified.

[0106] This embodiment can evaluate the user's knowledge structure as one of three levels: excellent, qualified, or unqualified through the user's learning concept map.

[0107] Furthermore, in an optional embodiment of the present invention, the graph neural network includes a GIN message aggregation layer and a graph pooling layer, wherein the GIN message aggregation layer is connected to an attention unit.

[0108] In this embodiment, the graph neural network can also be expressed as a graph neural network model. For the graph neural network, the prediction accuracy is closely related to the node feature information learned by the model. Reducing some noise nodes or trying to avoid the mixing of noise information during message transmission can improve the model's ability to extract features. In the graph neural network of this embodiment, it includes two parts: node representation enhancement and attention mechanism introduced in the reinforcement learning process for features to enhance the GIN message aggregation layer's ability to obtain and aggregate node feature information.

[0109] Introducing attention units on the basis of the GIN message aggregation layer can distinguish the key nodes in the learning concept graph. Each node in the learning concept graph aggregates the feature information of its neighboring nodes and updates the representation of the feature vector in combination with its own vector representation, so that the final learned node representation can include contextual information.

[0110] In this embodiment, the attention unit can judge the degree of association with neighboring nodes based on the characteristic information of the node, such as the semantic coefficient of the node, and integrate the message transmission results after learning between the nodes through weighted calculation. In this way, an attention coefficient is set for each node, which represents the importance of the neighboring node to the current node, thereby improving the model's perception of key nodes. The model can capture the attention weight of the node through a node-level attention mechanism.

[0111] Specifically, this embodiment introduces an attention unit on the basis of the GIN message aggregation layer to distinguish the key nodes in the learning concept graph. Each node in the learning concept graph (such as a concept node representing a concept) aggregates the feature information of its neighboring nodes, and combines its own vector representation to update the representation of the feature vector, so that the final learned node representation can include contextual information. The attention unit in the network can judge the degree of association with the neighboring nodes based on the feature information of the node, for example, the semantic similarity of the node, and integrate the message passing results after learning between the nodes through weighted calculation. In this way, an attention coefficient is set for each concept node, which represents the importance of the neighboring nodes to the current node, thereby improving the model's perception of key concept nodes. For a given node feature vector matrix, the model captures the attention weight Att of the concept node through a node-level attention mechanism. i , the calculation formula is as follows:

[0112]

[0113] Among them, h i Indicates the vth i The node feature vector of the node, h j Indicates the vth j The node feature vector of nodes, N represents the node v i The set of neighbor nodes, W∈D d×1 , represents a linear transformation matrix.

[0114] Specifically, the feature vector matrix after attention unit reinforcement learning can be obtained by the following formula: The calculation formula is as follows:

[0115]

[0116] In this embodiment, h j Indicates the vth j The node feature vector of the node, Att j Represents node v j Calculated attention weights.

[0117] The message transmission scheme of the GIN message aggregation layer is as follows:

[0118]

[0119] Among them, ∈ is the parameter to be learned in the k-th GIN message aggregation layer.

[0120] Furthermore, in this embodiment, after the training results of each layer model are passed through the READOUT function to obtain a graph representation, the graph representations of all layers are spliced ​​together to obtain the final graph representation. After obtaining the spliced ​​global graph representation, the graph representation vector h G Input into the classifier to predict the classification label of the image The process is as follows:

[0121]

[0122] Where b represents the bias vector and W represents the linear transformation matrix.

[0123] Furthermore, in an optional embodiment of the present invention, the graph neural network is pre-trained. Specifically, when training the graph neural network, a cross entropy function may be used.

[0124] Specifically, supervised learning of graph neural networks can be performed through training data.

[0125] Furthermore, in an optional embodiment of the present invention, after obtaining the prediction result of the user's knowledge structure, the method further includes:

[0126] Obtaining the learning subject corresponding to the learning concept map;

[0127] Obtaining the learning participation of the user in the learning subject, where the learning participation is at least one of the learning investment time, classroom interaction frequency, and group discussion activity;

[0128] The prediction result of the user's knowledge structure is enhanced according to the learning subject and the user's learning participation in the learning subject.

[0129] For example, the learning subjects corresponding to the learning concept map are Chinese, mathematics and other subjects.

[0130] In this embodiment, the learning participation of the user in the learning subject reflects the degree of participation of the user in the learning process of the subject. Specifically, the learning time may include classroom learning time, homework time outside the classroom, and participation practice time. The classroom interaction frequency includes the frequency of interaction with the teacher and other classmates in the classroom, and the group discussion activity reflects the user's enthusiasm for participating in group discussions.

[0131] In this embodiment, performing prediction enhancement on the knowledge structure prediction result refers to adjusting the level of the knowledge structure obtained by predicting the user's knowledge structure.

[0132] For example, if the predicted result of the user's knowledge structure is qualified, but the user's learning investment time is less than the preset time, the predicted result of the user's knowledge structure is adjusted to excellent, that is, it is upgraded by one level. For the user, although the predicted result obtained based on the user's learning concept map is qualified, the user can get a qualified result without a high degree of learning participation, which reflects that the user has a strong learning ability and a good enough knowledge structure foundation. The user's overall knowledge structure will get better results if enough time is invested. Therefore, the user's knowledge structure prediction result is adjusted to excellent.

[0133] In this embodiment, the prediction enhancement of the user's knowledge structure prediction result in combination with the user's learning participation can more scientifically evaluate the user's knowledge structure and avoid inappropriate evaluation.

[0134] In this embodiment, the prediction enhancement of the user's knowledge structure prediction result is performed according to the learning subject and the user's learning participation in the learning subject, including:

[0135] If the learning subject is the first subject, the prediction result of the user's knowledge structure is enhanced by using the first function;

[0136] If the learning subject is the second subject, the prediction result of the user's knowledge structure is enhanced by the second function.

[0137] The first subject is a language subject, the second subject is a creativity and design subject, the first function may be a linear function or a nonlinear optimization function, and the second function may be a piecewise function.

[0138] In an embodiment of the present application, by obtaining a user's learning concept map, the learning concept map includes multiple nodes with a connection relationship; calculating the text similarity between the text of each node in the learning concept map and each text in the expert dictionary, obtaining the maximum text similarity as the semantic similarity of each node; extracting the node structure features of the learning concept map; performing graph enhancement representation according to the semantic similarity of the nodes in the learning concept map and the node structure features of the learning concept map, and obtaining the node enhancement representation of the learning concept map; connecting the node enhancement representation of the learning concept map and the adjacency matrix of the concept map in series to obtain an input vector, and inputting the input vector into a knowledge structure prediction model constructed based on a graph neural network to obtain the user's knowledge structure prediction result. The embodiment of the present application does not need to rely on the experience of the evaluator, and can quickly predict the user's knowledge results directly based on the user's learning concept map through the knowledge structure prediction model constructed based on the graph neural network, thereby achieving the purpose of objectively, accurately and efficiently predicting the learner's knowledge structure.

[0139] See also Figure 2, a schematic diagram of the structure of a knowledge structure prediction device based on a graph neural network provided by an embodiment of the present application. For ease of explanation, only the parts related to the embodiment of the present application are shown. The device can be set in an electronic device, which can be a smart terminal such as a personal computer or a server. The knowledge structure prediction device based on a graph neural network includes:

[0140] The acquisition module 201 is used to acquire a user's learning concept map, where the learning concept map includes a plurality of nodes having an associated relationship.

[0141] In this embodiment, the user is a learner, for example, a primary school student, a junior high school student, or a senior high school student.

[0142] In this embodiment, the user's learning concept map may be drawn by the user, and the user's learning concept map may reflect the knowledge content learned by the user and the relationship between the knowledge content.

[0143] Specifically, the learning concept map includes multiple nodes, each of which can be represented by a circle, rectangle or other shape, and each node includes text representing a certain learning knowledge (for example, the name of a certain concept or a keyword); there is an association relationship between multiple nodes, that is, multiple nodes with an association relationship are connected by a connecting line with a direction. Furthermore, there may be a phrase on the connecting line that represents the relationship between the two connected nodes. For example, the learning concept map includes node A and node B, where node A points to node B, and node B represents the subordinate concept of node A.

[0144] Furthermore, in an optional embodiment of the present invention, the acquisition module 201 is specifically used for:

[0145] Acquire multiple concept maps of the user within a preset time period;

[0146] Acquiring learning behavior data corresponding to the plurality of concept maps;

[0147] Deleting or retaining the plurality of concept maps according to the learning behavior data to obtain at least two concept maps;

[0148] A target concept map is selected from the at least two concept maps according to the timestamps of the at least two concept maps, the complexity of the at least two concept maps, and the completeness of the at least two concept maps to obtain a learning concept map of the user.

[0149] In this embodiment, the preset time period may be at least half a semester, for example, the preset time period is 3 months.

[0150] Specifically, the plurality of concept maps may be obtained from the user's interactive behaviors such as online exercises and online test papers.

[0151] In this embodiment, obtaining time concept maps within a period of time and then screening them is conducive to screening out effective concept maps.

[0152] In this embodiment, the learning behavior data corresponding to the multiple concept maps refers to the learning behavior data corresponding to the assignments or exams corresponding to the multiple concept maps. The assignments or exams corresponding to the multiple concept maps refer to the assignments or exams that generate the concept maps, or the exams that are generated on the same day or week as the concept maps, or the assignments or exams corresponding to the knowledge points (or learning units) to which the concept maps belong.

[0153] Specifically, the learning behavior data can be the homework completion rate, the exam completion rate, the first matching degree between the homework completion status and the user behavior (this indicator reflects whether the homework can reflect the user's true level), and the second matching degree between the exam completion status and the user behavior (this indicator reflects whether the homework can reflect the user's true level).

[0154] Specifically, learning behavior data can be extracted from the preset memory. For example, after each online practice and online exam, the user's practice and exam are statistically analyzed to obtain the homework completion rate, exam completion rate, the matching degree between homework completion and user behavior, and the matching degree between exam completion and user behavior.

[0155] Specifically, multiple concept maps are deleted or retained according to the learning behavior data, including:

[0156] The concept graphs corresponding to the learning behavior data whose homework completion rate or test completion rate in the learning behavior data is higher than the preset completion rate are retained, and the learning behavior data whose homework completion rate or test completion rate in the learning behavior data is lower than the preset completion rate are deleted; or

[0157] The concept graph corresponding to the learning behavior data whose first matching degree or the second matching degree is higher than the preset completion rate is retained, and the learning behavior data whose first matching degree and the second matching degree are lower than the preset completion rate is deleted.

[0158] In this embodiment, the timestamp of the concept graph is the generation time of the concept graph. The complexity of the concept graph can be determined by the degree and betweenness of the nodes of the concept graph. The completeness of the concept graph can be determined by the coverage of the concept texts in the concept graph.

[0159] Specifically, selecting a target concept map from the at least two concept maps according to the timestamps of the at least two concept maps, the complexity of the at least two concept maps, and the completeness of the at least two concept maps to obtain the learning concept map of the user includes:

[0160] Different weights are assigned to the timestamp, the complexity and the completeness, and a weighted calculation is performed on each concept map in combination with the timestamp, the complexity and the completeness and the weights of the three, and the concept map with the highest score is selected as the learning concept map of the user.

[0161] In this embodiment, the user's learning concept map is comprehensively selected based on timestamp, complexity and completeness, which can avoid the problem that the selected concept map is inaccurate, incomplete, or too old.

[0162] The calculation module 202 is used to calculate the text similarity between the text of each node in the learning concept graph and each text in the expert dictionary, and obtain the maximum text similarity as the semantic similarity of each node.

[0163] In this embodiment, the text of each node can be Chinese text or English text. The text of each node reflects the accuracy of the user's understanding of the relevant knowledge point.

[0164] In this embodiment, the expert dictionary includes standard concept definitions of each knowledge point, etc. Specifically, the expert dictionary can be preset, or can be analyzed from official teaching materials, teacher's lesson plans, etc. In the expert dictionary, there can be at least one standard text for a knowledge point.

[0165] Specifically, a synonym toolkit (eg, Synonyms) may be used to calculate the text similarity between the text of each node in the concept graph and each text in the expert dictionary.

[0166] In this embodiment, the text similarity between each node and each text in the expert dictionary is calculated. For example, there are N nodes in the user's learning concept map, and the expert dictionary includes text X. n (n=1, 2, 3, ..., m) where m is the number of texts in the expert dictionary. For any node M, the text of node M and text X are calculated one by one. n (n=1, 2, 3, ..., m) text similarity, get m similarity values, take the highest of these m similarity values ​​as the semantic similarity of node M, and so on, calculate the semantic similarity of N nodes.

[0167] The extraction module 203 is used to extract the node structure features of the learning concept graph.

[0168] In this embodiment, node structural features such as node entropy value, degree centrality and other indicators of the learning concept graph can be extracted. The node structural features can reflect the importance of the node in the learning concept graph.

[0169] Furthermore, in an optional embodiment of the present invention, the extraction module 203 is specifically used for:

[0170] Calculating the sum of the in-degree and out-degree of each node in the learning concept graph;

[0171] Calculating the NodeRank of each node in the learning concept graph;

[0172] Calculating the node betweenness centrality of each node in the learning concept graph;

[0173] Determine at least two of the sum of the in-degree and out-degree of each node in the learning concept graph, the NodeRank of each node in the learning concept graph, and the node betweenness centrality of each node in the learning concept graph to constitute the node structure feature of the learning concept graph.

[0174] In this embodiment, the learning concept graph is a directed graph, and the degree of a node is divided into in-degree and out-degree, which respectively represent the number of edges pointing to the node and the number of edges departing from the node. Specifically, the sum of the out-degree and in-degree of each node is It can be calculated by the following formula:

[0175]

[0176] Among them, v i ∈V represents a node in the learning concept graph, |V| is the total number of nodes in the learning concept graph, To learn the adjacency matrix of the concept graph, A i,j Represents the slave node v i To node v j Is there an edge, Aj,i, from node v j To node v i Is there an edge?

[0177] In this embodiment, NodeRank (Node Ranking) can comprehensively evaluate the importance of a node in the entire structure network. Specifically, the NodeRank of each node It can be calculated by the following formula:

[0178]

[0179] Where |V| is the total number of concept graph nodes, c is the damping index (usually 0.85), L(v j ) is the node v of the learning concept graph j The out-degree, M(v i ) is a concept node v i It is the set of all concept nodes of the outgoing node.

[0180] In this embodiment, the node betweenness (BTN) focuses on the hub role of the node in the network, that is, the role of the node in the shortest path connecting other nodes. Nodes with high betweenness are usually more important in information dissemination. Specifically, the node betweenness of each node is It can be calculated by the following formula:

[0181]

[0182] Among them, σ st is the node v in the learning concept graph s To node v t The number of shortest paths, and σ st (i) is the number of shortest paths that pass through node v i For each pair of nodes v in the learning concept graph s and v t , computing node v i frequency on the shortest path between them.

[0183] In this embodiment, determining at least two of the sum of the in-degree and out-degree of each node in the learning concept graph, the NodeRank of each node in the learning concept graph, and the node betweenness centrality of each node in the learning concept graph to constitute the node structural features of the learning concept graph can better capture the differences between the structural information and semantic information of the graph during the information transmission process, thereby making accurate predictions.

[0184] The enhancement module 204 is used to perform graph enhancement representation according to the semantic similarity of the nodes in the learning concept graph and the node structure characteristics of the learning concept graph to obtain the node enhanced representation of the learning concept graph.

[0185] In this embodiment, a graph enhancement representation is performed based on the semantic similarity of the nodes in the learning concept graph and the node structural features of the learning concept graph, including fusing and splicing the semantic similarity of the nodes in the learning concept graph and the node structural features with the node feature matrix of the learning concept graph, and the result after splicing is the node enhancement representation of the learning concept graph.

[0186] Furthermore, in an optional embodiment of the present invention, the enhancement module 204 is specifically used for:

[0187] Constructing an indicator vector for each node in the learning concept graph according to the semantic similarity of the nodes in the learning concept graph, the sum of the in-degree and out-degree of each node in the learning concept graph, the NodeRank of each node in the learning concept graph, and the node betweenness centrality of each node in the learning concept graph;

[0188] According to the indicator vector of each node in the learning concept graph, obtaining an indicator node embedding matrix of the learning concept graph;

[0189] Obtaining a node feature matrix of the learning concept graph;

[0190] The node feature matrix of the learning concept graph and the indicator node embedding matrix of the learning concept graph are fused and spliced ​​to obtain a node enhanced representation of the learning concept graph.

[0191] For example, taking nodes as units, the four indicators of a single node DG i NR i , BTN i The index vector that constitutes a single node vi Then we get the index node embedding matrix H of the learning concept graph S =[n1,...n n ], obtain the node feature matrix H of the learning concept graph G , H S and H G Enter fusion splicing and obtain the node enhanced representation H of the learning concept graph:

[0192]

[0193] Among them, the matrix H S and H G are connected in series, where H G =[h1, h2, ..., h n ],h n Represents the node feature vector of the nth node.

[0194] The prediction module 205 is used to concatenate the node enhanced representation of the learning concept graph and the adjacency matrix of the concept graph to obtain an input vector, and input the input vector into a knowledge structure prediction model constructed based on a graph neural network to obtain a knowledge structure prediction result of the user.

[0195] In this embodiment, the predicted result of the user's knowledge structure is the level to which the user's knowledge structure belongs. For example, the predicted result of the user's knowledge structure is divided into three levels: excellent, qualified, and unqualified.

[0196] This embodiment can evaluate the user's knowledge structure as one of three levels: excellent, qualified, or unqualified through the user's learning concept map.

[0197] Furthermore, in an optional embodiment of the present invention, the graph neural network includes a GIN message aggregation layer and a graph pooling layer, wherein the GIN message aggregation layer is connected to an attention unit.

[0198] In this embodiment, the graph neural network can also be expressed as a graph neural network model. For the graph neural network, the prediction accuracy is closely related to the node feature information learned by the model. Reducing some noise nodes or trying to avoid the mixing of noise information during message transmission can improve the model's ability to extract features. In the graph neural network of this embodiment, it includes two parts: node representation enhancement and attention mechanism introduced in the reinforcement learning process for features to enhance the GIN message aggregation layer's ability to obtain and aggregate node feature information.

[0199] Introducing an attention unit based on the GIN message aggregation layer can distinguish the key nodes in the learning concept graph. Each node in the learning concept graph aggregates the feature information of its neighboring nodes, and combines its own vector representation to update the representation of the feature vector, so that the final learned node representation can include contextual information. In this embodiment, the attention unit can judge the degree of association with the neighboring nodes based on the feature information of the node, such as the semantic coefficient of the node, and integrate the message transmission results after learning between the nodes through weighted calculation. In this way, an attention coefficient is set for each node, which represents the importance of the neighboring nodes to the current node, thereby improving the model's perception of key nodes. The model can capture the attention weight of the node through a node-level attention mechanism.

[0200] Specifically, this embodiment introduces an attention unit on the basis of the GIN message aggregation layer to distinguish the key nodes in the learning concept graph. Each node in the learning concept graph (such as a concept node representing a concept) aggregates the feature information of its neighboring nodes, and combines its own vector representation to update the representation of the feature vector, so that the final learned node representation can include contextual information. The attention unit in the network can judge the degree of association with the neighboring nodes based on the feature information of the node, for example, the semantic similarity of the node, and integrate the message passing results after learning between the nodes through weighted calculation. In this way, an attention coefficient is set for each concept node, which represents the importance of the neighboring nodes to the current node, thereby improving the model's perception of key concept nodes. For a given node feature vector matrix, the model captures the attention weight Att of the concept node through a node-level attention mechanism. i , the calculation formula is as follows:

[0201]

[0202] Among them, h i Indicates the vth i The node feature vector of the node, h j Indicates the vth j The node feature vector of nodes, N represents the node v iThe set of neighbor nodes, W∈D d×1 , represents a linear transformation matrix.

[0203] Specifically, the feature vector matrix after enhanced learning of the attention unit can be obtained by the following formula:

[0204]

[0205] In this embodiment, h j Indicates the vth j The node feature vector of the node, Att j Represents node v j Calculated attention weights.

[0206] In this embodiment, the message transmission scheme of the GIN message aggregation layer is as follows:

[0207]

[0208] Among them, ∈ is the parameter to be learned in the k-th GIN message aggregation layer.

[0209] Furthermore, in this embodiment, after the training results of each layer model are passed through the READOUT function to obtain a graph representation, the graph representations of all layers are spliced ​​together to obtain the final graph representation. After obtaining the spliced ​​global graph representation, the graph representation vector h G Input into the classifier to predict the classification label of the image The process is as follows:

[0210]

[0211] Where b represents the bias vector and W represents the linear transformation matrix.

[0212] Furthermore, in an optional embodiment of the present invention, the graph neural network is pre-trained. Specifically, when training the graph neural network, a cross entropy function may be used.

[0213] Specifically, supervised learning of graph neural networks can be performed through training data.

[0214] Furthermore, in an optional embodiment of the present invention, the device further includes a prediction enhancement module, and the prediction enhancement module includes:

[0215] After obtaining the knowledge structure prediction result of the user, obtaining the learning subject corresponding to the learning concept map;

[0216] Obtaining the learning participation of the user in the learning subject, where the learning participation is at least one of the learning investment time, classroom interaction frequency, and group discussion activity;

[0217] The prediction result of the user's knowledge structure is enhanced according to the learning subject and the user's learning participation in the learning subject.

[0218] For example, the learning subjects corresponding to the learning concept map are Chinese, mathematics and other subjects.

[0219] In this embodiment, the learning participation of the user in the learning subject reflects the degree of participation of the user in the learning process of the subject. Specifically, the learning time may include classroom learning time, homework time outside the classroom, and participation practice time. The classroom interaction frequency includes the frequency of interaction with the teacher and other classmates in the classroom, and the group discussion activity reflects the user's enthusiasm for participating in group discussions.

[0220] In this embodiment, performing prediction enhancement on the knowledge structure prediction result refers to adjusting the level of the knowledge structure obtained by predicting the user's knowledge structure.

[0221] For example, if the predicted result of the user's knowledge structure is qualified, but the user's learning investment time is less than the preset time, the predicted result of the user's knowledge structure is adjusted to excellent, that is, it is upgraded by one level. For the user, although the predicted result obtained based on the user's learning concept map is qualified, the user can get a qualified result without a high degree of learning participation, which reflects that the user has a strong learning ability and a good enough knowledge structure foundation. The user's overall knowledge structure will get better results if enough time is invested. Therefore, the user's knowledge structure prediction result is adjusted to excellent.

[0222] In this embodiment, the prediction enhancement of the user's knowledge structure prediction result in combination with the user's learning participation can more scientifically evaluate the user's knowledge structure and avoid inappropriate evaluation.

[0223] In this embodiment, the prediction enhancement of the user's knowledge structure prediction result is performed according to the learning subject and the user's learning participation in the learning subject, including:

[0224] If the learning subject is the first subject, the prediction result of the user's knowledge structure is enhanced by using the first function;

[0225] If the learning subject is the second subject, the prediction result of the user's knowledge structure is enhanced by the second function.

[0226] The first subject is a language subject, the second subject is a creativity and design subject, the first function may be a linear function or a nonlinear optimization function, and the second function may be a piecewise function.

[0227] In an embodiment of the present application, by obtaining a user's learning concept map, the learning concept map includes multiple nodes with a connection relationship; calculating the text similarity between the text of each node in the learning concept map and each text in the expert dictionary, obtaining the maximum text similarity as the semantic similarity of each node; extracting the node structure features of the learning concept map; performing graph enhancement representation according to the semantic similarity of the nodes in the learning concept map and the node structure features of the learning concept map, and obtaining the node enhancement representation of the learning concept map; connecting the node enhancement representation of the learning concept map and the adjacency matrix of the concept map in series to obtain an input vector, and inputting the input vector into a knowledge structure prediction model constructed based on a graph neural network to obtain the user's knowledge structure prediction result. The embodiment of the present application does not need to rely on the experience of the evaluator, and can quickly predict the user's knowledge results directly based on the user's learning concept map through the knowledge structure prediction model constructed based on the graph neural network, thereby achieving the purpose of objectively, accurately and efficiently predicting the learner's knowledge structure.

[0228] See also Figure 3 , a schematic diagram of the hardware structure of an electronic device provided in one embodiment of the present application.

[0229] Exemplarily, the electronic device can be any of various types of computer system devices that are mobile or portable and perform wireless communication. Specifically, the electronic device can be a mobile phone or smart phone (e.g., a phone based on iPhoneTM, an AndroidTM), a portable game device (e.g., Nintendo DSTM, PlayStationPortableTM, Gameboy AdvanceTM, iPhoneTM), a laptop, a PDA, a portable Internet device, a music player, and a data storage device, other handheld devices, and devices such as watches, headphones, pendants, earphones, etc. The electronic device can also be other wearable devices (e.g., head-mounted devices (HMD) such as electronic glasses, electronic clothes, electronic bracelets, electronic necklaces, electronic tattoos, electronic devices, or smart watches).

[0230] The electronic device may also be any one of a plurality of electronic devices, including but not limited to cellular phones, smart phones, other wireless communication devices, personal digital assistants, audio players, other media players, music recorders, video recorders, cameras, other media recorders, radios, medical devices, vehicle transportation instruments, calculators, programmable remote controls, pagers, laptop computers, desktop computers, printers, netbook computers, personal digital assistants (PDAs), portable multimedia players (PMPs), Moving Picture Experts Group (MPEG-1 or MPEG-2) Audio Layer 3 (MP3) players, portable medical devices, and digital cameras and combinations thereof.

[0231] In some cases, the electronic device can perform multiple functions (e.g., play music, display video, store pictures, and receive and send phone calls). If desired, the electronic device can be a portable device such as a cellular phone, a media player, other handheld device, a wristwatch device, a pendant device, a handset device, or other compact portable device.

[0232] like Figure 3 As shown, the electronic device 10 may include a control circuit, which may include a storage and processing circuit 30. The storage and processing circuit 30 may include a memory, such as a hard disk drive memory, a non-volatile memory (such as a flash memory or other electronically programmable memory with limited deletion for forming a solid-state drive, etc.), a volatile memory (such as a static or dynamic random access memory, etc.), etc., which is not limited in the embodiment of the present application. The processing circuit in the storage and processing circuit 30 can be used to control the operation of the electronic device 10. The processing circuit can be implemented based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio codec chips, application-specific integrated circuits, display driver integrated circuits, etc.

[0233] The storage and processing circuit 30 can be used to run software in the electronic device 10, such as an Internet browsing application, a Voice over Internet Protocol (VOIP) phone call application, an email application, a media playback application, an operating system function, etc. These software can be used to perform some control operations, such as image acquisition based on a camera, ambient light measurement based on an ambient light sensor, proximity sensor measurement based on a proximity sensor, information display functions based on status indicators such as status indicators of light-emitting diodes, touch event detection based on a touch sensor, functions associated with displaying information on multiple (e.g., layered) displays, operations associated with performing wireless communication functions, operations associated with collecting and generating audio signals, control operations associated with collecting and processing button press event data, and other functions in the electronic device 10, etc., which are not limited by the embodiments of the present application.

[0234] Furthermore, the memory stores an executable program code, and the processor coupled to the memory calls the executable program code stored in the memory to execute the above Figure 1 The knowledge structure prediction method based on graph neural network described in the illustrated embodiment.

[0235] The executable program code includes the above Figure 2The various modules in the knowledge structure prediction device based on graph neural network described in the illustrated embodiment, for example: an acquisition module, a calculation module, an extraction module, an enhancement module and a prediction module.

[0236] The electronic device 10 may further include an input-output circuit 42. The input-output circuit 42 may be used to enable the electronic device 10 to input and output data, that is, to allow the electronic device 10 to receive data from an external device and also to allow the electronic device 10 to output data from the electronic device 10 to an external device. The input-output circuit 42 may further include a sensor 32. The sensor 32 may include an ambient light sensor, a proximity sensor based on light and capacitance, a touch sensor (e.g., based on a light touch sensor and / or a capacitive touch sensor, wherein the touch sensor may be part of a touch display screen or may be used independently as a touch sensor structure), an acceleration sensor, and other sensors.

[0237] The input-output circuit 42 may also include one or more displays, such as the display 14. The display 14 may include a liquid crystal display, an organic light-emitting diode display, an electronic ink display, a plasma display, a display using other display technologies, or a combination of several of them. The display 14 may include a touch sensor array (i.e., the display 14 may be a touch-controlled display screen). The touch sensor may be a capacitive touch sensor formed by an array of transparent touch sensor electrodes (e.g., indium tin oxide (ITO) electrodes), or may be a touch sensor formed using other touch technologies, such as sonic touch, pressure-sensitive touch, resistive touch, optical touch, etc., which is not limited in the embodiments of the present application.

[0238] The electronic device 10 may also include an audio component 36. The audio component 36 may be used to provide audio input and output functions for the electronic device 10. The audio component 36 in the electronic device 10 may include a speaker, a microphone, a buzzer, a tone generator, and other components for generating and detecting sound.

[0239] The communication circuit 38 can be used to provide the electronic device 10 with the ability to communicate with external devices. The communication circuit 38 may include analog and digital input / output interface circuits, and wireless communication circuits based on radio frequency signals and / or optical signals. The wireless communication circuit in the communication circuit 38 may include a radio frequency transceiver circuit, a power amplifier circuit, a low noise amplifier, a switch, a filter, and an antenna. For example, the wireless communication circuit in the communication circuit 38 may include a circuit for supporting near field communication (NFC) by transmitting and receiving near field coupled electromagnetic signals. For example, the communication circuit 38 may include a near field communication antenna and a near field communication transceiver. The communication circuit 38 may also include a cellular phone transceiver and antenna, a wireless local area network transceiver circuit and antenna, etc.

[0240] The electronic device 10 may further include a battery, power management circuits and other input / output units 40. The input / output units 40 may include buttons, joysticks, click wheels, scroll wheels, touch pads, keypads, keyboards, cameras, light emitting diodes and other status indicators.

[0241] A user may input commands through the input-output circuit 42 to control the operation of the electronic device 10 , and may use the output data of the input-output circuit 42 to receive status information and other outputs from the electronic device 10 .

[0242] Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, which may be disposed in the electronic device in the above embodiments. The computer-readable storage medium may be the above Figure 3 The memory in the storage and processing circuit 30 in the illustrated embodiment. The computer readable storage medium stores a computer program, which, when executed by the processor, implements the aforementioned Figure 1 The knowledge structure prediction method based on graph neural network described in the illustrated embodiment. Furthermore, the computer storage medium can also be a U disk, a mobile hard disk, a read-only memory (ROM), a RAM, a magnetic disk or an optical disk, and other media that can store program codes.

[0243] It should be noted that, for the convenience of description, the aforementioned method embodiments are all described as a series of action combinations, but those skilled in the art should be aware that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0244] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0245] The above is a description of the knowledge structure prediction method, device, equipment and computer-readable storage medium based on graph neural network provided by the present invention. For those skilled in the art, according to the ideas of the embodiments of the present invention, there may be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A knowledge structure prediction method based on graph neural network, It is characterized in that The method comprises: Acquire a user's learning concept map, wherein the learning concept map includes a plurality of nodes having a connection relationship; Calculating the text similarity between the text of each node in the learning concept graph and the text in the expert dictionary, and obtaining the maximum text similarity as the semantic similarity of each node; Extracting node structure features of the learning concept graph; Performing graph enhancement representation according to the semantic similarity of nodes in the learning concept graph and the node structural features of the learning concept graph to obtain a node enhancement representation of the learning concept graph; The node enhanced representation of the learning concept graph and the adjacency matrix of the concept graph are connected in series to obtain an input vector, and the input vector is input into a knowledge structure prediction model built based on a graph neural network to obtain a knowledge structure prediction result of the user.

2. The method according to claim 1, It is characterized in that The step of extracting the node structure features of the learning concept graph includes: Calculating the sum of the in-degree and out-degree of each node in the learning concept graph; Calculating the NodeRank of each node in the learning concept graph; Calculating the node betweenness centrality of each node in the learning concept graph; Determine at least two of the sum of the in-degree and out-degree of each node in the learning concept graph, the NodeRank of each node in the learning concept graph, and the node betweenness centrality of each node in the learning concept graph to constitute the node structure feature of the learning concept graph.

3. The method according to claim 2, It is characterized in that The step of performing graph enhancement representation according to the semantic similarity of nodes in the learning concept graph and the node structural features of the learning concept graph to obtain the node enhancement representation of the learning concept graph includes: Constructing an indicator vector for each node in the learning concept graph according to the semantic similarity of the nodes in the learning concept graph, the sum of the in-degree and out-degree of each node in the learning concept graph, the NodeRank of each node in the learning concept graph, and the node betweenness centrality of each node in the learning concept graph; According to the indicator vector of each node in the learning concept graph, obtaining an indicator node embedding matrix of the learning concept graph; Obtaining a node feature matrix of the learning concept graph; The node feature matrix of the learning concept graph and the indicator node embedding matrix of the learning concept graph are fused and spliced ​​to obtain a node enhanced representation of the learning concept graph.

4. The method according to any one of claims 1 to 3, It is characterized in that The graph neural network includes a GIN message aggregation layer and a graph pooling layer, wherein the GIN message aggregation layer is connected to an attention unit.

5. The method according to any one of claims 1 to 3, It is characterized in that After obtaining the knowledge structure prediction result of the user, the method further includes: Obtaining the learning subject corresponding to the learning concept map; Obtaining the learning participation of the user in the learning subject, where the learning participation is at least one of the learning investment time, classroom interaction frequency, and group discussion activity; The prediction result of the user's knowledge structure is predicted and enhanced according to the learning subject and the user's learning participation in the learning subject.

6. The method according to any one of claims 1 to 3, It is characterized in that The step of obtaining the user's learning concept map includes: Acquire multiple concept maps of the user within a preset time period; Acquiring learning behavior data corresponding to the plurality of concept maps; Deleting or retaining the plurality of concept maps according to the learning behavior data to obtain at least two concept maps; A target concept map is selected from the at least two concept maps according to the timestamps of the at least two concept maps, the complexity of the at least two concept maps, and the completeness of the at least two concept maps to obtain a learning concept map of the user.

7. A knowledge structure prediction device based on graph neural network, It is characterized in that The device comprises: An acquisition module, used to acquire a user's learning concept map, wherein the learning concept map includes a plurality of nodes having a connection relationship; A calculation module, used for calculating the text similarity between the text of each node in the learning concept graph and the text in the expert dictionary, and obtaining the maximum text similarity as the semantic similarity of each node; An extraction module, used to extract node structure features of the learning concept graph; An enhancement module, used for performing graph enhancement representation according to the semantic similarity of the nodes in the learning concept graph and the node structural features of the learning concept graph, to obtain a node enhanced representation of the learning concept graph; A prediction module is used to concatenate the node enhanced representation of the learning concept graph and the adjacency matrix of the concept graph to obtain an input vector, and input the input vector into a knowledge structure prediction model built based on a graph neural network to obtain a knowledge structure prediction result of the user.

8. The device according to claim 7, It is characterized in that The extraction module is specifically used for: Calculating the sum of the in-degree and out-degree of each node in the learning concept graph; Calculating the NodeRank of each node in the learning concept graph; Calculating the node betweenness centrality of each node in the learning concept graph; Determine at least two of the sum of the in-degree and out-degree of each node in the learning concept graph, the NodeRank of each node in the learning concept graph, and the node betweenness centrality of each node in the learning concept graph to constitute the node structure feature of the learning concept graph.

9. An electronic device, It is characterized in that The electronic device comprises: Memory and processor; The memory stores executable program code; The processor coupled to the memory calls the executable program code stored in the memory to execute the knowledge structure prediction method based on graph neural network as described in any one of claims 1 to 6.

10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the knowledge structure prediction method based on graph neural network as described in any one of claims 1 to 6 is implemented.