Skip to main content
QUICK REVIEW

[Paper Review] Deep Long Audio Inpainting

Ya-Liang Chang, Kuan-Ying Lee|arXiv (Cornell University)|Nov 15, 2019
Music and Audio ProcessingComputer Science43 references23 citations
TL;DR

This paper introduces the first benchmark and deep learning framework for long audio inpainting (>200 ms), proposing novel spectrogram- and waveform-based models that leverage receptive field design, dilated and gated convolutions, and perceptual losses. It achieves state-of-the-art performance on SC09 and ESC-50 datasets, demonstrating that receptive field size and audio representation significantly impact inpainting quality.

ABSTRACT

Long (> 200 ms) audio inpainting, to recover a long missing part in an audio segment, could be widely applied to audio editing tasks and transmission loss recovery. It is a very challenging problem due to the high dimensional, complex and non-correlated audio features. While deep learning models have made tremendous progress in image and video inpainting, audio inpainting did not attract much attention. In this work, we take a pioneering step, exploring the possibility of adapting deep learning frameworks from various domains inclusive of audio synthesis and image inpainting for audio inpainting. Also, as the first to systematically analyze factors affecting audio inpainting performance, we explore how factors ranging from mask size, receptive field and audio representation could affect the performance. We also set up a benchmark for long audio inpainting. The code will be available on GitHub upon accepted.

Motivation & Objective

  • To establish the first benchmark for long audio inpainting (>200 ms) using SC09 and ESC-50 datasets.
  • To investigate the feasibility of adapting deep learning models from image inpainting, audio synthesis, and Deep Image Prior for long audio inpainting.
  • To systematically analyze the impact of key architectural factors—receptive field, mask size, audio representation (waveform/spectrogram), and convolution types—on inpainting performance.
  • To develop and evaluate novel deep learning frameworks for unconstrained long audio inpainting with superior quantitative and qualitative results.
  • To identify limitations of existing methods and GAN-based losses in long audio inpainting, and suggest future research directions.

Proposed method

  • Proposes a spectrogram-based deep neural network using dilated and gated convolutions to model long-range dependencies in audio signals.
  • Develops a waveform-based model using similar architectures to reconstruct missing audio directly from raw waveforms.
  • Employs L1 loss and perceptual loss based on spectrogram features to improve structural and perceptual fidelity of inpainted audio.
  • Uses Griffin-Lim algorithm to convert spectrograms back to waveforms for evaluation, with phase hints from surrounding regions to improve reconstruction.
  • Applies ablation studies to evaluate the effect of receptive field size, mask ratio, kernel size, and model depth on inpainting performance.
  • Fine-tunes a state-of-the-art image inpainting model (on spectrograms) and evaluates Deep Image Prior as baselines for comparison.

Experimental results

Research questions

  • RQ1How do different receptive field sizes affect the performance of deep learning models in long audio inpainting?
  • RQ2To what extent does the choice of audio representation (waveform vs. spectrogram) influence inpainting quality and generalization?
  • RQ3How does mask size (from 0.1 to 0.25 seconds) impact the model's ability to recover missing audio segments?
  • RQ4Can models from image inpainting and audio synthesis domains be effectively adapted for long audio inpainting tasks?
  • RQ5What is the role of perceptual loss and GAN-based loss in improving the naturalness and realism of inpainted audio?

Key findings

  • The receptive field must be at least as large as the mask size to successfully inpaint long gaps; performance plateaus or degrades beyond a certain threshold.
  • Models with fixed receptive fields can handle mask lengths from 0.1 to 0.16 seconds, but fail when the mask exceeds the receptive field capacity.
  • The proposed spectrogram-based model achieves lower L1 loss and perceptual error than baselines on both SC09 and ESC-50 datasets, with significant improvements in qualitative sound quality.
  • The waveform-based model outperforms baseline methods in terms of perceptual quality, especially in preserving speech intelligibility and naturalness.
  • GAN loss did not improve results in this study, suggesting that adversarial training may not be beneficial for long audio inpainting with current architectures.
  • Failure cases often show a trailing-off effect: sound fades at the start and end of the mask, indicating insufficient context for phase and amplitude recovery.

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.