[Paper Review] Learning Disentangled Representations of Timbre and Pitch for Musical Instrument Sounds Using Gaussian Mixture Variational Autoencoders
This paper proposes a Gaussian Mixture Variational Autoencoder (GMVAE) framework that disentangles timbre and pitch in musical instrument sounds using separate encoders for each factor. By sampling from distinct Gaussian mixture components for pitch and timbre and concatenating them for decoding, the model enables controllable synthesis and many-to-many timbre transfer, achieving high F-scores (up to 0.958) on instrument classifiers tested on synthesized audio.
In this paper, we learn disentangled representations of timbre and pitch for musical instrument sounds. We adapt a framework based on variational autoencoders with Gaussian mixture latent distributions. Specifically, we use two separate encoders to learn distinct latent spaces for timbre and pitch, which form Gaussian mixture components representing instrument identity and pitch, respectively. For reconstruction, latent variables of timbre and pitch are sampled from corresponding mixture components, and are concatenated as the input to a decoder. We show the model efficacy by latent space visualization, and a quantitative analysis indicates the discriminability of these spaces, even with a limited number of instrument labels for training. The model allows for controllable synthesis of selected instrument sounds by sampling from the latent spaces. To evaluate this, we trained instrument and pitch classifiers using original labeled data. These classifiers achieve high accuracy when tested on our synthesized sounds, which verifies the model performance of controllable realistic timbre and pitch synthesis. Our model also enables timbre transfer between multiple instruments, with a single autoencoder architecture, which is evaluated by measuring the shift in posterior of instrument classification. Our in depth evaluation confirms the model ability to successfully disentangle timbre and pitch.
Motivation & Objective
- To learn disentangled representations of timbre and pitch in musical instrument sounds, enabling controllable audio synthesis.
- To address the lack of disentangled audio representations in music generation, especially for real instrument recordings.
- To enable many-to-many timbre transfer without training per-instrument decoders or requiring categorical conditions.
- To evaluate disentanglement through latent space visualization, classifier F-scores, and spectral centroid analysis.
- To explore the model's generalization and interpretability in generating realistic, controllable instrument sounds.
Proposed method
- The model uses two separate encoders to learn distinct latent spaces for pitch and timbre, each forming a Gaussian mixture component.
- Latent variables for pitch and timbre are sampled independently from their respective mixture components and concatenated as input to a shared decoder.
- The framework employs a GMVAE with diagonal-covariance Gaussian priors to encourage disentanglement in latent dimensions.
- A shared decoder reconstructs the audio spectrogram from the concatenated pitch and timbre latent variables.
- Instrument and pitch classifiers are trained end-to-end on original and synthesized data to evaluate disentanglement and controllability.
- Spectral centroid disentanglement is evaluated by modifying a specific latent dimension and measuring changes in spectral centroid values.
Experimental results
Research questions
- RQ1Can a GMVAE-based framework successfully disentangle pitch and timbre in real musical instrument recordings?
- RQ2To what extent can the model enable controllable synthesis of instrument sounds by manipulating disentangled latent factors?
- RQ3Can the model perform many-to-many timbre transfer without per-instrument decoders or categorical conditions?
- RQ4How well do the learned representations generalize to out-of-range pitch or unseen instrument combinations?
- RQ5Which latent dimensions correspond to specific acoustic features such as spectral centroid?
Key findings
- The model achieves high F-scores (up to 0.958) on instrument classification when tested on synthesized sounds, confirming effective disentanglement and realistic synthesis.
- Pitch classification maintains perfect F-scores across most source-target timbre transfer pairs, indicating pitch is preserved during transfer.
- The F-score drops to 0.750 and 0.791 for piano-to-cello and piano-to-bassoon transfers, attributed to pitch range mismatch and model generalization limits.
- A significant correlation is found between the 13th latent dimension of timbre and spectral centroid, with a p-value < 0.05 from a two-tailed t-test.
- Latent dimension traversal shows that increasing z¹³ₜ reduces high-frequency energy and lowers spectral centroid, confirming disentanglement of this acoustic feature.
- The model successfully transfers timbre across multiple instruments (e.g., piano → cello, French horn → bassoon), with posterior shifts peaking at α = 0.5, indicating effective control.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.