Unsupervised Harmonic Parameter Estimation Using Differentiable DSP and Spectral Optimal Transport
Bernardo Torres, Geoffroy Peeters, Gaël Richard
TL;DR
This work tackles unsupervised harmonic parameter estimation by introducing Spectral Optimal Transport (SOT) as a horizontal spectral loss for end-to-end audio modeling. It builds an unsupervised autoencoder that jointly estimates the fundamental frequency $f_0$ and harmonic amplitudes from a CQT input and reconstructs the signal via a differentiable harmonic synthesizer. Compared to the traditional Multi-Scale Spectral (MSS) loss on synthetic data, SOT improves robustness and enables better frequency localization through a Wasserstein-based spectral comparison, though it remains sensitive to small spectral variations and may require integration with vertical losses for real-world data. Overall, SOT presents a promising direction for improving unsupervised parameter estimation in neural audio applications and reducing the need for external pitch trackers.
Abstract
In neural audio signal processing, pitch conditioning has been used to enhance the performance of synthesizers. However, jointly training pitch estimators and synthesizers is a challenge when using standard audio-to-audio reconstruction loss, leading to reliance on external pitch trackers. To address this issue, we propose using a spectral loss function inspired by optimal transportation theory that minimizes the displacement of spectral energy. We validate this approach through an unsupervised autoencoding task that fits a harmonic template to harmonic signals. We jointly estimate the fundamental frequency and amplitudes of harmonics using a lightweight encoder and reconstruct the signals using a differentiable harmonic synthesizer. The proposed approach offers a promising direction for improving unsupervised parameter estimation in neural audio applications.
