← Lab /AI/ML

Acoustic side-channel attacks succeed on unseen keyboards using domain-invariant model

Keystroke inference remains effective in open-world settings with diverse keyboards, users, noise, and compression when using a domain-invariant acoustic model plus a language model

AI/ML arXiv 10 Nov 2026 Attack Prototype evidence

Published as “Domain-Invariant and Language-Model-Assisted Acoustic Side-Channel Attacks on Keyboards”

Why it matters

An attacker with only a commodity microphone can recover typed sentences and passwords from keyboards they have never seen, raising immediate privacy and authentication concerns.

Summary

Decker reduces the cross-keyboard accuracy gap to under eighteen points, restoring much of the performance lost when models encounter unseen keyboards. A constrained-beam-search language-model decoder applied to Decker's top-k acoustic candidates further boosts recovery of coherent text and passwords. The evidence comes from the Hear dataset (53 participants, 37 laptop keyboards) evaluated under realistic conditions including external, on-device, and VoIP recordings. The results show a substantial improvement over strong unimodal and multimodal baselines that lose about forty points on unseen keyboards.

What they found 4

  1. Decker narrows the cross-keyboard generalization gap to under eighteen accuracy points.

    “Decker narrows the cross-keyboard generalization gap from roughly forty accuracy points-the collapse suffered by strong unimodal and multimodal baselines that encode device identity rather than key identity-to under eighteen.”

  2. LLM-assisted constrained beam search substantially improves text reconstruction.

    “sentence-level attack then applies constrained-beam-search language-model decoding over the top-k acoustic candidates, substantially boosting recovery of coherent text”

  3. Baseline models lose about forty absolute points on unseen keyboards.

    “Every model loses roughly forty absolute points on unseen keyboards.”

  4. KAN adaptation head outperforms other heads across backbones and scenarios.

    “The proposed KAN head dominates across all backbones and scenarios.”

What’s new here 4

  • Domain-invariant embedding that learns key-discriminative but keyboard-invariant representations.
  • Acoustic Style Randomization and Keyboard Signature Normalization to remove device-specific coloration.
  • Kolmogorov-Arnold Network adaptation head for robustness to VoIP codec distortion.
  • Constrained beam-search decoding with large language models over top-k acoustic candidates.