Knowledge Tracing Transformer with Masked Attention

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current digital tutoring systems either rely solely on human-labeled item to skill associations, which are error-prone and do not tolerate multiple mappings, or machine-learned associations that discard human expert knowledge and require frequent student interactions, failing to effectively address learner forgetting behavior and combine human expertise with statistical patterns.

Innovation Solution

A digital learning system incorporating a machine learning-based knowledge tracing engine with a transformation architecture and masked attention layer that initializes an interaction-skill mapping matrix using expert-assigned skill tags, adjusts attention weights based on time gaps between interactions, and combines human expertise with machine-learned patterns to predict learner interactions and mastery levels.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If human-labeled item to skill associations are used, then expert knowledge is incorporated, but errors and multiple mappings cannot be tolerated

Engineering Contradiction:
Improveaccuracy of item to skill associationVSAvoidtolerance for errors and multiple mappings
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent combines human-labeled item to skill associations with machine-learned associations by initializing the interaction-skill mapping matrix W using expert skill tags while allowing machine learning to adjust weights. This merging approach preserves reliable expert knowledge while accommodating errors and multiple mappings through probabilistic weighting, where Wi represents the weight associated with all latent skills for learner interaction xi.

Inventive Principle:
Principle #5Merging (Combining)

2Productivity

If machine-learned item to skill association is used, then statistical patterns are learned, but human expert knowledge is discarded and frequent student interactions are required

Engineering Contradiction:
Improvelearning efficiency from interactionsVSAvoidtime required for frequent student interactions
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent performs preliminary action by initializing the interaction-skill mapping matrix W with expert skill tags before machine learning begins. This preliminary incorporation of expert knowledge reduces the amount of student interaction data needed for effective learning, as the system starts with a knowledgeable baseline rather than learning from scratch.

Inventive Principle:
Principle #10Preliminary action

3Measurement precision

If current knowledge tracing models are used, then learner understanding is tracked, but forgetting behavior is not addressed

Engineering Contradiction:
Improvetracking accuracy of learner understandingVSAvoidduration of knowledge retention
Core Design Contradiction:
Measurement precisionVSDuration of action of stationary object

Solution Approach 1:

The patent applies dynamics by making the attention weights time-dependent through the time bias function b(Δtj−i). The attention mechanism dynamically adjusts weights based on time gaps between interactions, allowing the model to capture forgetting behavior where older interactions have diminishing influence on current knowledge state estimates.

Inventive Principle:
Principle #15Dynamics

4Ease of operation

If traditional attention mechanisms are used, then all interactions are weighted equally, but time gap effects are ignored

Engineering Contradiction:
Improvesimplicity of attention mechanismVSAvoidaccuracy of knowledge tracing
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The patent changes parameters by introducing time bias b(Δtj−i) as an additional parameter in the attention weight calculation. This modifies the attention mechanism to account for temporal decay, where the time gap Δt between interactions influences the weight assigned to each interaction, improving reliability without significantly complicating the mechanism.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11631338B2Deep knowledge tracing with transformers
Publication Date: 2023.04.18 ACT EDUCATION CORP
  • US11631338B2 patent drawing
  • US11631338B2 patent drawing
  • US11631338B2 patent drawing

AI summary

Digital learning or tutoring systems as described herein embed, by a trained machine learning knowledge tracing engine, an array for learner interactions X into a static representation ej corresponding to a prior learner interaction xj and determine a contextualized interaction representation hj based on this. Digital tutoring systems described herein calculate, by a masked attention layer of the trained machine learning knowledge tracing engine, an attention weight Aij based on a time gap between two learner interactions with the system, and can calculate a contextualized interaction representation hj, wherein the contextualized interaction representation hj is proportional to the attention weight Aij. The systems can provide for display at the GUI a second question item based on the contextualized interaction representation hj, the second question item corresponding to a recommended learner recommendation.