Abstract
Flow Matching (FM) has emerged as a promising alternative to diffusion-based generative models for speech enhancement, offering faster sampling and improved stability. This paper systematically evaluates different training objectives for FM, including velocity prediction and preconditioned $x_1$ prediction. Our findings demonstrate that while standard velocity prediction is robust, an EDM-based preconditioned $x_1$ objective achieves comparable quality while converging nearly twice as fast. Furthermore, integrating perceptual (PESQ) and signal-based (SI-SDR) losses significantly boosts performance, allowing the model to outperform established diffusion baselines with as few as five sampling steps.
Introduction
Speech enhancement (SE) is the task of removing noise from audio signals to improve quality and intelligibility. Recent advancements have seen a shift from discriminative masking to generative modeling, particularly diffusion and score-matching models. Despite their high-quality outputs, these models are computationally demanding, requiring numerous sampling steps and often exhibiting training instability.
Flow Matching (FM) addresses these challenges by learning to transport probability densities along straight paths, which simplifies the sampling process. However, the optimal training objective for FM in the context of speech remains under-explored. This study benchmarks various objectives and introduces task-specific loss functions to optimize FM for high-efficiency speech enhancement.
Methodology
We evaluate three primary training formulations for Flow Matching:
- Velocity Prediction ($v_t$): The standard FM approach where the network predicts the vector field mapping noise to clean speech.
- $x_1$ Prediction: The model directly predicts the clean target spectrogram at each flow step.
- Preconditioned $x_1$ Prediction (EDM): Utilizing the "Elucidating the Design Space of Diffusion-Based Generative Models" (EDM) framework, this method rescales inputs and outputs to maintain unit variance and applies uniform loss weighting across time steps.
To further enhance performance, we incorporate a hybrid loss function including PESQ Loss (a differentiable approximation of the Perceptual Evaluation of Speech Quality metric) and SI-SDR Loss (a scale-invariant signal-to-distortion ratio loss to preserve waveform integrity).
Experimental Setup
Experiments were conducted using the VoiceBank-DEMAND dataset, a standard benchmark for SE. Audio was resampled to 16 kHz. The models utilized the Noise Conditional Score Network (NCSN++) architecture as the generative backbone.
Results and Discussion
Convergence and Stability
A key finding is the impact of preconditioning on convergence speed. While vanilla $x_1$ prediction is unstable, the EDM-preconditioned version is highly effective. As shown in Figure 1, the CFM-x1-EDM objective allows the model to reach peak performance in approximately 14k steps, whereas the standard velocity prediction (CFM-v) requires nearly 28k steps to achieve similar results.
Impact of Task-Specific Losses
The addition of PESQ and SI-SDR losses serves as a performance "booster." These losses not only improve final perceptual quality but also accelerate convergence by providing the model with more direct information about human auditory perception. When combining the EDM objective with these losses, the model achieved a PESQ score of 3.34, significantly higher than the base FM model (3.08).
Comparison with Diffusion Baselines
The proposed FM model demonstrates superior efficiency compared to traditional diffusion models. While models like SGMSE+ and StoRM typically require 30 to 50 sampling steps, our FM model achieves state-of-the-art results with only 5 steps.
As detailed in the comparative analysis above, the FM model with EDM preconditioning and hybrid losses achieves a Word Error Rate (WER) of 0.024, outperforming more computationally expensive baselines like StoRM (0.037).
Conclusion
This research highlights the importance of the training objective in Flow Matching for speech enhancement. EDM-based preconditioned $x_1$ prediction, combined with perceptual loss functions, provides a highly efficient and effective framework. Future work will explore post-training alignment strategies to further bridge the gap between objective metrics and human perceptual judgments.
Summary updated