Skip to main content
QUICK REVIEW

[Paper Review] Musical Composition Style Transfer via Disentangled Timbre Representations

Yun-Ning Hung, I-Tung Chiang|arXiv (Cornell University)|May 30, 2019
Music and Audio ProcessingComputer Science23 references5 citations
TL;DR

This paper proposes a deep learning framework for musical composition style transfer by disentangling timbre and pitch representations in polyphonic audio using adversarial training. The model achieves state-of-the-art performance in instrument activity detection and enables high-quality music rearrangement by manipulating timbre while preserving pitch content, demonstrating effective style transfer across genres like strings, piano, and band.

ABSTRACT

Music creation involves not only composing the different parts (e.g., melody, chords) of a musical work but also arranging/selecting the instruments to play the different parts. While the former has received increasing attention, the latter has not been much investigated. This paper presents, to the best of our knowledge, the first deep learning models for rearranging music of arbitrary genres. Specifically, we build encoders and decoders that take a piece of polyphonic musical audio as input and predict as output its musical score. We investigate disentanglement techniques such as adversarial training to separate latent factors that are related to the musical content (pitch) of different parts of the piece, and that are related to the instrumentation (timbre) of the parts per short-time segment. By disentangling pitch and timbre, our models have an idea of how each piece was composed and arranged. Moreover, the models can realize "composition style transfer" by rearranging a musical piece without much affecting its pitch content. We validate the effectiveness of the models by experiments on instrument activity detection and composition style transfer. To facilitate follow-up research, we open source our code at https://github.com/biboamy/instrument-disentangle.

Motivation & Objective

  • To develop a universal neural network model for automatic music rearrangement that preserves pitch content while modifying instrumentation.
  • To address the lack of generalizable models for music style transfer by disentangling timbre and pitch factors in latent space.
  • To enable composition style transfer without requiring paired data for every target style, using only audio and MIDI pairs.
  • To improve music rearrangement quality by learning disentangled representations through adversarial training and pitch-aware modeling.
  • To facilitate future research by open-sourcing code and providing demo results.

Proposed method

  • The model uses a U-Net-based encoder-decoder architecture to transcribe polyphonic audio into MIDI scores, predicting both pitch and instrument per note.
  • Disentanglement is achieved via adversarial training, where a discriminator is trained to distinguish timbre-related factors from pitch-related ones in the latent space.
  • The model leverages MIDI annotations to supervise pitch and instrument predictions, enabling joint learning of pitch and timbre representations.
  • Timbre disentanglement is further enhanced by training a separate instrument classifier on the latent code, encouraging disentanglement through adversarial loss.
  • For style transfer, the pitch-related latent factors are fixed while timbre-related factors are modified to generate new instrumentations.
  • The approach uses a combination of reconstruction loss, pitch classification loss, and adversarial loss to optimize the model end-to-end.

Experimental results

Research questions

  • RQ1Can disentangled timbre representations be effectively learned from audio and MIDI pairs to enable music rearrangement?
  • RQ2Does adversarial training improve the disentanglement of timbre and pitch factors in neural audio transcription?
  • RQ3To what extent can the model transfer musical composition styles without altering the pitch content?
  • RQ4How does the model perform in instrument activity detection compared to prior work?
  • RQ5Can the model generalize across diverse musical genres such as strings, piano, acoustic, and band compositions?

Key findings

  • The proposed UnetED model achieves state-of-the-art performance in instrument activity detection, outperforming prior methods on the M&M dataset.
  • Adversarial training significantly improves disentanglement, leading to better performance in both instrument activity detection and music rearrangement.
  • UnetED generates more rhythmic and harmonic rearrangements than its ablated version, as confirmed by human evaluation on 12 source-target style pairs.
  • Human subjects rated UnetED higher than the baseline method by Hadad et al. (2018), which failed to preserve pitch information and produced many empty tracks.
  • The model successfully assigns appropriate instruments to notes—e.g., bass for low notes, melody to violin or flute—demonstrating effective instrument selection during rearrangement.
  • There was no significant difference in ratings between music professionals and non-professionals, suggesting the model's output is perceptually plausible to a broad audience.

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.