TL;DR
This paper introduces a novel approach to "knowledge tracing" in educational games, specifically for teaching parallel programming. It combines machine learning with domain-specific rules to accurately infer a player's mastery of concepts by analyzing their in-game actions, overcoming the challenge of directly assessing skill application in complex game environments.
What Problem Does This Paper Address?
Educational games aim to teach complex concepts, but to adapt and personalize the learning experience, they need to understand what each player knows. This is known as "player knowledge modeling" or "knowledge tracing." Traditional methods often struggle in complex games where it's hard to pinpoint exactly when a player uses a skill and whether they succeed or fail. For instance, in a game like "Parallel," designed to teach parallel programming, players might experiment with game elements without clearly demonstrating mastery or failure of a specific concept. This paper tackles this ambiguity by developing a method to infer skill application and success/failure from player telemetry data, even when actions are interleaved and not explicitly labeled.
Methods
The core of the paper's contribution lies in a three-step process:
- Feature Extraction: Raw player telemetry data (actions, events, time differences) is collected and segmented into fixed-size "time windows." From each window, a rich feature vector is computed, capturing various aspects of player behavior.
- Skill Success/Failure Detection: This is the most innovative part. Instead of directly predicting skill success/failure, the authors use a machine learning component to predict the player's problem-solving strategy within a time window. Three strategies are identified:
- Trial and Error: Assumed to indicate failed skill application.
- Sequential Thinking: Assigned a neutral probability (0.5) of success.
-
Parallel Thinking: Assumed to indicate successful skill application. This ML prediction is then augmented by a set of domain knowledge rules. These rules are hand-crafted based on observations and can directly identify instances of skill application for specific concepts (e.g., linking signals to direction switches). The combination of ML strategy prediction and domain rules provides a more robust signal for skill success/failure.
-
Knowledge Tracing: The outputs from Step 2 (inferred skill success/failure probabilities) are fed into a standard knowledge tracing module. This module updates the player's knowledge model, represented as a vector of probabilities indicating their mastery of each skill. The paper uses a specific formula (Equation 3) to combine the ML and rule-based predictions for each skill.
Datasets
- Dataset A: Collected from 31 levels played by 6 students in one-on-one sessions, featuring "think-aloud" protocols. This dataset was used for both training and testing, and importantly, its ground truth for strategies and skill mastery was manually generated by researchers from transcripts and recordings.
- Dataset B: A larger dataset comprising 395 levels played by 17 students in an undergraduate parallel programming course. This data was collected from regular gameplay without think-alouds. Students provided self-assessed skill mastery as ground truth. Dataset B was primarily used for testing due to the lack of detailed strategy ground truth.
Key Insights and Ideas
- Inferring Skill Application via Strategy: The key insight is that directly detecting skill success/failure is hard, but predicting the player's strategy (trial-and-error, sequential, parallel) is more feasible. This strategy then serves as a proxy for skill application, simplifying the problem.
- Synergy of ML and Domain Rules: Combining machine learning (for general strategy prediction) with hand-crafted domain rules (for specific skill detection) significantly improves the accuracy of skill success/failure detection compared to using either method alone.
- The "Trial and Error" Assumption: The assumption that "trial and error" behavior implies a failed attempt at all skills in the current level is a strong one, but the paper's results suggest it holds up reasonably well in practice for this domain.
- Time Windows are Crucial: The choice of time window size significantly impacts the performance of the ML models, highlighting the importance of temporal context in analyzing player behavior.
Key Results
- Strategy Prediction Accuracy: Experiment 1 showed that ML classifiers could predict problem-solving strategies with accuracy significantly above random chance (33%), with the best performance (55.63%) achieved by a Bayes Net using a 30-second time interval on Dataset A.
- Knowledge Tracing Performance: Experiments 2 and 3 demonstrated that the combined ML + Rules approach generally outperformed using ML or rules alone, and also beat baseline methods.
- On Dataset B (Experiment 2), the lowest MSE for ML+R was 0.0811 (J48 classifier with 30s interval), outperforming rules-only (0.1244) and ML-only (0.0917).
- On Dataset A (Experiment 3), the ML+R approach achieved an MSE of 0.0938 (AdaBoost), which was competitive but slightly higher than the "always predict 1" baseline (0.0895) due to the dataset's skewed ground truth.
- Comparison to PFA: In an idealized scenario (Experiment 4), where PFA's required ground truth was simulated, PFA achieved a lower MSE (0.0450) than the proposed method. However, the paper argues that their method's performance is more realistic as it doesn't require such ideal ground truth.
Limitations and Future Work
- Dataset Skewness: Dataset A's ground truth was heavily skewed towards "skill known" (1.0), making it less ideal for evaluating models that need to distinguish between success and failure.
- PFA Comparison: The comparison with PFA was done under idealized conditions, and the paper acknowledges that directly integrating PFA into their framework could significantly improve results.
- Future Work: The authors plan to:
- Expand the set of domain knowledge rules.
- Connect their knowledge tracing model with their previously developed procedural content generation (PCG) system for adaptive game level generation.
- Potentially replace their current knowledge tracing formula with PFA.
Summary updated