SCRAPL: Scattering Transform with Random Paths for Machine Learning
Christopher Mitcheltree, Vincent Lostanlen, Emmanouil Benetos, Mathieu Lagrange
TL;DR
SCRAPL tackles the prohibitive cost of differentiable multivariable scattering losses by sampling random ST paths and stabilizing the gradient with path-wise optimizers ($\mathcal{P}$-Adam, $\mathcal{P}$-SAGA) and a perceptually informed $\theta$-importance samplingInit. The method is evaluated on JTFS-based unsupervised sound matching across granular, chirplet, and TR-808 synthesis tasks, showing accuracy close to full JTFS but with runtimes near MSS. A key theoretical result is that uniformly sampled path gradients provide an unbiased estimate of the full ST gradient, and practical gains come from combining per-path momentum strategies and biased path sampling. The work enables scalable, differentiable audio optimization and points to future extensions to other ST families and multimodal inverse problems.
Abstract
The Euclidean distance between wavelet scattering transform coefficients (known as paths) provides informative gradients for perceptual quality assessment of deep inverse problems in computer vision, speech, and audio processing. However, these transforms are computationally expensive when employed as differentiable loss functions for stochastic gradient descent due to their numerous paths, which significantly limits their use in neural network training. Against this problem, we propose "Scattering transform with Random Paths for machine Learning" (SCRAPL): a stochastic optimization scheme for efficient evaluation of multivariable scattering transforms. We implement SCRAPL for the joint time-frequency scattering transform (JTFS) which demodulates spectrotemporal patterns at multiple scales and rates, allowing a fine characterization of intermittent auditory textures. We apply SCRAPL to differentiable digital signal processing (DDSP), specifically, unsupervised sound matching of a granular synthesizer and the Roland TR-808 drum machine. We also propose an initialization heuristic based on importance sampling, which adapts SCRAPL to the perceptual content of the dataset, improving neural network convergence and evaluation performance. We make our code and audio samples available and provide SCRAPL as a Python package.
