Diffusion Buffer for Online Generative Speech Enhancement

Bunlong Lay, Rostislav Makarov, Simon Welker, Maris Hillemann, Timo GerkmannarXiv 2025 · DOI

Introduction

Generative models, particularly those based on diffusion processes, have set new benchmarks in audio synthesis and restoration. Despite their high quality, their iterative nature—requiring multiple neural network passes to refine a single sample—has historically limited their use in real-time applications like VoIP or live broadcasting. Researchers from the University of Hamburg have addressed this bottleneck by evolving the Diffusion Buffer (DB) framework. This system enables generative speech enhancement (SE) to operate in real-time on consumer-grade hardware with latencies as low as 32ms.

The Diffusion Buffer Framework

The primary innovation is the temporal alignment of the diffusion process with physical time. In a standard diffusion model, a single frame is processed iteratively. In the Diffusion Buffer, the system maintains a pipeline of frames, each at a different stage of the reverse diffusion process.

The Diffusion Buffer mechanism: aligning physical time with diffusion steps to enable real-time generative enhancement.

As a new noisy frame arrives, it enters the buffer at the highest noise level. With each subsequent physical time step, the frame moves through the buffer, receiving one step of denoising per incoming frame. This allows the model to perform only one neural network call per time step while still achieving the cumulative effect of a multi-step diffusion process.

Architectural and Training Innovations

To make this pipeline effective for streaming, the authors introduced two key technical changes:

Block-Causal UNet

Standard diffusion architectures, such as the NCSN++ UNet, typically utilize symmetric receptive fields. In a streaming context, a symmetric field would require "looking ahead" into future frames, introducing significant algorithmic latency. The researchers redesigned the architecture to be block-causal. By utilizing specific padding and cropping strategies, the network’s receptive field is constrained to only look at current and past frames within the buffer.

Comparison of receptive fields: (a) the proposed block-causal field vs (b) the standard symmetric field.

Data Prediction (DP) Loss

The model is trained using a Data Prediction loss rather than the traditional Denoising Score Matching (DSM). By training the model to predict the clean signal directly, the system gains flexibility. Users can choose to extract a frame from the buffer earlier for lower latency (e.g., 32ms) or later for higher quality (e.g., 176ms) without needing to retrain the underlying model.

Experimental Evaluation

The model was evaluated on two primary datasets:

  • EARS-WHAM-v2: For standard "matched" noise conditions.
  • EARS-General: A custom "mismatched" set featuring impulsive noises (e.g., gunshots, ball bounces) to test real-world robustness.

Key Results

The updated Diffusion Buffer achieved a significant reduction in algorithmic latency, dropping from the previous 320–960ms range to 32–176ms. Crucially, the system runs in real-time on an NVIDIA RTX 2080Ti.

In "mismatched" scenarios involving impulsive noise, the generative model significantly outperformed traditional predictive models. Specifically, it showed a ~7dB advantage in Signal-to-Interference Ratio (SI-SIR), demonstrating that generative models are better at "ignoring" non-speech sounds by relying on their learned distribution of clean speech.

Conclusion and Future Work

While predictive models still maintain a slight edge in metrics like PESQ on noise types they were specifically trained on, the Diffusion Buffer offers superior generalization in unpredictable real-world environments. Future research will focus on reducing the computational FLOPs to enable deployment on mobile devices and exploring end-to-end waveform processing to further minimize artifacts.

Summary updated

BibTeX
@misc{lay2025diffusion,
  author = {Bunlong Lay and Rostislav Makarov and Simon Welker and Maris Hillemann and Timo Gerkmann},
  title = {{Diffusion Buffer for Online Generative Speech Enhancement}},
  year = {2025},
  eprint = {2510.18744},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.18744},
}
Figure