A method and system for subject knowledge point entity recognition and teacher semantic network construction

The Bert-BLSTM-CRF model is used to identify knowledge points in teachers' lectures and construct semantic networks in educational informatization, solving the problems of insufficient efficiency and accuracy in knowledge point extraction and semantic network construction in the existing technology, and realizing teacher self- Assessment and teaching quality monitoring improve the quality of education and personalized learning.

CN118657144BActive Publication Date: 2024-10-22YUNNAN NORMAL UNIV
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411135393.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2024-10-22
Estimated Expiration
2044-08-19

AI Technical Summary

Technical Problem

It is difficult for existing technologies to efficiently and accurately extract knowledge points and construct a semantic network that reflects teachers' teaching logic in educational informatization, resulting in limited teaching quality and personalized learning.

Method used

The Bert-BLSTM-CRF model is used to combine the knowledge points of the textbook and the teacher's lecture content. Through data preprocessing, knowledge point entity recognition and semantic network construction, a teaching evaluation report is generated to improve the accuracy of knowledge point identification and the depth of the semantic network.

Benefits of technology

It realizes automatic and high-precision knowledge point identification and semantic network construction, provides teachers with self-evaluation and teaching improvement tools, improves teaching quality monitoring, and is suitable for online education, traditional classrooms and distance education.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118657144B_ABST
    Figure CN118657144B_ABST
Patent Text Reader

Abstract

The present invention relates to a method and system for subject knowledge point entity recognition and teacher semantic network construction, and belongs to the field of educational information technology. By training a knowledge point recognition model, the present invention can accurately capture and identify the subject knowledge points mentioned in the teacher's lectures, whether it is real-time teaching or recorded content. Based on these identified knowledge points, the system constructs a detailed semantic network, which can clearly map the teacher's explanation of the connection between different knowledge points, and then evaluate the coverage and depth of the teacher's explanation of each knowledge point. The present invention not only provides teachers with a self-assessment and teaching improvement tool, but also brings a new means of teaching quality monitoring to education managers. It has a wide range of applications, covering a variety of educational environments such as online education, traditional classroom teaching, and distance education, and has a far-reaching impact on improving education quality and promoting educational innovation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a method and system for subject knowledge point entity recognition and teacher semantic network construction, belonging to the field of educational information technology, and in particular to a method for subject knowledge point entity recognition and teacher semantic network construction based on a Bert-BLSTM-CRF model and combining textbook knowledge points and teacher lecture content. Background Art

[0002] In the wave of educational informatization, the widespread use of digital teaching resources has brought about a revolution in teaching methods. However, efficiently and accurately extracting knowledge points from these resources and constructing semantic networks that reflect the logic of teachers' teaching are still key challenges in improving teaching quality and personalized learning. Existing methods mostly rely on manual annotation, which is inefficient and difficult to cope with the processing needs of large-scale data. Although automated knowledge point recognition technology has developed, it still lacks accuracy and depth in the face of the diversity and unstructured characteristics of teaching content. Therefore, studying a knowledge point recognition and semantic network construction method that can automatically and accurately process teaching resources is of great significance to promoting educational intelligence. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a method and system for subject knowledge point entity recognition and teacher semantic network construction, aiming to improve the accuracy of knowledge point recognition and construct a deep teacher semantic network through deep learning technology to promote the intelligent development of the education field.

[0004] The technical solution adopted by the present invention is: a method for subject knowledge point entity recognition and teacher semantic network construction, comprising the following steps:

[0005] Step 1: Collect the text data of textbook knowledge points and the teacher's lecture voice data, and convert the teacher's lecture voice data into text data;

[0006] Step 2: Preprocess all text data collected in Step 1, including data cleaning and sorting;

[0007] Step 3: Use the Bert-BLSTM-CRF model to perform knowledge point entity recognition on the preprocessed text data;

[0008] Step 4: Based on the identified knowledge point entities, construct a semantic network of the teacher’s teaching content ;

