Density Matrix RNN (DM-RNN): A Quantum Information Theoretic Framework for Modeling Musical Context and Polyphony
Joonwon Seo, Mariana Montiel
TL;DR
The paper tackles the inability of classical RNNs to capture musical ambiguity by introducing the Density Matrix RNN (DM-RNN), which replaces the deterministic hidden state with a density matrix $\rho_t$ to encode a statistical ensemble and coherences. Temporal evolution is constrained to CPTP maps, parameterized via the Choi–Jamiołkowski isomorphism to guarantee physical validity, with predictions made through learned POVMs. A quantum-information-based analytical framework using Von Neumann entropy $S(\rho_t)$ and Quantum Mutual Information $I(A;B)$ enables quantification of musical uncertainty and inter-voice dependencies, while tensor-network strategies are proposed to address computational scalability. The approach provides a rigorous, information-theoretic ground for modeling complex polyphonic contexts and coherence in music, with future work focusing on scalable implementations and extensions to open quantum-system dynamics.
Abstract
Classical Recurrent Neural Networks (RNNs) summarize musical context into a deterministic hidden state vector, imposing an information bottleneck that fails to capture the inherent ambiguity in music. We propose the Density Matrix RNN (DM-RNN), a novel theoretical architecture utilizing the Density Matrix. This allows the model to maintain a statistical ensemble of musical interpretations (a mixed state), capturing both classical probabilities and quantum coherences. We rigorously define the temporal dynamics using Quantum Channels (CPTP maps). Crucially, we detail a parameterization strategy based on the Choi-Jamiolkowski isomorphism, ensuring the learned dynamics remain physically valid (CPTP) by construction. We introduce an analytical framework using Von Neumann Entropy to quantify musical uncertainty and Quantum Mutual Information (QMI) to measure entanglement between voices. The DM-RNN provides a mathematically rigorous framework for modeling complex, ambiguous musical structures.
