Flowing Straighter with Conditional Flow Matching for Accurate Speech Enhancement
Mattias Cross, Anton Ragni

TL;DR
This paper investigates the impact of path straightness in flow-based speech enhancement models, demonstrating that straight, time-independent paths lead to better quality and simpler inference compared to curved paths.
Contribution
It introduces independent conditional flow matching for speech enhancement, showing that straight paths improve performance and proposing a one-step inference method for efficiency.
Findings
Straight paths improve speech enhancement quality.
Time-independent variance has a significant impact on sample quality.
One-step inference achieves comparable results to multi-step methods.
Abstract
Current flow-based generative speech enhancement methods learn curved probability paths which model a mapping between clean and noisy speech. Despite impressive performance, the implications of curved probability paths are unknown. Methods such as Schrodinger bridges focus on curved paths, where time-dependent gradients and variance do not promote straight paths. Findings in machine learning research suggest that straight paths, such as conditional flow matching, are easier to train and offer better generalisation. In this paper we quantify the effect of path straightness on speech enhancement quality. We report experiments with the Schrodinger bridge, where we show that certain configurations lead to straighter paths. Conversely, we propose independent conditional flow-matching for speech enhancement, which models straight paths between noisy and clean speech. We demonstrate…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSpeech and Audio Processing
\theorembodyfont\theoremheaderfont\theorempostheader
: \theoremsep
\jmlrvolume277 \jmlryear2025 \jmlrworkshopMachine Learning Meets Differential Equations: From Theory to Applications
CFM conditional flow-matching SGM score-based generative model SNR signal-to-noise ratio GAN generative adversarial network VAE variational autoencoder DDPM denoising diffusion probabilistic model STFT short-time Fourier transform iSTFT inverse short-time Fourier transform SDE stochastic differential equation ODE ordinary differential equation OU Ornstein-Uhlenbeck VE variance exploding OUVE Ornstein-Uhlenbeck process with variance exploding DNN deep neural network PESQ Perceptual Evaluation of Speech Quality SE speech enhancement T-F time-frequency ELBO evidence lower bound WPE weighted prediction error MAC multiply–accumulate operation PSD power spectral density RIR room impulse response SNR signal-to-noise ratio LSTM long short-term memory POLQA Perceptual Objectve Listening Quality Analysis SDR signal-to-distortion ratio SI-SDR scale invariant signal-to-distortion ratio ESTOI Extended Short-Term Objective Intelligibility ELR early-to-late reverberation ratio TCN temporal convolutional network DRR direct-to-reverberant ratio NFE number of function evaluations RTF real-time factor MOS mean opinion score EMA exponential moving average SB Schrödinger bridge SGMSE score-based generative models for speech enhancement EDM elucidating the design space of diffusion-based generative models GPU graphics processing unit VB-DMD Voicebank-Demand SB-VE Schrödinger bridge with variance exploding diffusion coefficient SB-SV Schrödinger bridge with static variance ICFM independent conditional flow-matching SE speech enhancement FM flow matching CNF continuous normalising flows OT optimal transport VE-SDE Stochastic differential equation with variance exploding diffusion coefficient DM diffusion model ML machine learning DDP direct data prediction
Flowing Straighter with Conditional Flow Matching for Accurate Speech Enhancement
\NameMattias Cross \[email protected]
\NameAnton Ragni \[email protected]
\addrSchool of Computer Science
The University of Sheffield
Sheffield
UK
Abstract
Current flow-based generative speech enhancement methods learn curved probability paths which model a mapping between clean and noisy speech. Despite impressive performance, the implications of curved probability paths are unknown. Methods such as Schrödinger bridges focus on curved paths, where time-dependent gradients and variance do not promote straight paths. Findings in machine learning research suggest that straight paths, such as conditional flow matching, are easier to train and offer better generalisation. In this paper we quantify the effect of path straightness on speech enhancement quality. We report experiments with the Schrödinger bridge, where we show that certain configurations lead to straighter paths. Conversely, we propose independent conditional flow-matching for speech enhancement, which models straight paths between noisy and clean speech. We demonstrate empirically that a time-independent variance has a greater effect on sample quality than the gradient. Although conditional flow matching improves several speech quality metrics, it requires multiple inference steps. We rectify this with a one-step solution by inferring the trained flow-based model as if it was directly predictive. Our work suggests that straighter time-independent probability paths improve generative speech enhancement over curved time-dependent paths.
keywords:
speech enhancement, conditional flow matching, neural ordinary differential equations
††editors: Cecília Coelho, Bernd Zimmering, M. Fernanda P. Costa, Luís L. Ferrás, Oliver Niggemann
1 Introduction
Understanding what people say in noisy environments, such as a crowded café, is tricky for computers. Suppressing background noise in speech recordings, known as speech enhancement (SE), is a task that has seen many proposed solutions involving flow-based generative methods. These methods solve SE by estimating the distribution of clean speech, which can be conditionally sampled from given noisy speech input (Richter et al., 2025). The clean distribution is estimated with continuous normalising flows (CNF), models that learn a mapping between two distributions with a neural ordinary differential equation (ODE) (Chen et al., 2018). Neural ODEs are ODEs parameterised with a neural network to estimate a velocity field that pushes samples from a source to a target distribution, enabling a continuous mapping that can be computed with ODE solvers. The SE problem is particularly well-suited to CNFs because samples of source-target pairs are similar: the source sample is the target with added noise and potentially reverberation. There are many methods for training CNFs: diffusion models (Sohl-Dickstein et al., 2015; Song et al., 2021), Schrödinger bridges (SBs) (Chen et al., 2021; De Bortoli et al., 2021; Wang et al., 2021), and flow matching (FM) (Lipman et al., 2023; Albergo et al., 2023; Liu et al., 2022; Tong et al., 2024). DM and Schrödinger bridge (SB) have received attention as powerful SE methods (Jukić et al., 2024; Richter et al., 2025, 2023), with FM being less explored at the time of writing. The methods for training CNFs described above define a Gaussian probability path which interpolates between a pair of distributions; each method is identifiable by its probability path and source distribution (with the consistent target distribution being clean speech; Figure 1). For example, SB defines a path that solves the SB problem between the exact noisy and clean speech distributions (elaborated in \sectionrefsec:schr). This path is typically time-dependent, where “time” describes progress along the path between the pair of distributions, and where the ODE is a function of time. Since the SB path interpolates the exact data, the ODE is accurate and does not require numerous ODE steps, yielding practical inference speed. Despite the strong modelling power of SB, time-dependent gradients and variance can cause curved paths. Many works in the machine learning (ML) literature suggest that straight paths are preferred over curves because they are easier to train and experience less ODE sampling errors (Lipman et al., 2023; Albergo et al., 2023; Liu et al., 2022; Tong et al., 2024), giving rise of FM. The goal of FM is to induce straight paths by relaxing constraints on probability path design to any velocity field (flow) that interpolates source- and target-distributions. This relaxation allows various straighter paths to be chosen, such as an optimal transport displacement interpolant (McCann, 1997). This formulation produces straight paths with time-independent velocity, resulting in faster training and ODE inference, and higher sample quality (Lipman et al., 2023, 2024). The intuition behind this is that straighter paths are easier to sample with ODE solvers, and fewer curves demand less modelling power from the neural ODE. However, the originally proposed FM is not well-suited for data-to-data tasks such as SE because it considers paths from the standard normal distribution, not empirical data such as the noisy speech distribution. To relax this, independent conditional flow-matching (ICFM) generalises FM to the independent coupling of two general distributions, e.g. a path between paired data (Tong et al., 2024). Although SB produces state-of-the-art results for SE, it is unknown if its time-dependent and potentially curved path could be improved by using straighter paths. Further, time-independent models such as ICFM have not been proposed for direct SE, although there has been work on ICFM from audio-visual embeddings for SE (Jung et al., 2024). Concurrent to our work, FM with time-varying variance has been adapted to the SE task in FlowSE (Lee et al., 2025), and an alternative time-varying FM set-up with modifications for improved one-step performance has also been proposed (Korostik et al., 2025). Although these two works are relevant, neither explores time-independent variance. In light of this, we explore the impact of time-dependence on the probability path for SE by comparing SB to ICFM (\figurereffig:sb_cfm_spec). We show that although certain configurations of SB ensue time-independent gradients, a time-independent variance is not supported. To identify the significance of time-independent gradient and variance on sample quality, we propose Schrödinger bridge with static variance (SB-SV), a model whose gradient is equal to SB but with time-independent variance. As an example of a model which, by design, has time-independent paths, we propose and evaluate a novel formulation of independent conditional flow-matching (ICFM) for SE. We find that speech quality metrics increase when introducing SB-SV, which are then further improved with ICFM. These observations suggest that time independence is important for high sample quality. We also evaluate the link between the number of ODE steps and speech quality. SB is robust to one-step ODE inference, but our proposed models require thirty steps to achieve the best results. We rectify this by proposing a simple approach for one-step inference with direct data prediction (DDP) of clean speech from noisy speech input. We find samples from DDP to be on par, if not surpass, those produced by ODEs.
The rest of this paper outlines the SB method along with our proposed SB-SV and ICFM for SE, including our DDP inference in \sectionrefsec:method. \sectionrefsec:experiments details experiments. Finally, the results are presented with a discussion in \sectionrefsec:results_and_disc.
2 Flow-based models for speech enhancement
2.1 General definition
In generative SE, flow-based models are defined as models that learn a marginal path between a prior and the clean speech distribution . A Gaussian probability path that satisfies these boundaries can be defined by
[TABLE]
where is the process state at time and is a noisy speech sample, and is clean speech; is the complex short-time Fourier transform (STFT) domain. The prior , mean , and variance are not arbitrary and must be defined during model design (later described in \equationrefeq:sb_mean_variance,eq:icfm_mean_variance,eq:sbsv_mean_variance). For example, score-based generative models for speech enhancement (SGMSE) (Welker et al., 2022) and independent conditional flow-matching (ICFM) define as a Gaussian distribution centred around , and SB defines as the exact noisy data distribution with samples . When computing the path on new data, the clean speech is unknown, leaving intractable. Flow-based models aim to train a neural ODE to estimate without requiring . This is achieved by training a neural network to predict the gradient of . For a given discretisation schedule with steps, the neural ODE sampler is
[TABLE]
where , , and are determined according to the designed path (1), shown in \equationrefeq:sb_ode,eq:fm_ode,eq:fm_ode2 below. The rest of this section outlines examples of the variety of paths possible with this framework, specifically paths of varying straightness.
2.2 Schrödinger bridge with variance exploding diffusion coefficient (SB-VE)
The SB problem originally considers a group of particles that we assume to move via Brownian motion, with position distribution observations and at times 0 and 1 respectively (Schrödinger, 1932; Léonard, 2013). Then, imagine an unexpected (rare) event occurs such that our observation at time 1 differs substantially from what would be predicted by Brownian motion. The SB problem lies in finding the most likely path between our two observations that adheres most to Brownian motion. Formally, SB is defined as finding the probability path between boundaries and that minimises the Kullback-Leibler divergence w.r.t. a pre-specified Brownian reference
[TABLE]
where is the space of all probability paths between . Many works in the ML community use the SB problem to model exact distribution-to-distribution processes that flow similarly to diffusion (De Bortoli et al., 2021; Chen et al., 2021; Vargas, 2021). The diffusion-based SGMSE uses Brownian motion, but a prior mismatch is introduced because the noisy speech distribution cannot be accurately represented by Brownian motion (Lay et al. (2023). Therefore, SB approaches for SE (Jukić et al., 2024; Wang et al., 2024) allow a DM to be trained that respects the boundary conditions between noisy and clean speech distributions. To solve the SB-problem, one can use a closed-form solution between Gaussian measures, such as and (Bunne et al., 2023). We follow prior works (Jukić et al., 2024; Richter et al., 2025) and solve the SB problem between noisy and clean speech data with a stochastic differential equation with a variance-exploding diffusion coefficient (Song et al., 2021) as a Brownian reference
[TABLE]
The hyperparameters and change the shape of the probability path. \figurereffig:k_c shows how these values affect the interpolation weight and the variance . Typical values are and (Jukić et al., 2024), which results in sub-linear interpolation between the data boundaries with exponentially increasing variance satisfying . It can be seen that the gradient and variance of this path are time-dependent, but the gradient becomes more linear as (\figurereffig:k_c). As stated in \sectionrefsec:fbm, clean data samples are unknown during inference, which motivates training a neural network to estimate the clean data given the current sample along the probability path
[TABLE]
where and are sampled from paired data, , and . This data prediction allows the gradient of to be indirectly calculated and sampled with an SB ODE defined by Jukić et al. (2024) as
[TABLE]
where . The above allows us to predict clean speech from noisy speech by solving the SB ODE (2). Not only are the gradient and variance time-dependent, but the ODE solver is also time-dependent.
2.3 Independent
conditional flow-matching (ICFM)
ML research suggests that FM is a good form of flow-based model because straight paths are easier to learn and result in fewer ODE errors, improving sample quality (Liu et al., 2022; Albergo et al., 2023; Lipman et al., 2023). Here, we outline our first proposed model as a method to train ICFM for the SE task. As described in \sectionrefsec:intro, ICFM is a generalisation of FM which considers the optimal path between independently coupled distributions. This is generally defined as McCann’s interpolation (McCann, 1997), which we write as a probability path for SE
[TABLE]
where is a hyperparameter controlling variance. As seen in the SB probability path (4), the clean speech sample is yet again unknown during inference, requiring a model trained with the data prediction loss (5). A trained neural data predictor can then be used as a neural ODE (6) with the following coefficients
[TABLE]
Compared to the SB, the gradient and variance of the ICFM probability path ( and respectively) do not depend on ; the path is straight (time-independent). Contrary to SB, which uses a data prediction loss, we can directly learn the gradient of the probability path with an FM loss
[TABLE]
which can be sampled with
[TABLE]
It can be shown that ICFM is a path between a Gaussian convolution over the exact data boundaries (proposition 3.3 from Tong et al. (2024)), contradicting the exact data interpolation SB provides. This means there is added variance (noise) to the boundaries, which may cause inaccurate predictions but may also help with regularisation.
2.4 Schrödinger bridge with static variance (SB-SV)
Up to this point, we have discussed two approaches for straighter paths: a special case of SB-VE has straighter gradients (), and ICFM additionally has time-independent variance. Neither has solely time-independent variance, leading to our second proposed model: Schrödinger bridge with static variance (SB-SV). SB-SV is an example of a path with a time-dependent gradient from (4) with a time-independent variance from (7). We define the SB-SV path as
[TABLE]
where is defined as the same as in (4). SB-SV is trained with the data prediction loss (5) and sampled with the SB ODE (6). Since never reaches zero at the boundaries, it no longer satisfies the boundary conditions of the SB problem, so it must be seen as a modified SB model whose mean solves the SB problem, but its variance does not. Trading exact data interpolation for time-independent variance may lead to a model that is easier to sample, but risks both a prior and target distribution mismatch due to the variance assigned at the boundaries of the probability path. Although a static variance promotes straighter paths, the variance added to the target distribution may increase the number of ODE steps required to overcome the error introduced by the variance. The impacts of this prior mismatch and added variance are reported later in \sectionrefsec:results_and_disc.
2.5 Inference with direct data prediction (DDP)
To avoid such multi-step inference with ODE solvers, we propose a formula that exploits the data predictive properties of flow-based models to extract the clean speech data directly from noisy input . Given that models trained with the data prediction loss (5) predict data, clean speech can be sampled in one step with
[TABLE]
and models trained with FM (7) predict a gradient towards clean data (), so we add to the model output
[TABLE]
The above formulae provide a one-step method for clean speech prediction that does not require ODE solvers for all .
3 Experimental Setup
To survey the advantages of straighter probability paths, we investigate time-independent gradients and variance. We evaluate our proposed methods, SB-SV (\sectionrefsec:sbsv), ICFM (\sectionrefsec:icfm), and baseline SB-VE (\sectionrefsec:schr). SB-VE and SB-SV have time-dependent gradient and time-independent variance, respectively, and their gradients straighten as . Specifically, we train SB-VE and SB-SV with and to compare the significance of a straighter gradient. Then, we employ ICFM with both DP (5) and FM (9) loss. As stated in \sectionrefsec:icfm, ICFM has both time-independent gradient and variance, promoting straighter paths. For inference, we use the Euler method as an ODE solver, ranging from 1 to 50 steps, and compare with our proposed DDP method (\sectionrefsec:1step).
3.1 Metrics
Standard practice measures speech quality with intrusive and non-intrusive metrics. For intrusive SE metrics, we measure PESQ (Rix et al., 2001) for predicting speech quality, ESTOI (Jensen and Taal, 2016) as a measure of speech intelligibility and scale invariant signal-to-distortion ratio (SI-SDR) (Le Roux et al., 2019) measured in dB. We also measure non-intrusive metrics that predict quality from the predicted clean speech alone. Firstly, we compute the common metric DNSMOS (Reddy et al., 2021),111https://github.com/microsoft/DNS-Challenge/tree/master/DNSMOS which employs a neural network trained on human ratings ( mean opinion score (MOS)). Secondly, we use WhiSQA, a non-intrusive MOS prediction network shown to correlate well with human judgment (Close et al., 2024, 2025).222https://github.com/leto19/WhiSQA All of the above metrics score higher for better quality speech.
3.2 Model, baseline, and data
Following Jukić et al. (2024), we train all models until validation SI-SDR converges, then choose the checkpoint with the best validation PESQ. Unless stated, we run ODE samplers for 50 steps, with batch size 8 and the same STFT settings as Richter et al. (2025).
The neural estimator employs the NCSN++ architecture (Song et al., 2021) using the same parameterisation described in Richter et al. (2023). All experiments use the time-domain auxiliary loss (Jukić et al., 2024). We release our code and speech samples,333https://github.com/Mattias421/cfmse which build off the repository from Richter et al. (2025). As a baseline, we use SB-VE (Jukić et al., 2024) trained with our settings above. We train and test all experiments on the Voicebank-Demand (VB-DMD) dataset (Valentini-Botinhao et al., 2016), a common benchmark for SE containing clean speech recordings from 28 speakers with added background noise, e.g. café, traffic. We use speakers p226 and p287 for validation. Non-intrusive evaluation of the clean speech yields 3.53 DNSMOS and 4.53 WhiSQA.
4 Results and discussion
Our results are displayed in \tablereftab:results. Our proposed straighter paths SB-SV (\sectionrefsec:sbsv) and ICFM (\sectionrefsec:icfm) suggest improved speech quality across all metrics over the curved SB-VE (\sectionrefsec:schr). Interestingly, there is no apparent benefit of using SB-SV or SB-VE with a more linear path (). In fact, PESQ and WhiSQA decrease when using SB-SV with . However, compared to SB-SV, the results show that using an exact linear gradient with static variance with ICFM produces higher quality samples. Using ICFM with the FM loss has a marginal improvement over DP. This difference in training objectives suggests that direct gradient estimation is more suitable for ICFM. Together, these findings support the idea that straighter paths are more suitable for flow-based SE, specifically by introducing time-independent variance. \figurereffig:N shows how the number of ODE steps affects the performance of various model types from \tablereftab:results. Although SB-VE performs better at 1 ODE step, ICFM requires 20 steps to outperform SB-VE. SB-SV has a similar trend to ICFM, suggesting that static variance reduces performance when using fewer ODE steps. We speculate that models with static variance might perform worse with one-step ODEs because they don’t exactly interpolate the data (7), unlike SB-VE (4). On average, the samples of DDP are either comparable to or of improved quality over those predicted with 50 ODE steps. Further, possible ODE errors in SB-SV are circumvented by DDP. Our proposed ICFM with FM loss reports the highest PESQ and SI-SDR. The results suggest that, although trained for ODE solvers, flow-based models have prominent predictive properties. Another reason ICFM performs well here could be attributed to variance at the boundaries, alleviating potential overfitting caused by exact interpolation.
5 Conclusion
This paper views the time-independence of path gradient and variance as an analogue for straightness. We assessed the impact of probability path straightness on flow-based model performance for SE. By comparing SB-VE with SB-SV, we observed greater improvement with time-independent variance over gradient, but overall found that speech quality metrics were greater improved by using ICFM, which fixes both gradient and variance. However, fixing variance degraded ODE solver performance, but this can be circumvented by directly predicting the data at inference.
\acks
Thanks to Aaron Fletcher for proofreading. Thanks to George Close and Robbie Sutherland for speech enhancement knowledge. This work was supported by the UKRI AI Centre for Doctoral Training in Speech and Language Technologies (SLT) and their Applications funded by UK Research and Innovation [grant number EP/S023062/1]. For the purpose of open access, the author has applied a Creative Commons Attribution (CC BY) licence to any Author Accepted Manuscript version arising.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Albergo et al. (2023) Michael S. Albergo, Nicholas M. Boffi, and Eric Vanden-Eijnden. Stochastic Interpolants: A Unifying Framework for Flows and Diffusions, March 2023. URL https://arxiv.org/abs/2303.08797 v 3 .
- 2Bunne et al. (2023) Charlotte Bunne, Ya-Ping Hsieh, Marco Cuturi, and Andreas Krause. The Schrödinger Bridge between Gaussian Measures has a Closed Form. In Proceedings of The 26th International Conference on Artificial Intelligence and Statistics , pages 5802–5833. PMLR, April 2023. URL https://proceedings.mlr.press/v 206/bunne 23a.html . ISSN: 2640-3498.
- 3Chen et al. (2018) Ricky T. Q. Chen, Yulia Rubanova, Jesse Bettencourt, and David K Duvenaud. Neural ordinary differential equations. In S. Bengio, H. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, and R. Garnett, editors, Advances in Neural Information Processing Systems , volume 31. Curran Associates, Inc., 2018. URL https://proceedings.neurips.cc/paper_files/paper/2018/file/69386 f 6bb 1dfed 68692 a 24c 8686939 b 9-Paper.pdf .
- 4Chen et al. (2021) Tianrong Chen, Guan-Horng Liu, and Evangelos Theodorou. Likelihood training of Schrödinger bridge using forward-backward SD Es theory. In International Conference on Learning Representations , 2021.
- 5Close et al. (2024) George Close, Thomas Hain, and Stefan Goetze. Hallucination in perceptual metric-driven speech enhancement networks. In 2024 32nd European Signal Processing Conference (EUSIPCO) , pages 21–25, 2024. 10.23919/EUSIPCO 63174.2024.10714927 . · doi ↗
- 6Close et al. (2025) George Close, Kris Hong, Thomas Hain, and Stefan Goetze. Whisqa: Non-intrusive speech quality prediction using whisper encoder features, 2025. URL https://arxiv.org/abs/2508.02210 .
- 7De Bortoli et al. (2021) Valentin De Bortoli, James Thornton, Jeremy Heng, and Arnaud Doucet. Diffusion Schrödinger Bridge with Applications to Score-Based Generative Modeling. In Advances in Neural Information Processing Systems , volume 34, pages 17695–17709. Curran Associates, Inc., 2021. URL https://proceedings.neurips.cc/paper/2021/hash/940392 f 5f 32a 7ade 1cc 201767 cf 83e 31-Abstract.html .
- 8Jensen and Taal (2016) Jesper Jensen and Cees H Taal. An algorithm for predicting the intelligibility of speech masked by modulated noise maskers. IEEE/ACM Transactions on Audio, Speech, and Language Processing , 24(11):2009–2022, 2016.
