Skip to main content
QUICK REVIEW

[Paper Review] Autoencoders for music sound synthesis: a comparison of linear, shallow, deep and variational models.

Fanny Roche, Thomas Hueber|arXiv (Cornell University)|Jun 11, 2018
Music and Audio ProcessingComputer Science13 references8 citations
TL;DR

This paper compares linear (PCA), shallow autoencoders (AE), deep autoencoders (DAE), and variational autoencoders (VAE) for compressing and resynthesizing music sound spectra from the NSynth dataset. It finds that while PCA outperforms shallow AE in reconstruction, only deep architectures (DAE) achieve lower reconstruction error, and VAEs, despite higher regularization, still outperform PCA with better disentangled latent representations.

ABSTRACT

This study investigates the use of non-linear unsupervised dimensionality reduction techniques to compress a music dataset into a low-dimensional representation, and its use for the synthesis of new sounds. We systematically compare (shallow) autoencoders (AE) and deep autoencoders (DAE) with principal component analysis (PCA) for representing the high-resolution short-term amplitude spectrum of a large and dense dataset of music notes into a lower-dimensional vector (and then convert it back to a synthetic amplitude spectrum used for sound resynthesis). In addition, we report results obtained with variational autoencoders (VAE) which to our knowledge have never been considered for processing musical sounds. Our experiments were conducted on the publicly available multi-instrument and multi-pitch database NSynth. Interestingly and contrary to the recent literature on image processing, they showed that PCA systematically outperforms shallow AE and that only a deep architecture (DAE) can lead to a lower reconstruction error. The optimization criterion in deep VAE being the sum of the reconstruction error and a regularization term, it naturally leads to a lower reconstruction accuracy than DAE but we show that VAEs are still able to outperform PCA while providing a low-dimensional latent space with nice usability properties.

Motivation & Objective

  • To evaluate non-linear unsupervised dimensionality reduction techniques for music sound representation and synthesis.
  • To compare the performance of PCA, shallow AE, deep AE, and VAE in reconstructing high-resolution amplitude spectra of musical notes.
  • To investigate whether variational autoencoders—previously unexplored in music sound processing—can offer advantages in latent space quality and synthesis usability.
  • To determine the trade-off between reconstruction accuracy and disentanglement in latent space representations for music synthesis.

Proposed method

  • The study uses the NSynth dataset, focusing on short-term amplitude spectra of multi-instrument, multi-pitch musical notes.
  • Principal component analysis (PCA) is applied as a linear baseline for dimensionality reduction and reconstruction.
  • Shallow and deep autoencoders (AE and DAE) are trained to compress the amplitude spectra into a lower-dimensional latent space and reconstruct them.
  • Variational autoencoders (VAE) are implemented with a reparameterization trick and a KL divergence regularization term to encourage disentangled and smooth latent representations.
  • Reconstruction quality is evaluated using mean squared error (MSE) between original and reconstructed amplitude spectra.
  • Latent space usability is assessed qualitatively by analyzing interpolation and generation capabilities in the VAE.

Experimental results

Research questions

  • RQ1Does deep autoencoding (DAE) achieve lower reconstruction error than shallow autoencoders (AE) and PCA on music spectral data?
  • RQ2Can variational autoencoders (VAE) generate high-quality synthesized sounds despite their regularization-induced reconstruction bias?
  • RQ3How does the disentanglement and usability of the latent space in VAE compare to PCA and AE in music sound synthesis?
  • RQ4Why does PCA outperform shallow AE in reconstruction, despite AE being a non-linear method?
  • RQ5What is the trade-off between reconstruction accuracy and latent space structure in different autoencoder variants for music sound modeling?

Key findings

  • PCA consistently outperforms shallow autoencoders (AE) in terms of reconstruction error on the NSynth dataset.
  • Only deep autoencoders (DAE) achieve a lower reconstruction error than PCA, indicating that deeper architectures are necessary for optimal spectral reconstruction.
  • Variational autoencoders (VAE) achieve lower reconstruction error than PCA, despite the regularization term that typically reduces reconstruction accuracy.
  • VAEs produce a disentangled and smooth latent space that enables meaningful interpolation and sound generation, enhancing usability for synthesis tasks.
  • The results contradict recent trends in image processing, where non-linear methods often outperform linear ones, showing that PCA remains highly effective for music spectral data.
  • The study demonstrates that VAEs are a viable alternative to DAEs for music sound synthesis, offering a balance between reconstruction quality and latent space structure.

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.