[0009] Step 5: Use the constructed semantic network The pre-processed text data or the newly collected teacher's lecture voice data converted into text data is quantitatively analyzed for the knowledge point coverage and explanation depth to generate a teaching evaluation report.

[0010] Specifically, Step 1 includes the following steps:

[0011] Step 1.1: Use the data collection module to collect the knowledge point descriptions in the textbook and obtain text data ;

[0012] Step 1.2: Use speech recognition technology to record the teacher’s speech data Convert to text data .

[0013] Specifically, Step 2 includes the following steps:

[0014] Step 2.1: Use data cleaning algorithms to remove text data and text data Incomplete or irrelevant information in the text is obtained to obtain the cleaned text datasets. and ;

[0015] Step 2.2: Based on the data set and Sort the data by the timestamp of the text to get an ordered text dataset .

[0016] Specifically, Step 3 includes the following steps:

[0017] Step 3.1: Input the preprocessed text data into the pre-trained Bert model to obtain the deep semantic representation of the text ;

[0018] Step 3.2: Input into the BLSTM network, use its gating mechanism to process the sequence data, capture the time series features, and obtain the sequence features ;

[0019] Step 3.3: Passed to the CRF layer, the label sequence is optimized by the following formula , predict the probability of knowledge point occurrence, is a given feature sequence Next label sequence Y The probability of Y is a sequence, indicating the label corresponding to each element. is the normalization constant, and are model parameters, and Used to calculate the probability of the label given only the current label, and It means to accumulate all possible label probabilities.

[0020] Specifically, Step 4 includes the following steps:

[0021] Step 4.1: Use knowledge point entities and preprocessed text data as network nodes and edges to build a semantic network ;

[0022] Step 4.2: Use analytical tools to analyze the semantic network To analyze, the PageRank algorithm calculates the semantic network The centrality of the semantic network is obtained by analyzing the structure and relevance of the preprocessed text data. .

[0023] Specifically, Step 5 includes the following steps:

[0024] Step 5.1: Based on the semantic network and the centrality matrix , evaluate the knowledge point coverage of pre-processed text data or newly collected teacher lecture voice data converted into text data and explain the depth ;

[0025] Step 5.2: Combined coverage and explain the depth , generate teaching evaluation reports .

[0026] A subject knowledge point entity recognition and teacher semantic network construction system, comprising:

[0027] The data collection module is used to collect the text data of textbook knowledge points and the voice data of teachers’ lectures.

[0028] A data preprocessing module is used to preprocess the collected data;

[0029] Bert-BLSTM-CRF entity recognition module, used to perform knowledge point entity recognition on preprocessed text data;

[0030] Semantic network building module, used to build a semantic network of teacher teaching content based on the identified knowledge point entities ;

[0031] Teaching evaluation report generation module, used to build semantic network The pre-processed text data or the newly collected teacher's lecture voice data converted into text data is quantitatively analyzed for the knowledge point coverage and explanation depth to generate a teaching evaluation report.

[0032] The beneficial effects of the present invention are as follows: the present invention uses natural language processing technology, especially entity recognition algorithm, to conduct in-depth analysis of the content of teachers' lectures. By training the knowledge point recognition model, the system can accurately capture and identify the subject knowledge points mentioned in the teacher's lectures, whether it is real-time teaching or recorded content. Based on these identified knowledge points, the system constructs a detailed semantic network, which can clearly map the teacher's explanation of the connection between different knowledge points, and then evaluate the coverage and depth of the teacher's explanation of each knowledge point. The present invention not only provides teachers with a self-assessment and teaching improvement tool, but also brings a new means of teaching quality monitoring to education managers. It has a wide range of applications, covering a variety of educational environments such as online education, traditional classroom teaching, and distance education, and has a far-reaching impact on improving education quality and promoting educational innovation. The present invention not only improves the accuracy of knowledge point recognition, but also can capture the complex relationship between knowledge points, providing support for teaching quality evaluation and personalized learning path planning. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 It is a model framework diagram of the method of the present invention;

[0034] Figure 2 A semantic network visualization diagram of the method of the present invention;

