Dual-tower Feature Fusion for Student Ontology and Explainable Knowledge Tracing

Yang Li, Yujia Huo, Xue Tan, Yao Wang, Changxiao YangResearch Square 2025

Abstract

Knowledge Tracing (KT) aims to model students' knowledge states through their learning interactions. While Deep Knowledge Tracing (DKT) captures complex patterns, existing methods often fail to jointly exploit structured student features and semantic relationships of textual knowledge components (KCs), limiting both performance and explainability. To address these, we propose Feature Fusion of Dual-tower Knowledge Tracing (FFTKT). The model consists of three key components: a student tower using a Transformer encoder for sequential behavioral features, a knowledge tower built upon a BERT-based encoder for textual KC features, and a Fusion Module that dynamically aligns these interactions through self-attention and learnable memory tokens. Experimental results on ASSISTment2012/2017 demonstrate that FFTKT achieves superior AUC performance, outperforming DKT+ by 1.3% to 6.7%. Through feature visualization, FFTKT reliably explains the correlations between student behaviors and KC mastery states.

Introduction

In AI-driven education, Knowledge Tracing (KT) is the engine powering personalized learning by tracking concept mastery over time. However, traditional models face two major hurdles: the "ID Problem," where knowledge components are treated as simple numerical identifiers ignoring rich textual context, and the "Black Box Problem," where deep learning models fail to explain why a student is struggling. FFTKT bridges these gaps by incorporating student "ontology" (psychological and behavioral traits) and semantic knowledge features into a dual-tower architecture.

Methodology

The FFTKT framework splits the tracing workload into two specialized neural networks:

  • The Stu-tower (Student Tower): Employs a Transformer encoder to process sequential student data. Beyond simple performance metrics, it incorporates ontological features—psychological markers such as frustration, boredom, and concentration.
  • The Know-tower (Knowledge Tower): Uses a BERT-based encoder to extract semantic meaning from the text of questions and skills. This allows the model to recognize that different tasks may require the same underlying cognitive skill based on their descriptions.
Figure 1: Conceptual framework of FFTKT, illustrating the extraction of student psychological states and knowledge concept relations into a unified fusion module.
  • Information Fusion Module (SKTF): This "bridge" uses Multi-Head Cross Attention and learnable memory tokens to dynamically align student behaviors with specific knowledge concepts, effectively "remembering" how specific emotional states interact with different problem types.

To formalize these interactions, the model utilizes a specific set of notations for feature transformation and matrix fusion.

Figure 3: Summary of notations used in the FFTKT model for student features, knowledge matrices, and fusion components.

Key Insights and Results

FFTKT was evaluated on the ASSISTment2012 and ASSISTment2017 benchmarks, consistently outperforming state-of-the-art models. On the ASSISTment2017 dataset, it achieved an AUC of 0.7602 and an accuracy (ACC) of 0.7783.

Psychology as a Signal

The research demonstrates that non-cognitive factors are highly predictive. For instance, the model identified a 0.99 correlation between "boredom" and "off-task behavior." By visualizing attention weights, the researchers created heatmaps showing exactly which behavioral traits (e.g., average frustration) influenced the prediction of a student's mastery state.

Semantic Generalization

By using BERT to "read" questions, the model generalizes better than ID-based systems. It links student performance across different problems that share underlying semantic geometry or algebraic concepts, even if they are labeled differently in the system.

Conclusion

While the dual-tower approach increases computational training time (roughly 1.5x), the gains in accuracy and explainability are significant. FFTKT provides a transparent look into the student mind, allowing educators to see if a lack of progress stems from a knowledge gap or a psychological state like boredom. Future work will explore "Distilled BERT" models to reduce overhead and better handle "cold start" scenarios for new knowledge components.

Summary updated

BibTeX
@inproceedings{li2025dual,
  author = {Yang Li and Yujia Huo and Xue Tan and Yao Wang and Changxiao Yang},
  title = {{Dual-tower Feature Fusion for Student Ontology and Explainable Knowledge Tracing}},
  booktitle = {Research Square},
  year = {2025},
  doi = {10.21203/rs.3.rs-5264599/v1},
}
Figure