mlsanityData to 14 Oct 2026

Can LLMs understand LilyPond? A benchmark for symbolic music generation and understanding

arXiv 2606.08722 ↗First posted 7 Jun 2026cs.SD cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Symbolic music evaluation for large language models remains fragmented across representations, datasets, and metrics. We introduce LilyBench, a LilyPond-based benchmark that jointly evaluates symbolic music generation and music understanding on the same family of open-weight LLMs. The benchmark includes a 200-prompt generation suite and ten understanding tasks adapted from ABC-Eval, covering syntax, metadata prediction, structural sequencing, and music recognition. Generation quality is evaluated using compile rate, MusPy descriptor distributions via Jensen-Shannon similarity, and LilyBERT-based Fr'echet Music Distance (FMD). Experiments on four open-weight models show that executable LilyPond generation is achievable in zero-shot settings, while structural understanding tasks remain challenging despite strong performance on composer and genre recognition. Our experiments also reveal systematic disagreements between descriptor-based and embedding-based metrics, suggesting that symbolic music evaluation benefits from metric triangulation rather than single-score ranking. We release the benchmark, prompt bank, and evaluation code to support future research in symbolic music generation and understanding at https://github.com/CSCPadova/lilybench

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 14 of its 20 references that are in the map. First posted on arXiv 7 Jun 2026.

Builds on

14 of 20 references.

References · 14

  1. 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 331
  2. 2021MusicBERT: Symbolic Music Understanding with Large-Scale Pre-Trainingcited by 89
  3. 2024ChatMusician: Understanding and Generating Music Intrinsically with LLMcited by 68
  4. 2020MusPy: A Toolkit for Symbolic Music Generationcited by 37
  5. 2025NotaGen: Advancing Musicality in Symbolic Music Generation with Large Language Model Training Paradigmscited by 30
  6. 2024Frechet Music Distance: A Metric For Generative Symbolic Music Evaluationcited by 15
  7. 2023CLaMP: Contrastive Language-Music Pre-training for Cross-Modal Symbolic Music Information Retrievalcited by 14
  8. 2024Natural Language Processing Methods for Symbolic Music Generation and Information Retrieval: a Surveycited by 10
  9. 2025A Survey on Evaluation Metrics for Music Generationcited by 6
  10. 2025ABC-Eval: Benchmarking Large Language Models on Symbolic Music Understanding and Instruction Followingcited by 6
  11. 2025A Multimodal Symphony: Integrating Taste and Sound through Generative AIcited by 4
  12. 2025Investigating Modality Contribution in Audio LLMs for Musiccited by 2
2 more
  1. 2023EMelodyGen: Emotion-Conditioned Melody Generation in ABC Notation with the Musical Feature Templatecited by 1
  2. 2026Pianoroll-Event: A Novel Score Representation for Symbolic Musiccited by 1

Built on by

Not cited yet.