[0035] Figure 3 This is a teaching evaluation report of the method of the present invention. DETAILED DESCRIPTION

[0036] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments.

[0037] Example 1: Figure 1 As shown, a method for subject knowledge point entity recognition and teacher semantic network construction includes the following steps:

[0038] Step 1: Collect the text data of knowledge points in the textbooks and the voice data of teachers’ lectures, and convert the voice data of teachers’ lectures into text data; collect the text data containing knowledge points in the textbooks and the audio data of teachers’ lectures, and convert the audio data into text through automatic speech recognition technology. Specifically:

[0039] Step 1.1: Use the data collection module to collect the knowledge point descriptions in the textbook and obtain text data ; The data collection module can extract knowledge point descriptions from textbooks and convert them into text datasets. This process usually involves text mining and natural language processing techniques, such as text segmentation and keyword extraction.

[0040] Step 1.2: Use speech recognition technology to record the teacher’s speech data Convert to text data Speech-to-text technology aims to convert human speech signals into text information. This method uses an open source speech-to-text algorithm to implement the step of converting the teacher's speech information into text by locally deploying and modifying the algorithm.

[0041] Step 2: Preprocess the collected text data, including data cleaning and sorting; clean the text data, including removing noise, standardizing terminology, correcting typos, and sorting by chapter or timestamp. Specifically:

[0042] Step 2.1: Use regular expressions and string replacement to remove text data and text data Incomplete or irrelevant information in the text is obtained to obtain the cleaned text datasets. and Through string filtering, the collected text is standardized, texts that do not contain knowledge points are removed from the data set, words that are misrecognized are corrected, and the data set is annotated to make it suitable for model training.

[0043] Step 2.2: Based on the data set and Sort the data by the timestamp of the text to get an ordered text dataset . Sort the texts in the dataset according to the teacher’s teaching order in class.

[0044] Step 3: Use the Bert-BLSTM-CRF model to perform knowledge point entity recognition on the preprocessed text data; in the process of knowledge point entity recognition based on the Bert-BLSTM-CRF model, the preprocessed text data must first be used to train the model. The trained model can correctly understand and process text data, that is, identify whether the text data contains knowledge point entities. Specifically:

[0045] Step 3.1: Input the preprocessed text data into the pre-trained Bert model to obtain the deep semantic representation of the text ; BERT's pre-training consists of two stages, Masked Language Model (MLM) and NextSentence Prediction (NSP). The following are the two key formulas used in BERT:

[0046]

[0047] This formula describes BERT's MLM task, which aims to let the model predict words that are randomly masked (marked with [MASK]) in the sequence. is the first words, is a hidden word, n Indicates the maximum distance of the masked word in the sequence, is a probability function, which is used here to predict the probability of the word.

[0048]

[0049] This formula describes that the purpose of BERT's NSP task is to predict whether two sentences are continuous in the original text. Expressing sentences Is it a sentence? The following text, Expressing sentences Is it a sentence? and The following text, Indicates the sentence separator, is a probability function, which is used here to calculate the probability of two sentences being connected. Input the text data into the pre-trained Bert model to obtain the deep semantic representation of the text .

[0050] Step 3.2: Input into the BLSTM network, use its gating mechanism to process the sequence data, capture the time series features, and obtain the sequence features ; BLSTM effectively processes sequence data through the gating mechanism and captures the temporal characteristics of knowledge points. The formula of BLSTM is as follows:

[0051]

[0052]

[0053]

[0054] These three functions represent the forget gate, input gate, and output gate. Each gate is a sigmoid function that determines what information should be retained and ignored from the previous hidden state and the current input. It's the Gate of Forgetfulness. is the input gate, is the output gate, is the sigmoid activation function, , , is the corresponding weight matrix, It is used to decide what information should be discarded from the previous hidden state and the current input. Used to decide what new information should be added to the cell state middle, Used to determine the previous hidden state and the current cell status What information should be output in , , , They are the forget gate, input gate, output gate, and bias vector from the cell state to the hidden state.

[0055]

[0056]

[0057]

