arXiv:2610.09448eess.ASOct 2026

Manuscript Offprint

arXiv:2610.09448

Beyond Token Revision: Investigating Mask-and-Replace Diffusion for Zero-Shot Text-to-Speech

Hounsu Kim, Joonyong Park, Yuki Saito, Satoru Fukayama, Juhan Nam

ABSTRACT

Unlike autoregressive models, discrete diffusion-based models for zero-shot text-to-speech generate speech tokens in parallel and can revisit earlier predictions. Mask-and-replace training extends mask-only training by randomly replacing some tokens, and its gains are commonly attributed to self-correction, the ability to revise previously generated tokens. However, exposure to randomly perturbed context during training may itself improve generation, raising the question of whether these gains require inference-time token revision. To investigate this question, we use DeMaR, which combines mask-and-replace training with confidence-ranked mask-only sampling while preserving the total training corruption probability. Trained from scratch on LibriTTS, DeMaR achieves lower word error rates (WER) than autoregressive and mask-only diffusion baselines using the same speech tokenizer. This advantage persists when each token remains unchanged after first being unmasked. Matched training conditions on two heterogeneous speech tokenizers show that both noisy-context augmentation and replacement supervision improve WER under this restriction. These findings demonstrate training-side benefits of replacement beyond enabling inference-time token revision.

Index Terms— zero-shot text-to-speech, discrete diffusion, speech language models, data augmentation, token revision

1. INTRODUCTION

Zero-shot text-to-speech (TTS) generates speech from text using reference speech to specify the speaker's voice, without speaker-specific fine-tuning [1, 2]. Speech language models (SpeechLMs) perform this task by generating discrete speech tokens that a waveform decoder converts to audio [3]. Autoregressive language models (AR-LMs) generate tokens sequentially, whereas discrete diffusion language models (DLMs) recover clean speech-token sequences from corrupted inputs through repeated parallel predictions [4]. With linguistic content supplied by the input text, this non-autoregressive generation offers a way to reduce reliance on preceding token predictions and potentially limit error accumulation [5].

In the forward process, mask-only training masks some target tokens, whereas mask-and-replace training also replaces some with randomly sampled alternatives [6, 7]. Both approaches train the model to reconstruct the original sequence. Reconstruction loss at replaced positions (replacement supervision) trains the model to recover the original tokens from randomly substituted ones, potentially supporting self-correction at inference. Beyond serving as reconstruction targets, these replaced positions also provide noisy context for predicting masked tokens. We hypothesize that this noisy-context augmentation can improve generation even without replacement supervision or inference-time revision.

To test this hypothesis, we use DeMaR (decoupled mask-and-replace), which combines mask-and-replace training with confidence-ranked mask-only sampling for conditional speech-token generation. Following D3RM [8], DeMaR uses replacement only during training. At inference, masks alone carry the combined training probability of masking and replacement. This mask-only sampling procedure allows a commit-only variant in which each token remains unchanged once it is first unmasked. Keeping the trained model and masking schedule fixed, we use this variant to test whether the gains persist without inference-time revision.

Our contributions are summarized as follows:

• Benefits beyond inference-time revision. DeMaR retains its WER advantage over mask-only DLMs (Mo-DLMs) under commit-only sampling. We also distinguish the effects of direct token revision from those of confidence-based remasking.

• Training-side contributions. Matched training conditions show that noisy-context augmentation improves WER without replacement supervision or inference-time revision, while replacement supervision provides further gains under commit-only sampling. Our comparison covers two heterogeneous tokenizers: CosyVoice3's fixed-rate tokens [9] and FlexiCodec's variable-rate content and span sequences [10].

References (28)