A knowledge tracking method, device and equipment

By acquiring answer records and log data, an implicit signal vector is constructed, and features are fused using a multi-head attention mechanism to generate knowledge tracking results. This solves the problem of narrow coverage of users' historical answer records and improves the accuracy of knowledge mastery probability assessment and knowledge tracking results.

CN123159495APending Publication Date: 2026-11-24CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611048787.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-15
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

The narrow coverage of users' historical answer records leads to low accuracy in assessing the probability of knowledge mastery, which in turn affects the accuracy of knowledge tracking results.

Method used

Acquire relevant data, including answer records and log data, determine implicit signal vectors, combine with a preset model to generate knowledge tracking results, construct job query benchmark values ​​through log data, count relative query frequencies, and use a multi-head attention mechanism to perform feature fusion to generate knowledge tracking results.

Benefits of technology

It improves the accuracy of knowledge mastery probability assessment, enhances the accuracy of knowledge tracking results, avoids the subjectivity of single user behavior statistics and the inaccuracy of feature representation, and improves the representation accuracy and reliability of implicit signal vectors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123159495A_ABST
    Figure CN123159495A_ABST
Patent Text Reader

Abstract

This invention relates to a knowledge tracking method, apparatus, and device. It pertains to the field of data processing technology. The method includes: acquiring relevant data of a first target object; wherein the relevant data includes answer record data and log data, and the first target object indicates a learning user to be assessed for knowledge status; determining an implicit signal vector corresponding to the first target object based on the relevant data; determining an answer sequence corresponding to the first target object based on the relevant data; and determining the knowledge tracking result corresponding to the first target object based on the answer sequence and the implicit signal vector using a preset model. This invention eliminates the use of historical answer records as the sole input data, overcoming the shortcomings of related technologies that only collect historical answer records as input data and have narrow information coverage, thereby improving the accuracy of knowledge mastery probability assessment and thus improving the accuracy of knowledge tracking results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data processing technology, and specifically to a knowledge tracking method, apparatus, and device. Background Technology

[0002] In related technologies, users' historical answer records are collected as input data, and then a sequence knowledge tracing model of long short-term memory network is used to determine the probability of users' knowledge mastery.

[0003] However, users' historical answer records only include limited explicit results such as correctness of answers and answer time, resulting in narrow information coverage. This leads to low accuracy in assessing the probability of knowledge mastery, and consequently, inaccurate knowledge tracking results. Summary of the Invention

[0004] The technical problem that this invention aims to solve is that users' historical answer records only include limited explicit results such as correctness of answers and answer time, resulting in narrow information coverage, which leads to low accuracy in assessing the probability of knowledge mastery and consequently inaccurate knowledge tracking results.

[0005] The technical solution of the present invention to solve the above-mentioned technical problems is as follows: a knowledge tracking method, the method comprising: acquiring relevant data of a first target object; wherein, the relevant data includes answer record data and log data, and the first target object indicates a learning user to be evaluated for knowledge status; determining an implicit signal vector corresponding to the first target object based on the relevant data; determining an answer sequence corresponding to the first target object based on the relevant data; and determining the knowledge tracking result corresponding to the first target object based on the answer sequence and the implicit signal vector using a preset model.

[0006] The beneficial effects of this invention are as follows: by acquiring relevant data of the first target object to be evaluated for knowledge status, including answer record data and log data, the implicit signal vector corresponding to the first target object is determined based on the relevant data, the answer sequence is determined based on the relevant data, and the knowledge tracking result corresponding to the first target object is determined based on the answer sequence using a preset model. That is, the user's historical answer records are no longer used as the only input data, which makes up for the shortcomings of related technologies that only collect user's historical answer records as input data and have narrow information coverage, thereby improving the accuracy of the knowledge mastery probability assessment and thus improving the accuracy of the knowledge tracking result.

[0007] Based on the above technical solution, the present invention can be further improved as follows.

[0008] Furthermore, both the answer record data and log data are associated with corresponding knowledge points. Based on the relevant data, the implicit signal vector corresponding to the first target object is determined, including: determining the average query frequency of the second target object within a preset time period based on the knowledge point query behavior data in the log data; wherein, the second target object indicates all users who belong to the same position as the first target object; determining the position query benchmark value based on the average query frequency; statistically analyzing the query frequency of the first target object's knowledge points within a preset time period based on the log data; determining the relative query frequency based on the position query benchmark value and the query frequency; and determining the implicit signal vector corresponding to the first target object based on the relative query frequency and a preset threshold.

[0009] The beneficial effect of adopting the above-mentioned further solution is to determine the average query frequency of the second target object, which belongs to the same position as the first target object, within a preset time period by using knowledge point query behavior data in log data. Based on the average query frequency, a job query benchmark value is determined. At the same time, the query frequency of the first target object's knowledge points within the preset time period is statistically analyzed. The relative query frequency is determined by combining the job query benchmark value and the query frequency of the first target object. Based on the relative query frequency and a preset threshold, the implicit signal vector corresponding to the first target object is determined. This can construct a standardized job query benchmark value based on the query behavior of users in the same position. By using the overall behavioral characteristics of the position as a reference, the differences in knowledge point query behavior of the first target object are quantified. This avoids the problems of no reference standard in single user behavior statistics, strong subjectivity in feature representation, and inability to reflect the differentiated characteristics of knowledge point mastery. It effectively improves the representation accuracy and reliability of the implicit signal vector.

[0010] Furthermore, based on the relative query frequency and a preset threshold, the implicit signal vector corresponding to the first target object is determined, including: for the relative query frequency corresponding to each knowledge point, the relative query frequency is numerically constrained using a preset threshold to obtain the feature value corresponding to a single knowledge point; the feature values ​​of all knowledge points are summarized to determine the implicit signal vector corresponding to the first target object.

[0011] The beneficial effect of adopting the above-mentioned further scheme is that by using a preset threshold to numerically constrain the relative query frequency corresponding to each knowledge point, the feature value corresponding to a single knowledge point is obtained, and the feature values ​​of all knowledge points are summarized to determine the implicit signal vector corresponding to the first target object. This can avoid feature interference caused by the fluctuation difference of the relative query frequency values ​​of different knowledge points, and further improve the numerical normalization and representation accuracy of the implicit signal vector.

[0012] Furthermore, the pre-defined model includes an embedding layer, a long short-term memory sequence modeling layer, a multi-head attention mechanism layer, a fully connected layer, and an activation function output layer. Based on the answer sequence and implicit signal vector, the pre-defined model determines the knowledge tracking result corresponding to the first target object, including: inputting the answer sequence into the embedding layer and the long short-term memory sequence modeling layer to obtain the answer temporal features; mapping the implicit signal vector to the same dimension as the answer temporal features to obtain the implicit signal representation; using the multi-head attention mechanism layer, performing feature fusion on the answer temporal features and the implicit signal representation through the multi-head attention mechanism to obtain the fused features; and inputting the fused features into the fully connected layer and the activation function output layer to obtain the knowledge tracking result.

[0013] The beneficial effect of adopting the above-mentioned further scheme is that by inputting the answer sequence into the embedding layer and the long short-term memory sequence modeling layer to obtain the answer temporal features, the implicit signal vector is mapped to the same dimension as the answer temporal features to obtain the implicit signal representation. The multi-head attention mechanism of the multi-head attention mechanism layer is used to fuse the answer temporal features and the implicit signal representation to obtain the fused features. The fused features are then input into the fully connected layer and the activation function output layer to obtain the knowledge tracking results. It can capture the temporal change features of the answer sequence according to the long short-term memory sequence modeling layer, and ensure the dimensionality of the implicit signal representation and the answer temporal features through dimensional mapping. Then, the multi-head attention mechanism is used to achieve effective fusion of the answer temporal features and the implicit signal representation. Finally, the fully connected layer and the activation function output layer complete the feature parsing and result output, which solves the problem of one-sided information in single feature modeling and further improves the accuracy of knowledge tracking results.

[0014] Furthermore, the answer record data includes user identifier, question identifier, knowledge point identifier, answer result, and answer time. Based on the relevant data, the answer sequence is determined, including: classifying the original answer data based on user identifier and question identifier, and filtering the valid answer data corresponding to the first target object; checking whether the number of valid answer data is less than a first quantity threshold; if the number of valid answer data is not less than the first quantity threshold, determining the encoding result corresponding to a single answer record based on the knowledge point identifier and answer result corresponding to the valid answer data; and sorting the encoding results based on the answer time to generate the answer sequence.

