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

Learning to Solve Inverse Problems for Perceptual Sound Matching

Han Han, Vincent Lostanlen, Mathieu Lagrange

Abstract Perceptual sound matching (PSM) aims to find the input parameters to a synthesizer so as to best imitate an audio target. Deep learning for PSM optimizes a neural network to analyze and reconstruct prerecorded samples. In this context, our article addresses the problem of designing a suitable loss function when the training set is generated by a differentiable synthesizer. Our main contribution is perceptual–neural–physical loss (PNP), which aims at addressing a tradeoff between perceptual relevance and computational efficiency. The key idea behind PNP is to linearize the effect of synthesis parameters upon auditory features in the vicinity of each training sample. The linearization procedure is massively parallelizable, can be precomputed, and offers a 100-fold speedup during gradient descent compared to differentiable digital signal processing (DDSP). We demonstrate PNP on two datasets of nonstationary sounds: an AM/FM arpeggiator and a physical model of rectangular membranes. We show that PNP is able to accelerate DDSP with joint time–frequency scattering transform (JTFS) as auditory feature while preserving its perceptual fidelity. Additionally, we evaluate the impact of other design choices in PSM: parameter rescaling, pretraining, auditory representation, and gradient clipping. We report state-of-the-art results on both datasets and find that PNP-accelerated JTFS has greater influence on PSM performance than any other design choice.

Introduction

Perceptual Sound Matching (PSM) is the task of finding the exact "knob settings" (parameters) of a synthesizer to replicate a specific target sound. While humans can do this by ear, automating it is a classic "inverse problem" that is notoriously difficult. The current state-of-the-art involves Differentiable Digital Signal Processing (DDSP), where a neural network is trained using a loss function that compares the synthesized sound to the target.

However, researchers face a frustrating tradeoff: simple losses (like Mean Squared Error on parameters) are fast but don't account for how humans actually perceive sound, while high-fidelity perceptual losses (like those based on complex auditory models) are computationally expensive and significantly slow down training because the computer must calculate complex gradients through the entire synthesis chain at every step.

The Perceptual–Neural–Physical (PNP) Loss

The core innovation of this work is the PNP loss, which uses a second-order Taylor expansion to approximate the perceptual loss. Instead of calculating the full perceptual gradient during every training iteration, the method precomputes a Riemannian metric (a kernel matrix) for each training sample. This matrix captures how small changes in the synthesizer's parameters affect the resulting auditory features.

Comparison between standard DDSP spectral loss and the proposed PNP quadratic form using a Riemannian metric.

Because this matrix is precomputed and cached, the heavy lifting of the "physical" synthesizer and the "perceptual" feature extractor is done once. During training, the neural network only needs to perform a simple matrix multiplication. This linearization procedure is massively parallelizable and offers a 100-fold speedup during gradient descent compared to standard DDSP. To maintain stability, the authors employ adaptive damping inspired by the Levenberg-Marquardt algorithm, starting with a simple parameter loss and gradually introducing the complex perceptual loss.

Experimental Setup and Datasets

The researchers evaluated PNP on two challenging datasets of non-stationary sounds:

  1. AM/FM Arpeggiator: A synthesizer producing ascending chirps with complex amplitude modulations.
  2. FTM Drum Synthesizer: A physical model of a rectangular membrane producing inharmonic, percussive sounds that reflect real-world acoustic instruments.

A key component of the evaluation was the integration of the Joint Time–Frequency Scattering (JTFS) transform as the auditory feature. JTFS is uniquely capable of capturing "mesostructures" like vibrato and tremolo that standard spectrograms often miss.

Key Results and Insights

The study found that local linearity is sufficient to guide the neural network toward correct parameters; simulating the entire complex synthesis process at every step is unnecessary.

  • Efficiency: The PNP loss achieved a 100x speedup over standard differentiable processing.
  • Accuracy: On the AM/FM arpeggiator task, the proposed model achieved a JTFS distance of 3.2, compared to 47 for standard DDSP models using spectrogram losses.
  • Feature Importance: Standard Multi-Scale Spectrogram (MSS) losses failed significantly on sounds with complex temporal modulations. The inclusion of JTFS was the single most influential factor in performance, providing the informative distance measures needed to match tremolo and chirp rates accurately.

Conclusion

PNP-accelerated JTFS represents a significant step forward in PSM, outperforming baseline methods across both percussive and modulated datasets. While the method currently requires a synthetic training set with known ground-truth parameters, it establishes a framework for high-fidelity, efficient inverse synthesis. Future work will focus on bridging the "synthetic gap" to allow training on unlabeled real-world recordings and adapting the method for non-differentiable "black-box" synthesizers.

Summary updated

BibTeX
@inproceedings{han2024learning,
  author = {Han Han and Vincent Lostanlen and Mathieu Lagrange},
  title = {{Learning to Solve Inverse Problems for Perceptual Sound Matching}},
  booktitle = {IEEE/ACM},
  year = {2024},
  doi = {10.1109/taslp.2024.3393738},
}
Figure