Hierarchical Decoding for Discrete Speech Synthesis with Multi-Resolution Spoof Detection

Junchuan Zhao, Minh Duc Vu, Ye Wang · DOI

Abstract

Neural codec language models enable high-quality discrete speech synthesis, yet their inference remains vulnerable to token-level artifacts and distributional drift that degrade perceptual realism. Rather than relying on preference optimization or retraining, we propose MSpoof-TTS, a training-free inference framework that improves zero-shot synthesis through multi-resolution spoof guidance. We introduce a Multi-Resolution Token-based Spoof Detection framework that evaluates codec sequences at different temporal granularities to detect locally inconsistent or unnatural patterns. We then integrate the spoof detectors into a hierarchical decoding strategy, progressively pruning low-quality candidates and re-ranking hypotheses. This discriminator-guided generation enhances robustness without modifying model parameters. Experiments validate the effectiveness of our framework for robust and high-quality codec-based speech generation.

Introduction

Modern zero-shot text-to-speech (TTS) systems, such as VALL-E, treat speech synthesis as a language modeling task by predicting discrete codec tokens. However, these models often suffer from distributional drift. During training, models observe ground-truth ("golden") sequences, but during inference, they generate tokens autoregressively based on their own previous, potentially flawed, outputs. This leads to accumulated errors, audible artifacts, and unnatural repetitions. MSpoof-TTS addresses this by providing a "plug-and-play" guidance mechanism during generation, avoiding the need for expensive retraining or complex reinforcement learning.

Methodology

The MSpoof-TTS framework introduces two core innovations: a multi-resolution detection system and a hierarchical sampling strategy.

Multi-Resolution Token-based Spoof Detection

Instead of evaluating final audio waveforms, MSpoof-TTS utilizes five Conformer-based discriminators trained to identify "fake" patterns directly in the discrete token space. These detectors operate across multiple scales:

  • Temporal Scales: Contiguous segments of 10, 25, and 50 tokens are analyzed to capture both local glitches and broader structural inconsistencies.
  • Structural Scales: "Skip-sampled" sequences (e.g., every 2nd or 5th token) are evaluated to detect rhythmic or periodic irregularities that might be missed by contiguous analysis.
Overview of the MSpoof-TTS framework and the architecture of the discrete token spoof detector.

Hierarchical Spoof-Guided Sampling

The decoding process is transformed into a multi-stage pruning and re-ranking pipeline. During generation, the system generates candidate continuations and prunes those flagged by the 10-token detector. Surviving candidates are extended and pruned again using the 25-token detector. Finally, an aggregate score from the 50-token and skip-sampled detectors is used for a final re-ranking.

Additionally, the framework employs Entropy-Aware Sampling (EAS), which uses a memory buffer to intelligently penalize repetitive tokens, improving upon standard heuristic methods.

Token-Level Analysis

A key insight of this work is that the statistical discrepancy between real and synthetic speech is manifest in the discrete token space. As shown in the t-SNE visualization below, "golden" tokens and synthetic tokens form distinct clusters, indicating that artifacts are detectable long before the tokens are synthesized into audio.

t-SNE visualization showing the distributional gap between golden and synthetic tokens.

Experimental Results

MSpoof-TTS was evaluated on LibriSpeech and the challenging TwistList benchmark.

  • Perceptual Quality: On LibriSpeech, the HierEAS strategy achieved a NISQA score of 4.602, significantly outperforming the baseline (4.462) and nearing ground-truth quality (4.620).
  • Robustness: On TwistList, a dataset of phonetically dense tongue twisters, the method maintained high intelligibility while significantly improving perceptual quality scores compared to standard sampling methods.
  • Human Evaluation: Subjective tests confirmed that human listeners preferred the hierarchical strategies for both naturalness and overall quality, without sacrificing speaker identity.

Conclusion

MSpoof-TTS demonstrates that the quality of frozen, pre-trained TTS models can be significantly enhanced through intelligent, training-free guidance during inference. By leveraging multi-resolution spoof detectors, the system effectively prunes unnatural generation paths. Future work will focus on reducing the computational overhead of running multiple discriminators and exploring the application of this multi-resolution approach to other discrete-token generation tasks like music or video synthesis.

Summary updated

Abstract

Neural codec language models enable high-quality discrete speech synthesis, yet their inference remains vulnerable to token-level artifacts and distributional drift that degrade perceptual realism. Rather than relying on preference optimization or retraining, we propose MSpoof-TTS, a training-free inference framework that improves zero-shot synthesis through multi-resolution spoof guidance. We introduce a Multi-Resolution Token-based Spoof Detection framework that evaluates codec sequences at different temporal granularities to detect locally inconsistent or unnatural patterns. We then integrate the spoof detectors into a hierarchical decoding strategy, progressively pruning low-quality candidates and re-ranking hypotheses. This discriminator-guided generation enhances robustness without modifying model parameters. Experiments validate the effectiveness of our framework for robust and high-quality codec-based speech generation.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
LibriTTS · test-clean splitModel 1 (resolution 50)AUC0.9199Spoof Detection · split: test-clean · resolution=50
Source quote
L256: Model 1 │ 50 │ 0.9199 │ 0.8616 │ 0.8180
LibriTTS · test-clean splitModel 2 (resolution 25)AUC0.8298Spoof Detection · split: test-clean · resolution=25
Source quote
L257: Model 2 │ 25 │ 0.8298 │ 0.8034 │ 0.6892
Reported baseline / comparator measurements (2)
BenchmarkMethodMetricScoreProtocol / Evidence
TwistList test setOriginal (default top-k sampling) baselineNISQA4.459Speech Synthesis · split: test
Source quote
L232: Original │ 0.1654 │ 0.871 │ 4.459 │ 3.8692
TwistList test setOriginal (default top-k sampling) baselineMOSNET3.8692Speech Synthesis · split: test
Source quote
L232: Original │ 0.1654 │ 0.871 │ 4.459 │ 3.8692
BibTeX
@misc{zhao2026hierarchical,
  author = {Junchuan Zhao and Minh Duc Vu and Ye Wang},
  title = {{Hierarchical Decoding for Discrete Speech Synthesis with Multi-Resolution Spoof Detection}},
  year = {2026},
  eprint = {2603.05373},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.05373},
}
Figure