Detecting the Undetectable: Assessing the Efficacy of Current Spoof Detection Methods Against Seamless Speech Edits

Sung-Feng Huang, Heng-Cheng Kuo, Zhehuai Chen, Xuesong Yang, Chao-Han Huck Yang, Yu Tsao, Yu-Chiang Frank Wang, Hung-yi Lee, Szu-Wei Fu

TL;DR

As neural speech editing tools evolve from crude "cut-and-paste" methods to seamless context-aware "speech infilling," detecting deepfakes is becoming significantly harder for humans. This paper introduces the Speech INfilling Edit (SINE) dataset to benchmark this new threat and demonstrates that while traditional detectors fail, self-supervised learning (SSL) models can successfully expose these otherwise "undetectable" audio manipulations.

What Problem Does This Paper Address?

Traditional audio spoofing and deepfake detection methods have a major blind spot: they rely on finding the digital "seams" left behind by cut-and-paste (CaP) editing. When an attacker replaces a word in a real audio file with a synthesized one, the abrupt transition typically creates phase or spectral discontinuities at the boundaries.

However, modern generative models like Voicebox and $\text{A}^3\text{T}$ use speech infilling. Instead of pasting audio, they mask out a segment and regenerate it seamlessly, conditioning the new audio on both the target text and the surrounding acoustic context. This eliminates boundary artifacts, matching the original speaker's timbre and environment perfectly. This paper investigates whether our current state-of-the-art (SOTA) deepfake detectors can handle these seamless edits, or if we are completely defenseless against them.

Comparison of traditional cut-and-paste editing vs. seamless speech infilling.

Methods

Because the original Voicebox code and weights are proprietary, the authors first re-implemented and trained their own Voicebox model using the LibriLight medium dataset. To optimize it for clean edits, they modified the training protocol to use an utterance-level reconstruction loss rather than a masked reconstruction loss, ensuring high-quality preservation of the unedited audio portions.

To generate realistic fake transcripts, they leveraged a Large Language Model (Zephyr-7B-beta) to automatically substitute keywords (like changing a word to its antonym or swapping named entities) to alter the semantic meaning of sentences naturally.

Finally, they evaluated four SOTA partial-fake audio detectors originally designed for the ADD 2022/2023 challenges: SSL-Linear, Res2d-Trans, Res1d-BLSTM, and VGG-BGRU.

Datasets

The authors introduced a new benchmark dataset: the Speech INfilling Edit (SINE) dataset.

Derived from LibriLight and aligned using the Montreal Forced Aligner against LibriHeavy transcripts, SINE contains approximately 95,000 clips (each 6–8 seconds long). It features four distinct audio configurations split across a speaker-independent 6:2:2 ratio (Train/Val/Test):

  • Real: Unaltered original audio.
  • Resynthesized-real (Resyn): Original audio passed entirely through a Vocos vocoder to isolate vocoding artifacts from editing artifacts.
  • CaP: Traditional cut-and-paste edited audio.
  • Infilling (Infill): Seamlessly edited audio generated via Voicebox.
Table 1: Statistics of SINE dataset.

Key Insights and Ideas

  • Humans are easily fooled: A 5-point subjective naturalness test confirmed that seamless infilling edits are vastly more difficult for human listeners to identify compared to traditional CaP edits.
  • The "Discontinuity Trap": Standard deepfake detectors heavily overfit to boundary cuts. When tested on seamless infilling, models like Res2d-Trans completely failed to learn frame-level localization, proving that current defense pipelines are overly reliant on primitive acoustic artifacts.
  • The Power of Self-Supervised Pre-training: The SSL-Linear detector, which utilizes a frozen wav2vec2-base-960 front-end, vastly outperformed all other models. This indicates that large-scale self-supervised pre-training on real speech captures generalized representations of speech consistency that supervised models trained from scratch completely miss.
  • Smart Training via Resyn-Infill: By pairing vocoded real audio (Resyn) with infilled audio (Infill) during training, detectors are forced to ignore vocoder-specific acoustic patterns and instead focus on the subtle, universal structural anomalies of generative speech synthesis.

Key Results

  • Subjective Human Evaluation: On a scale of 1 (fake) to 5 (real), real audio scored ~4.5, CaP scored ~2.2, and Infilling scored ~3.3, quantitatively proving that seamless edits successfully trick human intuition.
Fig. 2: Subjectivev Scores of different speech edit methods.
  • Detector Performance: SSL-Linear achieved stellar results on the SINE test set, maintaining a frame-level F1-score of 92.87% and an utterance-level accuracy of 99.59% on the Real-Infill task. Conversely, other models suffered massive generalization drops during testing.
Quantitative performance metrics of the four SOTA detectors on the SINE dataset.
  • Robustness: SSL-Linear proved resilient to MP3 compression (32kbps) and high SNR noise, though its frame-level localization accuracy degraded under severe low SNR (-10 to 0 dB) conditions.

Limitations and Future Work

The primary limitation highlighted by the authors is cross-model generalization. While the SSL-Linear detector mastered the SINE dataset (built on Voicebox), it completely failed to generalize when tested against audio edited by entirely unseen architectures, such as the language-model-based VoiceCraft, or when evaluated cross-lingually (e.g., on the Mandarin HAD dataset).

Future research must move away from model-specific artifact detection and focus on developing universally applicable detectors capable of identifying semantic and acoustic anomalies across diverse languages and generative architectures.

Summary updated

Abstract

Neural speech editing advancements have raised concerns about their misuse in spoofing attacks. Traditional partially edited speech corpora primarily focus on cut-and-paste edits, which, while maintaining speaker consistency, often introduce detectable discontinuities. Recent methods, like A\textsuperscript{3}T and Voicebox, improve transitions by leveraging contextual information. To foster spoofing detection research, we introduce the Speech INfilling Edit (SINE) dataset, created with Voicebox. We detailed the process of re-implementing Voicebox training and dataset creation. Subjective evaluations confirm that speech edited using this novel technique is more challenging to detect than conventional cut-and-paste methods. Despite human difficulty, experimental results demonstrate that self-supervised-based detectors can achieve remarkable performance in detection, localization, and generalization across different edit methods. The dataset and related models will be made publicly available.
BibTeX
@inproceedings{huang2024detecting,
  author = {Sung-Feng Huang and Heng-Cheng Kuo and Zhehuai Chen and Xuesong Yang and Chao-Han Huck Yang and Yu Tsao and Yu-Chiang Frank Wang and Hung-yi Lee and Szu-Wei Fu},
  title = {{Detecting the Undetectable: Assessing the Efficacy of Current Spoof Detection Methods Against Seamless Speech Edits}},
  booktitle = {SLT},
  year = {2024},
  doi = {10.1109/slt61566.2024.10832200},
}
Figure