[0015] The beneficial effect of adopting the above-mentioned further scheme is that the validity of the data is determined by detecting the relationship between the number of valid answer data and the first quantity threshold. When the number of valid answer data is not less than the first quantity threshold, the coding result corresponding to a single answer record is determined according to the knowledge point identifier and answer result of the valid answer data. The coding results are sorted according to the answer time to generate an answer sequence, and the valid answer data belonging to the first target object is filtered out. Then, the coding result of a single answer record is completed through the knowledge point identifier and answer result, which effectively avoids the problems of invalid data interference and answer sequence disorder.

[0016] Furthermore, based on the answer sequence and implicit signal vector, a preset model is used to determine the knowledge tracking result corresponding to the first target object, including: if the number of valid answer data is less than a first quantity threshold, detecting whether the number of the second target object is less than a second preset quantity, and obtaining a quantity detection result; based on the quantity detection result, determining to generate a job aggregated knowledge profile; wherein, the job aggregated knowledge profile indicates the initial knowledge state of the first target object; based on the first weight of the job aggregated knowledge profile and the second weight corresponding to the knowledge tracking result to be processed, obtaining the knowledge tracking result; wherein, in the process of obtaining the knowledge tracking result, the first weight is reduced and the second weight is increased until the first weight reaches the weight threshold.

[0017] The beneficial effect of adopting the above-mentioned further scheme is that by detecting the number of the second target object, a quantity detection result is obtained. Based on the quantity detection result, a job aggregated knowledge profile representing the initial knowledge state of the first target object is generated. The knowledge tracking result is obtained by combining the first weight corresponding to the job aggregated knowledge profile with the second weight corresponding to the knowledge tracking result to be processed. The first weight is continuously reduced and the second weight is increased until the first weight reaches the weight threshold. The two results can be smoothly integrated through the dynamic adjustment of the first weight and the second weight, gradually conforming to the real knowledge state of the first target object.

[0018] Furthermore, based on the quantity detection results, a job-specific knowledge profile is generated, including: if the quantity detection results indicate that the number of second target objects is not less than a second preset number, determining the first knowledge mastery status of the second target objects; determining the first job level weight coefficient based on the job level attribute of the second target objects; determining the first activity weight coefficient based on the interaction behavior of the second target objects; determining the first target weight of the second target objects based on the first job level weight coefficient, the first activity weight coefficient, and the basic weight corresponding to the second target objects; and generating a job-specific knowledge profile based on the first target weight and the first knowledge mastery status of the second target objects.

[0019] The beneficial effect of adopting the above-mentioned further scheme is that by determining the first knowledge mastery status of the second target object, determining the first job level weight coefficient based on the job level attribute of the second target object, determining the first activity weight coefficient based on the interaction behavior of the second target object, and combining the first job level weight coefficient, the first activity weight coefficient and the basic weight corresponding to the second target object to determine the first target weight of the second target object, and generating a job aggregated knowledge profile based on the first target weight and the first knowledge mastery status of the second target object, it is possible to quantify the weight difference of the second target object in multiple dimensions by combining job level attributes and interaction behavior, so that the weight allocation of the second target object is more reasonable and closer to the actual job learning situation, and improves the representation accuracy of the job aggregated knowledge profile.

[0020] Furthermore, based on the quantity detection results, the generation of a job-specific aggregated knowledge profile is determined, including: if the number of second target objects is less than the second preset number, the second knowledge mastery status of the third target object and the second target weight of the third target object are determined; wherein, the third target object indicates the superior position of the position to which the second target object belongs and the number of third target objects is not less than the second preset number of target objects; based on the second knowledge mastery status and the second target weight of the third target object, a job-specific aggregated knowledge profile is generated.

[0021] The beneficial effect of adopting the above-mentioned further solution is that by using the second knowledge mastery status and second target weight of the third target object, a job aggregated knowledge profile is generated based on the second knowledge mastery status and second target weight of the third target object. When the number of user samples in the same job is insufficient and an effective job aggregated knowledge profile cannot be generated, knowledge state aggregation modeling is performed upward based on the third target object of the superior job that meets the quantity conditions, which effectively solves the modeling failure problem caused by the lack of samples in the same job.

[0022] Furthermore, the present invention provides a knowledge tracking device, which includes: an acquisition module for acquiring relevant data of a first target object; wherein the relevant data includes answer record data and log data, and the first target object indicates a learning user to be assessed for knowledge status; a first determination module for determining an implicit signal vector corresponding to the first target object based on the relevant data; a second determination module for determining an answer sequence corresponding to the first target object based on the relevant data; and a third determination module for determining a knowledge tracking result corresponding to the first target object based on the answer sequence and the implicit signal vector using a preset model.

[0023] Furthermore, the present invention provides an electronic device, including: a memory and a processor, which are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to perform the knowledge tracing method described above.

[0024] Furthermore, the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to execute the knowledge tracing method described above.

[0025] Furthermore, the present invention provides a computer program product, including computer instructions for causing a computer to execute the above-described knowledge tracing method. Attached Figure Description

[0026] Figure 1 A schematic diagram of the structure of the knowledge tracking system provided by this invention; Figure 2 A flowchart illustrating the knowledge tracing method provided by this invention; Figure 3 A flowchart illustrating another knowledge tracking method provided by the present invention; Figure 4 A flowchart illustrating another knowledge tracking method provided by the present invention; Figure 5 A flowchart illustrating another knowledge tracing method provided by the present invention; Figure 6 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation

[0027] The principles and features of the present invention are described below. The examples given are only for explaining the present invention and are not intended to limit the scope of the present invention.

[0028] Figure 1 This is a schematic diagram of the knowledge tracking system provided by the present invention.

[0029] Combination Figure 1 As shown, the knowledge tracking system includes a data acquisition module, an implicit signal vector construction module, a question sequence generation module, an adaptive cold start processing module, and a model feature fusion and result output module.

[0030] The data acquisition module is used to acquire relevant data from the first target object. The first target object is the learning user undergoing knowledge status assessment. The acquired data includes answer record data and log data, both of which are pre-associated with corresponding knowledge points. The answer record data specifically includes user identifier, question identifier, knowledge point identifier, answer result, and answer time. The implicit signal vector construction module is used to calculate the average query frequency of all second target objects belonging to the same position as the first target object within a preset time period, based on knowledge point query behavior data in log data. The average query frequency is used to determine the position query benchmark value. Simultaneously, the module calculates the knowledge point query frequency of the first target object within the preset time period. Combining the position query benchmark value and the query frequency of the first target object, the module determines the relative query frequency. For the relative query frequency corresponding to each knowledge point, a preset threshold is used to perform numerical constraint processing, obtaining the feature value corresponding to each knowledge point. Finally, the feature values ​​of all knowledge points are aggregated to generate the implicit signal vector corresponding to the first target object.

[0031] The answer sequence generation module is used to classify the original answer data according to the user identifier and question identifier in the answer record data, filter out the valid answer data corresponding to the first target object, and detect the relationship between the number of valid answer data and the first quantity threshold. When the number of valid answer data is not less than the first quantity threshold, the module determines the encoding result corresponding to a single answer record based on the knowledge point identifier and answer result corresponding to the valid answer data, and then sorts all the encoding results in chronological order according to the answer time to finally generate the answer sequence.

[0032] The adaptive cold start processing module is used to detect the relationship between the number of second target objects and a second preset number when the number of valid answer data is less than a first threshold. It obtains the quantity detection result and generates a job-specific aggregated knowledge profile based on this result. This profile indicates the initial knowledge state of the first target object. If the quantity detection result shows that the number of second target objects is not less than the second preset number, the module determines the first knowledge mastery state of the second target object. It then determines the first job level weight coefficient based on the second target object's job level attribute and the first activity weight coefficient based on the second target object's interaction behavior. Combining the first job level weight coefficient, the first activity weight coefficient, and the second target object's base weight, it obtains the first target weight. Based on the first target weight and the first knowledge mastery state, it generates the job-specific aggregated knowledge profile. If the number of second target objects is less than the second preset number, it selects a third target object belonging to the superior job of the second target object and whose quantity meets the requirement. It then determines the second knowledge mastery state and the second target weight of the third target object and generates the job-specific aggregated knowledge profile accordingly. Finally, the knowledge tracking result is obtained by dynamically fusing the first weight corresponding to the knowledge profile of the job and the second weight corresponding to the knowledge tracking result to be processed. During the operation, the first weight is continuously reduced and the second weight is increased until the first weight reaches the weight threshold, so as to achieve smooth iterative optimization of the cold start result.

