Lightweight Detection and Model Attribution of Synthetic Speech via Residual Statistical Fingerprints
Organizations: Faculty of Computer Science, Ruhr University Bochum, Germany · Electronic Systems of Medical Engineering, Technische Universität Berlin, Germany
Abstract
As speech generation technologies advance, so do risks of impersonation, misinformation, and spoofing. We present a lightweight, training-free method for synthetic speech detection and source model attribution. Our method builds on model-specific fingerprints that are computed as the average of the differences between audio signals and their filtered versions, referred to as residuals. Leveraging the Mahalanobis distance of the residual for a given audio signal to these model-specific fingerprints allows to identify the source model as well as to distinguish real from fake audio. A broad set of experiments across multiple synthesis systems and languages demonstrate a supreme performance of the proposed approach on four tasks: open-world single-model attribution, closed-world multi-model attribution, real vs. synthetic speech classification, and out-of-domain detection.
Figures & tables
| Filter type (configs) | Correlation | Mahalanobis distance |
|---|---|---|
| Low-pass (cutoff: 1, 3, \SI 5 \kilo \hertz ) | 0.91 / 0.92 / 0.92 | 0.98 / 0.97 / 0.97 |
| High-pass (cutoff: 1, 3, \SI 5 \kilo \hertz ) | 0.76 / 0.72 / 0.68 | 0.90 / 0.92 / 0.95 |
| Band-stop (bands: 4–7, 5–6 \si \kilo \hertz ) | 0.67 / 0.59 | 0.94 / 0.91 |
| Band-pass (bands: 4–7, 5–6 \si \kilo \hertz ) | 0.93 / 0.93 | 0.97 / 0.98 |
| † Bold denotes selected top filters; higher AUROC indicates better separation. | ||
| STFT (window / hop) | A-LJSpeech | JSUT | ASVspoof LA | CodecFake |
|---|---|---|---|---|
| \SI 8 \milli \second / \SI 0.125 \milli \second | 1.00 / 1.00 | 1.00 / 1.00 | 0.99 / 0.99 | 0.98 / 0.98 |
| \SI 25 \milli \second / \SI 10 \milli \second | 1.00 / 0.99 | 1.00 / 1.00 | 0.95 / 0.97 | 0.98 / 0.98 |
| † Bold marks best AUROC (strongest separation). | ||||
| Residual type | A-LJSpeech | JSUT | ASVspoof LA | CodecFake |
|---|---|---|---|---|
| EnCodec | 0.99 / 0.95 | 1.00 / 1.00 | 0.95 / 0.89 | 0.85 / 0.86 |
| Spectral | 1.00 / 1.00 | 1.00 / 1.00 | 0.99 / 0.99 | 0.98 / 0.98 |
| † Bold marks best AUROC (strongest separation). | ||||
| Source\Target | A01 | A02 | A03 | A04 | A05 ∗ | A06 ∗ |
|---|---|---|---|---|---|---|
| A01 | - | 1.00 / 1.00 | 1.00 / 1.00 | 0.86 / 0.87 | 1.00 / 1.00 | 1.00 / 1.00 |
| A02 | 1.00 / 1.00 | - | 0.79 / 0.82 | 1.00 / 1.00 | 0.93 / 0.92 | 1.00 / 1.00 |
| A03 | 1.00 / 1.00 | 1.00 / 1.00 | - | 1.00 / 1.00 | 1.00 / 0.99 | 1.00 / 1.00 |
| A04 | 0.96 / 0.98 | 1.00 / 1.00 | 1.00 / 1.00 | - | 1.00 / 1.00 | 1.00 / 1.00 |
| A05 ∗ | 1.00 / 1.00 | 1.00 / 0.99 | 0.96 / 0.93 | 1.00 / 1.00 | - | 1.00 / 1.00 |
| A06 ∗ | 0.97 / 0.94 | 1.00 / 1.00 | 1.00 / 1.00 | 0.77 / 0.74 | 1.00 / 1.00 | - |
| Source\Target | C1 | C2 | C3 | C4 | C5 | C6 |
|---|---|---|---|---|---|---|
| C1 | - | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 |
| C2 | 1.00 / 0.99 | - | 1.00 / 1.00 | 0.99 / 0.99 | 0.99 / 1.00 | 0.79 / 0.89 |
| C3 | 1.00 / 1.00 | 1.00 / 1.00 | - | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 |
| C4 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | - | 1.00 / 1.00 | 0.99 / 0.99 |
| C5 | 1.00 / 1.00 | 0.96 / 0.95 | 1.00 / 1.00 | 0.99 / 0.99 | - | 0.91 / 0.94 |
| C6 | 1.00 / 0.99 | 0.87 / 0.87 | 1.00 / 1.00 | 0.99 / 0.99 | 0.99 / 0.99 | - |
| Model | A-LJSpeech | JSUT | ASVspoof LA | CodecFake |
|---|---|---|---|---|
| X-vector | 0.99 / 0.99 | 0.99 / 0.99 | 1.00 / 1.00 | 1.00 / 1.00 |
| LCNN | 0.98 / 0.98 | 0.98 / 0.98 | 1.00 / 1.00 | 0.98 / 0.98 |
| ResNet | 0.98 / 0.98 | 0.99 / 0.99 | 1.00 / 1.00 | 1.00 / 1.00 |
| SE-ResNet | 0.98 / 0.98 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 |
| RSF (ours) | 1.00 / 1.00 | 1.00 / 1.00 | 0.97 / 0.97 | 0.99 / 0.99 |
| RSF CNN (ours) | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 |
| Model | A-LJSpeech | JSUT | ASVspoof LA | CodecFake |
|---|---|---|---|---|
| X-vector | 0.91 / 0.92 | 1.00 / 1.00 | 0.87 / 0.86 | 0.93 / 0.93 |
| LCNN | 0.96 / 0.96 | 0.99 / 0.99 | 0.93 / 0.93 | 0.93 / 0.93 |
| ResNet | 0.98 / 0.98 | 1.00 / 1.00 | 0.95 / 0.94 | 0.94 / 0.93 |
| SE-ResNet | 0.98 / 0.98 | 1.00 / 1.00 | 0.95 / 0.94 | 0.94 / 0.93 |
| RSF CNN (ours) | 1.00 / 1.00 | 1.00 / 1.00 | 0.95 / 0.95 | 0.94 / 0.93 |
| † Bold marks best model performance. | ||||
| Method | AUROC | AUPRC |
|---|---|---|
| X-Vector | ||
| LCNN | ||
| ResNet | ||
| SE-ResNet | ||
| TADA | ||
| RSF (Ours) |
| Benchmarks | 70 | 80 | 90 | 100 | 110 | Full |
|---|---|---|---|---|---|---|
| A-LJSpeech | 0.98 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 |
| JSUT | 0.96 | 0.98 | 0.99 | 1.00 | 1.00 | 1.00 |
| ASVspoof LA | 0.92 | 0.97 | 0.98 | 0.98 | 0.98 | 0.99 |
| CodecFake | 0.92 | 0.95 | 0.95 | 0.96 | 0.97 | 0.98 |
| Benchmarks | RSF Swap | PGD-1 ∗ | PGD-2 † |
|---|---|---|---|
| ASVspoof LA | 0.41 | 0.68 | 0.97 |
| CodecFake | 0.70 | 0.90 | 1.00 |
| ∗ Minimizes the Mahalanobis distance ( ) to the target RSF. | |||
| † Extends PGD-1 by maximizing from the source RSF. | |||
| MP3 compression | A-LJSpeech | JSUT | ASVspoof LA | CodecFake |
|---|---|---|---|---|
| No distortion | 1.00 | 1.00 | 0.99 | 0.98 |
| 0.63 | 0.57 | 0.64 | 0.79 | |
| RSFs re-estimated † | 0.99 | 1.00 | 0.97 | 0.98 |
| † RSFs re-estimated on MP3-augmented data. | ||||
| Echo distortion | A-LJSpeech | JSUT | ASVspoof LA | CodecFake |
|---|---|---|---|---|
| No distortion | 1.00 | 1.00 | 0.99 | 0.98 |
| 1.00 | 0.98 | 0.96 | 0.95 | |
| 1.00 | 0.99 | 0.96 | 0.92 | |
| 0.98 | 0.92 | 0.92 | 0.92 | |
| 0.99 | 0.95 | 0.95 | 0.94 | |
| RSFs re-estimated † | 1.00 | 1.00 | 0.99 | 0.98 |
| Reverberation condition | A-LJSpeech | JSUT | ASVspoof LA | CodecFake |
|---|---|---|---|---|
| No reverberation | 1.00 | 1.00 | 0.99 | 0.98 |
| Reverberation | 0.65 | 0.64 | 0.81 | 0.84 |
| RSFs re-estimated † | 0.97 | 0.96 | 0.91 | 0.92 |
| † RSFs re-estimated on reverberation-augmented data. | ||||
| SNR ( \si \decibel ) | 10 | 14 | 18 | 23 | 27 | 32 | 37 |
|---|---|---|---|---|---|---|---|
| AUROC | 0.89 | 0.92 | 0.94 | 0.96 | 0.97 | 0.98 | 0.99 |
| Source\Target | Cutoff = \SI 1 \kilo \hertz | Cutoff = \SI 3 \kilo \hertz | Cutoff = \SI 5 \kilo \hertz | |||
|---|---|---|---|---|---|---|
| A16 | A19 ∗ | A16 | A19 ∗ | A16 | A19 ∗ | |
| A07 | 0.67 / 0.82 | 0.97 / 0.99 | 0.67 / 0.81 | 0.97 / 0.99 | 0.63 / 0.78 | 0.93 / 0.99 |
| A08 | 0.97 / 1.00 | 1.00 / 1.00 | 0.97 / 1.00 | 1.00 / 1.00 | 0.95 / 1.00 | 1.00 / 1.00 |
| A09 | 0.99 / 1.00 | 1.00 / 1.00 | 0.99 / 1.00 | 1.00 / 1.00 | 0.99 / 1.00 | 1.00 / 1.00 |
| A10 | 0.94 / 1.00 | 1.00 / 1.00 | 0.96 / 1.00 | 1.00 / 1.00 | 0.96 / 1.00 | 1.00 / 1.00 |
| A11 | 0.93 / 1.00 | 1.00 / 1.00 | 0.95 / 1.00 | 1.00 / 1.00 | 0.96 / 1.00 | 1.00 / 1.00 |
| Source\Target | Cutoff = \SI 1 \kilo \hertz | Cutoff = \SI 3 \kilo \hertz | Cutoff = \SI 5 \kilo \hertz | |||
|---|---|---|---|---|---|---|
| A16 | A19 ∗ | A16 | A19 ∗ | A16 | A19 ∗ | |
| A07 | 0.69 / 0.68 | 0.96 / 0.98 | 0.70 / 0.71 | 0.83 / 0.97 | 0.75 / 0.75 | 0.86 / 0.97 |
| A08 | 0.70 / 0.97 | 0.96 / 1.00 | 0.92 / 0.97 | 0.97 / 1.00 | 0.92 / 0.99 | 0.92 / 1.00 |
| A09 | 0.91 / 0.95 | 0.99 / 1.00 | 0.85 / 0.94 | 0.95 / 1.00 | 0.70 / 0.97 | 0.79 / 1.00 |
| A10 | 0.63 / 0.87 | 0.94 / 1.00 | 0.72 / 0.93 | 0.85 / 0.99 | 0.72 / 0.96 | 0.85 / 1.00 |
| A11 | 0.66 / 0.84 | 0.95 / 1.00 | 0.74 / 0.94 | 0.85 / 1.00 | 0.74 / 0.97 | 0.86 / 1.00 |
| Source\Target | Stop band = 4–7 \si \kilo \hertz | Stop band = 5–6 \si \kilo \hertz | ||
|---|---|---|---|---|
| A16 | A19 ∗ | A16 | A19 ∗ | |
| A07 | 0.59 / 0.74 | 0.82 / 0.97 | 0.52 / 0.67 | 0.67 / 0.95 |
| A08 | 0.77 / 0.99 | 0.96 / 1.00 | 0.80 / 0.98 | 0.91 / 1.00 |
| A09 | 0.70 / 0.97 | 0.93 / 1.00 | 0.44 / 0.94 | 0.73 / 1.00 |
| A10 | 0.60 / 0.92 | 0.82 / 1.00 | 0.49 / 0.88 | 0.66 / 0.99 |
| A11 | 0.61 / 0.96 | 0.84 / 1.00 | 0.61 / 0.91 | 0.77 / 1.00 |
| Source\Target | Pass band = 4–7 \si \kilo \hertz | Pass band = 5–6 \si \kilo \hertz | ||
|---|---|---|---|---|
| A16 | A19 ∗ | A16 | A19 ∗ | |
| A07 | 0.64 / 0.78 | 0.89 / 0.98 | 0.62 / 0.76 | 0.89 / 0.98 |
| A08 | 0.90 / 1.00 | 0.98 / 1.00 | 0.91 / 1.00 | 0.99 / 1.00 |
| A09 | 0.98 / 1.00 | 1.00 / 1.00 | 0.97 / 1.00 | 1.00 / 1.00 |
| A10 | 0.97 / 1.00 | 0.99 / 1.00 | 0.95 / 1.00 | 0.99 / 1.00 |
| A11 | 0.97 / 1.00 | 0.99 / 1.00 | 0.94 / 1.00 | 0.98 / 1.00 |
| Source\Target | FastDiff | ProDiff | MG-L | Avo | BVG | HF-G | MB-MG | PWG | WGlow | NSF |
|---|---|---|---|---|---|---|---|---|---|---|
| FastDiff | - | 0.96 / 0.96 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 |
| ProDiff | 0.98 / 0.99 | - | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 0.99 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 |
| MG-L | 1.00 / 1.00 | 1.00 / 1.00 | - | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 |
| Avo | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | - | 1.00 / 0.99 | 1.00 / 1.00 | 0.98 / 0.97 | 0.96 / 0.93 | 0.99 / 0.98 | 0.97 / 0.96 |
| BVG | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 0.99 | - | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 |
| HF-G | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | - | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 0.99 | 1.00 / 1.00 |
| Source\Target | FastDiff | ProDiff | MG-L | Avo | BVG | HF-G | MB-MG | PWG | WGlow | NSF |
|---|---|---|---|---|---|---|---|---|---|---|
| FastDiff | - | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 |
| ProDiff | 1.00 / 1.00 | - | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 |
| MG-L | 1.00 / 1.00 | 1.00 / 1.00 | - | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 |
| Avo | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | - | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 |
| BVG | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | - | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 |
| HF-G | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | - | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 |
| Source\Target | MB-MG | PWG |
|---|---|---|
| MB-MG | - | 1.00 / 1.00 |
| PWG | 1.00 / 1.00 | - |
| Real | 1.00 / 1.00 | 1.00 / 1.00 |
| Avg. | 1.00 / 1.00 | 1.00 / 1.00 |
| † Higher AUROC indicates better separation. | ||
| Source\Target | MB-MG | PWG |
|---|---|---|
| MB-MG | - | 1.00 / 1.00 |
| PWG | 1.00 / 1.00 | - |
| Real | 1.00 / 1.00 | 1.00 / 1.00 |
| Avg. | 1.00 / 1.00 | 1.00 / 1.00 |
| † Higher AUROC indicates better separation. | ||
| Source\Target | A01 | A02 | A03 | A04 | A05 ∗ | A06 ∗ |
|---|---|---|---|---|---|---|
| A01 | - | 1.00 / 1.00 | 1.00 / 1.00 | 0.80 / 0.76 | 1.00 / 1.00 | 1.00 / 1.00 |
| A02 | 0.94 / 0.98 | - | 0.44 / 0.87 | 0.88 / 0.98 | 0.77 / 0.74 | 1.00 / 1.00 |
| A03 | 0.98 / 1.00 | 0.99 / 1.00 | - | 0.96 / 0.98 | 0.91 / 0.95 | 1.00 / 1.00 |
| A04 | 0.84 / 0.92 | 1.00 / 1.00 | 1.00 / 1.00 | - | 1.00 / 1.00 | 0.99 / 1.00 |
| A05 ∗ | 0.97 / 0.98 | 0.99 / 0.99 | 0.72 / 0.95 | 0.88 / 0.98 | - | 1.00 / 1.00 |
| A06 ∗ | 0.84 / 0.82 | 1.00 / 1.00 | 1.00 / 1.00 | 0.71 / 0.71 | 1.00 / 1.00 | - |
| Source\Target | C1 | C2 | C3 | C4 | C5 | C6 |
|---|---|---|---|---|---|---|
| C1 | - | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 |
| C2 | 0.99 / 0.99 | - | 1.00 / 1.00 | 0.98 / 0.99 | 0.99 / 0.99 | 0.88 / 0.92 |
| C3 | 1.00 / 1.00 | 1.00 / 1.00 | - | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 |
| C4 | 1.00 / 1.00 | 0.99 / 0.99 | 1.00 / 1.00 | - | 1.00 / 1.00 | 0.99 / 1.00 |
| C5 | 1.00 / 1.00 | 0.96 / 0.96 | 1.00 / 1.00 | 0.99 / 0.99 | - | 0.95 / 0.97 |
| C6 | 0.99 / 0.98 | 0.84 / 0.83 | 1.00 / 1.00 | 0.97 / 0.98 | 0.97 / 0.97 | - |
| Model | A-LJSpeech | JSUT | ASVspoof LA | CodecFake |
|---|---|---|---|---|
| X-vector | 0.99 / 0.99 | 0.99 / 0.99 | 1.00 / 1.00 | 1.00 / 1.00 |
| LCNN | 0.98 / 0.98 | 0.98 / 0.98 | 1.00 / 1.00 | 0.99 / 0.98 |
| ResNet | 0.98 / 0.98 | 0.99 / 0.99 | 1.00 / 1.00 | 1.00 / 1.00 |
| SE-ResNet | 0.98 / 0.98 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 |
| RSF (ours) | 1.00 / 1.00 | 1.00 / 1.00 | 0.97 / 0.97 | 0.99 / 0.99 |
| RSF CNN (ours) | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 1.00 |
| Model | A-LJSpeech | JSUT | ASVspoof LA | CodecFake |
|---|---|---|---|---|
| X-vector | 0.0027 / 0.0027 | 0.0033 / 0.0033 | 0.0003 / 0.0003 | 0.0010 / 0.0010 |
| LCNN | 0.0092 / 0.0092 | 0.0157 / 0.0157 | 0.0011 / 0.0011 | 0.0028 / 0.0028 |
| ResNet | 0.0080 / 0.0081 | 0.0150 / 0.0150 | 0.0005 / 0.0005 | 0.0031 / 0.0031 |
| SE-ResNet | 0.0109 / 0.0113 | 0.0035 / 0.0035 | 0.0003 / 0.0003 | 0.0016 / 0.0016 |
| RSF (ours) | 0.0001 / 0.0001 | 0.0000 / 0.0000 | 0.0010 / 0.0010 | 0.0010 / 0.0010 |
| RSF CNN (ours) | 0.0002 / 0.0002 | 0.0081 / 0.0081 | 0.0014 / 0.0014 | 0.0003 / 0.0003 |
| Model | A-LJSpeech | JSUT | ASVspoof | CodecFake |
| X-vector | 0.88 / 0.99 | 1.00 / 1.00 | 0.95 / 0.80 | 1.00 / 0.86 |
| LCNN | 0.96 / 0.97 | 0.98 / 1.00 | 0.97 / 0.89 | 0.95 / 0.92 |
| ResNet | 0.98 / 0.99 | 1.00 / 1.00 | 0.99 / 0.90 | 1.00 / 0.87 |
| SE-ResNet | 0.98 / 0.99 | 1.00 / 1.00 | 0.99 / 0.90 | 1.00 / 0.87 |
| RSF CNN (ours) | 1.00 / 1.00 | 1.00 / 1.00 | 1.00 / 0.91 | 1.00 / 0.87 |
| † Bold marks best-performing models per column. | ||||
| Model | A-LJSpeech | JSUT | ASVspoof | CodecFake |
|---|---|---|---|---|
| X-vector | 0.1367 / 0.0991 | 0.0000 / 0.0000 | 0.0333 / 0.0470 | 0.0022 / 0.0025 |
| LCNN | 0.0077 / 0.0073 | 0.0228 / 0.0216 | 0.0140 / 0.0156 | 0.0197 / 0.0179 |
| ResNet | 0.0013 / 0.0012 | 0.0009 / 0.0009 | 0.0076 / 0.0086 | 0.0059 / 0.0067 |
| SE-ResNet | 0.0046 / 0.0044 | 0.0000 / 0.0000 | 0.0073 / 0.0081 | 0.0070 / 0.0081 |
| RSF CNN (ours) | 0.0028 / 0.0028 | 0.0004 / 0.0004 | 0.0143 / 0.0158 | 0.0029 / 0.0033 |
Audio Deepfake Detection
Audio deepfake detection identifies synthetic, cloned, or manipulated speech and other audio to support authentication and media forensics.
See all 217 papers