Objective
Teachers know that feedback helps students write better, but it works best when it arrives quickly and often. Giving that kind of feedback on academic writing takes a lot of time. Most computer tools that help only look at the finished text, or at a draft that has already been handed in. That does not help a student who is struggling while still writing.
One idea is to watch how a student writes, not just what they wrote. Keystroke logging records every key pressed and released, so it shows pauses, deletions, bursts of typing and jumps around the page. Earlier studies reported that these records could predict essay grades quite well, but they only looked at the full record after the writing was finished. Nobody had tested whether the data could flag students who need help early, while they are still working.
This study asked three questions about students writing in English as a second language (ESL):
- Which keystroke features named in earlier research go along with writing quality?
- Can those features predict writing quality at different points during the writing process?
- Which features matter most for prediction at each point?
Writing quality was measured by the final grade on an academic summary task. The researchers took a data-driven approach: they tested whether keystroke data relates to grades, not why.
Methods
This was a quantitative study that used existing course data. It can show whether typing patterns go along with grades, but it cannot show why, and it cannot show that any pattern causes better writing.
Who took part
The students were taking an academic writing course for ESL learners, in a premaster program in communication and information sciences. Of 130 students who took part in both parts of the study, 126 were kept for analysis. Four were removed: two did not type in the right document, one finished only the copy task, and one only pasted text. Of the 126, 84 (67%) were female and the average age was 24. Most (95 students, 75%) were native Dutch speakers, and 118 (94%) were taking their first academic writing course.
What they did
Students first read a journal article at home. A week later, in a lecture, they did two tasks on similar desktop computers. First they copied a fable of 850 characters. This showed each student's own typing speed and pause habits. Then they wrote an academic summary of 100 to 200 words of the article, with 30 minutes allowed. They could use the Internet, for example an online dictionary. A program called Inputlog recorded keystrokes and mouse actions.
Grades and features
Two experienced graders scored each summary on five rubrics, such as main idea, structure and grammar. Points were taken off if students broke the task rules. This gave a grade from 1 to 10, with 5.5 as a pass. The two graders agreed closely (r = 0.88, kappa = 0.89). The first grader's marks were used. Students predicted to score below 5.5 were labeled as "might need support."
From the logs, the researchers calculated 54 keystroke features taken from earlier studies. They covered pauses, revisions, typing bursts, total amount typed and other actions such as pasting. They were measured for the whole task and for each five-minute segment, and also for segments based on one sixth of all keystrokes.
Analysis
The team first checked the link between each feature and the grade (correlation). Then they trained three machine learning methods (random forest, support vector machine and naive Bayes) to predict the grade, and to sort students into "might need support" or not. Results were checked with tenfold cross-validation, which tests models on data they were not trained on. The paper does not mention ethics approval beyond consent forms.
Key Findings
Overall, the typing patterns told the researchers little about grades, which differs from earlier studies on essay writing. Predictions did not get better as more of the writing process was recorded.
Students and grades
- The average final grade was 5.50 on the 10-point scale (standard deviation 1.36), right at the pass mark.
- 60 students (48%) scored below 5.5, so they would count as possibly needing support. The other 52% passed.
Links between single features and grades
- Across the whole 30 minutes, only one of the 54 features was significantly linked to grade. Students with a higher share of long pauses between words tended to get somewhat higher grades (r = 0.22, a small link).
- Features about how much students typed, such as total keystrokes and number of words, were not significantly linked to grades. Earlier studies had found these to be among the strongest signals. The authors point out that the task had a word limit, and only 21% of students wrote more than 10% over it. Writing more did not usually earn a better grade here.
- Links changed during the task. Early on (first 10 minutes), more variation in the time between keystrokes (r = 0.24) and more switches to a translation page (r = 0.19) or back to the task (r = 0.22) went along with higher grades.
- In the middle or end, small links appeared for features like long pauses between words (r = 0.20 and 0.23) and production cycles (r = 0.18). Some links were negative, such as the variation in time between sentences (r = -0.20). All of these links were small.
Predicting the final grade
- None of the grade-prediction models did better than the baseline of guessing the average grade, at any time point. Keystroke features could not predict the grade early, or even after the writing was done.
Flagging students who might need support
- Models using five-minute time slices only occasionally beat the baseline of always picking the larger group. Accuracy did not clearly rise as more minutes were included, and no one method was best throughout.
- Models using slices of one sixth of all keystrokes did a little better. The support vector machine beat the baseline at every time point. Even so, its best score was an AUC of 0.57. (AUC is a score where 0.5 equals chance and 1.0 is perfect.) The authors say this is not good performance.
- For two of the three methods, the score was highest when only the first 5/30 of the keystrokes were used. Later keystrokes added little.
Which features mattered
- In the first five minutes, the top features were switches to the task, variation in long pauses, and the delay before typing started.
- Different features led at different times. For example, the share of non-typing actions mattered at 5 to 10 minutes, and variation in time between words mattered late.
- Because the models were weak, the authors say these rankings should be read with caution.
Implications
For teachers and program leaders
This evidence does not support using keystroke logs to find struggling writers early. In this study the models were barely better than chance, so a teacher relying on them could miss students who need help or flag students who do not. A sensible reading is to keep using ordinary checks such as drafts, conferences and short in-class feedback until better tools are shown to work.
For students
The authors note that two students with similar high grades (9.5 and 9) wrote in very different ways. One planned a lot at the start and revised little, and the other skipped planning and revised a lot later. The authors suggest this means there is no single best writing process.
For developers of writing tools
- The authors suggest that tools should not assume a model built on one type of task will work on another. Their summary task gave very different results from argumentative and persuasive essays used before.
- They suggest using relative measures, such as revisions per word, because length-based measures depend on task rules. Splitting the process by amount typed gave a little more information than splitting by clock time, since quiet periods carry little data.
- The authors argue, as their own view and not a tested result, that keystroke data could still be shown to students in process graphs or dashboards to help them reflect on how they write. They point to a small earlier case study in which a feedback report with a process graph helped students reflect, and they call for designing such tools together with teachers and students.
For researchers
Studies should compare tasks directly and report which features were used, since earlier papers used different sets and are hard to compare.
Limitations
The authors say the features they used came from earlier research on finished essays, and these may not be the best ones for early prediction. They also note that the features came from tasks quite different from this one, so they may not carry over to a summary task. The authors add that even a good prediction would only show that a student might need help, not why, so it would not tell a teacher what feedback to give.
Other points to keep in mind:
- The paper does not mention, but only 126 students took part, which is small for models with 54 features per time slice. Small samples make machine learning results unstable.
- The paper does not mention, but all students came from one course at one university, mostly native Dutch speakers, so results may differ elsewhere.
- The paper does not mention, but there was one 30-minute summary task, so one day's writing may not show a student's usual process.
- Grades came from one grader's marks, though the two graders agreed closely. The grade also lost points for breaking task rules, such as length, so it measures more than writing skill.
- The authors say keystroke data is an indirect view of thinking, so it should not be read as proof of what a student was thinking.
Because models failed to beat the baseline, the feature-importance results rest on weak models, and the authors urge caution about them.
Future Directions
The authors suggest several next steps and leave some questions open.
- Which keystroke features work better for early prediction? The ones used here were chosen for finished essays.
- Do the features hold up across different tasks? The authors want studies that compare tasks, especially for early prediction.
- Can writing profiles help? Students have different preferred ways of writing, and grouping them with clustering methods might make predictions more accurate.
- Can higher-level features help? One idea is to combine keystroke data with language analysis of words, phrases or sentences.
- How should flagged students be helped? Future experiments could test what feedback content and design works, and whether keystroke data can show why a student needs support.
- Can process graphs and dashboards give feedback students can act on? The authors call for designing them with teachers and students.
- How do features change over time? They suggest pattern mining or time-based analysis.
The bottom line: In this study of 126 second-language university students writing a 30-minute summary, keystroke data was only weakly linked to grades and could not predict final grades better than guessing the average. The best model for flagging students who might need support reached an AUC of 0.57, close to chance. The evidence comes from one task, one course and a small group, so it does not prove such data is useless, but it does show earlier promising results may not carry over to other writing tasks. Educators should not rely on keystroke logs to spot struggling writers yet, and should treat claims of early detection with care.
Comments 0
No comments yet. Be the first to share a thought.
Get new research summaries by email
Every new summary, daily at 8:00 AM Eastern (or weekly if you prefer). Unsubscribe in one click.