arXiv:2611.04511cs.SDNov 2026

Manuscript Offprint

arXiv:2611.04511

Detector-Guided Vocoder Training for Adversarial Text-to-Speech Synthesis

Jiayan Cui, Davide Salvi, Paolo Bestagini, Stefano Tubaro

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Jiayan Cui, Davide Salvi, Paolo Bestagini, Stefano Tubaro

Dipartimento di Elettronica, Informazione e Bioingegneria (DEIB), Politecnico di Milano jiayan.cui@mail.polimi.it, {davide.salvi, paolo.bestagini, stefano.tubaro}@polimi.it

Abstract—In this paper, we propose a novel Text-to-Speech (TTS) framework designed to perform adversarial attacks against speech deepfake detection systems. Given a TTS model and a detector capable of classifying its outputs as synthetic, our approach fine-tunes the vocoder by integrating the detector into the TTS training loop. Unlike traditional adversarial methods that rely on post-hoc perturbations or external noise injection, our approach enables the generation of synthetic speech that is intrinsically adversarial, capable of lowering the target detector's reliability without requiring additional post-processing steps. We evaluate the framework in both white-box and black-box settings, showing its effectiveness against known and unseen detectors. We also propose a multi-detector strategy that allows the system to simultaneously learn to deceive multiple detectors, showcasing the scalability of the method. Experimental results confirm the efficacy of our approach, which has the potential to impact forensic security and detection countermeasures. At the same time, subjective listening tests reveal that the proposed method also enhances synthesized speech quality.

Index Terms—Audio Forensics, Speech Deepfake, Adversarial Attacks, Anti-forensics, Speech Synthesis

I. INTRODUCTION

Recent advances in speech synthesis and deep learning have led to significant progress in text-to-speech (TTS) technologies, enabling the generation of highly realistic speech with minimal human effort [1], [2], [3]. These technologies have become increasingly important for applications such as accessibility, entertainment, education, and human-computer interaction. At the same time, however, they have also facilitated the creation of speech deepfakes, i.e., synthetic speech signals that closely resemble authentic human speech and can impersonate a target speaker or convey arbitrary spoken content. The increasing realism of these systems has raised significant concerns regarding misinformation, fraud, identity theft, and other malicious applications, motivating extensive research on reliable speech deepfake detection.

To address these threats, the multimedia forensics community has developed a wide range of speech deepfake detectors. Most of these rely on supervised learning, ranging from the use of traditional signal processing techniques [4], [5], to that of more sophisticated models, such as Graph Attention Networks [6] and Transformers [7], [8]. Other strategies exploit transfer learning from pre-trained systems [9], [10], or analyze semantic inconsistencies in the signals [11], [12] to determine their authenticity.

In parallel with the development of forensic detection tools, there has been growing interest in anti-forensic techniques.

These aim to identify and exploit vulnerabilities in detection systems by designing adversarial attacks [13], [14]. In the audio domain, adversarial attacks have predominantly been implemented as post-processing operations. These involve injecting learned additive noise or perturbations into audio signals to hinder their forensic traces and deceive the detectors that are used to process them [15], [16], [17], [18]. For instance, [19] proposed an attack that injects convolutional noise using a linear time-invariant filter, while [20] developed a noise injection attack based on a generalized Hammerstein model to target specific speech deepfake detectors. Similarly, [21] presented a joint adversarial attack capable of deceiving both Automatic Speaker Verification (ASV) systems and speech deepfake detectors simultaneously, while [22] proposed a novel attack in a physical access context, where a replay process is involved. Despite their efficacy, the dependence on post-processing is a key limitation of these methods. Adversarial processing remains a separate stage of the generation pipeline, introducing additional computational complexity and potentially leaving artifacts that can affect perceptual quality or be exploited by more robust forensic methods.

In this paper, we depart from the paradigm of additive noise-based attacks and propose a novel approach that integrates adversarial perturbation directly into the speech synthesis process. Specifically, we fine-tune the vocoder of a TTS system by incorporating the loss of one or more speech deepfake detectors into the vocoder training objective. During optimization, the detector provides differentiable feedback that guides the vocoder towards generating speech signals that retain high perceptual quality while being classified as authentic by the target detector. As a result, the generated speech is intrinsically adversarial and does not require any additional waveform perturbation or post-processing at inference time.

The primary contributions of this work are the following:

  • Detector-guided adversarial synthesis – We propose a detector-guided vocoder optimization framework that generates intrinsically adversarial speech without requiring post-processing operations.
  • Real-time applicability – Since adversarial fine-tuning occurs offline, the system generates adversarial speech in real time without additional runtime overhead.
  • Generalization capability – We evaluate the method under white-box and black-box conditions, showing that it effectively deceives both targeted and unseen detectors. Furthermore, we introduce a multi-detector strategy, enabling

Figure

Fig. 1: Pipeline of the proposed TTS adversarial model.

simultaneous attacks on multiple architectures.

  • Enhanced speech quality – Beyond adversarial robustness, our fine-tuning improves perceptual quality, as validated through a subjective listening test.

References (32)