[0033] The output module is used to input the answer sequence into the embedding layer and the long short-term memory sequence modeling layer to extract the answer temporal features. The implicit signal vector is mapped to the same dimension as the answer temporal features to obtain the implicit signal representation. The answer temporal features and the implicit signal representation are fused through the multi-head attention mechanism layer to obtain the fused features. Finally, the fused features are sequentially input into the fully connected layer and the activation function output layer to parse and output the knowledge tracking result corresponding to the first target object.

[0034] According to an embodiment of the present invention, a knowledge tracking method embodiment is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0035] This embodiment provides a knowledge tracking method that can be used in the aforementioned knowledge tracking system. Figure 2 This is a flowchart of a knowledge tracking method according to an embodiment of the present invention, such as... Figure 2 As shown, the process includes the following steps: Step S201: Obtain relevant data of the first target object; wherein, the relevant data includes answer record data and log data, and the first target object refers to the learning user to be assessed for knowledge status.

[0036] The primary target audience can be the learning users for whom a knowledge status assessment is to be conducted.

[0037] Relevant data can be understood as the raw learning behavior data collected to assess the knowledge status of the primary target object. This relevant data includes answer record data and log data.

[0038] Answer record data can be understood as structured data generated by the primary target object participating in knowledge point answering and learning. Specifically, it can include user identifier, question identifier, knowledge point identifier, answer result, and answer time.

[0039] Log data can indicate implicit behavioral data generated by the primary target object during the learning process, specifically including behavioral data such as querying, browsing, and reviewing knowledge points.

[0040] Specifically, the system acquires the answer record data and log data of the first target object. The answer record data records the subject, question, knowledge point, correct or incorrect result, and time dimension information for each answer by the user, while the log data fully retains the user's implicit learning behaviors such as knowledge point queries.

[0041] As an example, the system synchronously acquires the answer record data and log data of the first target object, and cleans and organizes the two types of raw data, retaining user identifiers, question identifiers, knowledge point identifiers, answer results, answer time, and knowledge point query behavior data to form relevant data.

[0042] Step S202: Based on the relevant data, determine the implicit signal vector corresponding to the first target object.

[0043] Implicit signal vectors can be understood as multi-dimensional feature vectors obtained by quantifying users' implicit knowledge point query behavior. They are used to characterize users' implicit learning doubts and knowledge point weaknesses, supplementing learning features that cannot be reflected in explicit answer data.

[0044] The second target can be any learning user who belongs to the same position as the first target.

[0045] The job search benchmark value can be understood as a standardized benchmark value calculated based on the knowledge point search behavior of all users for the same job, used to judge the strength of a single user's knowledge point search behavior.

[0046] Relative query frequency can be used to objectively distinguish the differences in users' query behavior for different knowledge points.

[0047] Specifically, after determining the relevant data, the implicit signal vector corresponding to the first target object can be further determined based on the relevant data.

[0048] As an example, the average query frequency of a job is calculated by analyzing the knowledge point query behavior of all second target objects in the same job position, generating a unified job query benchmark value. Then, the individual knowledge point query frequency of the first target object is statistically analyzed, and the relative query frequency is obtained by combining the job query benchmark value. Finally, the implicit signal vector is determined based on the relative query frequency.

[0049] As an example, based on relevant data, knowledge point query behavior data is extracted, the average query frequency and average query duration of users in the same position of the second target object are calculated, and the dual-dimensional data is integrated to construct the job query benchmark value; the individual query frequency and single query duration of the first target object are statistically analyzed, the individual comprehensive query activity is weighted and calculated, and combined with the relative query frequency, after completing the numerical constraint of single knowledge point through the preset threshold, the feature values ​​of all knowledge points are summarized to generate an implicit signal vector.

[0050] Step S203: Based on relevant data, determine the answer sequence corresponding to the first target object.

[0051] The answer sequence can be understood as a temporal feature sequence composed of the encoded results of multiple answer records, ordered by the time of the answer.

[0052] Specifically, after determining the relevant data, the answer sequence corresponding to the first target object can be further determined.

[0053] As an example, after filtering out the valid answer data of the first target object, multi-dimensional coding is completed in the coding stage by combining knowledge point identification, answer result and answer time. Different coding is performed for different answer states such as quick correct answer, timed correct answer, quick wrong answer and timed wrong answer. After completing the coding of a single data, the answer sequence is generated by sorting according to the answer time.

[0054] As an example, based on the collected answer record data of the first target object, the original answer data is classified and filtered by user identifier and question identifier to remove invalid data such as test answers, duplicate answers, and incomplete answers, so as to obtain the valid answer data of the first target object. The knowledge point identifier and answer result of each valid answer data are extracted, and different knowledge points and correct and incorrect answer results are converted into corresponding standardized coding results. According to the answer time sequence corresponding to each answer record, all coding results are sorted in ascending order to generate the answer sequence.

[0055] Step S204: Based on the answer sequence and implicit signal vector, use a preset model to determine the knowledge tracking result corresponding to the first target object.

[0056] The preset model can be a multi-layered deep learning model. This preset model may include an embedding layer, a long short-term memory sequence modeling layer, a multi-head attention mechanism layer, a fully connected layer, and an activation function output layer.

[0057] Specifically, after determining the answer sequence and implicit signal vector, these can be input into a preset model to obtain the knowledge tracking result corresponding to the first target object. The answer sequence and implicit signal vector can be the input to the preset model, and the knowledge tracking result can be the output of the preset model.

[0058] In one possible implementation scenario, for users in enterprise operations and maintenance (O&M) positions undergoing on-the-job training, daily training-related data is automatically collected. This data can include O&M professional knowledge point quiz record data (such as user ID, question number, O&M knowledge point ID, correctness of answer, and answer time) and platform knowledge point query log data. Based on the historical query behavior of all O&M trainees in the same position, a baseline query value for each O&M knowledge point is calculated. Combined with the individual user's knowledge point query frequency, a relative query frequency is calculated. After threshold constraints and feature aggregation, an implicit signal vector for the user's O&M knowledge points is generated to uncover users' implicit knowledge gaps. Simultaneously, valid O&M quiz data is filtered. After verifying that the data quantity meets a first threshold, the quiz records are encoded with knowledge points and quiz results, and sorted by quiz time to generate a time-series sequence of O&M knowledge point quizzes. Finally, the quiz sequence and implicit signal vector are input into a multi-layered pre-set knowledge tracing model. Through time-series feature extraction, feature dimension alignment, multi-head attention feature fusion, and feature parsing output, the probability of the user's mastery of each O&M knowledge point is obtained, generating knowledge tracing results.

[0059] The knowledge tracking method provided by this invention acquires relevant data of a first target object to be evaluated for knowledge status. The relevant data includes answer record data and log data. Based on the relevant data, the implicit signal vector corresponding to the first target object is determined, the answer sequence is determined, and the knowledge tracking result corresponding to the first target object is determined based on the answer sequence using a preset model. That is, the user's historical answer record is no longer used as the only input data, which makes up for the shortcomings of related technologies that only collect the user's historical answer record as input data and have narrow information coverage. This improves the accuracy of the knowledge mastery probability assessment and thus improves the accuracy of the knowledge tracking result.

[0060] Both the answer record data and log data are associated with corresponding knowledge points. Based on the relevant data in step S202, the implicit signal vector corresponding to the first target object is determined using the following method: Figure 3 The implementation of steps S3021 to S3025 in the above steps: Step S3021: Based on the knowledge point query behavior data in the log data, determine the average query frequency of the second target object within a preset time period; wherein, the second target object indicates all users who belong to the same position as the first target object.

