arXiv ScienceSearch

arXiv · 2403.03224

Reinforcement Learning Jazz Improvisation: When Music Meets Game Theory

Abstract

Live performances of music are always charming, with the unpredictability of improvisation due to the dynamic between musicians and interactions with the audience. Jazz improvisation is a particularly noteworthy example for further investigation from a theoretical perspective. Here, we introduce a novel mathematical game theory model for jazz improvisation, providing a framework for studying music theory and improvisational methodologies. We use computational modeling, mainly reinforcement learning, to explore diverse stochastic improvisational strategies and their paired performance on improvisation. We find that the most effective strategy pair is a strategy that reacts to the most recent payoff (Stepwise Changes) with a reinforcement learning strategy limited to notes in the given chord (Chord-Following Reinforcement Learning). Conversely, a strategy that reacts to the partner's last note and attempts to harmonize with it (Harmony Prediction) strategy pair yields the lowest non-control payoff and highest standard deviation, indicating that picking notes based on immediate reactions to the partner player can yield inconsistent outcomes. On average, the Chord-Following Reinforcement Learning strategy demonstrates the highest mean payoff, while Harmony Prediction exhibits the lowest. Our work lays the foundation for promising applications beyond jazz: including the use of artificial intelligence (AI) models to extract data from audio clips to refine musical reward systems, and training machine learning (ML) models on existing jazz solos to further refine strategies within the game.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Vedant Tapiavala, Joshua Piesner, Sourjyamoy Barman, Feng Fu. 2024-02-25. Reinforcement Learning Jazz Improvisation: When Music Meets Game Theory. https://arxiv.org/abs/2403.03224

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Assessment of Latent Pedestrian-Vehicle Interaction Risk Profiles at Midblock Crossing in VR

Pedestrian safety at midblock crossings is a critical concern in mixed traffic environments where autonomous vehicles (AVs) and human-driven vehicles (HDVs) share the road. Pedestrians often infer intent from vehicle motion in AV encounters, making them vulnerable to small shifts in conflict margins. This study investigates whether virtual reality (VR) crossing sessions separate into distinct interaction risk profiles and whether AV-only sessions shift profile prevalence compared to HDV-only sessions. Using large-scale immersive VR experiments from Toronto, Canada, and Newcastle, England, we compute surrogate safety measures (SSMs) and apply latent profile analysis (LPA) to identify distinct pedestrian crossing stances, ranging from risk-accepting to highly cautious. Key findings show that Newcastle exhibits a higher prevalence of high-urgency risk profiles in AV-only sessions, indicating that AVs contribute to higher-risk encounters. In contrast, Toronto shows no significant difference between AV-only and HDV-only sessions, suggesting that contextual factors influence the impact of AVs on pedestrian safety.

physics.soc-ph

Unused power surge compromises U.S. road vehicles sustainability

Material and energy flows underpin sociotechnical metabolism. However, despite growing sustainability concerns over expanding material stocks and declining stock productivity, the link between material use and energy consumption remains poorly understood. This gap reflects a limited distinction between structures and the activity they enable, and the lack of quantification of the installed power of energy consuming structures. Here we reconstruct the long-term growth dynamics of U.S. road vehicles, distinguishing professional and consumer assets. We show that installed power, mass, and fuel energy use follow divergent patterns within and across vehicle categories. By introducing the usage factor as a metric linking structure to activity, we quantify decoupling mechanisms such as engine oversizing and fleet redundancy, which drive up material immobilization. As electrification requires large-scale fleet replacement, our findings highlight that avoiding power oversized vehicles could reduce material demand, emphasizing the need to account for structure-activity decoupling in energy transition policies.

physics.soc-ph

Environmental sustainability in basic research: a perspective from HECAP+

The climate crisis and the degradation of the world's ecosystems require humanity to take immediate action. The international scientific community has a responsibility to limit the negative environmental impacts of basic research. The HECAP+ communities (High Energy Physics, Cosmology, Astroparticle Physics, and Hadron and Nuclear Physics) make use of common and similar experimental infrastructure, such as accelerators and observatories, and rely similarly on the processing of big data. Our communities therefore face similar challenges to improving the sustainability of our research. This document aims to reflect on the environmental impacts of our work practices and research infrastructure, to highlight best practice, to make recommendations for positive changes, and to identify the opportunities and challenges that such changes present for wider aspects of social responsibility.

physics.soc-ph