Abstract
Traditional Reinforcement Learning (RL) approaches for personalizing education often struggle with sample inefficiency and the difficulty of defining complex reward functions. This paper introduces THEMES (Time-aware Hierarchical EM Energy-based Subtrajectory Apprenticeship Learning), a framework designed to induce effective teaching strategies by observing "expert" students in Intelligent Tutoring Systems (ITS). Unlike prior models that assume static student goals, THEMES captures how learning strategies evolve over time. The framework achieves high predictive accuracy (up to 0.899 AUC) using as few as 18 student trajectories, demonstrating significant potential for data-scarce educational environments.
Introduction
The application of Reinforcement Learning to personalize education is often hindered by two primary obstacles: the requirement for millions of interactions (sample inefficiency) and the ambiguity of defining success (reward design). While Apprenticeship Learning (AL) addresses these by inferring rewards from expert behavior, most AL models assume a single, fixed objective. However, student strategies are inherently dynamic; a student's motivation and approach often shift as they gain mastery. THEMES addresses this by modeling evolving, heterogeneous pedagogical strategies in a strictly offline environment, learning from historical logs rather than risky live experimentation.
Methodology
The THEMES framework operates through a two-phase hierarchical process designed to handle the "moving target" of student intent.
1. Sub-trajectory Partitioning
Rather than treating a student's entire session as a monolithic block, THEMES employs a sliding window to segment interactions into "sub-trajectories." A hierarchically learned reward regulator identifies behavioral shifts, clustering these segments into high-level states that represent different stages of the learning process. This time-aware partitioning incorporates a decay function to better capture the sequential nature of learning.
2. Policy Induction
Following partitioning, the system uses an Expectation-Maximization (EM) approach combined with Energy-based Distribution Matching (EDM). This allows the model to cluster sub-trajectories and induce specific policies for each cluster. By doing so, THEMES can recognize transitions between different phases, such as moving from an "exploratory" phase to a "mastery" phase, and apply the corresponding pedagogical logic.
Experimental Setup
The framework was evaluated using data from a Probability Intelligent Tutoring System deployed at a large public university.
- Data: Logs from 221 undergraduate STEM students.
- State Space: A 130-dimensional continuous feature vector encompassing autonomy, temporal data (e.g., time per step), problem-solving context, performance accuracy, and hint usage.
- Expert Selection: 89 "expert" trajectories were identified based on "Quantized Learning Gain" (QLG), representing students with significant improvement or sustained high performance.
- Evaluation: The model underwent semester-based temporal cross-validation (e.g., training on Spring 2021 data to predict Fall 2024 outcomes).
Results and Discussion
THEMES was benchmarked against six state-of-the-art baselines, including Behavior Cloning and various GAIL-style models.
- Superior Predictive Performance: THEMES consistently outperformed all baselines, achieving an average AUC of 0.879 and a Jaccard score of 0.626. In its best-performing test fold, it reached an AUC of 0.899.
- Exceptional Sample Efficiency: One of the most significant findings is that THEMES achieved superior performance using only 18 expert trajectories. This represents a massive improvement over traditional Deep RL, which typically requires thousands of trajectories to converge.
- Ablation Analysis: Comparisons with simplified versions (THEMES₀ and THEMES₁) confirmed that both the reward-regulated partitioning and the EM-based policy induction are critical to the framework's success.
Visualizations in the original study further support the "moving target" hypothesis, showing that while some students maintain stable strategies, many transition through multiple distinct strategy clusters as they progress through the curriculum.
Conclusion
THEMES provides a robust method for capturing the dynamic nature of student learning strategies from limited offline data. While the model excels at identifying when strategies shift, future work is needed to improve the interpretability of the inferred rewards—specifically, translating mathematical reward functions into qualitative pedagogical insights (e.g., "prioritizing speed over accuracy"). Additionally, further research is required to determine if these hierarchical patterns generalize to more open-ended or creative learning environments beyond the domain of probability.
Summary updated