Keystroke logging and writing-process research: the field that was watching all along
Decades before AI detection, writing researchers logged keystrokes to study how text is really composed. What the Inputlog tradition, the contract-cheating studies and a 99%-accuracy transcription experiment establish, the consent ethics built in from the start, and what it means for UK education.
Published 2026-11-01 · 10 min read
| Papers reviewed | 7 |
|---|---|
| Fields covered | writing research, learning analytics, biometrics |
| Strongest single result | 99% written-vs-transcribed classification (Crossley et al. 2024) |
What this review covers
Public debate about AI and writing is dominated by one technology, the after-the-fact detector, and by the finding, repeated across independent tests, that it cannot bear the weight placed on it. What that debate tends to overlook is that a separate research tradition has studied writing by watching the process for decades: keystroke logging, the instrumented observation of how a text really comes into being, with every keypress, pause, deletion and revision timestamped.
This review reads that literature carefully, because it is the scientific foundation beneath writing provenance. It covers three strands:
- Writing-process research in the strict sense: the Inputlog tradition, which uses keystroke logs to understand how people write.
- Process data in integrity settings: the more recent studies asking whether process data can tell genuine composition apart from transcription or contract cheating, including a 2024 study that reached 99% accuracy on exactly that question.
- Keystroke dynamics as a biometric: the neighbouring field that treats typing rhythm as an identifying trait, with its own accuracy figures and its own caveats.
Every quotation below comes from a source retrieved and checked on the date shown in the sources panel. Where the full text sat behind a paywall and only the abstract could be checked, we say so.
Strand one: watching writing to understand it
The instrument: Inputlog and its research programme
The field's reference tool is Inputlog, developed by Mariëlle Leijten and Luuk Van Waes at the University of Antwerp. The project's own description is helpfully concrete about what process logging records:
"Inputlog is a keystroke logging program enabling you to observe writing process dynamics and collect fine grained data."
And about what researchers do with it:
"Three types of analyses are offered: descriptive analyses (e.g., linear representation); sub process analyses based on algorithms (e.g., pause or revision analysis); process visualizations (e.g. fluency or source network)."
Notice the vocabulary: pause analysis, revision analysis, fluency. In this field these are core scientific objects, not product marketing. The project says that "more than a thousand researchers are registered Inputlog users," and that teachers and trainers use it in their classes. This is a mature, well-established research instrument, not a niche gadget.
The methods paper: Leijten & Van Waes (2013)
The standard methods citation in the field is Leijten and Van Waes, "Keystroke Logging in Writing Research: Using Inputlog to Analyze and Visualize Writing Processes," Written Communication (2013). The publisher's full text is behind a paywall; the abstract, checked through the ERIC record, sets out the field's central claim:
"Keystroke logging has become instrumental in identifying writing strategies and understanding cognitive processes."
That sentence is worth dwelling on. By 2013, a decade before the alarm over AI detection, it was already accepted in writing research that logging keystrokes is how you identify writing strategies. The abstract is just as frank about the method's interpretive gap:
"While keystroke logging allows for ecological data collection, it is often difficult to connect the fine grain of logging data to the underlying cognitive processes."
So the founding methods paper itself warns against reading too much in: the log shows what happened at the keyboard, and working out why takes care. The paper answers that gap with triangulation, exploring "the complementarity of the keystroke logging program Inputlog with other observational techniques: thinking aloud protocols and eyetracking data." The lesson carries straight over to integrity settings: process data is strong evidence of what happened, and should be weighed alongside other evidence before anyone reaches a view on why.
Discovering writing processes automatically
A typical later step is Conijn, van der Loo and van Zaanen, "What's (not) in a Keystroke? Automatic Discovery of Students' Writing Processes Using Keystroke Logging" (LAK 2018 companion proceedings, confirmed through the Tilburg University research portal). The title on its own shows where the field was heading: from manual analysis of logs towards automatic discovery of writing processes from keystroke data across whole cohorts of students. (The portal record has no quotable abstract, so we cite this paper for its existence and venue rather than for its findings.)
Strand two: process data in integrity contexts
Composition and transcription look different: Trezise et al. (2019)
The question that matters for academic integrity is whether the process record of someone composing a text differs measurably from the record of someone copying in a text that already existed, since every outsourced essay, whether bought from a contract-cheating service or produced by a model, has to reach the submission box somehow.
Trezise, Ryan, de Barba and Kennedy, "Detecting Academic Misconduct Using Learning Analytics" (Journal of Learning Analytics, 2019), tested this head-on, prompted by contract cheating:
"Keystroke logging and clickstream data... present promising alternative methods of detecting and preventing contract cheating."
Their experimental finding, from the abstract:
"...while completing the free-writing task, participants typed in shorter bursts with longer pauses and typed more slowly with more revisions compared to the two transcription tasks."
And their conclusion, suitably hedged:
"...keystroke and clickstream analysis may be able to distinguish between a student writing an authentic piece of work and one transcribing a completed work."
Once said, the reason is intuitive: composing is slow, uneven and self-correcting, because the writer is thinking; transcribing is quick, smooth and linear, because the thinking took place somewhere else.
The strongest number in this review: Crossley et al. (2024)
Five years on, Crossley, Tian, Choi, Holmes and Morris put a figure on it in "Plagiarism Detection Using Keystroke Logs" (Educational Data Mining 2024; the full text was checked, not only the abstract):
"Results indicated that keystroke logs accurately predicted whether an essay was written or transcribed with 99% accuracy using a random forest model."
The features behind that classification are precisely those the writing-process tradition had been cataloguing for decades:
"Authentic writing included a greater number of pauses before sentences and words, had a greater number of insertions and longer insertions, deleted more words and characters, and had a greater number of revisions than transcribed writing."
"Transcribers, on the other hand, produced a greater number of writing bursts because they were simply copying language."
And the authors' interpretation, which could serve as a one-paragraph summary of why process evidence works where evidence from the product fails:
"Authentic writing is a dynamic process where writers monitor their writing and evaluate whether the writing needs to be changed if problems are identified. Transcribed writing, on the other hand is much more linear."
Set that 99% against the figures in the detector literature: the largest independent test of AI-text detectors found 26% accuracy on machine-paraphrased text. The comparison is not wholly fair, and the limits section below is precise about why: the tasks differ, and the Crossley study is a single experiment, not a product benchmark. The direction of the gap is what counts, though: the process record holds signal that the finished product simply does not. Reading the final text cannot tell composition from transcription, because the final text is the same either way. The keystroke log makes the difference almost trivially plain.
Strand three: typing rhythm as a biometric
A separate field, keystroke dynamics biometrics, poses a different question: not how was this text produced but is this the same typist. It belongs in this review because it shows how much identity signal there is in typing behaviour, and because its candid accuracy caveats are a model for how process evidence ought to be presented.
The standard survey is Teh, Teoh and Yue, "A Survey of Keystroke Dynamics Biometrics" (The Scientific World Journal, 2013). On the field's surprisingly long history:
"The emergence of keystroke dynamics biometrics was dated back in the late 19th century"
(telegraph operators could be recognised by the rhythm of their keying), and the survey covers "the last three decades" of the modern field. On accuracy, the survey is frank:
"Keystroke dynamics biometrics are inferior in terms of authentication accuracy due to the variations in typing rhythm"
and behavioural biometrics in general "are normally inferior to physiological biometrics in terms of variability." Typing rhythm does identify a person, but noisily.
The modern deep-learning benchmark shows what scale does to that noise. TypeNet (Acien, Morales, Vera-Rodriguez, Fierrez and Monaco, arXiv:2004.03627), trained on the Aalto database of "more than 136M keystrokes from 168K users," reports:
"an equal error rate of 4.8% using only 5 enrollment sequences and 1 test sequence per user"
at a scale of a thousand users. (The extended journal version, IEEE TBIOM 2022, reports 2.2% on physical keyboards and 9.2% on touchscreens under the same protocol.) An equal error rate of 4.8% is a long way from perfect, and that is the right lesson to draw. Typing rhythm is genuinely characteristic of a person, and genuinely variable. Any system that uses it should treat it as corroboration, never as the sole proof of identity.
The ethics thread: consent is the field's norm
Writing-process research watches people write, so the field made consent part of its standard practice from the outset. A recent example that can be checked: a 2026 keylogging corpus in the Journal of Open Humanities Data (Houssein, Olive, Cislaru and Bordes) describes its protocol:
"Participation required informed consent from both parents and children... children were explicitly informed, orally and in writing, that participation was entirely voluntary and that they could withdraw at any time without any consequences."
The same paper sums up, in passing, what the method is used for:
"Keylogging is often used to analyze typing behavior and text composition. It provides valuable insights into how dynamics of text production (assessed through typing speed, pause length, error patterns, bursts of writing) varies according to different constraints."
Two norms, set out in a single source: the data is scientifically rich, and it is gathered with explicit consent that can be withdrawn. Any product that adopts the method takes on both obligations, a point the MLA-CCCC task force makes from the educator's side when it cautions against using technology to "surveil, discipline, or punish". In the UK, gathering this kind of data from students also brings duties under UK GDPR and the Data Protection Act 2018, overseen by the ICO; how those duties apply to a given use is a matter for the university, college or school and its advisers.
Summary table
| Study | Year | Question | Key finding |
|---|---|---|---|
| Leijten & Van Waes | 2013 | Methods | Keystroke logging "instrumental in identifying writing strategies"; linking logs to cognition needs care |
| Conijn et al. | 2018 | Scale | Automatic discovery of students' writing processes from logs (LAK) |
| Trezise et al. | 2019 | Integrity | Free writing: shorter bursts, longer pauses, more revisions than transcription |
| Crossley et al. | 2024 | Integrity | 99% accuracy separating written from transcribed (random forest, keystroke features) |
| Teh et al. (survey) | 2013 | Biometrics | Typing rhythm identifies but varies; roots in 19th-century telegraphy |
| TypeNet | 2020 | Biometrics | 4.8% equal error rate at 1K users, training corpus of 136M keystrokes |
| Houssein et al. | 2026 | Ethics | Informed consent that can be withdrawn, as standard protocol for keylogging research |
What the literature does and does not establish
Established, with direct evidence:
- Keystroke logs reveal the writing process (pauses, bursts, revisions), and the field has analysed these signals for decades with standard tools and a large research community.
- Composition and transcription leave measurably different process signatures, replicated by independent groups (Trezise 2019, Crossley 2024), with the strongest reported classification at 99% in a controlled study.
- Typing rhythm carries real identity signal (TypeNet's 4.8% EER at scale), with frank caveats about variability from the field's own survey.
- Informed consent that can be withdrawn is the field's normal way of working.
Not established, and worth being precise about:
- The 99% figure comes from one controlled experiment with recruited participants, particular tasks and a particular model. It shows that the signal is strong; it is not a certified error rate for any product, ours included. No study reviewed here establishes a real-world false-positive rate for integrity judgements based on process.
- The Leijten & Van Waes caution still holds: logs record behaviour, not intent. A long pause is a long pause; whether it was thought, a phone call or a visit to a chatbot in another window is not in the keystroke stream on its own.
- Keystroke biometrics does not reliably identify individuals across a whole population without enrolment, and nothing here suggests otherwise.
- None of this literature tests a determined adversary who sets out to fabricate a human-looking log, so how process evidence stands up to that lies outside what these studies examined.
Why this matters for writing provenance
The AI-detection debate is usually presented as a two-horse race between detectors and nothing. This literature says that framing is mistaken. A third option has been available for decades: look at the process, with consent, and the authorship question largely answers itself, not through statistical guesswork about the finished prose but through direct observation of composition as it happens. For a UK lecturer marking coursework, or a school authenticating non-examined assessment, that is a very different starting point from a detector score.
That is the scientific bet behind writing provenance, and behind Authmarks in particular: a consented record of how the writing was produced, sealed so it cannot be changed afterwards, and verifiable by anyone without an account. The literature also sets the honesty limits we hold ourselves to: what a writing record cannot prove is this review's "not established" list, turned into a product. The research was watching all along; provenance simply hands the writer the record.
Sources
- Leijten & Van Waes — Keystroke Logging in Writing Research (Written Communication, 2013; ERIC record) — as of 2026-11-01
- Inputlog — keystroke logging research programme, University of Antwerp — as of 2026-11-01
- Trezise, Ryan, de Barba & Kennedy — Detecting Academic Misconduct Using Learning Analytics (Journal of Learning Analytics, 2019) — as of 2026-11-01
- Conijn, van der Loo & van Zaanen — What's (not) in a Keystroke? (LAK 2018; Tilburg University record) — as of 2026-11-01
- Crossley, Tian, Choi, Holmes & Morris — Plagiarism Detection Using Keystroke Logs (EDM 2024, full text) — as of 2026-11-01
- Teh, Teoh & Yue — A Survey of Keystroke Dynamics Biometrics (The Scientific World Journal, 2013) — as of 2026-11-01
- Acien et al. — TypeNet: Scaling up keystroke biometrics (arXiv:2004.03627) — as of 2026-11-01
- Houssein, Olive, Cislaru & Bordes — keylogging corpus with informed-consent protocol (Journal of Open Humanities Data, 2026) — as of 2026-11-01
Change notes
- 2026-11-01 — First published.
Spotted an error? Email sales@authmarks.com and we will correct the page and date the correction.