mlsanityData to 7 Oct 2026

Encoding of musical structures in hidden units of restricted Boltzmann machines

arXiv 2509.04899 ↗First posted 5 Sep 2025cs.SD cs.LG eess.AScited by 0

Not on the map. Why?

Abstract (arXiv)

Restricted Boltzmann machines (RBMs) are energy-based models originating from statistical physics, in which hidden units mediate the probability distribution of high-dimensional visible configurations. In this study, we use symbolic music as a structured non-physical dataset and investigate how musical regularities are encoded in the hidden layer of a Bernoulli-Bernoulli RBM. Musical scores by J.~S.~Bach are converted into binary piano-roll representations and used to train the model in an unsupervised manner. We then analyze the visible-layer patterns induced by individual hidden units by activating hidden units separately and computing the corresponding expected visible configurations. The trained RBM reconstructs piano-roll-like inputs and assigns lower energies to piano-roll configurations than to most non-musical binary images, indicating that the learned energy function captures statistical features of the piano-roll dataset. The hidden units mainly encode local temporal and pitch-statistical structures, such as sparse piano-roll-like textures, rather than directly separable musical concepts such as melodies, chords, or keys. We also analyze hidden-layer representations using t-SNE and find that transposed versions of the same musical pieces are not necessarily mapped to nearby regions in the hidden space. This behavior indicates that the trained RBM does not robustly capture transposition equivalence, which is naturally explained by the lack of translational invariance in standard RBM architectures. Samples from the trained RBM show local pitch organization, whereas iterative continuation reveals limited long-range coherence. These results provide a statistical-physics case study of how a simple spin model represents structured creative data and clarify both the usefulness and limitations of standard RBMs as interpretable models of musical structure.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 9 of its 25 references that are in the map. First posted on arXiv 5 Sep 2025.

Builds on

9 of 25 references.

References · 9

  1. 2020Jukebox: A Generative Model for Musiccited by 535
  2. 2018Enabling Factorized Piano Music Modeling and Generation with the MAESTRO Datasetcited by 215
  3. 2017MuseGAN: Multi-track Sequential Generative Adversarial Networks for Symbolic Music Generation and Accompanimentcited by 151
  4. 2016C-RNN-GAN: Continuous recurrent neural networks with adversarial trainingcited by 132
  5. 2016DeepBach: a Steerable Model for Bach Chorales Generationcited by 90
  6. 2024ChatMusician: Understanding and Generating Music Intrinsically with LLMcited by 67
  7. 2020Learning Interpretable Representation for Controllable Polyphonic Music Generationcited by 40
  8. 2023Exploring XAI for the Arts: Explaining Latent Space in Generative Musiccited by 8
  9. 2016Text-based LSTM networks for Automatic Music Compositioncited by 6

Built on by

Not cited yet.