Manuscript Offprint

arXiv:2609.04525

Discriminative Flow Matching: Beyond Time-Conditioning in Generative Restoration via Flow-State Representations

Shrishti Saha Shetu, Emanuël A. P. Habets, Andreas Brendel

Abstract

Existing Conditional Flow Matching (CFM) formulations describe transport progress using an explicit interpolation coordinate, commonly interpreted as a time coordinate, implicitly assuming that a single global variable adequately describes a sample's position along the generative trajectory. However, in restoration tasks, transport progress is inherently sample-dependent, as the initial distribution often exhibits varying statistical dependencies with the target distribution. Consequently, samples at the same interpolation coordinate may differ substantially in degradation level, distance of their marginal distribution to the target distribution, and restoration difficulty. In this work, we investigate whether signal representations learned by discriminatively trained models provide a meaningful description of the state of generative transport within the context of CFM-based restoration tasks. Through a systematic latent-space analysis of discriminative restoration models, we demonstrate that discriminative representations organize according to degradation severity and follow a consistent trajectory toward the clean-data manifold during the generative process. Motivated by these observations, we introduce the Discriminative Flow-State Hypothesis, which suggests that discriminative representations encode a transport state that governs generative restoration. Based on this hypothesis, we propose Discriminative Flow Matching, a framework that conditions the Flow-Matching velocity field on Discriminative Flow-State Representations instead of explicit time coordinates. Experiments on speech enhancement and image denoising demonstrate that these representations sufficiently characterize restoration progress, support adaptive inference, and consistently outperform various CFM and diffusion-related baselines. Our findings suggest that discriminative representations provide an effective state-aware alternative to explicit time conditioning and offer a novel perspective on the relationship between discriminative and CFM-based generative modeling.

1 Introduction

The task of many deep generative models can be viewed as the problem of transporting probability mass from a source distribution toward a target distribution. Recent advances in

diffusion models, score-based generative models, and Flow-based methods have achieved remarkable success across image synthesis, audio generation, restoration, and inverse problems (Ho, Jain, and Abbeel 2020; Song et al. 2021; Lipman et al. 2023). Among these approaches, Conditional Flow Matching (CFM) (Lipman et al. 2023) has emerged as an attractive framework due to its simple training objective, stable optimization, and efficient training. CFM defines a tractable probability path conditioned on the target data and derives the associated conditional vector field in closed form. A neural network, hereafter referred to as the velocity network, can therefore be trained to predict this vector field at sampled time coordinates t∈[0,1]t \in [0,1], where tt parameterizes progression along the probability path, without numerically integrating the transport dynamics during training. Consequently, CFM has been successfully applied to speech restoration, including speech enhancement (SE) (Cross and Ragni 2025; Lee et al. 2025; Wang et al. 2026), audio-visual SE (Jung et al. 2024), and target speaker extraction (Hsieh and Kim 2025).

However, in classical CFM the time coordinate tt serves two distinct roles: it defines the interpolation used to construct the conditional probability path and also conditions the velocity network on the corresponding transport state. This temporal conditioning is essential because the target vector field is time-dependent, i.e., it varies along the transport trajectory, reflecting the evolving transport dynamics as the marginal distribution approaches the target distribution. In restoration tasks, however, the source distribution of input signals, which defines the initial state of the generative process at t=0t = 0, does not provide an equivalent starting point across individual transport paths. Unlike classical CFM, where source and target distributions are typically statistically independent (e.g., a standard Gaussian and the distribution of natural images), restoration tasks involve a target signal that is intrinsically contained within the source (e.g., a distorted or noisy target signal). Because this statistical dependence varies across samples and degradation conditions, two samples with the same tt may differ substantially in degradation level and proximity to the target manifold. Consequently, although tt remains essential for constructing the conditional probability path during training, it may not unambiguously characterize the current transport state required for conditioning the velocity network. Recent works argue that time-conditioned

*A joint institution of Friedrich-Alexander-Universität Erlangen-Nürnberg (FAU) and Fraunhofer IIS. Copyright © 2027, Association for the Advancement of Artificial Intelligence (www.aaai.org). All rights reserved.

models must learn trajectory-specific noise scales and may consequently overfit to the prescribed transport path. To address this, they explored time-unconditional formulations by learning a time-independent velocity field without conditioning on tt (Zhang et al. 2026a,b). However, removing time conditioning also eliminates an explicit mechanism for adapting the predicted velocity to the current transport progress. This naturally raises the question of whether transport progress can instead be better inferred from a learned representation of the current sample state.

