Skip to main content
QUICK REVIEW

[Paper Review] Algorithms for audio inpainting based on probabilistic nonnegative matrix factorization

Ondřej Mokrý, Paul Magron|arXiv (Cornell University)|Jun 28, 2022
Speech and Audio ProcessingComputer Science43 references12 citations
TL;DR

This paper proposes novel audio inpainting algorithms based on probabilistic nonnegative matrix factorization (NMF) by treating missing audio samples either as latent variables (via EM) or as parameters (via alternating minimization). The methods achieve competitive performance, especially for short-to-medium gaps (up to 80 ms), with faster convergence and lower computational cost than existing state-of-the-art techniques.

ABSTRACT

Audio inpainting, i.e., the task of restoring missing or occluded audio signal samples, usually relies on sparse representations or autoregressive modeling. In this paper, we propose to structure the spectrogram with nonnegative matrix factorization (NMF) in a probabilistic framework. First, we treat the missing samples as latent variables, and derive two expectation-maximization algorithms for estimating the parameters of the model, depending on whether we formulate the problem in the time- or time-frequency domain. Then, we treat the missing samples as parameters, and we address this novel problem by deriving an alternating minimization scheme. We assess the potential of these algorithms for the task of restoring short- to middle-length gaps in music signals. Experiments reveal great convergence properties of the proposed methods, as well as competitive performance when compared to state-of-the-art audio inpainting techniques.

Motivation & Objective

  • Address the challenge of restoring audio signals with short-to-medium gaps (up to 80 ms) due to packet loss or degradation.
  • Leverage the low-rank structure of audio spectrograms via nonnegative matrix factorization (NMF) as a prior for signal reconstruction.
  • Develop new estimation frameworks that treat missing samples either as latent variables (EM-based) or as parameters (AM-based), improving convergence and efficiency.
  • Evaluate the proposed methods against state-of-the-art audio inpainting techniques in terms of SNR and perceptual quality (PEMO-Q ODG).

Proposed method

  • Formulate audio inpainting as a probabilistic estimation problem using a Gaussian composite model with Itakura–Saito divergence for NMF-based power spectrogram modeling.
  • Derive two expectation–maximization (EM) algorithms: one in the time domain (EM-t) and one in the time-frequency domain (EM-tf), treating missing samples as latent variables.
  • Propose a novel alternating minimization (AM) scheme that treats missing samples as parameters to be optimized jointly with NMF factors W and H.
  • Use the overlap-add method to reconstruct the full time-domain signal from estimated frame-wise spectrograms.
  • Apply STFT with a 4096-sample Hanning window and 50% overlap for time-frequency representation, and use M = F in NMF for consistency.
  • Optimize using the Itakura–Saito divergence and incorporate a dictionary learning step to improve sparsity and representation quality.

Experimental results

Research questions

  • RQ1Can treating missing samples as latent variables in a probabilistic NMF framework improve audio inpainting performance for short-to-medium gaps?
  • RQ2Does formulating the inpainting problem as an alternating minimization over missing samples and NMF factors lead to faster convergence and better reconstruction than traditional EM-based approaches?
  • RQ3How do the proposed NMF-based methods compare to state-of-the-art techniques (e.g., Janssen, SPAIN, reweighted ℓ1) in terms of SNR and perceptual quality for varying gap lengths?
  • RQ4What is the impact of global signal structure (via low-rank NMF) on inpainting performance compared to local sparsity-based regularization?
  • RQ5Can the proposed methods maintain high performance across diverse audio signals, particularly in perceptually sensitive cases like harp or piano?

Key findings

  • The proposed EM-tf and AM algorithms achieve competitive SNR performance, outperforming state-of-the-art methods for short gaps (up to 40 ms), with AM reaching similar reconstruction quality in fewer iterations.
  • AM converges faster than EM-tf and reduces CPU time due to its lower computational complexity, despite similar reconstruction accuracy.
  • For gaps of 50 ms, AM shows a sudden drop in SNR on the harp signal, but maintains perceptual quality (PEMO-Q ODG) comparable to EM-tf, indicating a trade-off between objective and perceptual metrics.
  • Both EM-tf and AM outperform Janssen and other autoregressive or sparsity-based methods in SNR for short-to-medium gaps, confirming the effectiveness of low-rank NMF modeling.
  • The methods show strong convergence properties, with stable and rapid improvement in SNR over iterations, as demonstrated in waveform reconstructions over time.
  • The use of dictionary learning in the STFT domain further enhances performance by enabling sparser and more accurate signal representations.

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.