{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/figaro-generating-symbolic-music-with-fine","title":"FIGARO: Generating Symbolic Music with Fine-Grained Artistic Control","arxiv_id":"2201.10936","date":"2022-01-26","proceeding":null,"authors":["Dimitri von Rütte","Luca Biggio","Yannic Kilcher","Thomas Hofmann"],"abstract":"Generating music with deep neural networks has been an area of active research in recent years. While the quality of generated samples has been steadily increasing, most methods are only able to exert minimal control over the generated sequence, if any. We propose the self-supervised description-to-sequence task, which allows for fine-grained controllable generation on a global level. We do so by extracting high-level features about the target sequence and learning the conditional distribution of sequences given the corresponding high-level description in a sequence-to-sequence modelling setup. We train FIGARO (FIne-grained music Generation via Attention-based, RObust control) by applying description-to-sequence modelling to symbolic music. By combining learned high level features with domain knowledge, which acts as a strong inductive bias, the model achieves state-of-the-art results in controllable symbolic music generation and generalizes well beyond the training distribution.","url_abs":"https://arxiv.org/abs/2201.10936v4","url_pdf":"https://arxiv.org/pdf/2201.10936v4.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"figaro-generating-symbolic-music-with-fine","repo_url":"https://github.com/dvruette/figaro","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"figaro-generating-symbolic-music-with-fine","repo_url":"https://github.com/Natooz/MidiTok","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"inductive-bias","task_name":"Inductive Bias"},{"task_slug":"music-generation","task_name":"Music Generation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2201.10936","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2201.10936"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/dvruette/figaro","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Natooz/MidiTok","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":5},"by_repo_kind":{"official":{"samples":5,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"e368da2b06ce2614","entry":"combine_batches","repo":"dvruette/figaro","repo_kind":"official","path":"src/utils.py","file_url":"https://github.com/dvruette/figaro/blob/HEAD/src/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e368da2b06ce2614"}},{"code_sha256_prefix":"20179879448b5ce9","entry":"get_file_groups","repo":"dvruette/figaro","repo_kind":"official","path":"src/evaluate.py","file_url":"https://github.com/dvruette/figaro/blob/HEAD/src/evaluate.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"20179879448b5ce9"}},{"code_sha256_prefix":"08791ea12141aca6","entry":"get_group_id","repo":"dvruette/figaro","repo_kind":"official","path":"src/evaluate.py","file_url":"https://github.com/dvruette/figaro/blob/HEAD/src/evaluate.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"08791ea12141aca6"}},{"code_sha256_prefix":"73a3d94cab72c6d3","entry":"load_old_or_new_checkpoint","repo":"dvruette/figaro","repo_kind":"official","path":"src/generate.py","file_url":"https://github.com/dvruette/figaro/blob/HEAD/src/generate.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"73a3d94cab72c6d3"}},{"code_sha256_prefix":"00ffe13005e97804","entry":"read_file","repo":"dvruette/figaro","repo_kind":"official","path":"src/evaluate.py","file_url":"https://github.com/dvruette/figaro/blob/HEAD/src/evaluate.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"00ffe13005e97804"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}