Skip to main content
QUICK REVIEW

[Paper Review] Audio inpainting with generative adversarial network

Pirmin Philipp Ebner, A. Eltelt|arXiv (Cornell University)|Mar 13, 2020
Music and Audio ProcessingComputer Science19 references25 citations
TL;DR

This paper proposes a Dual Discriminator Wasserstein GAN (D2WGAN) for long-range audio inpainting of 500–550 ms gaps, using both short- and long-range audio borders to improve global coherence and high-frequency reconstruction. The D2WGAN outperforms the classical WGAN in objective difference grading (ODG), especially for instruments with lower-frequency spectra and dynamic timbres like guitar and solo piano with orchestral backing.

ABSTRACT

We study the ability of Wasserstein Generative Adversarial Network (WGAN) to generate missing audio content which is, in context, (statistically similar) to the sound and the neighboring borders. We deal with the challenge of audio inpainting long range gaps (500 ms) using WGAN models. We improved the quality of the inpainting part using a new proposed WGAN architecture that uses a short-range and a long-range neighboring borders compared to the classical WGAN model. The performance was compared with two different audio instruments (piano and guitar) and on virtuoso pianists together with a string orchestra. The objective difference grading (ODG) was used to evaluate the performance of both architectures. The proposed model outperforms the classical WGAN model and improves the reconstruction of high-frequency content. Further, we got better results for instruments where the frequency spectrum is mainly in the lower range where small noises are less annoying for human ear and the inpainting part is more perceptible. Finally, we could show that better test results for audio dataset were reached where a particular instrument is accompanist by other instruments if we train the network only on this particular instrument neglecting the other instruments.

Motivation & Objective

  • To address the challenge of long-range audio inpainting (500–550 ms) where traditional methods fail due to non-stationarity and high dimensionality.
  • To improve audio quality by leveraging both short- and long-range contextual information in the generator's input.
  • To investigate whether training on a specific instrument while ignoring accompanying instruments yields better generalization and perceptual quality.
  • To evaluate model performance using human-centered objective difference grading (ODG), as no reliable automated metric exists for audio inpainting.

Proposed method

  • Proposes a novel D2WGAN architecture with two discriminators: one focusing on local (short-range) context and another on global (long-range) context around the gap.
  • Uses waveform-based generation instead of spectrogram or multimodal approaches to preserve temporal and spectral fidelity.
  • Trains the generator to reconstruct missing audio segments by conditioning on both immediate neighbors and distant contextual segments.
  • Employs a two-player min-max game between generator and discriminators, with the generator aiming to fool both discriminators into classifying generated audio as real.
  • Applies gradient penalty and weight clipping in the WGAN framework to stabilize training and improve mode coverage.
  • Evaluates performance via human evaluation using Objective Difference Grading (ODG), the primary metric due to lack of reliable automated audio quality metrics.

Experimental results

Research questions

  • RQ1Can a dual-discriminator architecture improve long-range audio inpainting performance compared to classical WGAN by incorporating both short- and long-range context?
  • RQ2Does training the model on a specific instrument while excluding accompanying instruments lead to better perceptual quality in mixed audio scenarios?
  • RQ3How does the frequency spectrum of the instrument (e.g., low vs. high frequency content) affect the perceptual quality of the inpainted audio?
  • RQ4To what extent does the model generalize across different instruments and audio datasets, especially when trained on a single instrument?
  • RQ5Can increasing training steps improve performance without overfitting, and does the model benefit from longer context windows?

Key findings

  • The D2WGAN model outperformed the classical WGAN across all three datasets (PIANO, GUITAR, MAESTRO), with statistically significant improvements in ODG scores.
  • The D2WGAN showed superior reconstruction of high-frequency content, particularly benefiting instruments like guitar and solo piano with orchestral backing.
  • Training the model exclusively on the target instrument (e.g., piano) while suppressing background orchestral components led to better performance on mixed audio datasets, suggesting reduced interference from irrelevant audio content.
  • The model achieved better results for instruments with lower-frequency spectra, where small noise artifacts are less perceptible and the inpainting is more noticeable.
  • Increasing training steps up to 140k improved performance without overfitting, indicating that the model benefits from extended training and has room for further optimization.
  • The D2WGAN's dual-discriminator design effectively leveraged both local and global context, improving global coherence and reducing artifacts in long-gap inpainting.

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.