Learning platforms record clicks, downloads, and edits, and the models built on those records treat a quiet stretch as a sign that a student has disengaged. Much real study happens off-screen: reading a downloaded PDF, solving problems on paper, attending lectures. The logs see none of it. We propose to make silence interpretable by changing what a log event means to the model. Today a log event is an opaque token such as /files/89283. We would replace it with the text of the course material it refers to, found by retrieval over the course's own slides, readings, and assignments. A gap in the log then becomes a triple. It records what content the student took into the silence, how long the silence lasted, and what content they touched when they came back. A lightweight model reads that triple to tell productive offline work apart from genuine dropout.
The bet is specific. Gap duration alone is ambiguous: four quiet days after downloading a problem set and then submitting it look nothing like four quiet days after a forum "like" followed by nothing. Earlier analytics could not tell these apart because they never knew what was in the downloaded file. Log events behave like very short, cryptic texts, the hardest case in short-text understanding. Retrieval-augmented generation, meaning a language model that looks up passages in an external collection before answering, already exists to attach such fragments to grounded content. We use retrieval to supply that content. We deliberately do not use generation to write stories about what the student "must have been thinking."
Core Claim
Opaque action tokens become informative once each is resolved to the course passage it points to. Representing every silent interval by the content at its two edges should do two things. It should reduce confident misclassification of students whose learning is offline. It should also transfer across cohorts better than count-based features, because course content is more stable from year to year than behavioral rhythm. The new ingredient is content resolution of short action tokens through retrieval over the course's own materials, applied specifically to the boundaries of offline gaps. It is not a larger model and not a synthesized reasoning trace.
Why This Gap Is Real
Three lines of work motivate the problem. Analyzing Student Strategies In Blended Courses Using Clickstream Data treats 37 click types as words, learns Skip-gram embeddings, and clusters sessions into strategies. It also reports that physical lecture attendance separated students averaging 76.6% from those averaging 55.9%, a signal absent from the clicks. Its vocabulary is closed, so it knows that a file was viewed but not what the file said. Analyzing Engagement in a Web-Based Intervention Platform Through Visualizing Log-Data names the download-and-vanish blind spot. The benefits and caveats of using clickstream data to understand student self-regulatory behaviors shows that raw click volume predicts success poorly and that structure over time matters. That finding constrains us: our representation must not reduce to more volume features.
Two results define the failure mode we target. Learning Analytics for Early Identification of At-Risk Students and Feedback Intervention trains tree and linear models on trace metrics. They reach about 0.98 AUC within a cohort but fall to 0.72–0.82 on the next year's students. Do Not Trust a Model Because It is Confident documents confident errors on students whose learning happens offline. Our method has to improve both cross-cohort transfer and these confident errors, not only in-distribution accuracy.
The short-text literature supplies the method. Fragments that share no vocabulary need an external anchor. Simplified Graph Learning for Inductive Short Text Classification anchors snippets to a word graph built from WikiText. It also warns that a fixed general corpus misses domain jargon, which is why our anchor corpus is the course itself. Fine-Tuning and Retrieval Augmented Generation for Question Answering Using Affordable Large Language Models found that dense embeddings of sparse queries retrieved poorly and that having a language model write keyword n-grams for full-text search worked better. We borrow that query step for the short user-typed texts in logs, such as search strings, note fragments, and highlight snippets. CoT-Driven Framework for Short Text Classification enriches snippets from a model's internal memory only. Generation-driven Contrastive Self-training for Zero-shot Text Classification warns that free generative elaboration drifts. Both push us toward retrieval over a verifiable index rather than free elaboration.
The closest existing work is RAG-KT. It retrieves subgraphs of a concept–question knowledge graph to ground a frozen language model's mastery predictions. It works only on graded exercise attempts and assumes those attempts capture the trajectory. YA-TA retrieves over lecture transcripts and static student profiles. KnowLP recommends paths when exercises fail. None of these looks at the unlogged interval between events, and none resolves low-level action tokens to content.
Research Program
The system has three parts. The first is a content index for each course, built from its slides, readings, assignment PDFs, and lecture transcripts where available. It is chunked and searchable by both BM25 keyword search and a dense encoder. The second is an event resolver that maps each log event to index chunks. Deterministic links come first: a file ID maps to its file, and a quiz ID maps to its items. Retrieval is used only for free-text events, with model-written keyword queries in the style of Sherlock. The third is a gap encoder. For every silent interval longer than a threshold, it builds
$$g = \big[\,e(c_{\text{out}}),\; e(c_{\text{in}}),\; \mathrm{sim}(c_{\text{out}}, c_{\text{in}}),\; \log \Delta t\,\big],$$
where $c_{\text{out}}$ is the resolved content of the last events before the silence, $c_{\text{in}}$ is the content of the first events after it, $e(\cdot)$ is a frozen text encoder, $\mathrm{sim}$ is cosine similarity, and $\Delta t$ is the gap length.
The similarity term encodes the hypothesis that productive silence ends where it began. A student who downloads problem set 3 and returns to submit problem set 3 differs from one who returns to an unrelated page, or who never returns. A small sequence model over gap vectors, interleaved with ordinary event features, produces the downstream predictions. Every design choice keeps the large model out of the prediction path, a lesson from From Evidence to Trajectory and GenCo: small supervised models trained on well-structured inputs beat large zero-shot ones.
The analysis side asks three questions. Does content resolution help? Where does it help, by gap length, course, and cohort? Do the students it rescues from false at-risk flags turn out, by grades or attendance, to have been studying offline?
Baselines
The naive reference is a logistic model on gap duration and the last event type. This is the "silence means risk" heuristic. Any method that does not beat it is not using content.
The strongest existing method on cohort transfer is the tabular pipeline of Learning Analytics for Early Identification of At-Risk Students, which uses gradient boosting, random forests, and logistic regression over session lengths, forum activity, and entropy-based regularity. It reports about 0.98 within-cohort AUC and 0.72–0.82 cross-cohort AUC. We will reimplement its feature set on the same splits and give it the same hyperparameter search budget as our sequence model. Beating it means a cross-cohort AUC gain of at least 0.03 that holds across seeds, with no within-cohort loss larger than noise.
On Diderot the strongest prior representation is the Skip-gram click embedding of Analyzing Student Strategies In Blended Courses Using Clickstream Data. It reports 93.9% accuracy on predicting assessment focus and 0.054 MSE on homework grade. We will retrain it on our splits and feed its embeddings to the same downstream sequence model, so that the representation is the only difference.
On Actively Learn the reference is the relation-aware transformer of Predictive Student Modelling in an Online Reading Platform, which reports AUC 0.85 and accuracy 0.78 on the dataset with self-regulated-learning traces. The file gives no exact number for its trace-removed variant, so we will reproduce it ourselves.
We will also run a RAG-KT-style baseline that retrieves concept–question subgraphs and prompts a frozen model, using the same backbone family and context budget. No per-dataset reported result was found on Lacuna for RAG-KT, so this comparison is fully our own reproduction.
Two ablations isolate the key ingredient. The first, "IDs only", keeps the full architecture but replaces resolved content with learned embeddings of artifact IDs. The second, "content without boundaries", pools all resolved content in a window without separating $c_{\text{out}}$ from $c_{\text{in}}$. A third swaps model-written keyword queries for direct dense embedding of the short texts.
Why not just…?
Why not just add better gap features, such as duration, time of day, and last event type, to gradient boosting? This is the most serious threat. The Colab study Does Starting Deep Learning Homework Earlier Improve Grades? shows that duration between first edit and submission alone carries a consistent benefit. Our naive and tabular baselines receive exactly these features. If they match us cross-cohort, we will conclude that content adds nothing and report that. The cross-cohort drop from 0.98 to 0.72–0.82 suggests timing features are where drift lives. Our prediction is that content-defined boundaries drift less, because the syllabus changes less than student pacing.
Why not just learn embeddings of artifact IDs instead of retrieving their text? Within one course and one year, ID embeddings may do just as well, since the model can learn that file 89283 matters. The "IDs only" ablation tests this directly. Our claim survives only in the transfer settings, new cohort and new course, where IDs are new and content overlaps. If ID embeddings tie us there too, the retrieval component is unnecessary.
Why not just hand the raw log to a large language model, or have it write out the missing offline reasoning? The file shows ungrounded large models underperforming small grounded ones: GPT-4o scores 17.0 EM against 44.3 EM for a trained 8B model on MuSiQue in From Evidence to Trajectory. A raw token like /files/89283 carries no content for the model to reason about. Generated "offline trajectories" in the style of EviPath also cannot be checked against anything. We include a zero-shot model reading the raw log, and the same model reading resolved content, as baselines. The comparison between them measures how much of any language-model gain comes from retrieval rather than from the model.
Why not just embed the short texts densely and run standard retrieval? Sherlock reports that dense embeddings of sparse inputs retrieved poorly in its setting. ADCluster describes embeddings of very short texts crowding together. Our query ablation tests whether this holds for highlight and search snippets. Most events, though, resolve deterministically through their IDs, so this choice should matter only for the free-text minority.
Proposed Experiments
The first experiment is cross-cohort risk prediction on the Ed/Moodle 2022→2023 cohorts. It is reported as AUC, along with the rate of confident false at-risk flags, meaning predicted probability above 0.8 among students who passed. The analysis stratifies students by the fraction of their gaps whose two edges match in content.
The second is a masked-silence test on Actively Learn. We delete logged reading and self-regulated-learning events between opening a passage and the next question attempt, which manufactures silences with known contents. The model then predicts correctness on the next attempt. The decisive quantity is how much of the gap between the trace-removed and full-trace transformer our boundary-content encoder recovers. Recovering a substantial share would show that edge content stands in for the hidden middle.
The third is a real-offline check on Diderot. We test whether gap vectors identify students who attend lectures but are quiet online, and whether doing so removes their false at-risk flags.
The fourth is transfer to collaborative settings using the GitLab data of CLGT. Here the content behind each gap's edges is code and documentation, and the reported numbers give a strong reference: 73.92% accuracy, 66.75% F1, and 90.57% AUC.
All four depend on obtaining the course materials behind each dataset. That is the main feasibility risk. Where the materials are unavailable, the dataset drops out rather than being approximated.
The decisive check is one comparison. If "IDs only" and duration-only gradient boosting match the full model on cross-cohort AUC and on confident-error rate, then content-resolved silence is not a useful idea and the program stops there. If the full model wins only on students with matched-content gaps, that pattern is itself the evidence that the method is reading offline work rather than activity volume.
References
- Analyzing Student Strategies In Blended Courses Using Clickstream Data
- Analyzing Engagement in a Web-Based Intervention Platform Through Visualizing Log-Data
- The benefits and caveats of using clickstream data to understand student self-regulatory behaviors: opening the black box of learning processes
- Learning Analytics for Early Identification of At-Risk Students and Feedback Intervention
- Do Not Trust a Model Because It is Confident: Uncovering and Characterizing Unknown Unknowns to Student Success Predictors in Online-Based Learning
- Simplified Graph Learning for Inductive Short Text Classification
- Fine-Tuning and Retrieval Augmented Generation for Question Answering Using Affordable Large Language Models
- CoT-driven framework for short text classification: Enhancing and transferring capabilities from large to smaller model
- Generation-driven Contrastive Self-training for Zero-shot Text Classification with Instruction-following LLM
- RAG-KT: Cross-platform Explainable Knowledge Tracing with Multi-view Fusion Retrieval Generation
- YA-TA: Towards Personalized Question-Answering Teaching Assistants using Instructor-Student Dual Retrieval-augmented Knowledge Fusion
- Education-Oriented Graph Retrieval-Augmented Generation for Learning Path Recommendation
- From Evidence to Trajectory: Abductive Reasoning Path Synthesis for Training Retrieval-Augmented Generation Agents
- Predictive Student Modelling in an Online Reading Platform
- Does Starting Deep Learning Homework Earlier Improve Grades?
- CLGT: A Graph Transformer for Student Performance Prediction in Collaborative Learning