TL;DR
While multimodal large language models (MLLMs) excel at text and natural images, they struggle with the complex, hierarchical structures of music notation and expressive audio. To bridge this gap, researchers have introduced MuseAgent, a modular, tool-augmented agent that translates raw sheet music and performance audio into structured symbolic representations (like ABC notation and JSON) for advanced LLM reasoning. Alongside the agent, they debut MuseBench, the first comprehensive multimodal benchmark for evaluating fine-grained music theory, score interpretation, and performance analysis.
What Problem Does This Paper Address?
State-of-the-art MLLMs like GPT-4o and Gemini are remarkably capable, but they face a steep hurdle when it comes to holistic music understanding. Reading a piano score requires parsing dense polyphony, two-hand coordination, and subtle dynamic markings across staves. Analyzing a live audio performance requires tracking expressive deviations like rubato, articulation, and timing errors.
Generalist models lack domain-specific perceptual grounding; they treat sheet music like standard images and performance audio like speech, leading to severe hallucinations or a reliance on linguistic priors. While isolated tools exist for Optical Music Recognition (OMR) and Automatic Music Transcription (AMT), prior frameworks have failed to unify these modalities into an interactive, reasoning-focused system.
Methods
MuseAgent rejects the monolithic "one-size-fits-all" model approach in favor of an agentic orchestration loop. An LLM controller dynamically invokes specialized perceptual and retrieval modules based on the user's prompt:
- Measure-wise Optical Music Recognition (M-OMR): Instead of splitting scores at the granular note level, MuseAgent uses a "divide-and-combine" strategy. It employs a YOLOv8-based detector to segment sheet music into individual measures (semantic units), encodes them via ResNet-50, and decodes them into compact ABC notation using an LSTM and a custom music tokenizer.
- AMT and Audio-to-Score Alignment: Raw performance audio is processed using a Constant-Q Transform (CQT) and a CNN-BiLSTM network to predict note onsets. A hierarchical Hidden Markov Model (H-HMM) then aligns these acoustic events to a reference score, outputting a structured JSON file that details precise timings, missing notes, and expressive parameters.
- Music Retrieval & Memory: The agent embeds explicit and implicit Retrieval-Augmented Generation (RAG) to fetch relevant MusicXML, ABC, or MIDI files from a symbolic library, while a lightweight memory bank tracks multi-turn dialogue context.
Datasets
The authors introduced MuseBench, a new multimodal benchmark centered on the Western piano repertoire. It spans 28 specific task types across three modalities:
- Text: 1,167 multiple-choice questions evaluating core music theory and reasoning.
- Image: 591 full scores paired with 2,392 questions on symbolic analysis and high-level interpretation.
- Audio: 513 professional recordings mapped to 2,052 true/false questions evaluating performance accuracy, speed, and tempo stability.
For training the specialized M-OMR module, the authors curated a large-scale synthetic dataset from MuseScore, featuring over 80,000 music scores augmented into 2.3 million ABC notation samples (generating over 10 million image-bar pairs). The AMT module was trained on the standard MAESTRO-V3 dataset.
Key Insights and Ideas
- Measures as Semantic Anchors: A key "aha moment" in the paper is the shift from note-level segmentation to measure-wise segmentation for OMR. Treating each measure as a distinct semantic unit preserves structural context and drastically reduces visual splitting noise.
- The Necessity of Symbolic Grounding: The experiments prove that raw audio and image tokens are fundamentally insufficient for complex musical reasoning. Converting these inputs into intermediate, highly structured textual formats (ABC notation for scores, JSON for alignment data) allows standard LLMs to perform multi-step reasoning far more reliably.
Key Results
The introduction of structured grounding yielded massive performance leaps on MuseBench:
- Audio Modality: General omni-modal models like GPT-4o (55.9%) and Gemini 2.5-Pro (53.1%) performed barely better than random guessing (50%). MuseAgent (powered by GPT-4.1) achieved 79.1% accuracy, proving the value of the AMT-HMM alignment pipeline.
- Image Modality: Standard vision-language models failed completely (LLaVA scored 38.9%). MuseAgent achieved 74.1% accuracy, outperforming even music-specialized baselines like NotaGPT (68.1%).
- Transcription Precision: In closed-set image-to-ABC conversion, MuseAgent's M-OMR module achieved a remarkably low Levenshtein Distance of 18.39, leaving the next best model, NotaGPT-7B, far behind at 59.47.
Limitations and Future Work
Currently, MuseBench and MuseAgent are strictly optimized for piano music. Piano notation is highly standardized, making it an ideal initial stress test, but it limits the model's immediate applicability to orchestral scores, non-Western musical traditions, or multi-instrument ensembles. The authors note that both the benchmark and agent are designed to be extensible, and future work will focus on scaling the system to accommodate diverse instrumentation and varied notation systems.
Summary updated