TL;DR
This paper introduces a novel three-tier LLM framework to forecast student engagement from qualitative, longitudinal data, overcoming challenges of missingness and noise. The approach leverages LLMs for imputation and feature selection, significantly outperforming traditional methods and demonstrating the power of LLMs for nuanced, subjective data analysis in education.
What Problem Does This Paper Address?
Forecasting student engagement is crucial for academic success and retention, but analyzing the rich, qualitative data students generate over time (longitudinal experiential data) is incredibly difficult. This data is often high-dimensional, contains many missing values (especially "missing-not-at-random," where the absence of data is informative), and is inherently subjective. Traditional machine learning models struggle to capture the contextual nuances within this text-based, sparse, and incomplete data, leading to unreliable predictions. The authors aim to bridge this gap by applying advanced LLM capabilities to this challenging domain.
Methods
The paper proposes a three-tier framework:
- LLM-Informed Imputation: To handle "missing-not-at-random" (MNAR) data, they use a zero-shot approach with GPT-4o. For missing responses, the LLM generates textual descriptors based on surrounding data and contextual metadata, preserving the semantic meaning of the missingness rather than just filling it with a placeholder.
- LLM-Based Zero-Shot Feature Selection: To reduce noise and identify the most predictive qualitative non-cognitive (NC) features, they employ an ensemble of expert LLMs (GPT-40, Gemini, DeepSeek, Copilot). These LLMs, without direct access to the data, analyze semantic descriptions of the 10 curated NC features and rank their relevance for specific engagement dimensions. A majority vote among the LLMs selects the optimal subset of features.
- Fine-Tuned Forecasting: The selected, imputed, and verbalized NC trajectories are then used to fine-tune various LLM architectures (both encoder-only and decoder-only) for binary classification of student engagement shifts.
Datasets
The study utilizes a dataset collected from 96 first-year STEM students over 15 weeks across three semesters. This dataset contains 78 dimensions of academic experiential trajectories, including background data, cognitive data, and 28 dimensions of non-cognitive (NC) data. For this study, they focused on 10 key qualitative NC features with at least a 35% response rate, reduced from the initial 28 due to extreme missingness. The data was processed into 960 overlapping 4-week trajectories for predicting the subsequent week's engagement shift.
Key Insights and Ideas
- LLMs Excel at Nuance: The core idea is that LLMs, with their advanced language understanding, can capture subtle contextual cues and semantic relationships in qualitative student responses that traditional numeric models miss.
- Imputation Matters for MNAR: Simply filling missing data with zeros or averages is insufficient when the missingness itself is informative. LLM-generated textual descriptors provide a richer, context-aware way to represent missing information.
- Expert LLMs as Feature Selectors: Using LLMs in a zero-shot manner to identify relevant features is a novel approach that leverages their world knowledge and linguistic reasoning, proving more effective than statistical methods for this qualitative data.
- Encoder-Only LLMs Shine for Classification: For this specific task of binary classification on sparse, noisy data, encoder-only architectures (like RoBERTa and DistilBERT) consistently outperformed decoder-only models, suggesting their strength in creating robust representations.
- Context is King: Augmenting NC features with background demographic data significantly boosted performance, highlighting the importance of a holistic view of the student.
Key Results
- Substantial Performance Gains: The proposed LLM framework significantly outperformed traditional numeric baselines (Random Forest, SVM, LSTM, etc.) across all engagement dimensions.
- LLM Superiority: LLMs fine-tuned on verbalized NC features achieved mean balanced accuracy of 64.2% and macro-F1 of 64.4%, a notable improvement over baselines averaging 50.8% B.Acc. and 46.9% macro-F1.
- Feature Selection Efficacy: Using a zero-shot selected subset of NC features (guided by LLMs) yielded substantial gains compared to using all 10 NC features, demonstrating the effectiveness of noise reduction.
- Encoder-Only Dominance: Encoder-only LLMs like RoBERTa consistently achieved the highest performance, with macro-F1 scores ranging from 65.0% to 70.5% with NC subset features alone, and up to 77.5% when augmented with background data.
- Background Data Boost: Adding background features improved LLM performance by 3%-12%, particularly for dimensions like Lecture Engagement Disposition.
Limitations and Future Work
- Dataset Scale and Diversity: The study used a relatively small and homogeneous sample (96 first-year STEM students at one U.S. university), limiting generalizability to broader populations and contexts.
- Validation of Imputation: The LLM-generated missing value descriptors were not human-validated, which could affect confidence in their semantic accuracy.
- Baseline Limitations: The evaluation focused on traditional ML and basic deep learning models; benchmarking against more advanced multimodal or recent transformer-based time-series forecasting models was not performed.
- Theoretical Justification: While empirical results show encoder-only LLMs are superior, a deeper theoretical explanation for this architectural advantage is lacking.
- Proprietary Models: The framework relies on closed-source LLMs, which could limit reproducibility and accessibility. Future work could explore adapting the framework to open-source alternatives.
The authors suggest that responsible deployment requires careful consideration of limitations and ethical implications, emphasizing the need for human oversight and transparency.
Summary updated