Lightweight audio spoofing detector runs fast on small devices

Lightweight Replay Attack Detection via Interpretable Physical Descriptors

Sound

Summary

It can be hard to tell if a voice recording is real or a fake playback of someone’s speech. This paper presents a new method that looks at physical clues in the sound, like tiny timing and phase details captured by multiple microphones, to spot replay attacks. Instead of using complex deep learning models, the authors use understandable physical features and a simple, fast classifier. Their approach works nearly as well as advanced methods but runs quickly on small devices like microcontrollers, making it good for real-time security systems that protect privacy.

What this means in practice

  • For security system developers: Build real-time voice liveness detectors that differentiate real speech from replayed audio using lightweight physical features on embedded devices.
  • For smart home device makers: Integrate low-latency anti-spoofing voice authentication in resource-limited smart speakers to reduce false acceptances of replay attacks.$Commercial implications: Enables selling safer, privacy-respecting smart home voice assistants able to detect fake voice commands with minimal hardware.

Authors

Saba Nasiri, Alireza Amirshahi, Milos Cernak

Abstract

This paper proposes a lightweight, interpretable audio anti-spoofing method that distinguishes between bona fide human speech and replay attacks by analyzing physical acoustic signatures rather than learned spectro-temporal patterns. Unlike black-box Deep Neural Networks (DNNs), our approach exploits fundamental physical invariants, specifically source kinematics, binaural phase dynamics, and aerodynamic consistency, captured via multi-channel microphone arrays. By extracting these explicit physical descriptors and classifying them with an efficient XGBoost model, we achieve detection performance (Equal Error Rate (EER) of 17.8% on 6-channel arrays) comparable to state-of-the-art deep learning baselines, but with a fraction of the computational cost. The proposed system operates with a 1 MB memory footprint and 0.9 s latency on a standard ARM Cortex-M7 microcontroller, enabling privacy-preserving, real-time liveness detection on edge devices.