A-EYE in the SKY: Examining the Threat Posed by ML Keystroke Inference From Video Surveillance
The rapid growth of artificial intelligence (AI) has allowed for unprecedented progress across disciplines, but has also introduced new cybersecurity threats. Among these are machine-learning-powered side-channel attacks. In this paper, we explore machine-learning-enabled optical side-channel attacks. We investigate the feasibility of vision-based keystroke inference by building a machine learning pipeline and exploring hyperparameter variations to examine partial inference under controlled conditions with accessible resources. We hypothesized that useful keystroke features could be learned from a limited dataset with an uncomplicated model and modest computational resources. Using a publicly available dataset of typing videos from Hugging Face, we framed the problem as a supervised classification task and systematically explored a minimal neural network (NN) pipeline. Our ten experiments compare key pipeline choices. We trained 26 models with varying hyperparameters and evaluated them using F1 score, training loss, validation loss, and validation accuracy. The best-performing MobileNetV2-100 configuration achieved a peak F1 score of 0.542. This suggests that partial keystroke-inference attacks may be within reach of moderately skilled adversaries and highlights the need for countermeasures to such attack vectors. We examine the effects of temporal context on model performance and discuss limitations of this work, chiefly dataset frame-label mismatch, which we hypothesize is faced by malicious actors as well. The analysis of video footage also raises questions of privacy rights, institutional control, and accountability. Research on digital surveillance documents unequal exposure to monitoring and differing costs of privacy protection, placing optical keystroke inference within wider questions of global justice.
Authors
- Nathan Yong
Publication Details
- Journal
- Critical Debates in Humanities Science and Global Justice
- Published
- 2026-11-28
- DOI
- https://doi.org/10.68709/001c.175649
- Primary Topic
- User Authentication and Security Systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00