Manuscript Offprint

arXiv:2611.08011

Route-DMD: Distribution Matching Distillation with Task-Routed Mechanism for Speech Foundation Models

Yanru Huo, Zhikang Niu, Wenming Tu, Junxi Liu, Tian Tan, Shan Yang, Yipeng Kang, Ziyang Ma, Xie Chen, Zilong Zheng

ABSTRACT

Speech foundation models built on flow matching handle generation, editing, and processing in one system, but every request costs 20–50 iterative steps, and classifier-free guidance (CFG) doubles each of them. Distribution matching distillation (DMD) trains a student that approaches the teacher's quality in a few steps, yet existing speech distillation work applies it to generation alone. We show that a distribution-matching objective does not serve every task: in separation, the noised states of erroneous student outputs deviate far from the teacher's training distribution, where its prediction is unreliable. Route-DMD therefore makes the objective task-dependent, routing the affected tasks to a regression loss and keeping decoupled distribution matching elsewhere. The student is initialized by consistency distillation, and teacher rollouts use adaptive projected guidance (APG) instead of CFG. Without CFG, the 4-step student matches the 32-step teacher on generation, editing, and processing tasks at a 4.5×4.5 \times end-to-end speedup 1^{1}.

Index Terms— speech foundation model, distribution matching distillation, few-step sampling, speech synthesis, speech editing

1. INTRODUCTION

Diffusion and flow-matching models have achieved high-quality generation across image [1], video [2, 3], and audio domains [4, 5]. In speech, this approach now supports not only zero-shot TTS but also speech foundation models that combine generation and editing in one system, with AuK [6] pushing this direction by integrating up to 15 speech tasks into one model with competitive performance. However, flow-matching models face an efficiency bottleneck: each request typically requires 20–50 neural function evaluations, and CFG doubles the computation per step. This significantly increases response latency during deployment.

Few-step distillation addresses this bottleneck by replacing the teacher with a student model that samples in a few steps. These methods can be categorized into trajectory-level approaches [7, 8], which are stable but limited by the teacher's trajectory, and distribution-level approaches [9, 10], which achieve higher few-step fidelity. Speech systems have adopted both approaches [11, 12]; however, all of them are validated solely on generation tasks. The distillation of a speech foundation model that also supports editing and speech processing remains unexplored.

Applying DMD to a speech foundation model, however, severely degrades its separation capability. In this task, the noised state of an erroneous student sample deviates far from the distribution where the teacher is trained, making the teacher's predictions unreliable. Allowing the teacher to predict from a noised ground-truth target mitigates this degradation (Fig. 2). Additionally, since separation has a single correct answer given the instruction, a per-sample loss can reliably supervise the student against an exact target.

To address this gap, we propose Route-DMD (Fig. 1), a two-stage distillation framework for speech foundation models. The first stage uses consistency distillation to give the student model with a few-step starting point for the subsequent DMD stage, leading to faster convergence and improved final generation quality. In the second stage, training is routed by task: separation samples are trained with a regression loss and excluded from DMD, while generation and editing samples, including TTS and instruction-guided speech editing, are trained with Decoupled DMD [10]. Additionally, we replace CFG with APG [13] in the DMD stage to prevent the artifacts of CFG-guided teacher predictions from propagating to the student.

Our contributions are threefold. First, we show that distribution matching does not serve every task, and attribute the failure to unreliable teacher predictions. Second, we propose Route-DMD, which routes separation tasks to regression loss and initializes the student with consistency distillation. Third, we adopt APG teacher rollouts to prevent guidance artifacts during distillation. The student model requires only four steps without CFG and matches or surpasses the 32-step teacher with a 4.5×4.5 \times end-to-end speedup.

References (39)