[0061] Knowledge point query behavior data can be understood as the behavior record data of users' queries, searches, and retrieval operations on various business knowledge points, which are recorded in the log data. Each data record is associated with a unique knowledge point.

[0062] The second target group can be understood as learning users who belong to the same position as the first target group.

[0063] The preset time can be understood as a fixed statistical period that is configured in advance.

[0064] Average query frequency can be understood as the ratio of the total number of queries for a single knowledge point by all second target objects in the same position to the total number of users within a preset time period. It is used to characterize the query activity level of the position group for each knowledge point.

[0065] Specifically, valid knowledge point query behavior data is selected from the collected log data. Using a preset time as a fixed statistical period, all query behavior data of the second target object under the same position for each knowledge point are collected. The total number of queries for a single knowledge point for the position is counted, and the average query frequency corresponding to each knowledge point is calculated by combining the total number of users in the same position.

[0066] In one possible implementation, knowledge point query behavior data is extracted from log data. Based on the number of queries by job users within a preset time period, user weights are assigned according to the overall learning activity of the second target object. High-frequency learning users are given higher weights, while low-frequency inactive users are given lower weights. The weighted total number of queries for a single knowledge point is calculated by weighted summation, and then divided by the number of effective active users to obtain the average query frequency.

[0067] In one possible implementation, the average query frequency can be determined using the following formula: Where AvgFreq_{role, k} is the average query frequency. Let F_{u, k} represent the total number of second target objects corresponding to the current position, and F_{u, k} represent the query frequency of a single second target object for the k-th knowledge point.

[0068] Step S3022: Determine the job query benchmark value based on the average query frequency.

[0069] The job search benchmark can be used to measure the strength of a single user's knowledge point search behavior.

[0070] Specifically, after determining the average query frequency, the average query frequency can be processed to obtain the job query benchmark value.

[0071] As an example, using the average query frequency corresponding to each knowledge point as the original benchmark data, the average query frequency of a single knowledge point is directly assigned as the job query benchmark value for that knowledge point.

[0072] As an example, based on the average query frequency of each knowledge point, extremely large outliers and extremely small invalid values ​​in the job query frequency are removed. The average query frequency of all knowledge points is then uniformly scaled to a fixed numerical range through maximum and minimum value normalization to generate a job query benchmark value.

[0073] As an example, the distribution of knowledge point query frequency among all users of the second target object within a preset time period is statistically analyzed, and the median or high percentile value of the job query frequency is selected as the benchmark value for job query.

[0074] Step S3023: Based on log data, count the frequency of queries on knowledge points of the first target object within a preset time period.

[0075] Knowledge point query frequency can be understood as the total number of valid queries initiated by a single primary target object for a single knowledge point within a preset time period, used to characterize the degree of learning attention and doubt of an individual user for the corresponding knowledge point.

[0076] Specifically, the query behavior data of all knowledge points of the first target object are filtered from the log data. After invalid query records are removed, the data is counted one by one according to the individual knowledge point dimension. The total number of queries corresponding to each knowledge point of the first target object is directly accumulated, and the total number of queries is used as the query frequency of the corresponding knowledge point.

[0077] In one possible implementation, based on the number of queries for the knowledge points of the first target object, different weights are assigned to each query according to the dwell time and browsing depth of each query. Short-term invalid browsing can be given low weight, while long-term in-depth browsing can be given high weight. The query frequency of each knowledge point is obtained by weighted summation.

[0078] Step S3024: Determine the relative query frequency based on the job query benchmark value and query frequency.

[0079] Relative query frequency can indicate a differentiated quantitative value calculated by combining the benchmark of the job group and the query behavior of individual users. It is used to characterize the difference in the query frequency of a single knowledge point of the first target object relative to the overall level of the job.

[0080] Specifically, for each knowledge point, the relative query frequency of the knowledge point of the first target object is divided by the job query benchmark value of the corresponding knowledge point, and the resulting ratio is used as the relative query frequency of that knowledge point.

[0081] In one possible implementation, the absolute difference between the query frequency of the first target object and the benchmark value of the job query is calculated, and then the difference is normalized by combining the overall distribution range of the job query frequency to obtain the relative query frequency with a fixed range.

[0082] In one possible implementation, the relative query frequency can be determined using the following formula: s_{u, k}=min(RelFreq_{u, k} / θ, 1.0); s_{u,k}=min(RelFreq_{u,k} / 2,1.0); where s_{u,k} is the relative query frequency, RelFreq_{u,k} is the query frequency, and θ is the job query baseline value.

[0083] Specifically, when the relative frequency exceeds twice the threshold, the signal strength saturates to 1.0; when the relative frequency is below the threshold, the signal strength is attenuated proportionally.

[0084] Step S3025: Based on the relative query frequency and a preset threshold, determine the implicit signal vector corresponding to the first target object.

[0085] The preset threshold can indicate the pre-configured numerical constraint standard, which is used to normalize, truncate, and standardize the relative query frequency, and filter out extreme numerical interference.

[0086] Specifically, for the relative query frequency corresponding to each knowledge point, numerical constraints, truncation and normalization are performed using a preset threshold to remove extreme abnormal values ​​and obtain the standardized feature value corresponding to each knowledge point; the independent feature values ​​of all knowledge points are summarized, spliced ​​and aggregated in a fixed knowledge point dimension order to generate an implicit signal vector.

[0087] In one possible implementation, multiple sets of gradient preset thresholds are divided according to the difficulty of knowledge points and the weight of job assessment. The thresholds for key and difficult knowledge points are relaxed, while the thresholds for basic knowledge points are strict. Differentiated constraints are applied to the relative query frequency of different knowledge points to obtain differentiated and accurate feature values. Finally, all knowledge point feature values ​​are summarized and aggregated to generate implicit signal vectors.

[0088] Specifically, step S3025 above includes the following steps: Step a1: For the relative query frequency corresponding to each knowledge point, a preset threshold is used to numerically constrain the relative query frequency to obtain the feature value corresponding to a single knowledge point.

[0089] Specifically, it iterates through each business knowledge point, retrieves the relative query frequency of the user corresponding to that knowledge point, and performs uniform processing on the relative query frequency according to the numerical constraint rules of the preset threshold. Extreme abnormal values ​​that exceed the reasonable range are truncated, discrete invalid values ​​are corrected, and valid values ​​that can truly reflect the implicit learning differences of users of knowledge points are retained. The feature value corresponding to each knowledge point is then output.

[0090] Step a2: Summarize the feature values ​​of all knowledge points and determine the implicit signal vector corresponding to the first target object.

[0091] By using preset fixed knowledge point sorting dimensions and order rules, all feature values ​​are systematically summarized, spliced ​​and integrated to eliminate the discreteness of single knowledge point features, unify feature dimensions and output format, and generate implicit signal vectors.

[0092] The knowledge tracking method provided by this invention determines the average query frequency of a second target object belonging to the same position as the first target object within a preset time period by using knowledge point query behavior data in log data. Based on the average query frequency, a position query benchmark value is determined. Simultaneously, the query frequency of the first target object's knowledge points within the preset time period is statistically analyzed. The relative query frequency is determined by combining the position query benchmark value and the query frequency of the first target object. Based on the relative query frequency and a preset threshold, an implicit signal vector corresponding to the first target object is determined. This method can construct a standardized position query benchmark value based on the query behavior of users in the same position, using the overall behavioral characteristics of the position as a reference to quantify the differences in knowledge point query behavior of the first target object. It avoids the problems of single-user behavior statistics lacking reference standards, strong subjectivity in feature representation, and inability to reflect differentiated characteristics of knowledge point mastery, effectively improving the representation accuracy and reliability of the implicit signal vector.

[0093] Furthermore, by applying a preset threshold to the relative query frequency corresponding to each knowledge point, a numerical constraint is applied to the relative query frequency to obtain the feature value corresponding to a single knowledge point. The feature values ​​of all knowledge points are then aggregated to determine the implicit signal vector corresponding to the first target object. This approach avoids feature interference caused by the fluctuation of relative query frequency values ​​of different knowledge points, further improving the numerical standardization and representation accuracy of the implicit signal vector.

