[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-327368-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-327368-en":130},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","decomposer-learning-to-decompile-symbolic-music-to-programs","DECOMPOSER: LEARNING TO DECOMPILE SYMBOLIC MUSIC TO PROGRAMS","","Musical performance executes high-level musical instructions, yet recovering those instructions from the performance is a difficult inverse problem. DECOMPOSER introduces a post-training framework for symbolic music decompilation: producing executable, editable music programs from symbolic music. The work frames the problem as MIDI-to-Strudel decompilation, then tackles low-resource Strudel data and the risk of unreadable note-by-note transliteration by using supervised fine-tuning on STRUDEL-SYNTH and reinforcement learning on unpaired MIDI, improving faithfulness and code readability.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/decomposer-learning-to-decompile-symbolic-music-to-programs/327368/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/decomposer-learning-to-decompile-symbolic-music-to-programs/327368.png","ImageObject",300,407,{"name":42,"@type":43},"Aurora","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-25","2026-09-21",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",8,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What problem does DECOMPOSER address?","Question",{"text":63,"@type":64},"DECOMPOSER targets the inverse problem of recovering executable, editable music instructions from a musical performance artifact. It does this by decompiling symbolic music into a readable program form.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How does DECOMPOSER instantiate the decompilation task?",{"text":68,"@type":64},"It instantiates decompilation as MIDI-to-Strudel. The model takes symbolic MIDI as input and outputs a Strudel program that reconstructs the input when executed.",{"name":70,"@type":61,"acceptedAnswer":71},"Why is the task difficult even when code readability is considered?",{"text":72,"@type":64},"Faithfulness alone can be achieved by producing verbose note-by-note code that ignores musical abstractions, making the result unreadable. Conversely, frontier LLMs may output readable code but fail to reconstruct the MIDI faithfully.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},327368,1791490395,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,105,110,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":103,"slug":104},6,50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":102,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":144,"read_time":145,"preview_page_count":33,"preview_urls":146},4810365810221,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","arXiv :2607 .0 1849v 1 [ cs .LG] 2 Jul 2026  \nDECOMPOSER: LEARNING TO DECOMPILE SYMBOLIC MUSIC TO PROGRAMS  \nYewon Kim Apurva Gandhi David Chung Graham Neubig Chris Donahue  \nCarnegie Mellon University  \nABSTRACT  \nMusical performance involves executing a set of high-level musical instructions, yet recovering those instructions from the performance is a challenging inverse problem. We present DECOMPOSER, a post-training framework for symbolic music decompilation: the task of recovering executable, editable music programs from symbolic music. We instantiate the task as MIDI-to-Strudel decompilation, where the model takes symbolic MIDI as input and produces a program in Strudel, a music programming language, that reconstructs the input when executed. The task poses two challenges: Strudel is a low-resource language with little naturally paired MIDI–code data, and optimizing faithful reconstruction of MIDI alone can collapse to unreadable note-by-note transliteration. We address these challenges in two stages. First, we construct STRUDEL-SYNTH, a synthetic corpus of paired Strudel programs and rendered MIDI, and use it for supervised fine-tuning. Second, werefine the model with reinforcement learning on unpaired MIDI, optimizing rewards for both MIDI reconstruction faithfulness and code readability. Our evaluation across synthetic and real-world MIDI benchmarks shows that DECOMPOSER achieves substantially higher MIDI reconstruction faithfulness than closed-source LLMs while producing more readable and diverse code than the heuristic converter.  \n1 INTRODUCTION  \nDecompilation, the task of generating an editable, re-executable program from a rendered artifact, has emerged as a central problem across diverse modalities: binaries to source code (Tanet al., 2024 ; Zou et al., 2025), raster images to SVG programs (Rodriguez et al., 2025 ; 2024), UI screenshots to frontend code (Jain et al., 2019 ; Wu et al., 2025), and 3D shapes to CAD scripts (Kolodiazhnyi et al., 2026 ; Chen et al., 2025) . The motivation is shared across these domains: rendered artifacts are often the only representation available in practice, yet downstream use—analysis, modification, integration with existing tooling—benefits from a programmatic form that human users can read, modify, and extend (Rodriguez et al., 2024 ; Tan et al., 2024 ; Zou et al., 2025) . A direct consequence is that functional equivalence alone is insufficient: a recovered program that reproduces the artifact but is unreadable defeats the purpose of decompilation (Buse & Weimer, 2010 ; Scalabrino et al., 2018) . Effective decompilation thus requires jointly optimizing faithfulness (the program reproduces the input artifact) and readability (the program is easy to read and edit) .  \nSymbolic Music (MIDI)  \nDecompilation  \nMusic Programming Language (Strudel.js)  \nFigure 1: Symbolic Music Decompilation. In this task, the goal is to generate a faithful and readable music program from symbolic music input. We instantiate this task as MIDI-to-Strudel decompilation; Strudel is a domain-specific music programming language for algorithmic composition and live coding. The recovered program should reproduce the input when executed while exposing readable and editable musical structure.  \nProject page: [yewon-kim. com/decomposer](yewon-kim. com/decomposer)  \nFigure 2: DECOMPOSER Overview. We present a framework for post-training LLMs to decompile symbolic music (MIDI) into a music programming language (Strudel) . DECOMPOSER consists of two stages: (i) supervised fine-tuning equips the model with the ability to write valid Strudel code; (ii) reinforcement learning optimizes the decompilation objective directly, rewarding sampled programs for both faithfulness (rendered MIDI matches the input) and readability (concise, editable code) . The paired examples used for SFT are provided by STRUDEL-SYNTH, our synthetic corpus of executable Strudel programs and rendered MIDI. Since the reward depends only on the","cbCaijtHshjjdUIL","https://ap.wps.com/l/cbCaijtHshjjdUIL","pdf",1514698,39,"English","# Introduction\n## Decompilation\n## Symbolic Music (MIDI)\n## Decompilation\n## Music Programming Language (Strudel.js)\n## System Overview","[{\"question\":\"What problem does DECOMPOSER address?\",\"answer\":\"DECOMPOSER targets the inverse problem of recovering executable, editable music instructions from a musical performance artifact. It does this by decompiling symbolic music into a readable program form.\"},{\"question\":\"How does DECOMPOSER instantiate the decompilation task?\",\"answer\":\"It instantiates decompilation as MIDI-to-Strudel. The model takes symbolic MIDI as input and outputs a Strudel program that reconstructs the input when executed.\"},{\"question\":\"Why is the task difficult even when code readability is considered?\",\"answer\":\"Faithfulness alone can be achieved by producing verbose note-by-note code that ignores musical abstractions, making the result unreadable. Conversely, frontier LLMs may output readable code but fail to reconstruct the MIDI faithfully.\"}]","DECOMPOSER: LEARNING TO DECOMPILE SYMBOLIC MUSIC TO PROGRAMS | PDF",1789977080,98,[147,151,155,159],{"page_no":22,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/df367280234198068ac977f387d3fedd.webp",983,1272,{"page_no":26,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/ea99971ec2ba512eeca3b14ab759d86c.webp",982,1270,{"page_no":30,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/06090f74286ffd866b2fba69d7ca2734.webp",981,1269,{"page_no":33,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/8e6d95d4d810d080a13fabe210c23d81.webp",980,1268]