[Paper Review] Perceptual audio loss function for deep learning
This paper proposes a differentiable, learnable perceptual audio loss function based on the Wavenet architecture to approximate the PESQ speech quality metric. By training a Wavenet model on clean-degraded audio pairs to predict PESQ scores, the method enables end-to-end speech enhancement with improved alignment to human subjective quality perception, achieving 81% correlation with full-segment PESQ on 0.25-second audio clips.
PESQ and POLQA , are standards are standards for automated assessment of voice quality of speech as experienced by human beings. The predictions of those objective measures should come as close as possible to subjective quality scores as obtained in subjective listening tests. Wavenet is a deep neural network originally developed as a deep generative model of raw audio wave-forms. Wavenet architecture is based on dilated causal convolutions, which exhibit very large receptive fields. In this short paper we suggest using the Wavenet architecture, in particular its large receptive filed in order to learn PESQ algorithm. By doing so we can use it as a differentiable loss function for speech enhancement.
Motivation & Objective
- To develop a differentiable loss function that correlates with subjective speech quality, specifically mimicking the PESQ metric.
- To address the limitation of standard losses like MSE and PSNR, which poorly correlate with human MOS scores.
- To leverage the large receptive field of dilated causal convolutions in Wavenet to model long-term temporal dependencies in speech signals.
- To enable end-to-end training of speech enhancement models using a perceptually informed, differentiable loss.
- To improve speech enhancement fidelity by combining the learned PESQ loss with MSE loss during optimization.
Proposed method
- Train a Wavenet model to predict the PESQ score of a 0.25-second clean-degraded audio pair using ground-truth PESQ values from the full-reference algorithm.
- Use 16 kHz sampled audio inputs of 4095 samples (0.25 seconds) for both clean and degraded signals.
- Condition the Wavenet model on speaker identity to improve per-speaker accuracy and enable a single model for multiple speakers.
- Leverage the Wavenet’s dilated causal convolutions to achieve a receptive field of 8190 samples, capturing long-range dependencies critical for PESQ-like evaluation.
- Use the trained Wavenet as a differentiable loss function in speech enhancement, combining it with MSE loss via a weighted sum: $ P(x_{\text{clean}}, x_{\text{degraded}}) + \lambda \cdot \text{MSE}(x_{\text{clean}}, x_{\text{degraded}}) $.
- Train the model on the TIMIT corpus, with degraded audio generated using speech-shaped noise via randomized phase Fourier transforms.
Experimental results
Research questions
- RQ1Can a deep neural network with a large receptive field approximate the PESQ speech quality metric in a differentiable manner?
- RQ2How well does a Wavenet-based model trained on short audio segments (0.25 s) correlate with full-segment PESQ scores?
- RQ3To what extent can a learned perceptual loss improve speech enhancement quality compared to standard MSE or PSNR losses?
- RQ4Can conditioning on speaker identity improve the accuracy and generalization of the learned PESQ predictor?
- RQ5Is it feasible to use a deep learning model to replace or emulate the non-differentiable PESQ algorithm in end-to-end training pipelines?
Key findings
- The Wavenet-based model achieved a correlation of 81% with full-segment PESQ scores when evaluated on 0.25-second audio clips.
- The model successfully learned to predict PESQ scores by capturing long-term temporal dependencies through its large receptive field of 8190 samples.
- Conditioning on speaker identity improved the model’s ability to generalize across different speakers in the TIMIT dataset.
- The learned PESQ loss function is differentiable and can be integrated into end-to-end training of speech enhancement models.
- The combination of the learned perceptual loss with MSE loss enables optimization that aligns better with subjective quality perception than MSE alone.
- The approach demonstrates that deep learning can effectively approximate complex, non-differentiable objective quality metrics like PESQ in a trainable form.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.