{"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/songs-across-borders-singable-and","title":"Songs Across Borders: Singable and Controllable Neural Lyric Translation","arxiv_id":"2305.16816","date":"2023-05-26","proceeding":null,"authors":["Longshen Ou","Xichu Ma","Min-Yen Kan","Ye Wang"],"abstract":"The development of general-domain neural machine translation (NMT) methods has advanced significantly in recent years, but the lack of naturalness and musical constraints in the outputs makes them unable to produce singable lyric translations. This paper bridges the singability quality gap by formalizing lyric translation into a constrained translation problem, converting theoretical guidance and practical techniques from translatology literature to prompt-driven NMT approaches, exploring better adaptation methods, and instantiating them to an English-Chinese lyric translation system. Our model achieves 99.85%, 99.00%, and 95.52% on length accuracy, rhyme accuracy, and word boundary recall. In our subjective evaluation, our model shows a 75% relative enhancement on overall quality, compared against naive fine-tuning (Code available at https://github.com/Sonata165/ControllableLyricTranslation).","url_abs":"https://arxiv.org/abs/2305.16816v1","url_pdf":"https://arxiv.org/pdf/2305.16816v1.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":"songs-across-borders-singable-and","repo_url":"https://github.com/sonata165/controllablelyrictranslation","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"jax","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"machine-translation","task_name":"Machine Translation"},{"task_slug":"nmt","task_name":"NMT"},{"task_slug":"translation","task_name":"Translation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2305.16816","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2305.16816"}},"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":"deterministic:regex_extraction","url":"https://github.com/Sonata165/ControllableLyricTranslation","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":2,"unverified":6},"by_repo_kind":{"official":{"samples":8,"ran":2,"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":"a3826392847cbef3","entry":"count_trainable_parameters","repo":"Sonata165/ControllableLyricTranslation","repo_kind":"official","path":"BartFinetune/utils/callbacks.py","file_url":"https://github.com/Sonata165/ControllableLyricTranslation/blob/HEAD/BartFinetune/utils/callbacks.py","link_basis":"plan_row","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a3826392847cbef3"}},{"code_sha256_prefix":"295d9fdc5ce0b054","entry":"get_early_stopping_callback","repo":"Sonata165/ControllableLyricTranslation","repo_kind":"official","path":"BartFinetune/utils/callbacks.py","file_url":"https://github.com/Sonata165/ControllableLyricTranslation/blob/HEAD/BartFinetune/utils/callbacks.py","link_basis":"plan_row","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"295d9fdc5ce0b054"}},{"code_sha256_prefix":"54426e693ce1fbe1","entry":"calculate_acc","repo":"Sonata165/ControllableLyricTranslation","repo_kind":"official","path":"BartFinetune/compute_metrics.py","file_url":"https://github.com/Sonata165/ControllableLyricTranslation/blob/HEAD/BartFinetune/compute_metrics.py","link_basis":"first_harvest_node","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":"54426e693ce1fbe1"}},{"code_sha256_prefix":"1aca6d7eb6646af8","entry":"calculate_len_dif_with_target_len","repo":"Sonata165/ControllableLyricTranslation","repo_kind":"official","path":"BartFinetune/compute_metrics.py","file_url":"https://github.com/Sonata165/ControllableLyricTranslation/blob/HEAD/BartFinetune/compute_metrics.py","link_basis":"first_harvest_node","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":"1aca6d7eb6646af8"}},{"code_sha256_prefix":"b37c9b8121917eba","entry":"get_checkpoint_callback","repo":"Sonata165/ControllableLyricTranslation","repo_kind":"official","path":"BartFinetune/utils/callbacks.py","file_url":"https://github.com/Sonata165/ControllableLyricTranslation/blob/HEAD/BartFinetune/utils/callbacks.py","link_basis":"first_harvest_node","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":"b37c9b8121917eba"}},{"code_sha256_prefix":"53190c0a6f2a51d3","entry":"get_model","repo":"Sonata165/ControllableLyricTranslation","repo_kind":"official","path":"BartFinetune/models/MBarts.py","file_url":"https://github.com/Sonata165/ControllableLyricTranslation/blob/HEAD/BartFinetune/models/MBarts.py","link_basis":"first_harvest_node","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":"53190c0a6f2a51d3"}},{"code_sha256_prefix":"c0af6d02650fea02","entry":"get_model_online","repo":"Sonata165/ControllableLyricTranslation","repo_kind":"official","path":"BartFinetune/models/MBarts.py","file_url":"https://github.com/Sonata165/ControllableLyricTranslation/blob/HEAD/BartFinetune/models/MBarts.py","link_basis":"first_harvest_node","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":"c0af6d02650fea02"}},{"code_sha256_prefix":"62981c060ec24060","entry":"shift_tokens_right_prefix_21","repo":"Sonata165/ControllableLyricTranslation","repo_kind":"official","path":"BartFinetune/models/MBarts.py","file_url":"https://github.com/Sonata165/ControllableLyricTranslation/blob/HEAD/BartFinetune/models/MBarts.py","link_basis":"first_harvest_node","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":"62981c060ec24060"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}