[Paper Review] Learning to Listen, Read, and Follow: Score Following as a Reinforcement Learning Game
This paper formulates score following in sheet music images as a multimodal Markov Decision Process and applies deep reinforcement learning (e.g., A2C) to train agents that simultaneously listen to audio, read sheet music images, and track performance position in real time. The method achieves state-of-the-art performance, with 70% of polyphonic pieces tracked entirely to the end and a mean error of just 20 pixels (≈5 mm), outperforming prior methods by over threefold in accuracy.
Score following is the process of tracking a musical performance (audio) with respect to a known symbolic representation (a score). We start this paper by formulating score following as a multimodal Markov Decision Process, the mathematical foundation for sequential decision making. Given this formal definition, we address the score following task with state-of-the-art deep reinforcement learning (RL) algorithms such as synchronous advantage actor critic (A2C). In particular, we design multimodal RL agents that simultaneously learn to listen to music, read the scores from images of sheet music, and follow the audio along in the sheet, in an end-to-end fashion. All this behavior is learned entirely from scratch, based on a weak and potentially delayed reward signal that indicates to the agent how close it is to the correct position in the score. Besides discussing the theoretical advantages of this learning paradigm, we show in experiments that it is in fact superior compared to previously proposed methods for score following in raw sheet music images.
Motivation & Objective
- To address the limitations of existing score following methods that treat time steps independently, leading to tracking jumps in repetitive passages.
- To formulate score following as a sequential decision-making problem using a Markov Decision Process (MDP), enabling agents to learn dynamic navigation through sheet music.
- To train end-to-end multimodal agents that jointly process audio and visual sheet music inputs to predict real-time score positions.
- To evaluate the effectiveness of deep reinforcement learning (e.g., A2C, REINFORCE) in learning robust, generalizable score-following policies from weak, delayed reward signals.
- To explore the potential of continuous control and fine-tuning on real performances to improve alignment accuracy.
Proposed method
- The task is formalized as a multimodal MDP where the agent observes audio features and image patches of sheet music, and selects actions to adjust its reading speed (e.g., increase, decrease, maintain).
- The agent’s policy is learned via deep reinforcement learning using state-of-the-art algorithms such as A2C and REINFORCE with baseline, trained on synthetic data with ground-truth alignments between audio onsets and score positions.
- State representations combine convolutional features from a CNN applied to sheet music images and a CNN or RNN applied to audio spectrograms, enabling joint multimodal processing.
- The reward signal is sparse and delayed, computed by interpolating the ground-truth score position between onsets, with higher rewards for closer alignment.
- The environment is designed to simulate real-time performance, with the agent progressing through the score only by taking actions that reflect plausible reading behavior (left-to-right, top-to-bottom).
- The method supports end-to-end training from raw audio and image inputs, without requiring pre-processed symbolic scores like MusicXML or MIDI.
Experimental results
Research questions
- RQ1Can score following be effectively modeled as a sequential decision-making problem using a Markov Decision Process?
- RQ2Does deep reinforcement learning with multimodal inputs (audio and sheet music images) lead to more stable and accurate tracking than independent frame-by-frame prediction?
- RQ3How does the performance of different reinforcement learning algorithms (e.g., A2C vs. REINFORCE) compare in learning robust score-following policies?
- RQ4Can agents generalize to unseen musical pieces and audio conditions when trained on synthetic data with weak, delayed rewards?
- RQ5To what extent can continuous control agents improve alignment accuracy compared to discrete action spaces?
Key findings
- The A2C agent achieved a mean tracking error of 20 pixels on the Mutopia dataset, which is approximately 5 mm on a standard A4 sheet music page, representing a threefold improvement over the baseline method’s 62-pixel error.
- On the Mutopia dataset, the A2C agent successfully tracked more than 70% of 100 test pieces from start to finish without losing the target, demonstrating strong robustness and generalization.
- The A2C agent learned a successful policy in under six hours, while the REINFORCE with baseline method required over five days to achieve comparable performance on the Nottingham dataset.
- The RL-based approach significantly reduced tracking instability and jumping behavior in repetitive passages, which commonly affected prior frame-independent methods.
- The method generalizes well to polyphonic music, with strong performance even on complex orchestral-like piano scores, indicating the effectiveness of the MDP formulation in capturing musical structure.
- The results suggest that future advances in reinforcement learning algorithms will directly benefit score following, as the same MDP framework enables transfer to new environments and fine-tuning on real performances.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.