Detecting LLM-Assisted Vietnamese Writing via Keystrokes under Behavioral Manipulation
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.
Create a lesson
Metadata
- Categories
- cs.CL, cs.CY
- 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)
Related papers
Auto-Features: An LLM-Assisted Corpus for Contextual Recognition of Standard and Optional Car Features
Shared title terminologycs.CLFilippos Ventirozos, Ioanna Nteka, Tania Nandy et al.
Large Language Model Turnover Undermines Screening for Artificial Intelligence-Assisted Scientific Writing
Shared title terminologycs.CLKazuki Nakajima, Takayuki Mizuno
IdeaLens: Detecting AI Ideas in Long-form Writing
Shared title terminologycs.CLRishanth Rajendhran, Minjoon Choi, Jenna Russell et al.
Who Attributes a Mind to Whom? Mutual Theory of Mind in Simulated User-Assistant Conversation
Shared title terminologycs.CLMingxi Yan, Vasudha Varadarajan, Qiaosi Wang et al.
Joint Detection of Constructive Speech, Hate Speech and Agreement in Online Conversations
Shared title terminologycs.CLIda Dencker, Simon Karg, Kenneth Enevoldsen
Beyond Fixed-Context Likelihood: Zero-Shot AI-Generated Text Detection via Context Perturbation Discrepancy
Shared title terminologycs.CLYifan Tang, Jingran Li, Yihao Wang et al.