Skip to main content
QUICK REVIEW

[Paper Review] Learning Disentangled Representations for Timber and Pitch in Music Audio

Yun-Ning Hung, Yi‐An Chen|arXiv (Cornell University)|Nov 8, 2018
Music and Audio ProcessingComputer Science25 references13 citations
TL;DR

This paper proposes two deep convolutional autoencoder models—DuoAE and UnetAE—that learn disentangled representations of musical timbre and pitch from raw audio using frame-level instrument and pitch labels. By leveraging temporal supervision via aligned MIDI pianorolls and adversarial training, the models enable audio-domain music editing through 'timbre crossover,' with UnetAE showing superior performance in preserving pitch structure during timbre transfer.

ABSTRACT

Timbre and pitch are the two main perceptual properties of musical sounds. Depending on the target applications, we sometimes prefer to focus on one of them, while reducing the effect of the other. Researchers have managed to hand-craft such timbre-invariant or pitch-invariant features using domain knowledge and signal processing techniques, but it remains difficult to disentangle them in the resulting feature representations. Drawing upon state-of-the-art techniques in representation learning, we propose in this paper two deep convolutional neural network models for learning disentangled representation of musical timbre and pitch. Both models use encoders/decoders and adversarial training to learn music representations, but the second model additionally uses skip connections to deal with the pitch information. As music is an art of time, the two models are supervised by frame-level instrument and pitch labels using a new dataset collected from MuseScore. We compare the result of the two disentangling models with a new evaluation protocol called "timbre crossover", which leads to interesting applications in audio-domain music editing. Via various objective evaluations, we show that the second model can better change the instrumentation of a multi-instrument music piece without much affecting the pitch structure. By disentangling timbre and pitch, we envision that the model can contribute to generating more realistic music audio as well.

Motivation & Objective

  • To develop deep learning models that disentangle musical timbre and pitch in raw audio for improved audio editing capabilities.
  • To address the limitation of traditional signal processing methods that rely on hand-crafted features and lack direct disentanglement evaluation.
  • To enable data-driven, end-to-end learning of disentangled representations using temporal supervision from frame-level MIDI annotations.
  • To demonstrate the feasibility of audio-domain music editing by manipulating timbre while preserving pitch structure.
  • To introduce a novel evaluation protocol—'timbre crossover'—to quantitatively assess disentanglement quality in representation learning.

Proposed method

  • The models use encoder-decoder architectures with shared weights to map raw audio spectrograms into disentangled latent representations for timbre and pitch.
  • Adversarial training is employed to enforce disentanglement by encouraging the model to predict zero-mean embeddings for both timbre and pitch components.
  • Temporal supervision is applied via frame-level instrument and pitch labels derived from time-aligned MIDI files, enabling precise supervision at the note level.
  • The UnetAE model incorporates symmetric skip connections to allow direct flow of pitch information from encoder to decoder, improving pitch reconstruction.
  • The models are trained to reconstruct symbolic pianoroll representations (note-on/off per instrument and pitch) rather than raw audio, enabling better disentanglement.
  • A new evaluation protocol—'timbre crossover'—is introduced, where the model swaps timbre representations between clips while preserving pitch, enabling quantitative assessment of disentanglement.

Experimental results

Research questions

  • RQ1Can deep autoencoders with adversarial training and temporal supervision learn disentangled representations of timbre and pitch in music audio?
  • RQ2How effective is the proposed 'timbre crossover' evaluation protocol in measuring the quality of disentanglement compared to standard metrics?
  • RQ3To what extent do skip connections in the UnetAE architecture improve pitch preservation during timbre transfer?
  • RQ4Can the learned representations enable realistic audio-domain music editing without re-recording?
  • RQ5How does the choice of target output (pianoroll vs. CQT) affect the performance of disentangled representation learning?

Key findings

  • The UnetAE model achieved 69.1% pitch accuracy in timbre crossover, significantly outperforming DuoAE (42.8%) and ablated models without adversarial training.
  • Using pianorolls as the target output improved instrument recognition accuracy by 9.6% and pitch accuracy by 5.3% compared to using CQT, confirming the benefit of temporal supervision.
  • Removing skip connections from UnetAE reduced transcription accuracy to 0.407 and dropped pitch accuracy in timbre crossover to 0.068, demonstrating their critical role in pitch preservation.
  • The spectrogram of the generated audio after piano-to-viola timbre crossover successfully captured key acoustic characteristics such as longer sustain and stronger harmonics.
  • The ablation study confirmed that the model's ability to disentangle pitch and timbre is significantly degraded without adversarial training or proper supervision.
  • Despite promising results, audio quality remains suboptimal, suggesting room for improvement through advanced decoders like WaveNet or multi-band architectures.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.