{"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/simultaneous-music-separation-and-generation","title":"Simultaneous Music Separation and Generation Using Multi-Track Latent Diffusion Models","arxiv_id":"2409.12346","date":"2024-09-18","proceeding":null,"authors":["Tornike Karchkhadze","Mohammad Rasool Izadi","Shlomo Dubnov"],"abstract":"Diffusion models have recently shown strong potential in both music generation and music source separation tasks. Although in early stages, a trend is emerging towards integrating these tasks into a single framework, as both involve generating musically aligned parts and can be seen as facets of the same generative process. In this work, we introduce a latent diffusion-based multi-track generation model capable of both source separation and multi-track music synthesis by learning the joint probability distribution of tracks sharing a musical context. Our model also enables arrangement generation by creating any subset of tracks given the others. We trained our model on the Slakh2100 dataset, compared it with an existing simultaneous generation and separation model, and observed significant improvements across objective metrics for source separation, music, and arrangement generation tasks. Sound examples are available at https://msg-ld.github.io/.","url_abs":"https://arxiv.org/abs/2409.12346v4","url_pdf":"https://arxiv.org/pdf/2409.12346v4.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":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"simultaneous-music-separation-and-generation","repo_url":"https://github.com/karchkha/msg-ld","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2409.12346","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2409.12346"}},"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/karchkha/msg-ld","reach":{"status":"ok"}}],"summary":{"ran":7,"ran_honours":2,"unverified":5},"by_repo_kind":{"official":{"samples":14,"ran":9,"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":14,"samples":[{"code_sha256_prefix":"6e8871ac72e268df","entry":"compute_mse","repo":"karchkha/msg-ld","repo_kind":"official","path":"src/utilities/sep_evaluation.py","file_url":"https://github.com/karchkha/msg-ld/blob/HEAD/src/utilities/sep_evaluation.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6e8871ac72e268df"}},{"code_sha256_prefix":"58a21f0647ff9bbb","entry":"evaluate_separations","repo":"karchkha/msg-ld","repo_kind":"official","path":"src/utilities/sep_evaluation.py","file_url":"https://github.com/karchkha/msg-ld/blob/HEAD/src/utilities/sep_evaluation.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"58a21f0647ff9bbb"}},{"code_sha256_prefix":"a26f85d7c72ef39a","entry":"get_padding","repo":"karchkha/msg-ld","repo_kind":"official","path":"src/hifigan/models.py","file_url":"https://github.com/karchkha/msg-ld/blob/HEAD/src/hifigan/models.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a26f85d7c72ef39a"}},{"code_sha256_prefix":"f1cba67eb6d6e4ad","entry":"get_param_num","repo":"karchkha/msg-ld","repo_kind":"official","path":"src/utilities/model.py","file_url":"https://github.com/karchkha/msg-ld/blob/HEAD/src/utilities/model.py","link_basis":"plan_row","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f1cba67eb6d6e4ad"}},{"code_sha256_prefix":"2a3717d0b50d1f7d","entry":"get_restore_step","repo":"karchkha/msg-ld","repo_kind":"official","path":"src/utilities/tools.py","file_url":"https://github.com/karchkha/msg-ld/blob/HEAD/src/utilities/tools.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"2a3717d0b50d1f7d"}},{"code_sha256_prefix":"b1368330cf0f5642","entry":"isimage","repo":"karchkha/msg-ld","repo_kind":"official","path":"src/latent_diffusion/util.py","file_url":"https://github.com/karchkha/msg-ld/blob/HEAD/src/latent_diffusion/util.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b1368330cf0f5642"}},{"code_sha256_prefix":"d72762b700feee6f","entry":"ismap","repo":"karchkha/msg-ld","repo_kind":"official","path":"src/latent_diffusion/util.py","file_url":"https://github.com/karchkha/msg-ld/blob/HEAD/src/latent_diffusion/util.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d72762b700feee6f"}},{"code_sha256_prefix":"af72484d5cfd7097","entry":"load_state_dict","repo":"karchkha/msg-ld","repo_kind":"official","path":"src/clap/clap_module/factory.py","file_url":"https://github.com/karchkha/msg-ld/blob/HEAD/src/clap/clap_module/factory.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"af72484d5cfd7097"}},{"code_sha256_prefix":"8a42cc3d7c42a043","entry":"read_json","repo":"karchkha/msg-ld","repo_kind":"official","path":"src/utilities/tools.py","file_url":"https://github.com/karchkha/msg-ld/blob/HEAD/src/utilities/tools.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8a42cc3d7c42a043"}},{"code_sha256_prefix":"31abb21c10ed07a4","entry":"create_model","repo":"karchkha/msg-ld","repo_kind":"official","path":"src/clap/clap_module/factory.py","file_url":"https://github.com/karchkha/msg-ld/blob/HEAD/src/clap/clap_module/factory.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"31abb21c10ed07a4"}},{"code_sha256_prefix":"3b5ea3b8b68cead1","entry":"create_model_and_transforms","repo":"karchkha/msg-ld","repo_kind":"official","path":"src/clap/clap_module/factory.py","file_url":"https://github.com/karchkha/msg-ld/blob/HEAD/src/clap/clap_module/factory.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3b5ea3b8b68cead1"}},{"code_sha256_prefix":"972736e790f5af88","entry":"get_available_checkpoint_keys","repo":"karchkha/msg-ld","repo_kind":"official","path":"src/utilities/model.py","file_url":"https://github.com/karchkha/msg-ld/blob/HEAD/src/utilities/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"972736e790f5af88"}},{"code_sha256_prefix":"f9bd2e83191afad1","entry":"log_txt_as_img","repo":"karchkha/msg-ld","repo_kind":"official","path":"src/latent_diffusion/util.py","file_url":"https://github.com/karchkha/msg-ld/blob/HEAD/src/latent_diffusion/util.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f9bd2e83191afad1"}},{"code_sha256_prefix":"c8d9d38b144e401f","entry":"md5_hash","repo":"karchkha/msg-ld","repo_kind":"official","path":"src/utilities/tools.py","file_url":"https://github.com/karchkha/msg-ld/blob/HEAD/src/utilities/tools.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c8d9d38b144e401f"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}