Keystroke logging and writing-process research: the field that had been observing writing all along
Long 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, and the consent ethics built in from the start.
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 discussion of AI and student writing is dominated by a single technology, the after-the-fact detector, and by the finding, repeated across independent tests, that it cannot bear the weight being placed on it. What that discussion usually overlooks is that a separate research tradition has been studying writing by observing the process for decades: keystroke logging, the instrumented observation of how a text actually takes shape, with every keypress, pause, deletion and revision recorded against a timestamp.
This review reads that literature closely, because it is the scientific foundation on which writing provenance rests. 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 academic-integrity settings: more recent studies that ask whether process data can separate genuine composition 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 given in the sources panel. Where the full text was behind a paywall and only the abstract could be checked, we say so.
For readers in India, the question has particular weight. The UGC's regulations on promoting academic integrity and preventing plagiarism in higher educational institutions place responsibility for originality checking on universities and colleges, and faculty are increasingly asked to decide whether a dissertation, project report or internal-assessment submission is a student's own work. The research reviewed here shows what kind of evidence can actually answer that question.
Strand one: observing writing in order to understand it
The instrument: Inputlog and its research programme
The reference tool in this field 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 that data:
"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)."
Observe the vocabulary: pause analysis, revision analysis, fluency. These are established objects of scientific study in this field, not product marketing. The project reports that "more than a thousand researchers are registered Inputlog users," and that teachers and trainers use it in their classes. It is a mature, institutionalised research instrument, not a niche gadget.
The methods paper: Leijten & Van Waes (2013)
The field's standard methods reference 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, states the central claim of the field:
"Keystroke logging has become instrumental in identifying writing strategies and understanding cognitive processes."
That sentence merits a moment's reflection. By 2013, a decade before the anxiety about AI detection began, it was already accepted in writing research that logging keystrokes is the way to identify writing strategies. The abstract is equally frank about the interpretive gap in the method:
"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."
The founding methods paper therefore warns against reading too much into the data: the log shows what happened at the keyboard, and inferring why calls for care. The paper's answer to that gap is triangulation; it examines "the complementarity of the keystroke logging program Inputlog with other observational techniques: thinking aloud protocols and eyetracking data." The lesson applies directly to academic-integrity proceedings: process data is strong evidence of what happened, and it should be weighed together with other evidence before anyone reaches a conclusion about why.
Discovering writing processes automatically
A representative 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 alone shows the direction in which the field was moving: from manual analysis of logs towards the automatic discovery of writing processes from keystroke data across large numbers of students. (The portal record has no quotable abstract, so we cite the 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 purchased from a ghost-writing service or generated 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 directly, with outsourced work as their motivation:
"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, stated with appropriate caution:
"...keystroke and clickstream analysis may be able to distinguish between a student writing an authentic piece of work and one transcribing a completed work."
The reason is intuitive once it is put into words: composing is slow, comes in bursts and corrects itself, because the writer is thinking; transcription is fast, smooth and linear, because the thinking has already been done elsewhere.
The strongest figure in this review: Crossley et al. (2024)
Five years later, Crossley, Tian, Choi, Holmes and Morris attached a figure to 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 that 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 explanation of why process evidence succeeds where evidence from the finished 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 from the detector literature: the largest independent test of AI-text detectors found 26% accuracy on machine-paraphrased text. The comparison is not entirely fair, and the limits section below explains exactly why: the tasks differ, and the Crossley study is a single experiment, not a product benchmark. But the direction of the gap is the point: the process record carries information that the finished product simply does not. Composition cannot be told apart from transcription by reading the final text, because the final text is identical in both cases. The keystroke log makes the difference almost trivially visible.
Strand three: typing rhythm as a biometric
A separate field, keystroke dynamics biometrics, asks a different question: not how was this text produced but is this the same typist. It is worth reviewing here because it shows how much identifying information is present in typing behaviour, and because its frank caveats about accuracy 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 candid:
"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 with considerable noise.
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 far from perfect, and that is exactly the right lesson. 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 observes people as they write, so the field made consent part of its standard practice from the outset. A recent example of this norm that can be checked: a 2026 keylogging corpus in the Journal of Open Humanities Data (Houssein, Olive, Cislaru and Bordes) describes its protocol as follows:
"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 notes 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."
One source thus states two norms: 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 teacher's side in its caution against using technology to "surveil, discipline, or punish". In India, the Digital Personal Data Protection Act, 2023 likewise generally treats consent as a basis for processing digital personal data and makes specific provision for the data of children; how it applies to a particular school, college or university is for that institution and its advisers to decide.
Summary table
| Study | Year | Question | Key finding |
|---|---|---|---|
| Leijten & Van Waes | 2013 | Methods | Keystroke logging "instrumental in identifying writing strategies"; linking logs to cognition calls for 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 and more revisions than transcription |
| Crossley et al. | 2024 | Integrity | 99% accuracy in separating written from transcribed essays (random forest, keystroke features) |
| Teh et al. (survey) | 2013 | Biometrics | Typing rhythm identifies but varies; origins in 19th-century telegraphy |
| TypeNet | 2020 | Biometrics | 4.8% equal error rate at 1K users, trained on a corpus of 136M keystrokes |
| Houssein et al. | 2026 | Ethics | Informed consent, which can be withdrawn, as the 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, a result replicated by independent groups (Trezise 2019, Crossley 2024), with the strongest reported classification at 99% in a controlled study.
- Typing rhythm carries genuine identifying information (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 normal operating condition of the field.
Not established, and worth stating precisely:
- The 99% figure comes from one controlled experiment with recruited participants, particular tasks and a particular model. It is evidence that the signal is strong, not a certified error rate for any product, our own included. No study reviewed here establishes a real-world false-positive rate for integrity judgements based on process data.
- The caution from Leijten & Van Waes still holds: logs record behaviour, not intention. A long pause is a long pause; whether it was thought, a phone call or a visit to a chatbot in another window cannot be read from the keystroke stream alone.
- Keystroke biometrics does not reliably identify individuals across a whole population without prior enrolment, and nothing here suggests otherwise.
- None of this literature evaluates a determined adversary who sets out to fabricate a human-looking log, so how process evidence fares against such an attempt lies outside what these studies tested.
Why this matters for writing provenance
The AI-detection debate is usually presented as a choice between detectors and nothing at all. This literature shows that framing to be mistaken. A third option has been available for decades: look at the process, with consent, and the question of authorship largely answers itself, not through statistical guesswork about the finished prose but through direct observation of composition as it happens.
That is the scientific reasoning behind writing provenance, and behind Authmarks in particular: a record, made with consent, of how the writing was produced, sealed so that it cannot be altered 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, built into the product. The research had been observing writing all along; provenance simply gives 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.