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

Hypernetworks Build Implicit Neural Representations of Sounds

Filip Szatkowski, Karol J. Piczak, Przemysław Spurek, Jacek Tabor, Tomasz TrzcińskiECML/PKDD 2023

Introduction

Implicit Neural Representations (INRs) have emerged as a powerful paradigm for representing continuous signals. Unlike traditional discrete representations—such as pixels for images or samples for audio—INRs model data as a continuous function, typically parameterized by a neural network that maps coordinates (e.g., time or spatial position) to signal values (e.g., amplitude or color). This approach offers significant advantages, including resolution independence and efficient compression.

However, a major bottleneck in the adoption of INRs is the computational cost of optimization. Standard approaches require training a unique neural network from scratch for every individual data point. While meta-learning techniques have successfully addressed this for images and 3D shapes, audio has remained a challenging "final frontier." Audio signals are characterized by high dimensionality and complex high-frequency patterns that are difficult for standard networks to capture without significant inductive bias. This paper introduces HyperSound, the first meta-learning framework designed to generate INRs for audio using hypernetworks.

The HyperSound Framework

HyperSound moves beyond the "one-network-per-sound" limitation by using a single master network to predict the weights of an INR on-the-fly. The architecture consists of three primary components:

  1. The Encoder: Drawing inspiration from SoundStream, a convolutional encoder compresses raw audio waveforms into a compact latent representation.
  2. The Hypernetwork: A multi-layer perceptron (MLP) processes the latent representation to predict the weights ($\theta$) for the target INR.
  3. The Target Network (The INR): This network serves as the actual continuous representation of the sound. The researchers evaluated two specific architectures for the target network:
  4. FMLP (Fourier-mapped MLP): Utilizes positional encoding to assist the network in capturing high-frequency components.
  5. SIREN (Sinusoidal Representation Networks): Employs sinusoidal activation functions, which are mathematically optimized for representing fine details and derivatives in complex signals.

Optimization and Stability

Training hypernetworks to generate weights for other networks is notoriously difficult. To stabilize this process for audio, the authors implemented a specialized weight initialization strategy for the hypernetwork to prevent the generated SIREN weights from causing gradient explosions. Furthermore, they introduced a multi-resolution spectral loss (STFT). This loss function is critical; without it, the model tends to prioritize low-frequency reconstruction, resulting in muffled or silent audio output.

Experiments and Results

The framework was evaluated using prominent speech datasets, including VCTK (multi-speaker), LJ Speech (single-speaker), and LibriSpeech (large-scale generalization).

Performance Benchmarks

HyperSound was compared against RAVE, a state-of-the-art audio autoencoder. In terms of pure reconstruction metrics like Mean Squared Error (MSE), HyperSound outperformed RAVE across various compression ratios. While RAVE maintains a slight advantage in certain perceptual metrics such as PESQ (Perceptual Evaluation of Speech Quality), HyperSound achieves comparable results while providing the unique benefits of an INR, such as infinite resolution resampling and a continuous representation of the signal.

Generalization and Latent Structure

A key finding of the study is that HyperSound successfully generalizes to unseen speakers. This demonstrates that the model has learned a generalizable mapping rather than simply memorizing training samples.

Analysis of the generated weights revealed a structured manifold. By applying t-SNE visualization to the weights produced by the hypernetwork, the researchers found that the weights naturally clustered according to speaker identity and gender. This suggests that the hypernetwork learns to encode semantic and acoustic characteristics directly into the weight space of the target INR. Additionally, experiments with "hybrid" models showed that sharing the first layer of the target network across all samples improved both efficiency and performance.

Conclusion and Future Work

HyperSound represents a significant step forward in audio modeling, proving that hypernetworks can effectively build generalizable INRs for complex, high-dimensional acoustic signals. By explicitly weighting higher frequencies and employing robust initialization, the authors have overcome the primary hurdles of meta-learning in the audio domain.

Despite these successes, challenges remain. Hypernetworks are sensitive to hyperparameter selection, and SIREN-based target networks can still exhibit instability during training. Future research will focus on aligning mathematical loss functions more closely with human psychoacoustics to close the perceptual quality gap and further stabilizing the training of sinusoidal architectures.

Summary updated

BibTeX
@inproceedings{szatkowski2023hypernetworks,
  author = {Filip Szatkowski and Karol J. Piczak and Przemysław Spurek and Jacek Tabor and Tomasz Trzciński},
  title = {{Hypernetworks Build Implicit Neural Representations of Sounds}},
  booktitle = {ECML/PKDD},
  year = {2023},
  url = {https://openreview.net/forum?id=eqAyNnFgVR},
}
Figure