[0058] These formulas describe how a BLSTM cell updates its hidden state and cell state at each time step, and how it processes input information to produce output. is the cell state at time step t, which is the previous cell state Through the Forgotten Gate Forgotten information and passed through the input gate A combination of newly added information. is the hidden state at time step t, which contains the information learned from the input sequence, is the hidden state at time step t-1, is the input vector at time step t. is the candidate unit state, which is obtained by the tanh function, tanh is the hyperbolic tangent activation function, and is the weight matrix and bias term. The data is input into the BLSTM network, and its gating mechanism is used to process the sequence data, capture the time series features, and obtain the sequence feature F.

[0059] Step 3.3: Passed to the CRF layer, the label sequence is optimized by the following formula , is a given feature sequence Next label sequence Y The probability ofY is a sequence that represents the label corresponding to each element (such as a word or time step). is the normalization constant, also known as the partition function, which ensures that the sum of probabilities is 1. It is the normalization of the entire expression over all possible label sequences to calculate the probability density. and is a model parameter used to calculate the given previous label and the current label And the characteristic sequence These functions are usually related to the output of the BLSTM layer and contain feature functions that can capture local features and contextual information. and Used to calculate the probability of a label given only the current label. This function can capture label-independent features. and Indicates the accumulation of all possible label probabilities. The conditional random field (CRF) model is used to sequence the output of BLSTM. The CRF model accurately identifies knowledge point entities through global optimal path search. CRF is a discriminative probability model that is used to model the conditional probability distribution of another set of output random variables under the condition of a given set of input random variables. In the entity recognition task, the CRF model can capture the dependency between labels.

[0060] Step 4: Based on the identified knowledge point entities, construct a semantic network of the teacher’s teaching content ;Build a semantic network of teacher teaching content First, we need to identify and confirm the knowledge point entities. These knowledge point entities are the basis of the teacher's teaching content. They can be concepts, theories, methods, cases, etc. in the course. By analyzing the knowledge point entities, we can better organize and present the teaching content and improve the teaching effect. Specifically:

[0061] Step 4.1: Use knowledge point entities and preprocessed text data as network nodes and edges to build a semantic network The first step in building a semantic network is to identify the knowledge point entities in the text, treat all entities as nodes and edges in the network, and connect the nodes according to the affiliation relationship.

[0062] Step 4.2: Use analytical tools to analyze the semantic network To analyze, the PageRank algorithm calculates the semantic network The centrality of the semantic network is obtained by analyzing the structure and relevance of the preprocessed text data. ; Semantic network analysis is a method used to understand and reveal the intrinsic structure and association of text data. It helps us better understand the meaning of text by building network relationships between words. The PageRank algorithm is a network analysis algorithm that assigns rankings to nodes in the network by simulating the random walk process in the network, reflecting the importance and influence of the nodes in the entire network. Definition of nodes and edges: Represent each knowledge point entity as a node in the network. If the knowledge point co-occurs with a noun entity in the text, an edge is added between them.

[0063] Network Analysis: The PageRank algorithm is used to calculate the centrality of each node as follows:

[0064]

[0065] in, Is a node In time The PageRank value, is the transition probability (usually set to 0.85), Points to the node The node set of Is a node The out-degree, is the total number of nodes.

[0066] Step 5: Use the constructed semantic network The preprocessed text data or the newly collected teacher's lecture voice data converted into text data are quantitatively analyzed for the knowledge point coverage and explanation depth to generate a teaching evaluation report; semantic network, as a knowledge representation method, expresses the relationship between entities through nodes and edges, and can be effectively applied to the field of teaching evaluation. In the preprocessed text data or the newly collected teacher's lecture voice data, semantic network can help us better understand and analyze the teaching content, so as to conduct quantitative analysis of the knowledge point coverage. Specifically:

