Libretto: Giving LLM Agents a Sense of Musical Structure
Summary
Libretto introduces a structured framework for symbolic music generation and revision using an LLM-native grammar and corpus-calibrated statistical evaluation across musical dimensions, enabling LLM agents to treat music as a measurable and editable object.
View Cached Full Text
Cached at: 06/23/26, 05:43 PM
Paper page - Libretto: Giving LLM Agents a Sense of Musical Structure
Source: https://huggingface.co/papers/2606.22708
Abstract
Libretto provides a structured framework for symbolic music generation and revision using LLM-native grammar and statistical evaluation across musical dimensions.
Generative music systems can now produce impressive audio from text prompts, but audio outputs are difficult to inspect, edit, and diagnose as musical structure. We introduce Libretto, an agent-facing framework forsymbolic music generationand revision. Libretto uses anLLM-native grammarwith explicitonset slots,voices, andbar-level organization, then evaluates each piece in acorpus-calibrated statistical spaceoverrhythm,harmony,melody,texture,form, andvariation. The same structural axes supportretrieval, diagnosis,copy-risk control, anditerative self-revision. Across gap filling, reference-guided full-piece generation, gradual morphing, and educational music generation, Libretto turns symbolic music from a raw token sequence into a measurable and editable object for language-model agents.
View arXiv pageView PDFProject pageGitHubAdd to collection
Get this paper in your agent:
hf papers read 2606\.22708
Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash
Models citing this paper0
No model linking this paper
Cite arxiv.org/abs/2606.22708 in a model README.md to link it from this page.
Datasets citing this paper0
No dataset linking this paper
Cite arxiv.org/abs/2606.22708 in a dataset README.md to link it from this page.
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2606.22708 in a Space README.md to link it from this page.
Collections including this paper0
No Collection including this paper
Add this paper to acollectionto link it from this page.
Similar Articles
Multimodal Music Recommendation System using LLMs
Proposes a multimodal framework integrating audio, lyric, and semantic signals with LLM-based sequential reasoning for session-based music recommendation, achieving up to 95% recall improvement over ID-only baselines.
Compositional Literary Primitives in Instruction-Tuned LLMs: Cross-Architectural SAE Features for Self, Style, and Affect
This paper characterizes compositional literary primitives in instruction-tuned LLMs using sparse autoencoders, discovering feature classes for self, style, and affect that enable emotion steering across two architectures.
Can LLMs model real-world systems in TLA+?
Researchers from the Specula team created SysMoBench, a benchmark evaluating whether LLMs can faithfully model real-world computing systems in TLA+ or merely recite textbook specifications. The benchmark tests 11 systems across four phases and reveals systematic gaps in current LLMs' ability to accurately model system implementations versus reference papers.
Your LLM prompt has 200 lines. Do you actually know if the agent follows any of them?
This article discusses the challenges of evaluating and monitoring LLM-based agents in production, covering offline evals, prompt engineering pitfalls, observability tools, review queues, labeling, clustering, topic classification, and cost-effective layering of human review, LLM-as-a-judge, and small classifiers.
LLMs for automatic annotation of Mandarin narrative transcripts
This paper evaluates LLMs for automatically annotating narrative macrostructure in spoken Mandarin, finding that the best model achieves near-human reliability while reducing annotation time by 65%, though performance degrades on semantically complex or lexically diverse narratives.