← Lab /AI/ML

DECKER improves keystroke identification across keyboards and users

The authors claim DECKER outperforms strong baselines for keystroke inference, especially in cross-keyboard and cross-user scenarios

AI/ML arXiv 5 May 2026 Method Prototype evidence Threat model

Published as “DECKER: Domain-invariant Embedding for Cross-Keyboard Extraction and Recognition”

Why it matters

Acoustic side-channel attacks remain practical across diverse devices and noisy settings, highlighting a tangible privacy risk for laptop users.

Summary

DECKER achieves 81.3% key-level accuracy on unseen keyboards (vs. 51.8% for wav2vec2) and, when combined with a GPT-4 language model, reaches 93.2% character accuracy and 72.8% exact-match sentence recovery; the evidence is strong, based on a new 10k+ sample HEAR dataset and multiple baselines with statistical significance testing.

What they found 4

  1. Full DECKER model attains 81.3% top-1 accuracy on unseen keyboards, narrowing the gap to 17.6% versus seen keyboards.

    “DECKER (full) 98.9% 81.3% -17.6%”

  2. GPT-4 post-processing raises character accuracy to 93.2% and exact-match sentence accuracy to 72.8% with normalized Levenshtein distance 0.041.

    “GPT-4 93.2% 72.8% 0.041”

  3. Key-level accuracy degrades only modestly under timing jitter, dropping 2.8% for ±10 ms and 5.9% for ±20 ms, while retaining ~70% accuracy even at ±30 ms jitter.

    “Top-1 accuracy declines by only 2.8% under ±10 ms jitter and 5.9% under ±20 ms jitter. Even at ±30 ms-well beyond realistic human-microphone temporal ambiguity-DECKER retains nearly 70% raw accuracy.”

  4. Keyboard Signature Normalization reduces residual keyboard identity cues, lowering domain-classification accuracy from 94.2% to 21.7%.

    “Domain-classification accuracy drops from 94.2% without KSN to 21.7% with KSN enabled”

Caveats 1

  • Even with DECKER, unseen-keyboard accuracy is 81.3%, still 17.6% lower than on seen keyboards.

What’s new here 4

  • Introduces the HEAR dataset covering 53 users, 37 laptop keyboards, and three realistic recording conditions (external mic, on-device mic, VoIP).
  • Proposes a four-stage domain-invariant training pipeline (Keyboard Signature Normalization, adversarial disentanglement, cross-keyboard contrastive alignment, Acoustic Style Randomization).
  • Integrates constrained LLM-based decoding to improve sentence-level reconstruction from noisy keystroke predictions.
  • Provides a comprehensive benchmark evaluating unimodal, multimodal, and domain-invariant models across cross-keyboard, cross-user, and cross-environment splits.

Threat model stated by the source

AdversaryEve, a passive eavesdropper
CapabilityPassive acoustic capture with commodity microphones, offline GPU computation, access to pretrained LLMs
AssumesA1. Passive recording only; no probes or malware.; A2. Commodity hardware microphones.; A3. Concealed placement within everyday objects.; A4. Socially realistic distance (1-3 m).; A5. NLoS operation enabled by multipath reflections.; A6. Robustness to ambient real-world noise.; A7. Offline GPU computation permitted.; A8. Access to pretrained LLMs for decoding sequences.