[0067] Step 5.1: Based on the semantic network and the centrality matrix , evaluate the knowledge point coverage of pre-processed text data or newly collected teacher lecture voice data converted into text data and explain the depth ; Knowledge point coverage and explain the depth It is an important indicator for evaluating the quality of teachers' lectures. Knowledge point coverage refers to the scope of knowledge points covered by teachers during lectures, while the depth of explanation reflects the teacher's ability to explain knowledge points in a simple and profound way. Evaluation indicators: Definition of knowledge point coverage To improve the accuracy of entity recognition, explain the depth is the complexity of the relationship between knowledge points, as shown below:

[0068]

[0069]

[0070] in, is the number of true positive examples, is the number of false negatives, Is a node and The shortest path length between. According to the coverage Depth of reconciliation Generate a report.

[0071] Step 5.2: Combined coverage and explain the depth , generate teaching evaluation reports .

[0072] A subject knowledge point entity recognition and teacher semantic network construction system, comprising:

[0073] The data collection module is used to collect the text data of textbook knowledge points and the voice data of teachers’ lectures.

[0074] A data preprocessing module is used to preprocess the collected data;

[0075] Bert-BLSTM-CRF entity recognition module, used to perform knowledge point entity recognition on preprocessed text data;

[0076] Semantic network building module, used to build a semantic network of teacher teaching content based on the identified knowledge point entities ;

[0077] Teaching evaluation report generation module, used to build semantic network The pre-processed text data or the newly collected teacher's lecture voice data converted into text data is quantitatively analyzed for the knowledge point coverage and explanation depth to generate a teaching evaluation report.

[0078] Example 2: This example describes the present invention in detail with reference to experimental data.

[0079] 1. Data Collection

[0080] In order to support the training of the subject knowledge point entity recognition model based on Bert-BLSTM-CRF, the present invention uses textbooks and online open subject videos as the main data sources, and collects the content of the first chapter of the People's Education Edition seventh-grade mathematics textbook and the corresponding teacher teaching videos. Then the text content of the electronic textbook and the teaching video are extracted respectively to produce a data set for training the model. The named entity recognition task mostly adopts the method of sequence labeling. There are two main methods for character-level entity labeling: BIO labeling and BIOES labeling. The present invention uses the BIO (Begin, Inside, Outside) labeling method to label the text entity. The labels and their meanings are shown in Table 1.

[0081] Table 1 Subject knowledge point labels and meanings

[0082]

[0083] The present invention marks the subject knowledge points according to the teaching unit. In the BIO marking method, B represents the first character of the marked entity, I represents the middle character of the marked entity, and O represents the characters other than the marked entity. The subject knowledge point entity marking is shown in Table 2.

[0084] Table 2 Examples of subject knowledge point annotations

[0085]

[0086] 2. Parameter settings

[0087] This experiment uses the TensorFlow deep learning framework, written in Python 3.6.9, with a graphics card of Nvidia 3090 and a video memory of 24 GB. The model training parameters are shown in Table 3.

[0088] Table 3 Hyperparameter configuration

[0089]

[0090] 3. Evaluation indicators

[0091] In the present invention, the model training effect is evaluated using common indicators such as accuracy, precision, recall and F1 value (F-score).

[0092]

[0093]

[0094]

[0095]

[0096] Among them, TP represents the number of entities correctly predicted as positive by the model, FN represents the number of entities that the model failed to predict as positive, FP represents the number of entities incorrectly predicted as positive by the model, and TN represents the number of entities correctly predicted as negative by the model. The dataset is divided into a training set and a test set, with a ratio of 8:2. The training set is used for model training, and the test set is used to evaluate model performance. The experimental results show that the model performs well in terms of accuracy, recall, and F1 score. The specific values ​​are as follows:

[0097] Table 4 Training results

[0098]

[0099] 4. Knowledge point entity extraction example

[0100] The model successfully identified the knowledge point entity, the start and end position of the entity, and the entity type in the sentence. Therefore, this model can be used for the task of identifying subject knowledge point entities.

[0101] Table 5 Test samples

[0102]

[0103] The specific embodiments of the present invention have been described in detail above, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge scope of ordinary technicians in this field without departing from the purpose of the present invention.

Claims

