Performance optimizations on deep noise suppression models

Jerry Chee, Sebastian Braun, Vishak Gopal, Ross CutlerarXiv 2021

Abstract

We study the role of magnitude structured pruning as an architecture search to speed up the inference time of a deep noise suppression (DNS) model. While deep learning approaches have been remarkably successful in enhancing audio quality, their increased complexity inhibits their deployment in real-time applications. We achieve up to a 7.25X inference speedup over the baseline, with a smooth model performance degradation. Ablation studies indicate that our proposed network re-parameterization (i.e., size per layer) is the major driver of the speedup, and that magnitude structured pruning does comparably to directly training a model in the smaller size. We report inference speed because a parameter reduction does not necessitate speedup, and we measure model quality using an accurate non-intrusive objective speech quality metric.

Introduction

Deep learning has revolutionized noise suppression, but these models are often computationally heavy. While they offer superior audio quality, their complexity makes them difficult to deploy in real-time on consumer hardware where every millisecond counts. A major gap in current research is the focus on parameter reduction or memory footprint, which are often poor proxies for actual inference speed. Furthermore, standard evaluation metrics like PESQ do not always correlate well with human perception. This study addresses these issues by optimizing state-of-the-art DNS models for real-time performance without significant quality loss.

Methodology

The researchers focused on the CRUSE (Convolutional Recurrent U-net for Speech Enhancement) architecture. The optimization process involved several key steps:

  1. Profiling: Initial analysis revealed that the Gated Recurrent Unit (GRU) layer is the primary bottleneck, accounting for approximately 75% of inference time.
  2. Structured Magnitude Pruning: Unlike unstructured pruning, which creates sparse matrices that offer little speedup on standard hardware, structured pruning removes entire channels or neurons. This results in smaller, dense matrices that are processed much faster by standard inference engines like ONNX Runtime.
  3. Heuristic Re-parameterization: A scalable framework was introduced to resize network layers while maintaining "network monotonicity"—ensuring channel counts do not decrease through the encoder stages.
  4. Fine-tuning: Post-pruning retraining was employed to recover performance. This step is critical; fine-tuning often increases Mean Opinion Score (MOS) values by a full point, essentially "healing" the reduced architecture.
Table 1: Network configurations and their corresponding inference benchmarks on an Intel Core i7 CPU.

Key Results

The study achieved a maximum 7.25X inference speedup, reducing frame processing time from 3.41ms to 0.47ms. Notably, a 2.46X speedup was possible with virtually no degradation in overall quality. The models were evaluated using the INTERSPEECH 2021 and ICASSP 2021 DNS Challenge test sets, measured by the DNSMOS P.835 metric (SIG, BAK, and OVRL scores).

Figure 1: DNSMOS scores vs. speedup for various pruned configurations, showing a smooth degradation in quality as speed increases.

A significant finding was that pruned models perform similarly to models of the same size trained from scratch. This suggests that the primary value of structured pruning is its ability to efficiently discover optimal layer widths (architecture search) rather than the pruning process itself providing a unique "compression" benefit that cannot be reached by direct training.

Sparsity and Speed

The results emphasize that unstructured sparsity provides zero speedup in standard inference environments. Without specialized sparse-linear algebra kernels, the hardware still performs the same number of operations regardless of how many weights are zeroed out. Structured pruning avoids this pitfall by producing smaller dense layers that yield immediate hardware gains.

Conclusion

By leveraging structured magnitude pruning as an architecture search tool, the authors demonstrated that DNS models can be significantly accelerated for real-time edge deployment. The trade-off between speed and quality is remarkably favorable, allowing for substantial complexity reduction with minimal impact on perceived audio quality. Future work may explore specialized sparse engines to unlock further gains from unstructured pruning methods.

Summary updated

BibTeX
@misc{chee2021performance,
  author = {Jerry Chee and Sebastian Braun and Vishak Gopal and Ross Cutler},
  title = {{Performance optimizations on deep noise suppression models}},
  year = {2021},
  eprint = {2110.04378},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2110.04378},
}
Figure