Detecting LLM-Assisted Vietnamese Writing via Keystrokes under Behavioral Manipulation

arXiv:2610.07700 · cs.CL, cs.CY · Submitted 2026-10-06 · Read on arXiv

cs.CL, cs.CY

Submitted: 2026-10-06

Updated: 2026-10-06

Comments: 9 pages, 2 figures. Thanh Dong and An Ngo contributted equally. Accepted at the 2026 IEEE International Conference on Tools with Artificial Intelligence (ICTAI 2026)

Code: https://github.com/dongphuthanh/VietnameseKeystrokes

License: http://creativecommons.org/licenses/by-nc-nd/4.0/

The gist: We study the robustness of keystroke dynamics for detecting large language model (LLM)-assisted writing.

Abstract

We study the robustness of keystroke dynamics for detecting large language model (LLM)-assisted writing. We introduce a Vietnamese keystroke dataset capturing realistic writing modes, including bona fide composition, transcription, and paraphrasing. We also define a behaviorally grounded threat model in which users deliberately alter typing patterns. To implement the threat model, we create behaviorally manipulated variants of the data designed to evade keystroke-based detection. We evaluate four keystroke modeling approaches: temporal and rhythmic representations, and sequential representations modeled with a one-dimensional convolutional neural network (1D-CNN) and TypeNet, under user-independent and context-independent settings. The results show that sequential models outperform feature-based approaches in most cases and that keystroke signals encode discriminative information about the writing process. However, detection is not uniformly robust: transcription is reliably identified, while paraphrasing and adversarially manipulated samples are frequently misclassified as bona fide when not explicitly modeled. To address this, we incorporate adversarial training using behaviorally manipulated data, which substantially improves separability and robustness. These results suggest that keystroke-based detection depends critically on exposure to diverse writing behaviors, and that strong performance under limited conditions does not generalize to realistic or adversarial settings without targeted modeling.

Sources

Related papers