1. A method for subject knowledge point entity recognition and teacher semantic network construction, characterized by: The following steps are involved: Step 1: Collect the text data of textbook knowledge points and the teacher's lecture voice data, and convert the teacher's lecture voice data into text data; Step 2: Preprocess all text data collected in Step 1, including data cleaning and sorting; Step 3: Use the Bert-BLSTM-CRF model to perform knowledge point entity recognition on the preprocessed text data; Step 4: Based on the identified knowledge point entities, construct a semantic network of the teacher’s teaching content ; Step 5: Use the constructed semantic network Conduct quantitative analysis on the knowledge point coverage and explanation depth of the pre-processed text data or the newly collected teacher lecture voice data converted into text data, and generate a teaching evaluation report; Step 4 specifically includes the following steps: Step 4.1: Use knowledge point entities and preprocessed text data as network nodes and edges to build a semantic network ; Step 4.2: Use analytical tools to analyze the semantic network To analyze, the PageRank algorithm calculates the semantic network The centrality of the semantic network is obtained by analyzing the structure and relevance of the preprocessed text data. ; Step 5 specifically includes the following steps: Step 5.1: Based on the semantic network and the centrality matrix , evaluate the knowledge point coverage of pre-processed text data or newly collected teacher lecture voice data converted into text data and explain the depth ; Defining the coverage of knowledge points To improve the accuracy of entity recognition, explain the depth is the complexity of the relationship between knowledge points, as shown below: ; ; in, is the number of true positive examples, is the number of false negatives, Is a node and The shortest path length between Step 5.2: Combined coverage and explain the depth , generate teaching evaluation reports .

2. The method for subject knowledge point entity recognition and teacher semantic network construction according to claim 1, characterized in that: Step 1 specifically includes the following steps: Step 1.1: Use the data collection module to collect the knowledge point descriptions in the textbook and obtain text data ; Step 1.2: Use speech recognition technology to record the teacher’s speech data Convert to text data .

3. The method for subject knowledge point entity recognition and teacher semantic network construction according to claim 2 is characterized by: Step 2 specifically includes the following steps: Step 2.1: Use data cleaning algorithms to remove text data and text data Incomplete or irrelevant information in the text is obtained to obtain the cleaned text datasets. and ; Step 2.2: Based on the data set and Sort the data by the timestamp of the text to get an ordered text dataset .

4. The method for subject knowledge point entity recognition and teacher semantic network construction according to claim 1, characterized in that: Step 3 specifically includes the following steps: Step 3.1: Input the preprocessed text data into the pre-trained Bert model to obtain the deep semantic representation of the text ; Step 3.2: Input into the BLSTM network, use its gating mechanism to process the sequence data, capture the time series features, and obtain the sequence features ; Step 3.3: Passed to the CRF layer, the label sequence is optimized by the following formula , predict the probability of knowledge point occurrence, is a given feature sequence Next label sequence Y The probability of Y is a sequence, indicating the label corresponding to each element. is the normalization constant, and is a model parameter used to calculate the given previous label and the current label And the characteristic sequence When , the probability of the current label is and Used to calculate the probability of the label given only the current label, and It means to accumulate all possible label probabilities.

5. A system for implementing the subject knowledge point entity recognition and teacher semantic network construction method according to claim 1, characterized in that: The system comprises: The data collection module is used to collect the text data of textbook knowledge points and the voice data of teachers’ lectures. A data preprocessing module is used to preprocess the collected data; Bert-BLSTM-CRF entity recognition module, used to perform knowledge point entity recognition on preprocessed text data; Semantic network building module, used to build a semantic network of teacher teaching content based on the identified knowledge point entities ; Teaching evaluation report generation module, used to build semantic network Conduct quantitative analysis on the knowledge point coverage and explanation depth of the preprocessed text data or the newly collected teacher lecture voice data converted into text data to generate a teaching evaluation report.

Citation Information

Patent Citations

  • Intelligent test paper composition method based on knowledge graph

    CN115640405A

  • Method for constructing computer education knowledge graph based on knowledge graph

    CN117875412A

  • KR20210105044A