NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

HyperSound: Generating Implicit Neural Representations of Audio Signals with Hypernetworks

Filip Szatkowski, Karol J. Piczak, Przemysław Spurek, Jacek Tabor, Tomasz Trzcinski · DOI

TL;DR

This paper introduces HyperSound, a novel meta-learning approach that uses hypernetworks to generate implicit neural representations (INRs) for audio signals. This allows for a single model to reconstruct arbitrary audio, overcoming the limitation of training individual INRs for each audio sample and paving the way for more efficient audio processing and generation.

What Problem Does This Paper Address?

Traditional methods for representing audio signals digitally involve sampling amplitude values at regular intervals. Implicit Neural Representations (INRs) offer a more flexible alternative, modeling signals as continuous functions learned by neural networks. This decouples the representation from spatial resolution, allowing for arbitrary resampling and constant memory usage. While INRs have shown promise in domains like image super-resolution and 3D rendering, their application to audio has been limited by the need to train a separate INR for every single audio recording, which is highly inefficient. Adapting INRs to the complex, high-dimensional nature of audio also presents challenges, particularly in achieving stable training.

Methods

HyperSound tackles the audio INR challenge using a meta-learning strategy centered around hypernetworks. A hypernetwork is a network that learns to generate the weights for another network, known as the target network. In this context, the hypernetwork learns a general "recipe" for creating INRs that can represent various audio signals.

The HyperSound framework consists of:

  • Hypernetwork (H): This network takes an audio signal as input and outputs the weights for the target network. Its architecture includes a convolutional encoder (based on SoundStream) to extract a latent representation, followed by fully-connected layers to produce the flattened weights of the target network.
  • Target Network (T): This network acts as the INR for a specific audio signal. It takes a time coordinate t and the generated weights θx as input and outputs the corresponding audio amplitude. The target network is designed to be relatively small and consists of a positional embedding layer followed by several fully-connected layers. Inspired by NeRF, it uses sinusoidal positional embeddings to better represent high-frequency details.

The optimization process involves training the hypernetwork in a supervised manner using backpropagation. A key innovation is the loss function, which combines a smooth L1 loss (LSL1) for time-domain reconstruction with a multi-resolution mel-scale Short-Time Fourier Transform (STFT) loss (LSTFT) for frequency-domain reconstruction. This dual-loss approach aims to produce perceptually more pleasant audio.

Datasets

The primary dataset used for training and evaluation in this paper is the VCTK dataset. The authors downsample the recordings to 22,050 Hz and reserve the last 10 speakers for validation. Data augmentation techniques, including random cropping, phase mangling, and dequantization (as proposed in RAVE), are employed during training.

Key Insights and Ideas

  • Meta-learning for Audio INRs: The core idea of using meta-learning via hypernetworks to generate INRs for audio is a significant step towards making INRs practical for this domain. It shifts from per-sample training to a single, generalizable model.
  • Dual-Domain Loss Function: Combining time-domain (L1) and frequency-domain (STFT) losses is crucial for achieving perceptually good audio reconstructions. The L1 loss helps in learning the DC offset, while the STFT loss captures spectral characteristics.
  • Hypernetwork Efficiency: The hypernetwork approach allows for the generation of INRs that are smaller than the original audio samples, offering potential for compression and efficient representation.
  • Resampling Capabilities: The model demonstrates the ability to reconstruct audio at different sampling rates than it was trained on, highlighting the flexibility of INRs.

Key Results

  • Comparable Reconstruction Quality: HyperSound achieves reconstruction quality that is quantitatively comparable to the state-of-the-art model RAVE across several metrics, including MSE, LSD, SI-SNR, PESQ, STOI, and CDPAM.
  • Spectral Domain Improvement: HyperSound produces reconstructions closer to the original signals in the spectral domain compared to RAVE.
  • Resampling Performance: The model shows good performance when resampling audio to different target sampling rates, with LSD levels indicating effectiveness.
  • Network Size Trade-off: The paper finds that a "base" target network architecture (4 layers of 256 neurons) offers an optimal balance between reconstruction quality and computational requirements.

Limitations and Future Work

  • Perceptual Quality Lacking: While quantitatively comparable, the authors acknowledge that the perceptual quality of HyperSound reconstructions is still slightly lacking compared to RAVE.
  • Super-Resolution Limitations: For proper super-resolution capabilities (reconstructing at higher frequencies than trained), the authors suggest the need for an additional loss term specifically targeting higher frequency band representation.
  • Optimization and Architecture: Future work could focus on optimizing the hypernetwork architecture and designing target networks that are better suited for the specific characteristics of audio signals.
  • Compression Potential: Initial results for signal compression are promising, indicating a direction for further investigation.

Summary updated

BibTeX
@misc{szatkowski2022hypersound,
  author = {Filip Szatkowski and Karol J. Piczak and Przemysław Spurek and Jacek Tabor and Tomasz Trzcinski},
  title = {{HyperSound: Generating Implicit Neural Representations of Audio Signals with Hypernetworks}},
  year = {2022},
  eprint = {2211.01839},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.01839},
}
Figure