Representation learning offers a promising direction for overcoming the limitations of existing CFM-based restoration frameworks. Latent representations learned through unsupervised and self-supervised reconstruction objectives can capture informative semantic and structural properties of the underlying target signal, as shown by stacked denoising autoencoders (Vincent et al. 2010), context encoders (Pathak et al. 2016), and masked autoencoders (He et al. 2022). Recent speech restoration methods have further leveraged such representations by combining discriminative and generative models through hybrid architectures or auxiliary conditioning (Abdulatif, Cao, and Yang 2024; Li et al. 2024; Wang et al. 2024; Zhang, Tan, and Wang 2026; Shetu, Habets, and Brendel 2026). Unlike these approaches, which primarily employ discriminative models as auxiliary feature extractors, we view their latent representations as task-relevant encodings that retain information helpful for restoration. We further hypothesize that these representations implicitly encode the sample's restoration state, since successful restoration depends on the relationship between a degraded sample and its target. This motivates the Discriminative Flow-State Hypothesis, which postulates that discriminative representations encode information about the underlying state of a generative transport process. Building upon this hypothesis, we propose Discriminative Flow Matching (DFM), which conditions the velocity field on discriminative representations extracted from the iteratively enhanced sample rather than on explicit time tt, enabling sample-adaptive restoration.

We evaluate DFM mainly on SE as a representative restoration task. Our analysis shows that discriminative representations capture restoration progress and can be used to estimate the computational effort required for signal enhancement. Leveraging these representations within CFM, our proposed DFM consistently improves restoration performance while naturally enabling adaptive inference. The main contributions of this work are summarized as follows:

  • We motivate and formulate the Discriminative Flow-State Hypothesis and demonstrate that discriminative representations encode generative restoration state and vary consistently with the distributional proximity of samples to the target distribution.

  • We propose DFM, a CFM framework that conditions the velocity field on discriminative Flow-State representations instead of explicit time conditioning.

  • We validate DFM on SE and image denoising, demonstrating consistent improvements over conventional CFM and other baselines while naturally supporting adaptive inference with sample-dependent computational budgets.

References (43)

  • CMGAN: Conformer-Based Metric-GAN for Monaural Speech Enhancement
  • S.; and Vanden-Eijnden, E. 2022 (opens arXiv in a new tab)
  • Flowing Straighter with Conditional Flow Matching for Accurate Speech Enhancement
  • The mnist database of handwritten digit images for machine learning research [best of the web]
  • MetricGAN+: An improved version of MetricGAN for speech enhancement
  • A Kernel Two-Sample Test
  • Masked autoencoders are scalable vision learners
  • Denoising Diffusion Probabilistic Models
  • Adaptive Discriminative Flow-Matching Target Speaker Extraction (opens arXiv in a new tab)
  • DCCRN: Deep Complex Convolution Recurrent Network for Phase-Aware Speech Enhancement
  • FlowAVSE: Efficient Audio-Visual Speech Enhancement with Conditional Flow Matching
  • Generalized Sliced Wasserstein Distances
  • Reducing the Prior Mismatch of Stochastic Differential Equations for Diffusion-Based Speech Enhancement
  • SDR–Half-Baked or Well Done? In Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)
  • FlowSE: Flow Matching-based Speech Enhancement
  • A Recurrent Variational Autoencoder for Speech Enhancement
  • StoRM: A Diffusion-Based Stochastic Regeneration Model for Speech Enhancement and Dereverberation
  • Taylor, Can You Hear Me Now? A Taylor-Unfolding Framework for Monaural Speech Enhancement
  • Diffusion-Based Generative Modeling With Discriminative Guidance for Streamable Speech Enhancement
  • Flow Matching for Generative Modeling
  • Conditional Diffusion Probabilistic Model for Speech Enhancement
  • Context encoders: Feature learning by inpainting
  • SE-Bridge: Speech Enhancement with Consistent Brownian Bridge
  • Wasserstein Barycenter and Its Application to Texture Mixing
  • SCOREQ: Speech Quality Assessment with Contrastive Regression
  • A.; Gopal, V.; and Cutler, R. 2021
  • A.; Gopal, V.; Cutler, R.; Beyrami, E.; Cheng, R.; Dubey, H.; Matusevych, S.; Aichner, R.; Aazami, A.; Braun, S.; et al
  • Speech Enhancement and Dereverberation with Diffusion-Based Generative Models
  • W.; Beerends, J. G.; Hollier, M. P.; and Hekstra, A. P. 2001
  • S.; Chakrabarty, S.; Thiergart, O.; and Mabande, E. 2024
  • S.; Habets, E. A. P.; and Brendel, A. 2025
  • S.; Habets, E. A. P.; and Brendel, A. 2026
  • Score-Based Generative Modeling through Stochastic Differential Equations
  • Learning Complex Spectral Mapping with Gated Convolutional Recurrent Networks for Monaural Speech Enhancement
  • Stacked denoising autoencoders: Learning useful representations in a deep network with a local denoising criterion
  • GALDSE: Guided Anisotropic Lightweight Diffusion for Efficient Speech Enhancement
  • Rethinking flow and diffusion bridge models for
  • Speech Enhancement with Score-Based Generative Models in the Complex STFT Domain
  • Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithms
  • Deep Noise Suppression Maximizing Non-Differentiable PESQ Mediated by a Non-Intrusive PESQNet
  • Time-Unconditional Generative Speech Enhancement via Autonomous Rectified Flow (opens arXiv in a new tab)
  • HyFlowSE: Hybrid End-To-End Flow-Matching Speech Enhancement
  • Generative Control as Optimization: Time Unconditional Flow Matching for Adaptive and Robust Robotic Control (opens arXiv in a new tab)