[0094] The pre-defined model includes an embedding layer, a long short-term memory sequence modeling layer, a multi-head attention mechanism layer, a fully connected layer, and an activation function output layer. Based on the answer sequence and implicit signal vector in step S204, the pre-defined model is used to determine the knowledge tracking result corresponding to the first target object. Figure 4 The implementation of steps S4041 to S4044 in the above steps: Step S4041: Input the answer sequence into the embedding layer and the long short-term memory sequence modeling layer to obtain the answer temporal features.

[0095] The embedding layer can indicate the first-layer network structure of the preset model, which is used to perform vector mapping and dimension transformation on discrete answer sequence encoding, and transform sparse encoding into dense semantic vectors.

[0096] The Long Short-Term Memory (LSTM) sequence modeling layer can instruct the temporal modeling core network layer of the preset model.

[0097] Specifically, the discrete answer encoding sequence is transformed into a vector embedding layer to eliminate encoding sparsity and generate an answer embedding vector. The answer embedding vector is then input into the long short-term memory sequence modeling layer. Its temporal memory characteristics are used to capture the knowledge point mastery relationship, learning and forgetting patterns and answer state change trends of users at different answering times, mine the deep temporal semantic information inside the answer sequence, and output the answer temporal features.

[0098] Step S4042: Map the implicit signal vector to the same dimension as the timing features of the answer, and obtain the implicit signal representation.

[0099] Specifically, by using a fixed linear mapping rule, the implicit signal vector is scaled in dimension and transformed in feature to be mapped to a dimension space that is completely consistent with the timing features of the answer, thereby generating an implicit signal representation.

[0100] Step S4043: Utilize the multi-head attention mechanism layer to fuse the timing features of the answer and the implicit signal representation through the multi-head attention mechanism to obtain fused features.

[0101] Specifically, by using multiple attention heads, we model the relationship between temporal answering patterns, implicit doubts about knowledge points, temporal states and implicit weaknesses from different feature subspaces. We adaptively allocate the fusion weights of the two types of features, strengthen effective related features and weaken ineffective and redundant features. We then splice and integrate the output features of the multiple attention heads and normalize the weights to generate fused features.

[0102] Step S4044: The fused features are input into the fully connected layer and the activation function output layer to obtain the knowledge tracking result.

[0103] Specifically, the fused features are input into the fully connected layer. The high-dimensional comprehensive features are integrated, fitted, and dimensionality reduced through the global weight parameters of the fully connected layer. Redundant information in the features is removed, and the core learning features are refined. The dimensionality-reduced features are then input into the activation function output layer. The non-linear activation function completes the numerical normalization and probability mapping, transforming the abstract features into quantifiable knowledge point mastery probability values, and outputting the knowledge tracking results.

[0104] In one possible implementation, the query vector, key vector, and value vector for attention computation are defined. The implicit signal representation vector output by the implicit signal mapping layer is used as the query vector for attention computation, with a vector dimension of [1 × hidden layer dimension]. The sequence of hidden states at all time steps output by the time series modeling layer is used as the overall key vector and overall value vector, with a vector dimension of [sequence length × hidden layer dimension]. Scaling is performed by multiplying the transpose of the query vector and the key vector and then dividing by the square root of the hidden layer dimension to eliminate the influence of dimension on the weight distribution. Subsequently, normalization is performed using a flexible maximum activation function to obtain the standardized attention weights corresponding to each historical answer time step. The attention weight result has a dimension of [1 × sequence length], and the magnitude of the weight represents the degree of correlation between the current implicit query behavior and each historical answer record.

[0105] The normalized attention weights and value vectors are weighted and summed to automatically strengthen the weights of historical answer features that are highly relevant to the current implicit query behavior and weaken the weights of irrelevant answer features, outputting a single-head attention aggregation feature with an output dimension of [1×hidden layer dimension].

[0106] Specifically, the following formula can be used: Where AttentionWeights is the attention weight, Query is the query vector, Key is the key vector, and H is the hidden layer dimension.

[0107] Where AttendedOutput is the output dimension and Value is the time series feature value.

[0108] Four attention heads were set up, each with independently initialized weight parameters. They were used to learn cross-feature relationships across knowledge point dimensions, incorrect question dimensions, answering time dimensions, and query preference dimensions, respectively. This multi-dimensional and multi-perspective approach uncovered deep interaction patterns between explicit answering behavior and implicit query behavior, resulting in four differentiated multi-head attention output features. These features were then concatenated and linearly reduced to a standard 128-dimensional dimension to obtain the multi-head attention fusion output features. Further, the fusion output features were added to the implicit signal representation vector via residual connection to obtain the fused features. Finally, the knowledge tracking results were output.

[0109] Specifically, the addition of the multi-head attention fusion output features to the original implicit signal representation vector via residual connection can be achieved using the following formula: ; where MultiHeadAttention(Query, Key, Value) is the multi-head attention output feature, Combined is the fused feature, and s_embed is the implicit signal representation vector.

[0110] In one possible implementation, the pre-defined model can use the following loss function during training: Loss = -Σ_{(u, k, t)}[y_{u, k, t}log(p_{u, k, t})+(1-y_{u, k, t})log(1-p_{u, k, t})]; where Loss is the loss value, u is the first target object, k is the kth knowledge point, t is the time step of the answer sequence, y_{u, k, t} is the true answer label, and p_{u, k, t} is the predicted mastery probability.

[0111] The knowledge tracking method provided by this invention obtains the temporal features of the answer sequence by inputting the answer sequence into an embedding layer and a long short-term memory sequence modeling layer. Implicit signal vectors are mapped to the same dimension as the temporal features of the answer sequence to obtain implicit signal representations. A multi-head attention mechanism is used to fuse the temporal features of the answer sequence and the implicit signal representations to obtain fused features. These fused features are then input into a fully connected layer and an activation function output layer to obtain the knowledge tracking results. This method can capture the temporal change features of the answer sequence based on the long short-term memory sequence modeling layer, and ensures the dimensionality unity between the implicit signal representations and the temporal features of the answer sequence through dimensional mapping. Then, the multi-head attention mechanism effectively fuses the temporal features of the answer sequence and the implicit signal representations. Finally, the fully connected layer and the activation function output layer complete feature parsing and result output, solving the problem of one-sided information in single feature modeling and further improving the accuracy of knowledge tracking results.

[0112] The answer record data includes user identifier, question identifier, knowledge point identifier, answer result, and answer time. Based on the relevant data in step S203, the answer sequence corresponding to the first target object is determined using the following method: Figure 5 The implementation of steps S5031 to S5034 in the above steps: Step S5031: Classify the original answer data based on user identifier and question identifier, and filter the valid answer data corresponding to the first target object.

[0113] Raw answer data can be understood as a collection of unfiltered and uncleaned original records of user answer behavior, which may include valid answer records and various invalid and redundant records.

[0114] Specifically, by using a dual-dimensional index of user identifiers and question identifiers, the entire set of original answer data is classified, divided, and matched to determine all answer records belonging to the first target object. At the same time, invalid data with no modeling value, such as invalid answers, incomplete answers, repeated attempts, and test data, are removed to determine the valid answer data.

[0115] In one possible implementation, based on matching the answer data of the first target object through user identifier and question identifier, the completeness of the knowledge point identifier, answer result and answer time of a single answer record is checked. Records missing any core fields are directly judged as invalid data and removed, and only standardized answer records with all five fields are retained as valid answer data.

[0116] Step S5032: Detect whether the number of valid answer data is less than the first quantity threshold.

[0117] The first quantity threshold can be understood as a preset standardized data quantity judgment threshold, used to determine whether the user's answer data is sufficient.

[0118] Specifically, the number of valid answer data corresponding to the current first target object is compared with a preset first quantity threshold to complete the scenario determination: when the number of valid answer data is not less than the first quantity threshold, the user's answer data is determined to be sufficient; when the number of valid answer data is less than the first quantity threshold, the user's answer data is determined to be sparse.

[0119] Step S5033: If the number of valid answer data is not less than the first quantity threshold, determine the coding result corresponding to a single answer record based on the knowledge point identifier and answer result corresponding to the valid answer data.

[0120] A knowledge point identifier indicates a unique knowledge point number associated with valid answer data. The answer result can be understood as the correctness or incorrectness of the answer corresponding to the valid answer data.

