Learning to Solve Inverse Problems for Perceptual Sound Matching
Han Han, Vincent Lostanlen, Mathieu Lagrange
TL;DR
The paper tackles inverse problems in perceptual sound matching (PSM) by proposing perceptual-neural-physical (PNP) loss, a quadratic, precomputable surrogate of a perceptual loss that leverages the Jacobian of $(\boldsymbol{\Phi} \circ \boldsymbol{g})$ through a Riemannian metric $\mathbf{M}(\boldsymbol{\theta})$. An adaptive Levenberg–Marquardt–style damping term $\lambda$ stabilizes optimization when $\mathbf{M}$ is ill-conditioned, enabling a smooth transition from parameter-space loss to perceptual loss during training. The approach is instantiated with joint time--frequency scattering (JTFS) as the perceptual feature and evaluated on two differentiable nonstationary synthesizers: an AM/FM arpeggiator and a FTM-based rectangular membrane drum model; results show JTFS-based PNP achieves state-of-the-art perceptual matching and accelerates training relative to DDSP with MSS. The work includes extensive ablations, a study of learning dynamics, reparameterization effects, and optimizer choices, and provides open-source code. Overall, PNP offers a scalable, geometry-aware pathway to incorporate rich perceptual objectives in PSM, highlighting domain-specific representations and adaptive training strategies for improved generalization and efficiency; future work points to domain adaptation for real-world data.
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 paralellizable, 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.
