LSTM-SWAP: A Hybrid Deep Learning Model for Cheating Detection
摘要
With the rapid expansion of e-learning platforms, maintaining academic honesty during online assessments has become increasingly challenging. Traditional monitoring methods often fall short in detecting advanced cheating behaviors and may raise privacy concerns among students. To address these limitations, we propose LSTM-SWAP, a hybrid deep learning model that combines Long Short-Term Memory (LSTM) networks with a specialized attention mechanism called Sliding Window Attention Processor (SWAP) that focuses on key patterns in student behavior over time. This approach allows the model to highlight important behavioral cues while filtering out irrelevant data, thereby improving detection accuracy. Unlike conventional systems that rely on fixed features, LSTM-SWAP adapts dynamically to new and evolving cheating strategies, ensuring resilience against emerging threats. Additionally, the model is designed to reduce false alarms, promoting fairness by minimizing the risk of misidentifying honest students. We evaluated our model on a behavioral dataset based on mouse movement patterns using stratified fivefold cross-validation, achieving an average accuracy of 97.73%, F1-score of 97.74%, FPR of 0.0089, and an AUC-ROC of 0.9885, demonstrating its effectiveness for real-time cheating detection in online learning environments. These findings highlight the model’s potential as an flexible, scalable, and privacy-friendly solution for preserving academic integrity in digital learning platforms.