[0121] Specifically, if the number of valid answer data is not less than the first quantity threshold, then the knowledge point identifier and answer result corresponding to each valid answer data are extracted, and the knowledge point dimension and the correctness status of the answer are digitally mapped through preset coding rules, so as to transform the unstructured answer behavior record into the coding result.

[0122] Step S5034: Sort the coding results based on the answering time to generate an answer sequence.

[0123] Specifically, based on all the generated individual coding results, the answer time information corresponding to each coding result is matched, and all discrete coding results are uniformly sorted and reorganized according to the actual time sequence of the user's answers, so as to restore the complete time sequence trajectory of the user's phased answer learning and integrate the discrete individual coding data into the answer sequence.

[0124] The knowledge tracking method provided by this invention determines the validity of data by detecting the relationship between the number of valid answer data and a first quantity threshold. When the number of valid answer data is not less than the first quantity threshold, the encoding result corresponding to a single answer record is determined based on the knowledge point identifier and answer result of the valid answer data. The encoding results are then sorted based on the answer time to generate an answer sequence, and valid answer data belonging to the first target object is filtered out. Finally, the encoding result of a single answer record is completed through the knowledge point identifier and answer result, effectively avoiding the problems of invalid data interference and disordered answer sequence.

[0125] To improve the accuracy of knowledge tracking results, in one possible implementation, step S204 above, which determines the knowledge tracking result corresponding to the first target object based on the answer sequence and implicit signal vector using a preset model, may further include the following steps: Step b1: If the number of valid answer data is less than the first quantity threshold, detect whether the number of the second target object is less than the second preset quantity, and obtain the quantity detection result.

[0126] The second preset quantity can indicate the preset threshold for determining the number of user samples for a given job position, which is used to determine whether the sample size of the same level of job position is sufficient.

[0127] The quantity detection result can be a judgment result obtained by comparing the actual quantity of the second target object with the second preset quantity, which can specifically include two types of results: sufficient samples at the same level and sparse samples at the same level.

[0128] Specifically, when the number of valid answer data is less than the first quantity threshold, it is determined that the individual answer data of the first target object is sparse and cannot complete the conventional personalized knowledge modeling based on the individual answer sequence. Then, the total number of actual users of the second target object corresponding to the current position is further counted, and it is compared with the second preset quantity to output the corresponding quantity detection result.

[0129] Step b2: Based on the quantity detection results, determine the generation of job aggregated knowledge profiles; wherein, the job aggregated knowledge profile indicates the initial knowledge state of the first target object.

[0130] Job-specific knowledge profiles are used to indicate the initial knowledge state of the first target object in data-sparse scenarios.

[0131] Specifically, after determining the quantity of test results, it is possible to further determine the generation of job-specific aggregated knowledge profiles.

[0132] As an example, if the quantity detection result shows that the number of the second target object meets the second preset quantity requirement, then the knowledge mastery status and weight coefficient of the second target object at the same level are used to generate an aggregated knowledge profile of the same level position. If the quantity detection result shows that the number of the second target object is insufficient, then the upper-level position fallback logic is switched, and the position aggregated knowledge profile is generated based on the knowledge status and weight of the upper-level third target object.

[0133] As an example, when generating a job aggregated knowledge profile, the group weight smoothing coefficient is dynamically adjusted according to the sufficiency of the number of job samples. The more abundant the samples, the closer they are to the knowledge status of contract-level users. The scarcer the samples, the more the extreme features of the group are weakened and the aggregation results are smoothed and corrected, so as to adaptively generate a job aggregated knowledge profile.

[0134] Step b3: Based on the first weight of the job-aggregated knowledge profile and the second weight corresponding to the knowledge tracking result to be processed, the knowledge tracking result is obtained; wherein, in the process of obtaining the knowledge tracking result, the first weight is reduced and the second weight is increased until the first weight reaches the weight threshold.

[0135] The first weight can be understood as the fusion weight assigned to the aggregated knowledge profile of the job, which is used to represent the proportion of the group's initial knowledge state in the final result.

[0136] The knowledge tracking results to be processed can be understood as preliminary personalized knowledge tracking results obtained by reasoning based on a small amount of valid individual answer data of the first target object, which are used to carry a small amount of personalized learning characteristics of the user.

[0137] The second weight can be understood as the fusion weight assigned to the knowledge tracking results to be processed, which is used to characterize the proportion of user personalized learning features in the final result.

[0138] The weight threshold can be understood as the minimum critical threshold of the first weight, used to constrain the termination condition of weight iteration.

[0139] Specifically, based on the first weight of the job-specific knowledge profile and the second weight corresponding to the knowledge tracking result to be processed, a dual-weighted fusion algorithm is used to integrate the initial knowledge state of the group with a small number of personalized learning features of the user to obtain the initial knowledge tracking result. During the continuous learning iteration process, a weight adaptive adjustment strategy is dynamically executed to continuously reduce the first weight and simultaneously increase the second weight, gradually weakening the influence of the general features of the job group and strengthening the dominant role of the user's personal real learning features, until the first weight drops to the preset weight threshold and the iteration stops, and the knowledge tracking result is output.

[0140] For example, the application scenario is the cold start assessment of new trainees in enterprise operation and maintenance positions, with the first weight = 0.7, the second weight = 0.3, and the weight threshold = 0.2.

[0141] New trainees only completed 3 practice questions upon joining the company, resulting in insufficient effective answer data. Therefore, the system relies on benchmark modeling based on the job group. The system retrieves the job-specific aggregated knowledge profile for this operations and maintenance role, and combines this with the limited answer data from the trainees to infer the knowledge tracking results to be processed. The initial knowledge tracking result is calculated using a dual-weighted fusion method. Specifically, the initial knowledge tracking result = job-specific aggregated profile features × 0.7 + personalized answer features × 0.3.

[0142] As trainees continue practicing and accumulate effective answer data, an adaptive weight adjustment strategy is triggered, which continuously reduces the first weight while simultaneously increasing the second weight. When a trainee has answered 20 questions cumulatively: the first weight decreases from 0.7 to 0.4, and the second weight increases from 0.3 to 0.6; when a trainee has answered 50 questions cumulatively, covering core knowledge points: the first weight gradually decreases to 0.2, and the second weight increases to 0.8. Throughout this process, the model gradually weakens the general, fixed characteristics of the job group and continuously strengthens the individual trainees' real answering habits, knowledge gaps, and other personalized characteristics, allowing the assessment results to smoothly transition from the job average level to the individual's true learning situation.

[0143] When the first weight drops to the preset weight threshold of 0.2, the weight iteration update stops, and the knowledge tracking result is obtained.

[0144] In one possible implementation, the knowledge tracing result can be determined using the following formula: Wherein, InitialMastery is the job-aggregated knowledge profile, IndividualMastery is the knowledge tracking result to be processed, 1-λ is the first weight corresponding to the job-aggregated knowledge profile, and λ is the second weight corresponding to the knowledge tracking result to be processed.

[0145] In the first 10 knowledge tracking prediction iterations after the user data meets the standards, the iteration weight coefficient λ increases linearly from 0 to 1, with a single iteration increment of 0.1. In the first iteration, λ=0, the initial knowledge state of the job aggregation is completely used. In the 10th iteration, λ=1, the user's individual personalized knowledge state is completely switched. The first ten iterations use a smoothing strategy of gradually decreasing the group weight and gradually increasing the individual weight to completely avoid the problem of sudden changes in evaluation results during the cold start switching phase.

[0146] The knowledge tracking method provided by this invention obtains a quantity detection result by detecting the number of second target objects, generates a job-aggregated knowledge profile representing the initial knowledge state of the first target object based on the quantity detection result, and combines the first weight corresponding to the job-aggregated knowledge profile with the second weight corresponding to the knowledge tracking result to obtain the knowledge tracking result. The method continuously decreases the first weight and increases the second weight until the first weight reaches the weight threshold. It can achieve a smooth fusion of the two results through the dynamic adjustment of the first weight and the second weight, and gradually conforms to the true knowledge state of the first target object.

[0147] In one possible implementation, step b1 above may include the following steps: Step b11: If the quantity detection result indicates that the quantity of the second target object is not less than the second preset quantity, determine the first knowledge mastery status of the second target object.

