{"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/arxiv-2605-08724","title":"SynerMedGen: Synergizing Medical Multimodal Understanding with Generation via Task Alignment","arxiv_id":"2605.08724","date":"2026-05-09","proceeding":"ICML","authors":["Weiren Zhao","Yi Dong","Cheng Chen"],"abstract":"Unifying multimodal understanding and generation is a compelling frontier that is beginning to emerge in the medical field. However, the limited existing unified medical models typically treat understanding and generation as disjoint objectives, lacking a meaningful functional synergy. In this work, we identify and address a critical question in unified medical modeling: what form of understanding truly benefits generation. We present SynerMedGen, a unified framework built on the proposed principle of generation-aligned understanding, which synergizes understanding objectives with generation tasks via task alignment. SynerMedGen introduces three generation-aligned understanding tasks and a two-stage training strategy that transfers generation-beneficial representations learned during understanding training to medical image synthesis. Remarkably, even with understanding training alone, our SynerMedGen achieves strong zero-shot performance across 22 medical image synthesis tasks and demonstrates robust generalization to unseen datasets. When combined with generation training, SynerMedGen consistently outperforms state-of-the-art specialized medical image synthesis models as well as recent unified medical models. We also release a large-scale dataset named SynerMed consisting of 1M paired synthesis samples and 2M generation-derived understanding instances to support further research on understanding-generation synergy. Our project can be accessed at https://github.com/piooip/SynerMedGen.","url_abs":"https://arxiv.org/abs/2605.08724","url_pdf":"https://arxiv.org/pdf/2605.08724","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2605.08724","atlas_url":"https://app.syntology.ai/?focus=2605.08724","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2605.08724"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/piooip/SynerMedGen","reach":null}],"summary":{"ran":8,"ran_fixture":1,"ran_honours":1,"ran_draft_wrong":1,"unverified":2},"by_repo_kind":{"found_in_text":{"samples":13,"ran":11,"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":"4102c144078044c7","entry":"apply_rotary_pos_emb","repo":"piooip/SynerMedGen","repo_kind":"found_in_text","path":"modeling/bagel/siglip_navit.py","file_url":"https://github.com/piooip/SynerMedGen/blob/HEAD/modeling/bagel/siglip_navit.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"4102c144078044c7"}},{"code_sha256_prefix":"357001bacc5467b4","entry":"cache_init","repo":"piooip/SynerMedGen","repo_kind":"found_in_text","path":"modeling/cache_utils/taylorseer.py","file_url":"https://github.com/piooip/SynerMedGen/blob/HEAD/modeling/cache_utils/taylorseer.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"357001bacc5467b4"}},{"code_sha256_prefix":"e5947aba1d10885f","entry":"get_1d_sincos_pos_embed_from_grid","repo":"piooip/SynerMedGen","repo_kind":"found_in_text","path":"modeling/bagel/modeling_utils.py","file_url":"https://github.com/piooip/SynerMedGen/blob/HEAD/modeling/bagel/modeling_utils.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e5947aba1d10885f"}},{"code_sha256_prefix":"58f584dfd7b8fc3f","entry":"get_2d_sincos_pos_embed","repo":"piooip/SynerMedGen","repo_kind":"found_in_text","path":"modeling/bagel/modeling_utils.py","file_url":"https://github.com/piooip/SynerMedGen/blob/HEAD/modeling/bagel/modeling_utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"58f584dfd7b8fc3f"}},{"code_sha256_prefix":"ec081e5d9e96c1cd","entry":"index_images","repo":"piooip/SynerMedGen","repo_kind":"found_in_text","path":"make_cine_pred_lge_triptychs.py","file_url":"https://github.com/piooip/SynerMedGen/blob/HEAD/make_cine_pred_lge_triptychs.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ec081e5d9e96c1cd"}},{"code_sha256_prefix":"fb9bf0bcf044acf8","entry":"load_panel","repo":"piooip/SynerMedGen","repo_kind":"found_in_text","path":"make_cine_pred_lge_triptychs.py","file_url":"https://github.com/piooip/SynerMedGen/blob/HEAD/make_cine_pred_lge_triptychs.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"fb9bf0bcf044acf8"}},{"code_sha256_prefix":"12324e245f233b9f","entry":"make_triptych","repo":"piooip/SynerMedGen","repo_kind":"found_in_text","path":"make_cine_pred_lge_triptychs.py","file_url":"https://github.com/piooip/SynerMedGen/blob/HEAD/make_cine_pred_lge_triptychs.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"12324e245f233b9f"}},{"code_sha256_prefix":"26da3ed73c66b411","entry":"pad_sequence","repo":"piooip/SynerMedGen","repo_kind":"found_in_text","path":"modeling/bagel/qwen2_navit.py","file_url":"https://github.com/piooip/SynerMedGen/blob/HEAD/modeling/bagel/qwen2_navit.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"26da3ed73c66b411"}},{"code_sha256_prefix":"cec833a99feb528c","entry":"rotate_half","repo":"piooip/SynerMedGen","repo_kind":"found_in_text","path":"modeling/bagel/siglip_navit.py","file_url":"https://github.com/piooip/SynerMedGen/blob/HEAD/modeling/bagel/siglip_navit.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"cec833a99feb528c"}},{"code_sha256_prefix":"5fb036462ae82f9f","entry":"swish","repo":"piooip/SynerMedGen","repo_kind":"found_in_text","path":"modeling/autoencoder.py","file_url":"https://github.com/piooip/SynerMedGen/blob/HEAD/modeling/autoencoder.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5fb036462ae82f9f"}},{"code_sha256_prefix":"881cc6430da2df2d","entry":"taylor_formula","repo":"piooip/SynerMedGen","repo_kind":"found_in_text","path":"modeling/cache_utils/taylorseer.py","file_url":"https://github.com/piooip/SynerMedGen/blob/HEAD/modeling/cache_utils/taylorseer.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"881cc6430da2df2d"}},{"code_sha256_prefix":"665d8a4e8f673a4c","entry":"get_2d_sincos_pos_embed_from_grid","repo":"piooip/SynerMedGen","repo_kind":"found_in_text","path":"modeling/bagel/modeling_utils.py","file_url":"https://github.com/piooip/SynerMedGen/blob/HEAD/modeling/bagel/modeling_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"665d8a4e8f673a4c"}},{"code_sha256_prefix":"e284f6c6dd968489","entry":"load_ae","repo":"piooip/SynerMedGen","repo_kind":"found_in_text","path":"modeling/autoencoder.py","file_url":"https://github.com/piooip/SynerMedGen/blob/HEAD/modeling/autoencoder.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e284f6c6dd968489"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.CV","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}