Improving Acoustic Side-Channel Attacks on Keyboards Using Transformers and Large Language Models

Jin Hyun Park, Seyyed Ali Ayati, Yichen Cai
2/13/2025
cs.LGcs.AIcs.CL
transformer-attentionlora-peft-merging

No confident code implementation found for this paper.

Abstract

The increasing prevalence of microphones in everyday devices and the growing reliance on online services have amplified the risk of acoustic side-channel attacks (ASCAs) targeting keyboards. This study explores deep learning techniques, specifically vision transformers (VTs) and large language models (LLMs), to enhance the effectiveness and applicability of such attacks.

Show full abstract

We present substantial improvements over prior research, with the CoAtNet model achieving state-of-the-art performance. Our CoAtNet shows a 5.0% improvement for keystrokes recorded via smartphone (Phone) and 5.9% for those recorded via Zoom compared to previous benchmarks. We also evaluate transformer architectures and language models, with the best VT model matching CoAtNet's performance. A key advancement is the introduction of a noise mitigation method for real-world scenarios. By using LLMs for contextual understanding, we detect and correct erroneous keystrokes in noisy environments, enhancing ASCA performance. Additionally, fine-tuned lightweight language models with Low-Rank Adaptation (LoRA) deliver comparable performance to heavyweight models with 67X more parameters. This integration of VTs and LLMs improves the practical applicability of ASCA mitigation, marking the first use of these technologies to address ASCAs and error correction in real-world scenarios.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{park2025improving,
  title  = {Improving Acoustic Side-Channel Attacks on Keyboards Using Transformers and Large Language Models},
  author = {Jin Hyun Park and Seyyed Ali Ayati and Yichen Cai},
  year   = {2025},
  eprint = {2502.09782},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.09782v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.09782.svg)](https://codeofpaper.com/paper/2502.09782)

Discussion