Skip to main content
QUICK REVIEW

[Paper Review] Towards Interpretable Polyphonic Transcription with Invertible Neural Networks

Rainer Kelz, Gerhard Widmer|arXiv (Cornell University)|Sep 4, 2019
Music and Audio ProcessingComputer Science35 references7 citations
TL;DR

This paper introduces invertible neural networks (INNs) for interpretable polyphonic music transcription, enabling direct inspection of learned representations and generation of symbolic note outputs. By training on the MAPS dataset, the model reveals that isolated notes—especially in extreme octaves—cannot be reliably disentangled from polyphonic training data, exposing a key limitation in current neural transcription systems.

ABSTRACT

We explore a novel way of conceptualising the task of polyphonic music transcription, using so-called invertible neural networks. Invertible models unify both discriminative and generative aspects in one function, sharing one set of parameters. Introducing invertibility enables the practitioner to directly inspect what the discriminative model has learned, and exactly determine which inputs lead to which outputs. For the task of transcribing polyphonic audio into symbolic form, these models may be especially useful as they allow us to observe, for instance, to what extent the concept of single notes could be learned from a corpus of polyphonic music alone (which has been identified as a serious problem in recent research). This is an entirely new approach to audio transcription, which first of all necessitates some groundwork. In this paper, we begin by looking at the simplest possible invertible transcription model, and then thoroughly investigate its properties. Finally, we will take first steps towards a more sophisticated and capable version. We use the task of piano transcription, and specifically the MAPS dataset, as a basis for these investigations.

Motivation & Objective

  • To address the lack of interpretability in neural music transcription models, particularly regarding whether models learn disentangled representations of individual notes.
  • To investigate whether invertible neural networks (INNs) can unify discriminative and generative modeling in music transcription, enabling direct inspection of model behavior.
  • To assess whether the concept of single, isolated notes can be learned from a polyphonic corpus alone, using INNs to generate and evaluate such notes.
  • To provide a method for identifying ambiguous or uncertain predictions in unlabeled data through model inversion and sampling.
  • To explore the feasibility of using INNs for downstream MIR tasks such as style transfer and source separation.

Proposed method

  • The model uses an invertible neural network (INN) to map a magnitude spectrogram input to a disentangled output: a semantic part (transcription, y) and a nuisance part (z), both sharing the same parameters.
  • The INN is trained to minimize the reconstruction error between the original input spectrogram and the output reconstructed from y and z, ensuring bijective mapping.
  • For interpretability, the model generates synthetic audio samples by sampling z from a standard normal distribution and conditioning on specific y values (e.g., single notes).
  • Framewise Euclidean distances between generated samples and ground-truth isolated note recordings are computed and quantile-averaged to assess fidelity.
  • The model is evaluated on the MAPS dataset, using both framewise and temporal context-aware RevNet architectures, with performance measured via reconstruction error and perceptual similarity.
  • The method enables direct visualization of model behavior by inverting predictions and reconstructing input data, allowing inspection of what inputs lead to which outputs.

Experimental results

Research questions

  • RQ1Can invertible neural networks be used to interpret how a polyphonic transcription model encodes individual notes, and to what extent it learns disentangled representations?
  • RQ2To what extent can a model trained on polyphonic music alone learn to represent isolated musical notes, as verified through generation and comparison to ground-truth recordings?
  • RQ3Can the model identify and flag uncertain or ambiguous predictions in unlabeled data by analyzing reconstruction quality and sampling behavior?
  • RQ4Does incorporating temporal context via RevNets improve transcription performance or interpretability compared to framewise models?
  • RQ5Can the same model serve both as a transcription system and a synthesizer, enabling semantic concept sampling and style transfer?

Key findings

  • The model successfully reconstructs input spectrograms with negligible error, confirming the invertibility and stability of the learned mapping.
  • Samples generated from the model for isolated notes show high fidelity for common pitches but significant deviation for rare or extreme notes, especially in the lowest and highest octaves.
  • The interquantile range of framewise distances between generated and reference notes reveals that notes in extreme registers are poorly reconstructed, indicating the model fails to learn these concepts from polyphonic data.
  • The use of INNs allows direct inspection of model behavior: by sampling from the latent space, practitioners can observe whether the model has learned meaningful, disentangled representations of individual notes.
  • Temporal context via RevNets did not yield measurable improvements in performance or interpretability, likely due to increased model complexity and insufficient training data.
  • The model enables semantic concept sampling and style transfer by modifying the semantic output y and re-inverting, suggesting broader applicability to MIR tasks beyond transcription.

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.