SWIFT: A Handcrafted, Arithmetic-Minimal FPGA Engine for Real-Time Audio Deepfake Detection
Authors: Chirantan Banerjee, Soumita Chatterjee, Bhargab B. Bhattacharya, Hafizur Rahaman
Organizations: Department of Information Technology, Indian Institute of Engineering Science and Technology, Shibpur, Howrah, West Bengal 711103, India · School of VLSI Technology, Indian Institute of Engineering Science and Technology, Shibpur, Howrah, West Bengal 711103, India
Generative voice cloning threatens voice-based authentication, yet current deepfake detectors rely on power-hungry, high-precision models unsuited to edge hardware. We present SWIFT (Streaming Whiten-Integer Forensic Trust-Engine), a handcrafted detector that works in the high-frequency noise domain where synthesis artifacts concentrate. A first-order integer high-pass residual drives nine families of fixed-point descriptors, among them integer lifting-wavelet cepstral quantiles, Mahalanobis anomaly distances, Poincaré phase-space geometry, and phase jitter, fused by calibrated gradient-boosted trees and a sparse L1-regularised meta-learner. Under leakage-controlled nested cross-validation, with one shared preprocessing chain for real and fake audio, this reference model reaches accuracy of up to 99.86% and an Equal Error Rate (EER) as low as 0.03% across eight benchmarks. Its integer front-end and a fixed-point linear classifier run on the programmable logic of a PYNQ-Z2 (Zynq-7020) board, with a 7.85 microseconds per-frame datapath latency (127.4k frames/s) at 1.734 W and 11.2% LUT utilisation. Integer-only audio deepfake feature extraction is thus feasible at the edge without pretrained neural models or floating-point units.
Figures & tables
Figure 1: Block diagram of the proposed SWIFT pipeline.
Figure 2: Isolated noise-domain Mahalanobis distances reveal distinct real vs. deepfake speech separation, unlike raw audio (inset).
Table 4: Classifier Comparison on the ShiftySpeech Benchmark (same features and folds; macro-averaged F1)
Dataset
Type
Samples
Accuracy (%)
Recall (%)
F1-Score (%)
AUC
EER (%)
Audeter
TTS/codec
15,228
99.68
99.65
99.79
0.9896
0.29
MLAAD
TTS/codec
18,000
99.86
99.91
99.84
0.9898
0.12
CodecFake
TTS/codec
94,242
99.29
99.16
99.29
0.9889
0.66
ShiftySpeech
TTS/codec
281,945
99.78
99.66
99.95
0.9995
0.05
WaveFake
GAN
104,800
90.42
89.56
90.40
0.9235
1.54
LibriTTS
GAN
20,929
99.52
99.35
99.55
0.9992
0.03
Table 5: SWIFT Performance Across TTS/Codec, GAN-Vocoder, ASVspoof, and Mixed Benchmarks
Methodology
Type
Benchmark
Accuracy (%)
Recall (%)
F1-Score (%)
AUC
EER (%)
WavLM+MFA [ 15 ]
SSL
ASVspoof 2019 LA
91.84
90.92
91.37
0.8470
0.52
XLS-R+CL [ 16 ]
SSL
ASVspoof 2019 LA
93.42
92.78
93.10
0.8517
0.46
W2V2-AASIST+SAM [ 17 ]
SSL
CodecFake
92.84
91.97
92.53
0.9416
0.62
CNN+MFCC [ 18 ]
CNN
Fake-or-Real
89.67
88.95
89.31
0.7597
0.31
Proposed
DSP+Stack
ShiftySpeech
99.78
99.66
99.95
0.9995
0.05
Table 6: Comparison with Representative Prior Systems. Prior-system rows are quoted from the cited papers on the benchmark listed in the Benchmark column; the proposed row is the software reference model on ShiftySpeech
Slice LUTs
Registers
DSPs
PL latency per frame
Throughput (frames/s)
Power
5,968 (11.22%)
8,647 (8.13%)
42 (19.09%)
7.85 μ s
127.4k
1.734 W
Table 7: SWIFT-HW Implementation on the Zynq XC7Z020 at 50 MHz
Classifier
Accuracy (%)
AUC
EER (%)
Linear, 26 BinDCT features, floating point
98.80
0.9921
0.35
SWIFT-HW: linear, int16/int32 (deployed)
98.45
0.9904
0.42
Software reference ensemble (192 features)
99.78
0.9995
0.05
Table 8: Detection Performance of the Deployed Classifier on ShiftySpeech (same folds)
Real-time voice cloning has enabled large-scale streaming deepfake and vishing attacks, while existing Network Detection and Response (NDR) solutions rely on GPU-based post-processing that requires buffered audio and generalizes poorly to unseen speech synthesis models. This paper presents SENTRY, a hardware-oriented, streaming trust engine for inline deepfake detection at the network edge. SENTRY employs an integer lifting-wavelet front end together with a bank of multiplier-free transforms, including wavelet-packet envelopes, Walsh-Hadamard sequency profiles, waveform micro-statistics, and long-term spectral features, designed so that acoustic analysis needs only integer add, shift, compare and bitwise operations. A supervised gradient-boosted tree classifier is combined with an unsupervised Mahalanobis out-of-distribution detector trained solely on authentic speech, and their outputs are fused by a lightweight logistic layer to produce graduated LOG, CHALLENGE, or DROP actions. Under a closed-set protocol, SENTRY reaches 98.75% accuracy at a 1.25% equal-error rate (EER) on WaveFake, with perfect separation of HiFi-GAN and WaveGlow; its supervised track alone achieves an AUC of 0.9994 (fused: 0.9993). On ASVspoof 2019 LA (attacks A01-A06) over an 8 kHz mu-law telephony channel, it reaches 94.75% accuracy at a 5.05% EER, with a supervised-track AUC of 0.9948 (fused: 0.9884) and per-attack EERs below 7%. In our prototype, the feature front end runs as bit-exact integer code on one Arm Cortex-A53 core, and the classifier and fusion stage are synthesized for a Xilinx Zynq UltraScale+ MPSoC using no DSP slices, returning a decision 220 ns after a feature vector is ready. These results indicate that deepfake screening can be placed inline without GPUs or floating-point hardware; generalization to unseen generators is left to future work.
Chirantan Banerjee, Soumita Chatterjee, Bhargab B. Bhattacharya +1
Indian Institute of Engineering Science and Technology, Shibpur, India
Audio deepfakes generated by neural text-to-speech and voice-cloning systems threaten speaker verification and public discourse at scale. The core challenge is cross-dataset generalization: detectors trained on one synthesis pipeline collapse on unseen forgeries. We argue that this failure is primarily because of structural synthetic speech artifacts which are multi-timescale trajectory anomalies. Though every existing detector aggregates a fixed-window frame statistics, this misaligns the architecture with the signal. We propose FlowFake, a Liquid Time-Constant (LTC) architecture whose hidden state evolves via a learned ODE, with per-neuron adaptive time constants simultaneously resolving spectral (10ms) and prosodic (2s) cues. At only 34K parameters FlowFake achieves formal BIBO stability and O(dt^4) integration error. On a four-dataset cross domain benchmark (ASVspoof2019-LA, FakeOrReal, InTheWild, MLAAD), FlowFake reaches 75.29% on ASVspoof2019 trained only on FakeOrReal and 79.97% trained only on MLAAD. It outperforms RawGAT-ST and Whisper-DF on every evaluated pair and matching SSL Wav2vec2 (300x larger) at 0.01% of its parameter count. The source code is available on : https://github.com/GhostRider2023/FlowFake
A speech deepfake detector estimates whether a recording is synthetic, but a forensic analyst also asks which system produced it, whether recordings share a source, and what evidence supports each conclusion. We present VeriSpoof, an audio language model that unifies five tasks with shared weights: deepfake detection, generator attribution (generator, acoustic model and vocoder), recording-condition analysis, synthesized-span localisation, and source verification. Each decision is supported by grounded rationales whose statements can be independently verified. Answers are scored by sentence likelihood, allowing detection and source verification to be thresholded without separate heads. Rationale statements can be checked against waveform measurements, span labels, or generator metadata. Counterfactual examples train decisions to follow the stated evidence. Across the 14 Speech-DF-Arena test sets, VeriSpoof-Plus achieves 2.14% pooled EER, ranking third of 28 systems and first among open-weight systems. VeriSpoof-Base, trained only on official training splits of eight corpora, achieves 4.43% EER, less than half that of the next open-weight detector. With the same weights, VeriSpoof-Plus verifies whether recordings from generators unseen in training share a source at 6.2% EER. Controlled studies show that the audio representation governs detection, the LLM governs recording comparison, and source supervision is necessary for neural-codec fakes. Statement-checkable rationales catch partial fakes missed by one-step answers (99.6% vs. 78.4% on PartialEdit) and determine decisions under edits unseen in training (99.5%). Training updates only 29.7M of 2.85B parameters, fitting a single 24 GB GPU with gradient checkpointing. We release both models, inference code, a demo, and VeriSpoof-Bench, the evaluation suite covering these questions.