[0148] The first knowledge mastery status can indicate the personalized knowledge mastery quantitative results of a single second target object for each job knowledge point. It is the basic feature data that characterizes the learning level of a single peer user, and can specifically include information such as the mastery probability of each knowledge point and the dimensions of learning weaknesses.

[0149] Specifically, if the quantity detection result indicates that the number of the second target objects is not less than the second preset number, it indicates that the sample size of the same level positions is sufficient. Under this premise, the historical knowledge tracking and evaluation data and learning statistics data corresponding to each second target object are retrieved in batches, and the first knowledge mastery status of each second target object for all job knowledge points is analyzed and determined.

[0150] As an example, after determining that the number of second target objects meets the second preset quantity requirement, all second target objects under the current position are traversed, and the historical converged knowledge tracking results of each user are retrieved in batches. The mastery probability of each knowledge point is directly used as the first knowledge mastery state of the corresponding second target object.

[0151] As an example, when collecting the first knowledge mastery status of the second target object, invalid user samples with long-term non-learning, outdated learning data, and abnormal assessment results are removed. Only active users with effective learning behavior and timely learning data in the recent period are selected, and their latest knowledge mastery status is extracted as the effective first knowledge mastery status.

[0152] Step b12: Determine the first job level weight coefficient based on the job level attribute of the second target object.

[0153] Job grade attributes can be understood as the job grade, skill level, and job level attributes corresponding to the second target object.

[0154] The first job level weight coefficient can be understood as a quantitative weight value obtained by matching job level attributes, which is used to represent the reference priority of users of different job levels in job learning aggregation.

[0155] Specifically, the job file data of each second target object is retrieved to obtain the corresponding job level attributes of the users. According to the preset job level weight mapping rules, the corresponding first job level weight coefficient is matched for users of different job levels. Among them, the knowledge level of users with higher job levels and senior positions is more in line with the job standards, so a higher weight coefficient is assigned, while the weight coefficient is relatively lower for newly hired and low-job level users.

[0156] Step b13: Determine the first activity weight coefficient based on the interaction behavior of the second target object.

[0157] Interactive behaviors can indicate the full range of valid behavioral data generated by the second target object on the learning platform. Specifically, these can include active learning interactive behaviors such as answering questions, querying knowledge points, learning courses, and practicing exercises, which are used to characterize the user's learning activity level.

[0158] The first activity weight coefficient can indicate the weight value generated based on the richness of user learning interaction behavior and activity quantification, and is used to distinguish the learning reference value of active users and inactive users.

[0159] Specifically, activity metrics such as user learning frequency, behavioral richness, and learning duration are statistically analyzed to generate corresponding primary activity weight coefficients. High-weighted users who consistently learn and interact frequently are assigned higher weights, while inactive users who have shown no interaction for extended periods or whose learning has stagnated are assigned lower weights.

[0160] Step b14: Determine the first target weight of the second target object based on the first job level weight coefficient, the first activity weight coefficient, and the basic weight corresponding to the second target object.

[0161] After determining the first job level weight coefficient and the first activity level weight coefficient, the first target weight of the second target object can be determined based on the first job level weight coefficient, the first activity level weight coefficient, and the basic weight corresponding to the second target object.

[0162] Specifically, based on the base weight of the second target object, the first job level weight coefficient, the first activity level weight coefficient, and the base weight are directly multiplied and merged to obtain the first target weight of a single user.

[0163] Step b15: Based on the first target weight and the first knowledge mastery status of the second target object, generate a job aggregated knowledge profile.

[0164] Specifically, for each job knowledge point, all second target objects are traversed, and the first target weight of each user is used as the weighting coefficient to perform a weighted sum of the first knowledge mastery status of the user's corresponding knowledge point. Then, the sum of all weights is divided to obtain the aggregated mastery status of a single knowledge point. After all knowledge points are weighted and aggregated in sequence, a complete job aggregated knowledge profile is generated.

[0165] In one possible implementation, the following formula can be used to determine the aggregated knowledge profile for a job position: Where InitialMastery_ is the aggregated knowledge profile for the job, u∈role represents all second target objects that have achieved the target, w_u is the weight of the first target, and Mastery_{u, k} is the first knowledge mastery status.

[0166] The knowledge tracking method provided by this invention determines the first knowledge mastery status of a second target object, determines the first job level weight coefficient based on the job level attribute of the second target object, determines the first activity weight coefficient based on the interaction behavior of the second target object, and determines the first target weight of the second target object by combining the first job level weight coefficient, the first activity weight coefficient and the basic weight corresponding to the second target object. Based on the first target weight and the first knowledge mastery status of the second target object, a job aggregated knowledge profile is generated. This method can quantify the weight difference of the second target object in multiple dimensions by combining job level attribute and interaction behavior, making the weight allocation of the second target object more reasonable and in line with the actual job learning situation, and improving the representation accuracy of the job aggregated knowledge profile.

[0167] In one possible implementation, step b1 above may include the following steps: Step b16: If the number of second target objects is less than the second preset number, determine the second knowledge mastery status of the third target object and the second target weight of the third target object; wherein, the third target object indicates the superior position of the position to which the second target object belongs and the number of the third target objects is not less than the second preset number of target objects.

[0168] The third target object can be understood as the user group of the superior position corresponding to the subordinate position of the second target object, and the number of users of the superior position is not less than the second preset number of target objects.

[0169] The second knowledge mastery status can be understood as the quantitative knowledge mastery result of a single third target object for general knowledge points and core knowledge points of each level and position.

[0170] Specifically, when the quantity detection results indicate that the number of second target objects is less than the second preset number, it means that the current sample size of users in the same lower-level positions is too small to support accurate aggregation modeling of same-level positions. Therefore, a third target object group whose quantity meets the second preset number requirement is selected. Furthermore, historical learning assessment data of all third target objects are extracted in batches to determine the second knowledge mastery status of each user, and the second target weight corresponding to each third target object is matched. For example, if the job level of the second target object is A, and the number of second target objects is less than the second preset number, then third target objects of job level B need to be identified, and it needs to be determined whether the number of third target objects meets the requirement. If the number of third target objects does not meet the requirement, then fourth target objects of job level C need to be identified, until the number meets the requirement. Here, B is the level above A, and C is the level above B.

[0171] The method for determining the second knowledge mastery status of each user and matching the exclusive second target weight of each third target object is described in steps 11 to b15 above, and will not be elaborated further here.

[0172] Step b17: Generate a job-specific aggregated knowledge profile based on the second knowledge mastery status and the second target weight of the third target object.

[0173] Specifically, based on the second knowledge mastery status of all third target objects and the weight of the matched second target, a weighted aggregation operation is performed on all assessment knowledge points of the position to generate an aggregated knowledge profile of the position.

[0174] The knowledge tracking method provided by this invention generates a job-specific aggregated knowledge profile based on the second knowledge mastery status and second target weight of the third target object. This method can perform knowledge state aggregation modeling upwards based on the third target object of the superior position that meets the quantity conditions when the number of user samples in the same position is insufficient and an effective job-specific aggregated knowledge profile cannot be generated. This effectively solves the modeling failure problem caused by the lack of samples in the same position.

[0175] In some embodiments, the knowledge tracking device of the present invention can be implemented in a combination of hardware and software. As an example, the knowledge tracking device of the present invention can be a processor in the form of a hardware decoding processor, which is programmed to execute the knowledge tracking method of the present invention. For example, the processor in the form of a hardware decoding processor can be one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.

[0176] The modules described in the embodiments of this invention can be implemented in software or hardware. The names of the modules are not, in some cases, limiting the scope of the module itself.

[0177] An electronic device according to an embodiment of the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements any of the above-mentioned knowledge tracing methods. That is, an electronic device according to an embodiment of the present invention may include, but is not limited to: a processor and a memory; the memory is used to store the computer program; the processor is used to execute the knowledge tracing method shown in any embodiment of the present invention by calling the computer program.

[0178] In one alternative embodiment, an electronic device is provided, such as Figure 6 As shown, Figure 6 The illustrated electronic device 6000 includes a processor 6001 and a memory 6003. The processor 6001 and the memory 6003 are connected, for example, via a bus 6002. Optionally, the electronic device 6000 may further include a transceiver 6004, which can be used for data interaction between the electronic device and other electronic devices, such as sending and / or receiving data. It should be noted that in practical applications, the transceiver 6004 is not limited to one type, and the structure of the electronic device 6000 does not constitute a limitation on the embodiments of the present invention.

