Keystroke sounds can be turned into text with >99% accuracy from 100-150 taps
A self-supervised acoustic eavesdropping attack can reconstruct typed text with over 99% accuracy using only 100-150 observed keystrokes
AI/ML arXiv 24 Jul 2026 Attack Real-world evidence
Published as “Transforming Keystroke Noise to Text: Self-Supervised Acoustic Eavesdropping Attacks on Keyboards”
Why it matters
Accurate text reconstruction from keystroke sounds is feasible in everyday audio-only settings, posing a realistic privacy risk.
Summary
The attack can reconstruct typed text with over 99% accuracy using only 100-150 keystrokes in a close-proximity smartphone recording, and still exceeds 90% accuracy with 150-250 keystrokes in realistic distance, through-wall, and online-meeting scenarios. It achieves this without any labeled data by combining unsupervised acoustic clustering, a character-level BERT language model, and iterative self-training. Evidence comes from experiments on three author-typed English texts across multiple laptop keyboards, but the results rely on reliable keystroke segmentation and non-overlapping typing speeds.
What they found 2
- Over 99% reconstruction accuracy with 100-150 keystrokes in close-proximity recording
“We demonstrate that the proposed method achieves over 99% reconstruction accuracy with only 100-150 observed keystrokes under a close-proximity recording setup using a smartphone placed near the target device”
- Often exceeds 90% accuracy with 150-250 keystrokes in realistic scenarios
“Across these scenarios, the proposed method achieves high reconstruction accuracy (often exceeding 90%) with approximately 150-250 observed keystrokes.”
Caveats 3
- Accuracy drops from >99% in close-proximity setups to often >90% in realistic distance, through-the-wall, and online-meeting conditions, indicating performance depends on recording quality and proximity.
- the proposed approach is predicated on several assumptions that constrain its applicability, including reliable keystroke segmentation, a typing speed that is not so rapid that keystrokes significantly overlap, and adequate signal quality under realistic recording conditions.
- We assume a typing speed of 240 characters per minute (CPM). ... At these speeds, consecutive keystroke sounds generally do not overlap, which is important because the proposed attack relies on audio waveform segmentation.
What’s new here 4
- Uses a Transformer-based language model to resolve ambiguous acoustic-to-character mappings without labeled data.
- Achieves high reconstruction accuracy with only 100-150 observed keystrokes, far fewer than prior unsupervised acoustic methods.
- Demonstrates robustness across realistic acquisition channels: distant desk recording, through-the-wall contact microphones, and online-meeting audio.
- Integrates iterative self-training to improve performance in low-data regimes.