Skip to main content
QUICK REVIEW

[Paper Review] DeepFilterNet2: Towards Real-Time Speech Enhancement on Embedded Devices for Full-Band Audio

Hendrik Schröter, Alberto N. Escalante-B.|arXiv (Cornell University)|May 11, 2022
Speech and Audio ProcessingComputer Science11 citations
TL;DR

DeepFilterNet2 is a lightweight, two-stage speech enhancement framework that leverages perceptual modeling of speech harmonics and optimized training to achieve state-of-the-art performance on full-band (48 kHz) audio with real-time inference. It reduces the real-time factor to 0.04 on a Core-i5 CPU and enables deployment on embedded devices like the Raspberry Pi 4 with a real-time factor of 0.42.

ABSTRACT

Deep learning-based speech enhancement has seen huge improvements and recently also expanded to full band audio (48 kHz). However, many approaches have a rather high computational complexity and require big temporal buffers for real time usage e.g. due to temporal convolutions or attention. Both make those approaches not feasible on embedded devices. This work further extends DeepFilterNet, which exploits harmonic structure of speech allowing for efficient speech enhancement (SE). Several optimizations in the training procedure, data augmentation, and network structure result in state-of-the-art SE performance while reducing the real-time factor to 0.04 on a notebook Core-i5 CPU. This makes the algorithm applicable to run on embedded devices in real-time. The DeepFilterNet framework can be obtained under an open source license.

Motivation & Objective

  • Address the high computational complexity and large temporal buffers of existing deep learning-based speech enhancement methods, especially for full-band audio.
  • Enable real-time inference on resource-constrained embedded devices such as the Raspberry Pi 4.
  • Improve speech enhancement performance while maintaining low model complexity and inference latency.
  • Optimize training procedures and data augmentation to enhance convergence and robustness without increasing model size significantly.
  • Extend the DeepFilterNet framework with efficient, perceptually motivated signal processing to improve speech quality and intelligibility.

Proposed method

  • Use a two-stage architecture: first stage enhances the speech envelope in a compressed ERB (perceptual) frequency domain using real-valued gains.
  • Second stage applies deep filtering (DF) in the complex spectral domain to reconstruct periodic speech components up to 5 kHz.
  • Employ a shared encoder to fuse ERB and complex spectral features into a joint embedding for both stages.
  • Apply a multi-resolution spectrogram loss with time-domain reconstruction to improve perceptual quality and generalization.
  • Implement iterative training optimizations: learning rate warmup with cosine decay, adaptive weight decay, and batch size scheduling from 8 to 96.
  • Introduce a post-filter to refine the final enhanced signal, improving objective and subjective metrics.
Fig. 1 : Schematic overview of the DeepFilterNet2 speech enhancement process.
Fig. 1 : Schematic overview of the DeepFilterNet2 speech enhancement process.

Experimental results

Research questions

  • RQ1Can a two-stage speech enhancement framework achieve SOTA performance on full-band audio while remaining computationally efficient for real-time embedded deployment?
  • RQ2How do optimized training procedures—such as learning rate warmup, cosine decay, and batch scheduling—affect convergence and model performance?
  • RQ3To what extent does multi-resolution spectrogram loss improve perceptual quality and robustness in speech enhancement?
  • RQ4Can deep filtering outperform traditional complex ratio masks in very noisy conditions with minimal computational overhead?
  • RQ5What is the achievable real-time factor on low-power hardware like the Raspberry Pi 4, and how does it compare to prior SOTA methods?

Key findings

  • DeepFilterNet2 achieves a PESQ score of 3.08 on the Voicebank+Demand test set, surpassing previous SOTA methods like FRCRN and GaGNet while using only 2.3M parameters.
  • The model reduces the real-time factor to 0.04 on a Core-i5 CPU, enabling efficient real-time inference on standard notebooks.
  • On the DNS4 blind test set, DeepFilterNet2 achieves DNSMOS scores of 4.196 (SIGMOS), 4.427 (BAKMOS), and 3.882 (OVLMOS), approaching the quality of the clean reference set.
  • The model runs on a Raspberry Pi 4 with a real-time factor of 0.42, demonstrating feasibility for embedded deployment.
  • The addition of a post-filter improves MOS scores slightly, with OVLMOS reaching 3.896, indicating enhanced overall speech quality.
  • Despite a slight increase in parameters (2.306M), the model maintains low MACS (0.356G) and significantly outperforms DeepFilterNet (RTF 0.11 → 0.04) through training and architectural optimizations.
Fig. 2 : Learning rate, weight decay and batch size scheduling used for training.
Fig. 2 : Learning rate, weight decay and batch size scheduling used for training.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.