ReaLJam: Real-Time Human-AI Music Jamming with Reinforcement Learning-Tuned Transformers

Alexander Scarlatos, Yusong Wu, Ian Simon, Adam Roberts, Tim Cooijmans, Natasha Jaques, Cassie Tarakajian and Anna Huang

Abstract

Recent advances in generative artificial intelligence (AI) have created models capable of high-quality musical content generation. However, little consideration is given to how to use these models for real-time or cooperative jamming musical applications because of crucial required features: low latency, the ability to communicate planned actions, and the ability to adapt to user input in real-time. To support these needs, we introduce ReaLJam, an interface and protocol for live musical jamming sessions between a human and a Transformer-based AI agent trained with reinforcement learning. We enable real-time interactions using the concept of anticipation, where the agent continually predicts how the performance will unfold and visually conveys its plan to the user. We conduct a user study where experienced musicians jam in real-time with the agent through ReaLJam. Our results demonstrate that ReaLJam enables enjoyable and musically interesting sessions, and we uncover important takeaways for future work.

Venue
CHI 2025
Volume
Proceedings of the Extended Abstracts of the CHI Conference on Human Factors in Computing Systems
DOI
10.1145/3706599.3720227
PDF
https://dl.acm.org/doi/pdf/10.1145/3706599.3720227
Anthology ID
2025.chi-ea.731

Cite

@inproceedings{scarlatos-etal-2025-realjam,
    title = {{ReaLJam: Real-Time Human-AI Music Jamming with Reinforcement Learning-Tuned Transformers}},
    author = {Alexander Scarlatos and Yusong Wu and Ian Simon and Adam Roberts and Tim Cooijmans and Natasha Jaques and Cassie Tarakajian and Anna Huang},
    booktitle = {Proceedings of the Extended Abstracts of the CHI Conference on Human Factors in Computing Systems},
    isbn = {9798400713958},
    year = {2025},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3706599.3720227},
    url = {https://doi.org/10.1145/3706599.3720227},
    abstract = {Recent advances in generative artificial intelligence (AI) have created models capable of high-quality musical content generation. However, little consideration is given to how to use these models for real-time or cooperative jamming musical applications because of crucial required features: low latency, the ability to communicate planned actions, and the ability to adapt to user input in real-time. To support these needs, we introduce ReaLJam, an interface and protocol for live musical jamming sessions between a human and a Transformer-based AI agent trained with reinforcement learning. We enable real-time interactions using the concept of anticipation, where the agent continually predicts how the performance will unfold and visually conveys its plan to the user. We conduct a user study where experienced musicians jam in real-time with the agent through ReaLJam. Our results demonstrate that ReaLJam enables enjoyable and musically interesting sessions, and we uncover important takeaways for future work.}
}