[0179] Processor 6001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this invention. Processor 6001 may also be a combination that implements computational functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.

[0180] Bus 6002 may include a path for transmitting information between the aforementioned components. Bus 6002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. Bus 6002 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 6 The bus 6002 is represented by only one thick line, but this does not mean that there is only one bus or one type of bus.

[0181] The memory 6003 may be ROM (Read Only Memory) or other types of static storage devices capable of storing static information and instructions, RAM (Random Access Memory) or other types of dynamic storage devices capable of storing information and instructions, or EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto.

[0182] The memory 6003 stores application code (computer program) for executing the present invention, and its execution is controlled by the processor 6001. The processor 6001 executes the application code stored in the memory 6003 to implement the content shown in the foregoing method embodiments.

[0183] Among them, electronic devices can also be terminal devices, which can be any device that can install applications, including at least one of smartphones, tablets, laptops, desktop computers, smart speakers, smartwatches, smart TVs, and smart in-vehicle devices.

[0184] It should be noted that, Figure 6 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of the present invention.

[0185] An embodiment of the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements any of the above-described knowledge tracing methods.

[0186] Alternatively, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, a floppy disk, and an optical data storage device, etc.

[0187] In an exemplary embodiment, a computer program product or computer program is also provided, which includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the knowledge tracing method described above.

[0188] Computer program code for performing the operations of this invention can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as C or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0189] It should be understood that the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of methods and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0190] The computer-readable storage medium provided in this invention can be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EEPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0191] The aforementioned computer-readable storage medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the method shown in the above embodiments.

[0192] The above description is merely a preferred embodiment of the present invention and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of disclosure in this invention is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-disclosed concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features with similar functions disclosed in this invention.

[0193] It should be noted that the terms "first," "second," etc., used in the specification and claims of this invention are used to distinguish similar objects and represent a limitation on a specific order or sequence. Where appropriate, the order of use for similar objects can be interchanged so that the embodiments of the invention described herein can be implemented in an order other than that shown or described.

[0194] Those skilled in the art will recognize that this invention can be implemented as a system, method, or computer program product. Therefore, this invention can be specifically implemented in the following forms: it can be entirely hardware, entirely software (including firmware, resident software, microcode, etc.), or a combination of hardware and software, generally referred to herein as a circuit, module, or system. Furthermore, in some embodiments, this invention can also be implemented as a computer program product contained in one or more computer-readable media, which includes computer-readable program code.

[0195] Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.

Claims

1. A knowledge tracing method, characterized in that, The method includes: Obtain relevant data of the first target object; wherein, the relevant data includes answer record data and log data, and the first target object indicates the learning user to be assessed for knowledge status; Based on the relevant data, the implicit signal vector corresponding to the first target object is determined; Based on the relevant data, the answer sequence corresponding to the first target object is determined; Based on the answer sequence and the implicit signal vector, the knowledge tracking result corresponding to the first target object is determined using a preset model.

2. The knowledge tracing method according to claim 1, characterized in that, The answer record data and log data are all associated with corresponding knowledge points. Based on the relevant data, the implicit signal vector corresponding to the first target object is determined, including: Based on the knowledge point query behavior data in the log data, the average query frequency of the second target object within a preset time period is determined; wherein, the second target object indicates all users who belong to the same position as the first target object; Based on the average query frequency, a benchmark value for job query is determined; Based on the log data, the frequency of querying knowledge points of the first target object within a preset time period is counted. Based on the job query benchmark value and the query frequency, the relative query frequency is determined; Based on the relative query frequency and the preset threshold, the implicit signal vector corresponding to the first target object is determined.

3. The knowledge tracing method according to claim 2, characterized in that, Based on the relative query frequency and a preset threshold, the implicit signal vector corresponding to the first target object is determined, including: For each knowledge point, a preset threshold is used to numerically constrain the relative query frequency, resulting in the feature value corresponding to each knowledge point. Summarize the feature values ​​of all knowledge points to determine the implicit signal vector corresponding to the first target object.

4. The knowledge tracing method according to claim 1, characterized in that, The pre-defined model includes an embedding layer, a long short-term memory sequence modeling layer, a multi-head attention mechanism layer, a fully connected layer, and an activation function output layer. Based on the answer sequence and the implicit signal vector, the pre-defined model is used to determine the knowledge tracking result corresponding to the first target object, including: The answer sequence is input into the embedding layer and the long short-term memory sequence modeling layer to obtain the answer temporal features; The implicit signal vector is mapped to the same dimension as the question-answering timing feature to obtain the implicit signal representation; By utilizing a multi-head attention mechanism layer, feature fusion is performed on the timing features of answering questions and the implicit signal representation through the multi-head attention mechanism to obtain fused features; By inputting the fused features into the fully connected layer and the output layer of the activation function, the knowledge tracking results are obtained.

5. The knowledge tracing method according to claim 1, characterized in that, The answer record data includes user identifier, question identifier, knowledge point identifier, answer result, and answer time. Based on the relevant data, the answer sequence corresponding to the first target object is determined, including: Based on the user identifier and the question identifier, the original answer data is classified, and the valid answer data corresponding to the first target object is filtered. Detect whether the number of valid answer data is less than a first quantity threshold; If the number of valid answer data is not less than the first quantity threshold, the encoding result corresponding to a single answer record is determined based on the knowledge point identifier and answer result corresponding to the valid answer data; The encoding results are sorted based on the answering time to generate the answer sequence.

6. The knowledge tracing method according to claim 5, characterized in that, The step of determining the knowledge tracking result corresponding to the first target object based on the answer sequence and the implicit signal vector using a preset model includes: If the number of valid answer data is less than the first quantity threshold, detect whether the number of the second target object is less than the second preset quantity, and obtain the quantity detection result; Based on the quantity detection results, a job aggregated knowledge profile is generated; wherein, the job aggregated knowledge profile indicates the initial knowledge state of the first target object; Based on the first weight of the job-specific aggregated knowledge profile and the second weight corresponding to the knowledge tracking result to be processed, the knowledge tracking result is obtained; wherein, in the process of obtaining the knowledge tracking result, the first weight is reduced and the second weight is increased until the first weight reaches the weight threshold.

7. The knowledge tracing method according to claim 6, characterized in that, Based on the quantity detection results, a job-specific aggregated knowledge profile is generated, including: If the quantity detection result indicates that the quantity of the second target object is not less than the second preset quantity, the first knowledge mastery status of the second target object is determined; Based on the job level attribute of the second target object, determine the first job level weight coefficient; The first activity weight coefficient is determined based on the interaction behavior of the second target object; Based on the first job level weight coefficient, the first activity weight coefficient, and the basic weight corresponding to the second target object, the first target weight of the second target object is determined. Based on the first target weight and the first knowledge mastery status of the second target object, a job aggregated knowledge profile is generated.

8. The knowledge tracing method according to claim 6, characterized in that, The step of determining and generating a job-specific aggregated knowledge profile based on the quantity detection results includes: If the number of the second target objects is less than the second preset number, determine the second knowledge mastery status of the third target objects and the second target weight of the third target objects; wherein, the third target objects indicate the superior position of the position to which the second target objects belong and the number of the third target objects is not less than the second preset number of target objects; Based on the second knowledge mastery status and the second target weight of the third target object, a job aggregated knowledge profile is generated.

9. A knowledge tracking device, characterized in that, The device includes: The acquisition module is used to acquire relevant data of the first target object; wherein, the relevant data includes answer record data and log data, and the first target object indicates the learning user to be assessed for knowledge status; The first determining module is used to determine the implicit signal vector corresponding to the first target object based on the relevant data; The second determining module is used to determine the answer sequence corresponding to the first target object based on the relevant data; The third determining module is used to determine the knowledge tracking result corresponding to the first target object based on the answer sequence and the implicit signal vector, using a preset model.

10. An electronic device, characterized in that, include: A processor and a memory connected to the processor; wherein the memory stores instructions executable by the processor, the instructions being executed by the processor to cause the processor to perform the knowledge tracing method as described in any one of claims 1-8.