Catch-A-Waveform: Learning to Generate Audio from a Single Short Example

Gal Greshler, Tamar Rott Shaham, Tomer Michaeli

Abstract

Catch-A-Waveform (CAW) is a multi-scale GAN-based framework designed to learn the internal distribution of a single, short audio recording (typically 20 seconds). Unlike traditional deep generative models that require massive datasets, CAW operates without pre-training or external supervision. By capturing the "essence" of a sound source through its internal statistics, CAW enables high-quality music improvisation, audio inpainting, denoising, and bandwidth extension, often outperforming models trained on significantly larger datasets.

Introduction

The prevailing paradigm in audio generation relies on a "big data" approach, where models like WaveNet or Jukebox are trained on thousands of hours of audio to learn general representations. However, this approach fails in "small data" scenarios, such as restoring a unique historical recording or generating new content in the style of a specific, rare performance.

Catch-A-Waveform (CAW) addresses this by asking whether a model can capture the structural and textural nuances of a sound source using only a single, short example. Inspired by SinGAN's success in the image domain, CAW learns the "grammar" of audio primitives—such as syllables or musical motifs—within a single clip to generate new, semantically similar content.

Catch-A-Waveform generates extended audio samples from a single 20-second training clip.

Methodology

CAW utilizes a multi-scale Generative Adversarial Network (GAN) architecture consisting of a pyramid of generators ($G_0, \dots, G_N$) and corresponding discriminators.

Coarse-to-Fine Training

The training process is hierarchical. The model first learns the global structure of the audio at a low sampling rate (the coarsest scale). Once a level is trained, its weights are frozen, and the subsequent level focuses on adding finer details and higher-frequency components. This progressive approach allows the model to maintain structural coherence while achieving high fidelity.

Architectural Innovations

To manage the high temporal resolution of audio (e.g., 16 kHz), CAW employs dilated convolutions. This provides a large receptive field capable of capturing long-range correlations without an excessive parameter count. Furthermore, the model uses Adaptive Scale Selection, automatically identifying the most energetic frequency bands for each pyramid level to prioritize the most significant parts of the signal.

Optimization

The model is optimized using a combination of WGAN-GP loss, to match the distribution of generated segments to the training data, and a reconstruction loss (MSE or Multi-Scale Spectrogram loss) to ensure the model can accurately reproduce the original signal from a specific noise input.

Key Results and Applications

CAW was evaluated on diverse datasets, including instrumental music (Medly-solos-Db), speech (VCTK), and polyphonic pop (FMA-small).

Visualizations of CAW performing bandwidth extension, denoising, and audio inpainting.
  • Human Perception: In listener studies, generated instrumental audio was often indistinguishable from real recordings, achieving a confusion rate near 50%.
  • Bandwidth Extension: CAW outperformed state-of-the-art models like TFiLM (trained on hours of data) in Log Spectral Distance (LSD) when upsampling 4kHz audio to 16kHz.
  • Inpainting: For filling 750ms gaps in music, CAW was preferred over GACELA (trained on 8 hours of data) 55.3% of the time.
  • Denoising: The model demonstrated significant utility in restoring historical recordings, such as a 1903 violin performance by Joseph Joachim, by learning to separate signal from noise based on internal statistics.

Discussion and Limitations

While CAW excels at capturing timbre and local texture, it lacks high-level semantic understanding. Generated speech often results in "word salad"—phonetically accurate but linguistically meaningless. Similarly, the model does not adhere to long-term harmonic or music-theoretic rules. Other challenges include artifacts in highly reverberant environments and difficulties with very high-pitched signals. Finally, while inference is highly efficient (60x real-time), training on a single 25-second clip currently requires approximately 10 hours on a high-end GPU.

Conclusion

Catch-A-Waveform demonstrates that the internal statistics of a single audio clip are sufficient for a wide range of generative and restorative tasks. By shifting the focus from massive datasets to the "essence" of individual recordings, CAW opens new avenues for creative music synthesis and historical audio preservation.

Summary updated

BibTeX
@inproceedings{greshler2021catch,
  author = {Gal Greshler and Tamar Rott Shaham and Tomer Michaeli},
  title = {{Catch-A-Waveform: Learning to Generate Audio from a Single Short Example}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=XmHnJsiqw9s},
}
Figure